:root {
  --bg: #060816;
  --bg-soft: #0d1226;
  --panel: rgba(17, 24, 39, 0.72);
  --panel-solid: #0f172a;
  --text: #edf2ff;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.16);
  --primary: #7c9cff;
  --primary-strong: #5b8cff;
  --accent: #8ef0d1;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(91, 140, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(142, 240, 209, 0.10), transparent 24%),
    linear-gradient(180deg, #040611 0%, #070b18 35%, #060816 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── Background orbs ── */
.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.35;
  z-index: -1;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: rgba(91, 140, 255, 0.22);
  top: 80px;
  left: -60px;
}

.orb-2 {
  width: 280px;
  height: 280px;
  background: rgba(142, 240, 209, 0.18);
  top: 220px;
  right: -40px;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(4, 6, 17, 0.55);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

/* ── Buttons ── */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  box-shadow: 0 12px 28px rgba(91, 140, 255, 0.30);
}

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(91, 140, 255, 0.42);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(148, 163, 184, 0.18);
  color: var(--text);
}

.button-lg {
  min-height: 56px;
  padding: 0 32px;
  font-size: 1.05rem;
  border-radius: 16px;
}

/* ── Eyebrow + headings ── */
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b7c5f8;
}

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

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  max-width: 14ch;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}

/* ── Hero ── */
.hero {
  padding: 84px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-text {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #c7d2fe;
  font-size: 0.88rem;
}

.hero-meta span {
  padding: 7px 12px;
  background: rgba(124, 156, 255, 0.07);
  border: 1px solid rgba(124, 156, 255, 0.14);
  border-radius: 999px;
}

/* ── Browser badges ── */
.browser-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.browser-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.25);
  background: rgba(255,255,255,0.05);
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.browser-badge img {
  opacity: 0.8;
}

/* ── Product screenshot ── */
.product-screenshot-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(148,163,184,0.12);
  /* Constrain height so portrait image doesn't dominate */
  max-height: 640px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.product-screenshot-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(124,156,255,0.25), rgba(142,240,209,0.1));
  pointer-events: none;
  z-index: 1;
}

.product-screenshot {
  display: block;
  width: auto;
  height: 100%;
  max-height: 640px;
  border-radius: 16px;
  object-fit: cover;
  object-position: top;
}

/* ── Waitlist form ── */
.waitlist-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.waitlist-input {
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 0.95rem;
  width: 280px;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-input:focus {
  border-color: var(--primary);
}

.waitlist-input::placeholder {
  color: var(--muted);
}

.waitlist-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── Mock window ── */
.mock-window {
  position: relative;
  background: rgba(10, 14, 30, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 18%);
  pointer-events: none;
}

.mock-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mock-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.40);
}

.mock-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

/* Shared card base */
.job-page,
.side-panel,
.proof-card,
.feature-card,
.step,
.price-card,
.cta-box {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 20px;
}

.job-page {
  padding: 22px;
}

.job-chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(142, 240, 209, 0.10);
  color: var(--accent);
  border: 1px solid rgba(142, 240, 209, 0.20);
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.muted {
  color: var(--muted);
}

.job-lines {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.job-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.14), rgba(148, 163, 184, 0.06));
}

.job-lines .short {
  width: 60%;
}

.side-panel {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(142, 240, 209, 0.08);
}

.panel-card {
  position: relative;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.float-a,
.float-b,
.float-c {
  animation: bob 4.8s ease-in-out infinite;
}

.float-b { animation-delay: 0.4s; }
.float-c { animation-delay: 0.9s; }

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

.mini-label {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.score {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.score-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(142, 240, 209, 0.12);
  color: var(--accent);
  border: 1px solid rgba(142, 240, 209, 0.22);
  font-size: 0.8rem;
  font-weight: 600;
}

.analysis-lines {
  display: grid;
  gap: 9px;
}

.analysis-lines span {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.18), rgba(148, 163, 184, 0.06));
}

.analysis-lines .short {
  width: 55%;
}

.dl-row {
  display: flex;
  gap: 8px;
}

.dl-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.dl-chip.accent {
  background: rgba(142, 240, 209, 0.10);
  border-color: rgba(142, 240, 209, 0.22);
  color: var(--accent);
}

/* ── Proof strip ── */
.proof,
.features,
.workflow,
.pricing,
.cta {
  padding: 32px 0 80px;
}

.proof-wrap,
.pricing-wrap {
  display: grid;
  gap: 22px;
}

.proof-label {
  color: var(--muted);
  margin-bottom: 4px;
}

.proof-grid,
.feature-grid,
.steps {
  display: grid;
  gap: 18px;
}

.proof-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p,
.feature-card p,
.step p,
.price-card p,
.proof-card p,
.cta-box p {
  color: var(--muted);
}

.proof-card,
.feature-card,
.step,
.price-card {
  padding: 22px;
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.step-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.featured {
  position: relative;
  border-color: rgba(124, 156, 255, 0.34);
  box-shadow: 0 16px 40px rgba(91, 140, 255, 0.12);
}

.featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.74rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(142, 240, 209, 0.12);
  color: var(--accent);
  border: 1px solid rgba(142, 240, 209, 0.22);
  font-weight: 600;
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.price-once {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}

.price-copy {
  margin-bottom: 12px;
}

/* Credit options grid */
.credit-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.credit-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.credit-option.highlighted {
  border-color: rgba(124, 156, 255, 0.30);
  background: rgba(124, 156, 255, 0.06);
}

.credit-price {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.credit-amount {
  font-size: 0.78rem;
  color: var(--muted);
}

.price-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #d5dcef;
}

.price-card ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* ── CTA ── */
.cta-box {
  padding: 48px 40px;
}

.cta-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-center h2 {
  margin-bottom: 12px;
}

.cta-center p {
  margin-bottom: 28px;
  max-width: 48ch;
}

/* ── Footer ── */
.site-footer {
  padding: 24px 0 40px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ── Reveal animations ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(14px);
}

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

/* ── Responsive ── */
@media (max-width: 1050px) {
  .hero-grid,
  .mock-layout,
  .proof-grid,
  .feature-grid,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    max-width: none;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box {
    padding: 32px 20px;
  }

  .footer-wrap {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
