/* ===== DESIGN TOKENS ===== */
:root {
  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'General Sans', 'Helvetica Neue', sans-serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;
}

/* ===== FP BRAND PALETTE — Light Mode ===== */
:root,
[data-theme='light'] {
  --color-bg: #f8f9fc;
  --color-surface: #ffffff;
  --color-surface-2: #f3f5f9;
  --color-surface-offset: #edf0f5;
  --color-surface-offset-2: #e4e8ef;
  --color-surface-dynamic: #dde1ea;
  --color-divider: #d3d8e3;
  --color-border: #c5cad8;

  --color-text: #1a1d2e;
  --color-text-muted: #5c6178;
  --color-text-faint: #9da2b5;
  --color-text-inverse: #ffffff;

  /* FP Blue — derived from logo #3b3b9b */
  --color-primary: #3b3b9b;
  --color-primary-hover: #2e2e7d;
  --color-primary-active: #222260;
  --color-primary-highlight: #e8e8f5;

  /* Teal accent for secondary CTAs */
  --color-teal: #0e8a8a;
  --color-teal-hover: #0a6e6e;

  /* Success */
  --color-success: #1a8a4a;
  --color-success-highlight: #e3f5ec;

  /* Warning */
  --color-warning: #c67a1a;

  /* Error */
  --color-error: #c43b3b;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.25 0.02 260 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.25 0.02 260 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.25 0.02 260 / 0.12);
  --shadow-xl: 0 20px 48px oklch(0.25 0.02 260 / 0.16);
}

/* ===== DARK MODE ===== */
[data-theme='dark'] {
  --color-bg: #111320;
  --color-surface: #181a2a;
  --color-surface-2: #1e2035;
  --color-surface-offset: #1a1c30;
  --color-surface-offset-2: #22243c;
  --color-surface-dynamic: #2a2d48;
  --color-divider: #2a2d45;
  --color-border: #363a55;

  --color-text: #d5d7e5;
  --color-text-muted: #8a8ea5;
  --color-text-faint: #5c6080;
  --color-text-inverse: #1a1d2e;

  --color-primary: #7878d0;
  --color-primary-hover: #6060b8;
  --color-primary-active: #5050a0;
  --color-primary-highlight: #2a2a50;

  --color-teal: #3abcbc;
  --color-teal-hover: #2a9e9e;

  --color-success: #3aba72;
  --color-success-highlight: #1a3028;

  --color-warning: #e8a040;

  --color-error: #e06060;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  --shadow-xl: 0 20px 48px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #111320;
    --color-surface: #181a2a;
    --color-surface-2: #1e2035;
    --color-surface-offset: #1a1c30;
    --color-surface-offset-2: #22243c;
    --color-surface-dynamic: #2a2d48;
    --color-divider: #2a2d45;
    --color-border: #363a55;
    --color-text: #d5d7e5;
    --color-text-muted: #8a8ea5;
    --color-text-faint: #5c6080;
    --color-text-inverse: #1a1d2e;
    --color-primary: #7878d0;
    --color-primary-hover: #6060b8;
    --color-primary-active: #5050a0;
    --color-primary-highlight: #2a2a50;
    --color-teal: #3abcbc;
    --color-teal-hover: #2a9e9e;
    --color-success: #3aba72;
    --color-success-highlight: #1a3028;
    --color-warning: #e8a040;
    --color-error: #e06060;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
    --shadow-xl: 0 20px 48px oklch(0 0 0 / 0.5);
  }
}

/* ===== GLOBAL STYLES ===== */
a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary-hover);
}

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

/* ===== HEADER / NAV ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .header-inner { padding-inline: var(--space-8); }
}
.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}
.header-logo img {
  height: 40px;
  width: auto;
}
.header-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: -0.01em;
}
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--color-text);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text);
}
.mobile-menu-btn:hover {
  background: var(--color-surface-offset);
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--color-bg);
  padding: var(--space-4);
  flex-direction: column;
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-top: var(--space-4);
}
.mobile-nav-links a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-md);
  text-decoration: none;
}
.mobile-nav-links a:hover {
  background: var(--color-surface-offset);
}
.mobile-nav-cta {
  margin-top: auto;
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-lg);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  line-height: 1.5;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-text-inverse);
}
.btn-primary:active {
  background: var(--color-primary-active);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
  border-color: var(--color-text-faint);
}
.btn-lg {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  border-radius: var(--radius-xl);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
}
.btn-ghost:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0 clamp(var(--space-12), 8vw, var(--space-24));
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, oklch(from var(--color-primary) l c h / 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, oklch(from var(--color-teal) l c h / 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  letter-spacing: 0.02em;
}
.hero-badge svg {
  width: 14px;
  height: 14px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  max-width: 16ch;
  margin-inline: auto;
}
.hero-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.hero-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.hero-note strong {
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Hero mockup */
.hero-mockup {
  position: relative;
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
  max-width: 960px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}
