:root {
  --bg: #04101d;
  --panel: rgba(8, 18, 32, 0.78);
  --line: rgba(123, 173, 255, 0.14);
  --text: #ecf4ff;
  --muted: #9cb4d1;
  --brand: #3b82f6;
  --brand-soft: #38bdf8;
  --good: #22c55e;
  --shadow: 0 30px 80px rgba(1, 8, 20, 0.52);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.2), transparent 26%),
    radial-gradient(circle at bottom, rgba(30, 64, 175, 0.16), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #020812 100%);
}
a { color: inherit; text-decoration: none; }
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
button:hover, .button:hover { transform: translateY(-1px); }

.site-shell { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; padding: 24px 0 56px; }
.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 14px 18px;
  background: rgba(5, 15, 28, 0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(56, 189, 248, 0.88));
  color: #eff7ff;
  letter-spacing: .08em;
}
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy span, .nav a, .footer p, .footer-links a { color: var(--muted); }
.nav, .topbar-actions, .hero-actions, .footer-links { display: flex; gap: 14px; }
.button { min-height: 46px; padding: 0 20px; }
.button-large { min-height: 54px; padding: 0 24px; }
.button-primary { color: #f7fbff; background: linear-gradient(135deg, var(--brand), var(--brand-soft)); box-shadow: 0 16px 34px rgba(56, 189, 248, .2); }
.button-ghost { color: var(--text); background: rgba(255,255,255,.04); border: 1px solid rgba(164, 194, 255, .14); }
.button-soft { color: var(--text); background: rgba(56, 189, 248, .08); border: 1px solid rgba(56, 189, 248, .18); }
.button.is-disabled { opacity: .5; pointer-events: none; }

.hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 160px);
  padding: 36px 0 28px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #b9d7ff;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .52);
  animation: pulse 1.8s infinite;
}
.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .96;
  letter-spacing: -.04em;
}
.hero h1 span { display: block; color: #8ad9ff; }
.hero-text, .section-heading > p:last-child, .section-copy > p:last-of-type, .cta-card > p:last-of-type, .feature-list li, .faq-panel p {
  color: var(--muted);
  line-height: 1.74;
}
.hero-text { max-width: 62ch; margin: 22px 0 0; font-size: 18px; }
.hero-stats, .feature-grid, .dashboard-showcase, .metric-grid { display: grid; gap: 16px; }
.hero-stats { grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.feature-grid, .dashboard-showcase { grid-template-columns: repeat(4, 1fr); margin-top: 28px; }

.stat-card, .feature-card, .dashboard-block, .faq-item, .security-card, .showcase-card, .glass-card, .cta-card {
  background: linear-gradient(180deg, rgba(8, 18, 32, .86), rgba(5, 13, 24, .94));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.stat-card, .feature-card, .dashboard-block, .security-card, .glass-card { padding: 18px; }
.stat-card span, .mini-label, .section-heading p, .section-copy p, .faq-panel p, .panel-track p, .dashboard-block p, .feature-card p, .security-card span { color: var(--muted); }
.stat-card strong, .security-card strong { display: block; margin-top: 10px; font-size: 24px; }
.feature-card h3, .dashboard-block h3 { margin: 18px 0 10px; font-size: 22px; }

.hero-visual { position: relative; min-height: 720px; }
.orb { position: absolute; border-radius: 999px; filter: blur(12px); }
.orb-a { top: 60px; right: 24px; width: 180px; height: 180px; background: rgba(59,130,246,.22); }
.orb-b { left: 20px; bottom: 120px; width: 220px; height: 220px; background: rgba(56,189,248,.16); }
.showcase-card {
  position: absolute;
  border-radius: var(--radius-xl);
  background: rgba(7,17,31,.92);
  border: 1px solid rgba(138,179,255,.18);
  backdrop-filter: blur(12px);
}
.dashboard-card { top: 18px; right: 0; width: 88%; padding: 18px; }
.panel-card { left: 0; bottom: 34px; width: 68%; padding: 18px; }
.window-bar { display: flex; gap: 8px; margin-bottom: 14px; }
.window-bar span { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.22); }
.preview-header, .panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.preview-header h2, .panel-header h3, .section-heading h2, .section-copy h2, .cta-card h2 { margin: 4px 0 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.06; }
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.status-pill.success { color: #d3ffe1; background: rgba(34,197,94,.14); border: 1px solid rgba(34,197,94,.3); }
.status-pill.info { color: #d8f3ff; background: rgba(56,189,248,.14); border: 1px solid rgba(56,189,248,.28); }
.metric-box, .preview-panel { padding: 16px; border-radius: 18px; background: rgba(5,13,24,.78); border: 1px solid rgba(138,179,255,.12); }
.metric-box strong { display: block; margin-top: 8px; font-size: 22px; }
.preview-row { display: grid; grid-template-columns: 1.08fr .92fr; gap: 12px; margin-top: 12px; }
.panel-title { display: inline-block; margin-bottom: 12px; font-size: 13px; color: #c8ddff; }
.fake-lines span { display: block; height: 10px; margin-top: 10px; border-radius: 999px; background: linear-gradient(90deg, rgba(154,191,255,.12), rgba(154,191,255,.06)); }
.fake-lines span:nth-child(1) { width: 82%; }
.fake-lines span:nth-child(2) { width: 64%; }
.fake-lines span:nth-child(3) { width: 88%; }
.fake-lines span:nth-child(4) { width: 56%; }
.preview-panel.accent { border-color: rgba(56,189,248,.18); background: linear-gradient(180deg, rgba(5,15,28,.92), rgba(7,27,46,.9)); }
.music-chip-row, .panel-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.music-chip-row span, .panel-buttons span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(56,189,248,.12);
  color: #ccefff;
  font-size: 12px;
}
.panel-track { margin-top: 18px; padding: 16px; border-radius: 16px; background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.18); }
.panel-track strong { display: block; margin-bottom: 6px; }

.section { padding: 84px 0; }
.section-heading, .section-copy { max-width: 760px; }
.section-heading h2, .section-copy h2, .cta-card h2 { margin-bottom: 16px; }
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(59,130,246,.14);
  color: #dff2ff;
  font-size: 13px;
  font-weight: 700;
}
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.feature-list { margin: 24px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; margin-top: 14px; padding-left: 28px; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
}
.stacked-visual, .security-grid, .faq-list { display: grid; gap: 16px; }
.code-line { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-top: 1px solid rgba(172,197,255,.08); }
.code-line:first-child { border-top: 0; }
.prompt { color: #8ad9ff; }
.waveform-card { text-align: center; }
.wave-bars { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; align-items: end; height: 130px; margin-bottom: 16px; }
.wave-bars span { border-radius: 999px; background: linear-gradient(180deg, #7dd3fc, #2563eb); animation: dance 1.6s ease-in-out infinite; }
.wave-bars span:nth-child(odd) { animation-delay: .2s; }
.wave-bars span:nth-child(1) { height: 40%; }.wave-bars span:nth-child(2) { height: 76%; }.wave-bars span:nth-child(3) { height: 52%; }.wave-bars span:nth-child(4) { height: 90%; }.wave-bars span:nth-child(5) { height: 66%; }.wave-bars span:nth-child(6) { height: 48%; }.wave-bars span:nth-child(7) { height: 82%; }.wave-bars span:nth-child(8) { height: 58%; }.wave-bars span:nth-child(9) { height: 72%; }.wave-bars span:nth-child(10) { height: 44%; }

.faq-item { overflow: hidden; }
.faq-trigger {
  width: 100%;
  min-height: 72px;
  padding: 0 20px;
  justify-content: space-between;
  color: var(--text);
  background: transparent;
}
.faq-trigger::after { content: "+"; font-size: 28px; color: #8ad9ff; }
.faq-item.is-open .faq-trigger::after { content: "-"; }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-panel p { margin: 0; padding: 0 20px 22px; }

.cta-section { padding-bottom: 40px; }
.cta-card {
  padding: 34px;
  text-align: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.18), transparent 24%),
    linear-gradient(180deg, rgba(7,17,31,.94), rgba(4,10,18,.98));
}
.cta-card .hero-actions { justify-content: center; }
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px 0;
  border-top: 1px solid rgba(138,179,255,.12);
}
.footer strong { display: block; margin-bottom: 6px; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.52); }
  70% { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
@keyframes dance {
  0%, 100% { transform: scaleY(.9); opacity: .78; }
  50% { transform: scaleY(1.08); opacity: 1; }
}

@media (max-width: 1120px) {
  .hero, .split-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 620px; }
  .feature-grid, .dashboard-showcase, .hero-stats, .metric-grid, .preview-row { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .site-shell { width: min(calc(100% - 24px), var(--container)); }
  .topbar { position: static; flex-wrap: wrap; border-radius: 24px; }
  .nav, .topbar-actions, .hero-actions { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  .hero h1 { max-width: none; }
  .dashboard-card, .panel-card { position: relative; width: 100%; top: auto; left: auto; right: auto; bottom: auto; }
  .hero-visual { display: grid; gap: 16px; min-height: auto; }
  .orb { display: none; }
  .footer { flex-direction: column; align-items: flex-start; }
}
