.apex-body { background: var(--black); }
.apex-header { position: sticky; top: 0; z-index: 80; color: #fff; background: rgba(9, 9, 9, .92); border-bottom: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(16px); }
.apex-header .header-bar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.apex-header nav { display: flex; align-items: center; gap: 12px; }

.apex-hero { position: relative; overflow: hidden; padding: 88px 0 28px; color: #fff; }
.apex-hero::after { content: ""; position: absolute; right: -160px; top: -80px; width: 520px; height: 520px; border: 56px solid rgba(113, 75, 255, .1); border-radius: 50%; }
.apex-hero .shell { position: relative; z-index: 2; }
.apex-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid rgba(216, 255, 69, .35); border-radius: 999px; color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.apex-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.apex-hero h1 { max-width: 18ch; margin: 22px 0 20px; font-family: "Arial Black", Arial, Helvetica, sans-serif; font-size: clamp(42px, 6vw, 72px); line-height: .94; letter-spacing: -.05em; }
.apex-hero h1 em { font-style: normal; text-decoration: underline; text-decoration-color: var(--hot); text-decoration-thickness: .08em; text-underline-offset: .08em; }
.apex-hero p { max-width: 40em; margin: 0; color: rgba(255, 255, 255, .72); font-size: 19px; line-height: 1.55; }

.apex-products { padding: 48px 0 96px; color: #fff; }
.apex-product-grid { display: grid; gap: 18px; }
.apex-product { padding: 32px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 28px; background: #141218; }
.apex-product.is-live { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; border-color: rgba(113, 75, 255, .45); background: linear-gradient(180deg, #1a1624 0%, #141218 100%); }
.apex-product-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.apex-product-meta b { color: var(--hot); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.apex-status { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .62); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.apex-status.is-on { border-color: rgba(216, 255, 69, .4); color: var(--lime); }
.apex-product h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.04em; }
.apex-product p { margin: 0; color: rgba(255, 255, 255, .68); line-height: 1.55; }
.apex-product ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: rgba(255, 255, 255, .78); font-size: 14px; }
.apex-product li::before { content: "●"; margin-right: 8px; color: var(--lime); font-size: 8px; }
.apex-host { margin: 18px 0 0 !important; color: rgba(255, 255, 255, .42) !important; font-size: 13px; letter-spacing: .04em; }
.apex-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.apex-window { overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); border-radius: 26px; background: #17151c; }
.apex-window header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-weight: 800; }
.apex-window header span { display: flex; align-items: center; gap: 8px; }
.apex-window header i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.apex-window header small { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .72); font-size: 11px; font-weight: 600; }
.apex-dialog { display: grid; gap: 10px; padding: 20px; }
.apex-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; line-height: 1.45; font-size: 14px; }
.apex-msg.user { justify-self: end; color: #fff; background: var(--hot); border-bottom-right-radius: 4px; }
.apex-msg.agent { color: #eceaf3; background: #2a2731; border-bottom-left-radius: 4px; }
.apex-handoff { margin: 0 20px 20px; padding: 14px 16px; border-radius: 16px; background: rgba(216, 255, 69, .08); color: #eaf7b8; font-size: 13px; font-weight: 700; }

.apex-footer { padding: 36px 0 28px; color: #888; border-top: 1px solid #222; font-size: 12px; }
.apex-footer .shell { display: grid; gap: 10px; }
.apex-footer a { color: #aaa; text-decoration: none; }
.apex-footer a:hover { color: #fff; }
.apex-footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 960px) {
  .apex-header .link-quiet { display: none; }
  .apex-hero { padding: 56px 0 12px; }
  .apex-product.is-live { grid-template-columns: 1fr; }
  .apex-actions { display: grid; }
  .apex-actions .btn { width: 100%; }
}