.mockup-browser {
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-divider);
}
.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #28c940; }
.mockup-bar-title {
  flex: 1;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 500;
}
.mockup-body {
  padding: var(--space-6);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-body img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: var(--space-10) 0 var(--space-12);
  text-align: center;
}
.social-proof-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-6);
}
.social-proof-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ===== SECTION COMMON ===== */
.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
}
.section-alt {
  background: var(--color-surface-2);
}
.section-header {
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}
.section-header.text-center {
  text-align: center;
}
.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 54ch;
  line-height: 1.7;
}
.section-header.text-center .section-subtitle {
  margin-inline: auto;
}

/* ===== FEATURES ===== */

/* "Why" feature blocks — asymmetric 2-column */
.why-grid {
  display: grid;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
}
.why-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .why-block {
    grid-template-columns: 1fr 1fr;
    gap: clamp(var(--space-8), 4vw, var(--space-16));
  }
  .why-block:nth-child(even) .why-visual {
    order: -1;
  }
}
.why-text {
  max-width: 460px;
}
.why-text .feature-icon-wrap {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.why-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}
.why-text p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.why-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.why-text li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.why-text li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-success);
  margin-top: 2px;
}
.why-visual {
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Feature grid — 10 core features */
.features-numbered {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .features-numbered {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features-numbered {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-card-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  counter-reset: step;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}
.step {
  text-align: left;
  counter-increment: step;
  position: relative;
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
}
.step-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary-highlight);
  line-height: 1;
  margin-bottom: var(--space-3);
}
[data-theme='dark'] .step-num {
  color: var(--color-primary-highlight);
}
.step h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 800px;
  margin-inline: auto;
}
@media (min-width: 640px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.pricing-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-lg);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.pricing-card-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.pricing-card-price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-1);
}
.pricing-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.pricing-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-success);
  margin-top: 2px;
}
.pricing-card .btn {
  width: 100%;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.faq-item {
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}
.faq-trigger:hover {
  background: var(--color-surface-offset);
}
.faq-trigger svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-text-faint);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.is-open .faq-trigger svg {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer-inner {
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
}
.cta-banner-inner {
  background: var(--color-primary);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-10), 5vw, var(--space-16));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 0%, oklch(1 0 0 / 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner-inner h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-3);
  position: relative;
}
.cta-banner-inner p {
  font-size: var(--text-base);
  color: oklch(from var(--color-text-inverse) l c h / 0.8);
  max-width: 44ch;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  position: relative;
}
.cta-banner-inner .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-xl);
  background: white;
  color: var(--color-primary);
  text-decoration: none;
  position: relative;
  border: none;
  cursor: pointer;
}
.cta-banner-inner .btn-cta:hover {
  background: oklch(1 0 0 / 0.9);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--color-divider);
  padding: var(--space-10) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 32ch;
  line-height: 1.65;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--color-text);
}
.footer-bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ===== SCROLL ANIMATIONS ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 60ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 120ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 180ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 240ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 300ms; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: 360ms; }
[data-reveal-stagger].is-visible > *:nth-child(8) { transition-delay: 420ms; }
[data-reveal-stagger].is-visible > *:nth-child(9) { transition-delay: 480ms; }

/* Mockup illustration placeholder */
.mockup-illustration {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-surface-offset), var(--color-surface-2));
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.mockup-illustration .mock-sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 22%;
  background: var(--color-surface-dynamic);
  display: flex;
  flex-direction: column;
  padding: var(--space-3);
  gap: var(--space-2);
}
.mock-sidebar-item {
  height: 8px;
  background: oklch(from var(--color-text) l c h / 0.08);
  border-radius: 4px;
  width: 80%;
}
.mock-sidebar-item.active {
  background: var(--color-primary);
  width: 90%;
  opacity: 0.5;
}
.mockup-illustration .mock-main {
  position: absolute;
  left: 22%;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  padding: var(--space-4);
  gap: var(--space-3);
}
.mock-panel {
  flex: 1;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.mock-panel-title {
  height: 8px;
  width: 40%;
  background: oklch(from var(--color-text) l c h / 0.12);
  border-radius: 4px;
}
.mock-row {
  height: 6px;
  background: oklch(from var(--color-text) l c h / 0.06);
  border-radius: 3px;
}
.mock-row.w-70 { width: 70%; }
.mock-row.w-50 { width: 50%; }
.mock-row.w-85 { width: 85%; }
.mock-3d {
  flex: 1.4;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.mock-pallet {
  width: 100px;
  height: 80px;
  position: relative;
  transform: perspective(400px) rotateX(20deg) rotateY(-15deg);
}
.mock-pallet-base {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: #c4a060;
  border-radius: 2px;
}
.mock-pallet-boxes {
  position: absolute;
  bottom: 10px;
  left: 10%;
  right: 10%;
  height: 55px;
  background: var(--color-primary);
  opacity: 0.6;
  border-radius: 2px;
}
.mock-pallet-boxes-2 {
  position: absolute;
  bottom: 65px;
  left: 15%;
  right: 15%;
  height: 35px;
  background: var(--color-primary);
  opacity: 0.4;
  border-radius: 2px;
}
