:root {
  --bg: #0a0a0f;
  --bg-surface: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --fg: #e8e8ed;
  --fg-muted: #8a8a9a;
  --fg-dim: #555568;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-dim: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-glow-strong: rgba(59, 130, 246, 0.25);
  --green: #4ade80;
  --green-dim: #22c55e;
  --green-glow: rgba(74, 222, 128, 0.15);
  --border: #1e1e2e;
  --border-light: #2a2a3a;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Shared ─────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.btn-primary.btn-large {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

.btn-secondary {
  display: inline-block;
  color: var(--fg-muted);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--border-light);
  transition: color 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  color: var(--fg);
  border-color: var(--fg-dim);
}

.btn-outline {
  display: inline-block;
  color: var(--accent-light);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--accent-dim);
  transition: background 0.2s, color 0.2s;
  text-align: center;
  width: 100%;
}

.btn-outline:hover {
  background: var(--accent-glow);
  color: #fff;
}

/* ─── Hero ────────────────────────────────────────────── */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 5rem 2rem 4rem;
  background: radial-gradient(ellipse at 60% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
              var(--bg);
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  width: fit-content;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--accent-light);
}

.lede {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Benefit bullets */
.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.benefit-list li {
  font-size: 1rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.benefit-list .check {
  color: var(--green);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── Social Proof (Numbers) ─────────────────────────── */

.numbers {
  padding: 4rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.numbers-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.number-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.big-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.03em;
  line-height: 1;
}

.number-desc {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ─── How It Works ───────────────────────────────────── */

.how {
  padding: 6rem 2rem;
}

.how-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.how-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
}

.how-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s;
}

.flow-step:hover {
  border-color: var(--accent-dim);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  color: var(--fg-dim);
  font-size: 1.5rem;
  flex-shrink: 0;
  align-self: center;
  margin-top: -1rem;
}

.flow-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.flow-content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.flow-content p {
  color: var(--fg-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ─── Problem Section ────────────────────────────────── */

.problem {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

.problem-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.problem-text {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: 3rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.2s;
}

.problem-card.highlight {
  border-color: var(--green-dim);
  background: linear-gradient(135deg, var(--bg-card), rgba(74, 222, 128, 0.04));
}

.card-icon {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--fg-dim);
}

.problem-card.highlight .card-icon {
  color: var(--green);
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.problem-card p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── Pricing ─────────────────────────────────────────── */

.pricing {
  padding: 6rem 2rem;
}

.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.pricing-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

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

.pricing-card.featured {
  border-color: var(--accent-dim);
  background: linear-gradient(160deg, var(--bg-card-hover), var(--bg-card));
  box-shadow: 0 0 40px var(--accent-glow);
}

.plan-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.plan-tier {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.price-amt {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price-mo {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.plan-desc {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  position: relative;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.8rem;
}

/* ─── Case Study ─────────────────────────────────────── */

.case-study {
  padding: 6rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.case-study-inner {
  max-width: 960px;
  margin: 0 auto;
}

.cs-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: var(--accent-glow);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.cs-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem;
  border-left: 4px solid var(--accent);
}

.cs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.cs-client-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cs-client-full {
  display: block;
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}

.cs-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-light);
  text-align: right;
  max-width: 260px;
  line-height: 1.4;
}

.cs-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.cs-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cs-dept h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.cs-dept p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.cs-results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.cs-result-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cs-result-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1;
}

.cs-result-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

.cs-quote {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.cs-quote p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.cs-quote cite {
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-style: normal;
}

/* ─── Demo ───────────────────────────────────────────── */

.demo {
  padding: 6rem 2rem;
  text-align: center;
}

.demo-inner {
  max-width: 700px;
  margin: 0 auto;
}

.demo h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.demo-sub {
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.demo-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border-light);
  border-radius: 12px;
  padding: 4rem 2rem;
  margin-bottom: 2rem;
}

.demo-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.demo-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-light);
}

.demo-screen p {
  font-size: 0.9rem;
  color: var(--fg-dim);
}

/* ─── FAQ ────────────────────────────────────────────── */

.faq {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 1.4rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg);
  transition: color 0.2s;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--fg-dim);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--accent-light);
}

.faq-item p {
  font-size: 0.93rem;
  color: var(--fg-muted);
  line-height: 1.7;
  padding-bottom: 1.4rem;
}

/* ─── Closing CTA ────────────────────────────────────── */

.closing {
  padding: 8rem 2rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 70%),
              var(--bg);
  text-align: center;
}

.closing-inner {
  max-width: 600px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.closing-text {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.closing-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* ─── Footer ─────────────────────────────────────────── */

.site-footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.footer-tagline {
  color: var(--fg-dim);
  font-size: 0.85rem;
}

/* ─── Mobile ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .how-flow {
    flex-direction: column;
    gap: 1rem;
  }

  .flow-arrow {
    transform: rotate(90deg);
    padding: 0;
    align-self: center;
    margin-top: 0;
  }

  .cs-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cs-header {
    flex-direction: column;
  }

  .cs-tagline {
    text-align: left;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
    padding: 4rem 1.5rem 3rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
  }

  .cs-content {
    padding: 2rem 1.5rem;
  }

  .problem,
  .how,
  .numbers,
  .pricing,
  .case-study,
  .demo,
  .faq,
  .closing {
    padding: 4.5rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
