:root {
  color-scheme: dark;
  --bg: #05070b;
  --panel: rgba(13, 18, 29, 0.66);
  --panel-strong: rgba(18, 25, 39, 0.82);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7fbff;
  --muted: #9fb0c3;
  --cyan: #67e8f9;
  --mint: #5eead4;
  --rose: #fb7185;
  --gold: #fbbf24;
  --blue: #60a5fa;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(94, 234, 212, 0.22), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(251, 113, 133, 0.19), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(96, 165, 250, 0.14), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

#particle-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.62;
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  margin: 14px 0 38px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 10, 16, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.window-bar,
.workspace-grid,
.console-top,
.metric-row,
.site-footer,
.logo-ribbon {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  font-size: 15px;
}

.brand-mark {
  display: grid;
  place-items: center;
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(59, 130, 246, 0.32);
  border-radius: 999px;
  color: #1d9bff;
  background: rgba(2, 8, 23, 0.82);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  text-shadow:
    0 0 12px rgba(29, 155, 255, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 8px 18px rgba(0, 0, 0, 0.24);
}

.nav-links {
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.nav-links a,
.nav-cta,
.button {
  border-radius: 999px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta,
.button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 720;
}

.nav-cta {
  padding: 10px 14px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta:hover,
.button:hover,
.glass-card:hover,
.price-card:hover {
  transform: translateY(-3px);
}

.section {
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 130px);
  padding-top: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(40px, 5.8vw, 72px);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  letter-spacing: 0;
}

.hero-lede,
.section-heading p,
.final-cta p {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.62;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
}

.button-primary {
  color: #051013;
  background: linear-gradient(135deg, var(--cyan), var(--mint) 52%, var(--gold));
  box-shadow: 0 18px 55px rgba(94, 234, 212, 0.26);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.52;
  pointer-events: none;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats div {
  min-width: 145px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.hero-stats strong,
.hero-stats span {
  font-size: 28px;
  font-weight: 820;
}

.hero-stats small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.aura-card,
.glass-card,
.price-card,
.preview-console,
.compare {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.aura-card::before,
.glass-card::before,
.price-card::before,
.preview-console::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.72), rgba(251, 113, 133, 0.22), rgba(251, 191, 36, 0.45));
  opacity: 0.36;
}

.product-frame {
  border-radius: 28px;
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}

.screenshot-frame {
  isolation: isolate;
  animation: screenshotFloat 7s ease-in-out infinite;
}

.screenshot-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
}

.traffic {
  display: flex;
  gap: 8px;
}

.traffic span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rose);
}

.traffic span:nth-child(2) { background: var(--gold); }
.traffic span:nth-child(3) { background: var(--mint); }

.screenshot-toolbar strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.screenshot-toolbar em {
  padding: 6px 10px;
  border: 1px solid rgba(103, 232, 249, 0.26);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.08);
  font-size: 12px;
  font-style: normal;
}

.screenshot-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1940 / 866;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.04);
}

.screenshot-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
}

.screenshot-caption span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 11px;
}

.window-bar {
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rose);
}

.window-bar span:nth-child(2) { background: var(--gold); }
.window-bar span:nth-child(3) { background: var(--mint); }
.window-bar strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.workspace-grid {
  align-items: stretch;
  min-height: 430px;
}

.mini-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 62px;
  padding: 22px 15px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.mini-sidebar span {
  width: 31px;
  height: 31px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
}

.mini-sidebar .active {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.code-panel {
  flex: 1;
  min-width: 0;
  padding: 22px;
}

.code-header,
.console-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.code-header span,
.console-top span {
  color: var(--muted);
  font-size: 13px;
}

.code-header em,
.console-top button,
.badge {
  border: 1px solid rgba(94, 234, 212, 0.32);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(94, 234, 212, 0.08);
  font-style: normal;
  font-size: 12px;
  padding: 6px 10px;
}

pre {
  margin: 0;
  overflow: auto;
  color: #dff7ff;
  font: 14px/1.8 "SFMono-Regular", Consolas, monospace;
}

.muted { color: #637488; }

.insight-panel {
  width: 180px;
  padding: 22px 18px;
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.pulse-row,
.task {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 12px;
}

.pulse-row span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
}

.task {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.task.done { color: var(--mint); }
.task.active { color: var(--text); border: 1px solid rgba(103, 232, 249, 0.2); }

.mini-graph {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 90px;
  margin-top: 28px;
}

.mini-graph i {
  flex: 1;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  animation: pulseLine 2.1s ease-in-out infinite;
}

.mini-graph i:nth-child(1) { height: 36%; }
.mini-graph i:nth-child(2) { height: 62%; animation-delay: 0.15s; }
.mini-graph i:nth-child(3) { height: 48%; animation-delay: 0.3s; }
.mini-graph i:nth-child(4) { height: 84%; animation-delay: 0.45s; }
.mini-graph i:nth-child(5) { height: 70%; animation-delay: 0.6s; }

.logo-ribbon {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
}

.logo-ribbon span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.stack {
  display: grid;
  gap: 34px;
}

.section-heading {
  max-width: 820px;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.glass-card,
.price-card {
  isolation: isolate;
  overflow: hidden;
  min-height: 235px;
  padding: 22px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    rgba(6, 10, 18, 0.5);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.glass-card::after,
.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.13) 38%, transparent 58%);
  transform: translateX(-110%);
  transition: transform 650ms ease;
}

.glass-card:hover,
.price-card:hover {
  border-color: rgba(103, 232, 249, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.125), rgba(255, 255, 255, 0.045)),
    rgba(6, 10, 18, 0.56);
}

.glass-card:hover::after,
.price-card:hover::after {
  transform: translateX(110%);
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  color: #071017;
  font-weight: 850;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.glass-card h3,
.price-card h3 {
  margin-bottom: 9px;
}

.glass-card p,
.price-card p,
.price-card li {
  color: var(--muted);
  line-height: 1.62;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 34px;
  align-items: center;
}

.preview-console {
  overflow: hidden;
  min-height: 410px;
  padding: 18px;
  border-radius: 26px;
}

.console-top button {
  cursor: pointer;
}

.preview-body {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
  min-height: 320px;
}

.preview-card {
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(103, 232, 249, 0.18), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
}

.preview-card strong {
  display: block;
  font-size: 26px;
}

.preview-card span,
.preview-feed p {
  color: var(--muted);
}

.metric-row {
  justify-content: space-between;
  margin-top: 135px;
}

.metric-row b {
  font-size: 42px;
  letter-spacing: 0;
}

.metric-row em {
  color: var(--mint);
  font-style: normal;
  font-weight: 760;
}

.preview-feed {
  display: grid;
  align-content: end;
  gap: 10px;
}

.preview-feed p {
  margin: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.preview-feed span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--mint);
}

.compare {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 22px;
  padding: 28px;
  border-radius: 28px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.compare-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.compare-grid .winner {
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(94, 234, 212, 0.08);
}

.compare-grid strong,
.compare-grid span {
  display: block;
}

.compare-grid span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.55fr);
  gap: 22px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(94, 234, 212, 0.08)),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.download-band p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.download-actions {
  display: grid;
  gap: 10px;
}

.price-card {
  min-height: 318px;
}

.price-card.featured {
  transform: translateY(-8px);
  background:
    linear-gradient(145deg, rgba(94, 234, 212, 0.12), rgba(251, 191, 36, 0.08)),
    rgba(255, 255, 255, 0.05);
}

.price-card.featured:hover {
  transform: translateY(-12px);
}

.price-card strong {
  display: block;
  margin: 28px 0;
  font-size: 42px;
  letter-spacing: 0;
}

.price-card strong span {
  color: var(--muted);
  font-size: 16px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--mint);
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 72px 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(103, 232, 249, 0.22), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.final-cta p {
  margin-bottom: 28px;
}

.site-footer {
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 56px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0;
  max-width: 360px;
  line-height: 1.55;
}

.site-footer span,
.footer-links a:hover {
  color: var(--text);
}

.footer-brand span:last-child {
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.footer-links a,
.powered-by {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
}

.powered-by {
  color: var(--cyan);
  border-color: rgba(103, 232, 249, 0.2);
  background: rgba(103, 232, 249, 0.055);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes screenshotFloat {
  0%, 100% { transform: perspective(1100px) rotateX(2deg) rotateY(-4deg) translateY(0); }
  50% { transform: perspective(1100px) rotateX(2deg) rotateY(-4deg) translateY(-14px); }
}

@keyframes pulseLine {
  0%, 100% { opacity: 0.44; transform: scaleY(0.9); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 920px) {
  .page-shell { width: min(100% - 24px, 720px); }
  .nav-links { display: none; }
  .hero,
  .split,
  .compare {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding-top: 34px;
  }
  .feature-grid,
  .pricing-grid,
  .preview-body,
  .compare-grid,
  .download-band {
    grid-template-columns: 1fr;
  }
  .workspace-grid {
    flex-direction: column;
  }
  .mini-sidebar {
    flex-direction: row;
    width: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .insight-panel {
    width: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .metric-row {
    margin-top: 72px;
  }
  .screenshot-frame {
    animation: float 7s ease-in-out infinite;
  }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 20px, 520px); }
  .site-nav {
    top: 8px;
    margin-top: 8px;
  }
  .nav-cta { display: none; }
  h1 { font-size: 38px; }
  h2 { font-size: 34px; }
  .section { padding: 48px 0; }
  .hero-stats div { width: 100%; }
  .code-panel { padding: 16px; }
  pre { font-size: 12px; }
}
