/* ============================================
   FORTAX — CA ↔ Business Marketplace
   Powered by Compliance AI
   Font: Ubuntu · Ratio: 1.618
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&family=Ubuntu+Mono:wght@400;700&display=swap');

:root {
  --phi: 1.618;
  --s-xs: 0.382rem;
  --s-sm: 0.618rem;
  --s-md: 1rem;
  --s-lg: 1.618rem;
  --s-xl: 2.618rem;
  --s-2xl: 4.236rem;
  --s-3xl: 6.854rem;
  --s-4xl: 11.09rem;

  --fs-xs: 0.764rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.618rem;
  --fs-xl: 2.618rem;
  --fs-2xl: 4.236rem;

  /* LIGHT MODE */
  --bg: #ffffff;
  --bg-alt: #f6f9fd;
  --bg-elev: #ffffff;
  --fg: #0a1220;
  --fg-muted: #4a5668;
  --fg-subtle: #8894a6;
  --border: #e4ebf5;
  --border-strong: #cfd9e8;

  /* Fortax Blue — from logo */
  --brand: #1e9bd6;
  --brand-2: #0b6ea0;
  --brand-3: #5dc7f2;
  --brand-soft: rgba(30, 155, 214, 0.12);
  --brand-glow: rgba(30, 155, 214, 0.22);

  --steel: #3a4656;
  --steel-light: #6b7889;

  --shadow: 0 1px 2px rgba(11, 110, 160, 0.04), 0 12px 32px rgba(11, 110, 160, 0.08);
  --shadow-lg: 0 2px 4px rgba(11, 110, 160, 0.06), 0 28px 64px rgba(11, 110, 160, 0.12);
  --shadow-brand: 0 12px 40px rgba(30, 155, 214, 0.25);

  --grid: rgba(30, 155, 214, 0.055);
  --aurora-1: rgba(30, 155, 214, 0.22);
  --aurora-2: rgba(93, 199, 242, 0.16);
  --aurora-3: rgba(11, 110, 160, 0.14);
}

[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #050a12;
  --bg-elev: #0a1220;
  --fg: #eef4ff;
  --fg-muted: #9babc2;
  --fg-subtle: #5f6e85;
  --border: #121b2c;
  --border-strong: #1f2b41;

  --brand: #3cb5ee;
  --brand-2: #1e9bd6;
  --brand-3: #7dd3f7;
  --brand-soft: rgba(60, 181, 238, 0.12);
  --brand-glow: rgba(60, 181, 238, 0.28);

  --steel: #6b7889;
  --steel-light: #8a98ac;

  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.6), 0 28px 80px rgba(0, 0, 0, 0.75);
  --shadow-brand: 0 12px 50px rgba(60, 181, 238, 0.35);

  --grid: rgba(60, 181, 238, 0.05);
  --aurora-1: rgba(60, 181, 238, 0.18);
  --aurora-2: rgba(125, 211, 247, 0.12);
  --aurora-3: rgba(11, 110, 160, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Ubuntu', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: var(--phi);
  font-size: var(--fs-base);
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 61.8px 61.8px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 75%);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, var(--aurora-1), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 10%, var(--aurora-2), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 100%, var(--aurora-3), transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: aurora 20s ease-in-out infinite;
}
@keyframes aurora {
  0%, 100% { opacity: 0.8; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-20px); }
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 var(--s-lg); position: relative; z-index: 1; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--s-lg); position: relative; z-index: 1; }

h1, h2, h3, h4, h5 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--fg);
}
h1 { font-size: clamp(2.4rem, 5.8vw, 4.6rem); font-weight: 300; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 300; letter-spacing: -0.032em; }
h3 { font-size: var(--fs-lg); font-weight: 500; }
h4 { font-size: var(--fs-md); font-weight: 500; }
p { color: var(--fg-muted); line-height: var(--phi); }

.highlight {
  background: linear-gradient(135deg, var(--brand-3) 0%, var(--brand) 50%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 300;
}
.serif-italic { font-style: italic; font-weight: 300; }

/* Navbar */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-md) var(--s-lg);
  max-width: 1240px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  text-decoration: none;
  color: var(--fg);
  font-weight: 700;
  font-size: var(--fs-md);
  letter-spacing: -0.02em;
}
.nav-logo img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 4px 12px var(--brand-glow)); }
.nav-links {
  display: flex;
  gap: var(--s-xl);
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: var(--s-md); }

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  transition: all 0.3s ease;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); transform: rotate(20deg); }
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  padding: 0.75rem 1.45rem;
  border-radius: 100px;
  font-family: 'Ubuntu', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 6px 20px var(--brand-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px var(--brand-glow);
  background: linear-gradient(135deg, var(--brand-3) 0%, var(--brand) 100%);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn-lg { padding: 0.95rem 1.9rem; font-size: var(--fs-base); }

/* Hero */
.hero {
  padding: calc(var(--s-4xl) + 70px) 0 var(--s-3xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  padding: 0.45rem 1.05rem;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: var(--fs-xs);
  color: var(--fg-muted);
  margin-bottom: var(--s-lg);
  background: color-mix(in srgb, var(--bg-elev) 60%, transparent);
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand), 0 0 24px var(--brand);
  animation: blink 2s infinite;
}
@keyframes blink { 50% { opacity: 0.4; transform: scale(0.85); } }

.hero h1 { margin-bottom: var(--s-lg); max-width: 18ch; margin-left: auto; margin-right: auto; }
.hero-sub {
  font-size: var(--fs-md);
  max-width: 64ch;
  margin: 0 auto var(--s-xl);
  color: var(--fg-muted);
}
.hero-cta { display: flex; gap: var(--s-md); justify-content: center; flex-wrap: wrap; }
.hero-trust {
  margin-top: var(--s-2xl);
  font-size: var(--fs-xs);
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.hero-visual { position: relative; max-width: 900px; margin: var(--s-2xl) auto 0; }

/* Partners */
.partners {
  padding: var(--s-2xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.partners-label {
  text-align: center;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fg-subtle);
  margin-bottom: var(--s-xl);
}
.partners-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-xl);
}
.partner {
  font-size: var(--fs-sm);
  color: var(--fg-muted);
  transition: all 0.3s ease;
  padding: var(--s-sm) var(--s-md);
  border-left: 1px solid var(--border);
  text-align: center;
}
.partner:first-child { border-left: none; }
.partner:hover { color: var(--brand); transform: translateY(-2px); }
.partner strong { display: block; font-weight: 700; font-size: var(--fs-base); color: var(--fg); margin-bottom: 2px; }
.partner span { display: block; font-size: 0.72rem; color: var(--fg-subtle); }

/* Sections */
.section { padding: var(--s-3xl) 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  margin-bottom: var(--s-2xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--brand);
  margin-bottom: var(--s-md);
  font-weight: 500;
}
.section-head h2 { margin-bottom: var(--s-md); }
.section-head p { font-size: var(--fs-md); }

/* Marketplace two-sides */
.marketplace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-lg);
  margin-top: var(--s-xl);
}
.mkt-card {
  padding: var(--s-xl);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  transition: all 0.4s ease;
}
.mkt-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-3), var(--brand), var(--brand-2));
}
.mkt-card::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--brand-soft), transparent 70%);
  pointer-events: none;
}
.mkt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.mkt-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--s-md);
  position: relative;
  z-index: 1;
}
.mkt-card h3 { font-size: var(--fs-xl); font-weight: 300; letter-spacing: -0.02em; margin-bottom: var(--s-sm); position: relative; z-index: 1; }
.mkt-card > p { margin-bottom: var(--s-lg); font-size: var(--fs-sm); position: relative; z-index: 1; }
.mkt-list { list-style: none; position: relative; z-index: 1; }
.mkt-list li {
  padding: var(--s-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--fg-muted);
  display: flex;
  gap: var(--s-sm);
  align-items: start;
}
.mkt-list li:last-child { border: none; }
.mkt-list li svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; margin-top: 4px; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}
.feature-card {
  padding: var(--s-xl);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--brand-soft), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-soft), transparent);
  border: 1px solid var(--border);
  margin-bottom: var(--s-lg);
  color: var(--brand);
  position: relative;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: var(--s-sm); position: relative; }
.feature-card p { font-size: var(--fs-sm); position: relative; }

/* Big feature */
.big-feature {
  display: grid;
  grid-template-columns: 1fr 1.618fr;
  gap: var(--s-2xl);
  align-items: center;
  padding: var(--s-2xl);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 28px;
  margin-bottom: var(--s-xl);
  position: relative;
  overflow: hidden;
}
.big-feature::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--brand-soft), transparent 60%);
  pointer-events: none;
}
.big-feature-reverse { grid-template-columns: 1.618fr 1fr; }
.big-feature-reverse .bf-content { order: 2; }
.bf-content { position: relative; z-index: 1; }
.big-feature h3 { font-size: var(--fs-xl); font-weight: 300; letter-spacing: -0.02em; margin-bottom: var(--s-md); }
.big-feature p { margin-bottom: var(--s-lg); }
.big-feature ul { list-style: none; }
.big-feature li {
  padding: var(--s-sm) 0;
  color: var(--fg-muted);
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  border-bottom: 1px solid var(--border);
}
.big-feature li:last-child { border: none; }
.big-feature li svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }

.bf-visual {
  aspect-ratio: 1.2;
  background: linear-gradient(135deg, var(--bg-alt), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: var(--s-lg);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-md);
}
.service-item {
  padding: var(--s-lg);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-elev);
  transition: all 0.3s ease;
}
.service-item:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.service-item svg { width: 28px; height: 28px; color: var(--brand); margin-bottom: var(--s-md); }
.service-item h4 { font-size: var(--fs-base); margin-bottom: var(--s-xs); }
.service-item p { font-size: var(--fs-xs); }

/* Steps timeline */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-lg);
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 30px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--brand);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  font-weight: 500;
  margin: 0 auto var(--s-md);
  box-shadow: 0 0 0 8px var(--bg-alt), 0 0 24px var(--brand-glow);
}
.step h4 { margin-bottom: var(--s-xs); font-size: var(--fs-base); }
.step p { font-size: var(--fs-xs); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-lg);
  padding: var(--s-2xl);
  background: linear-gradient(135deg, var(--bg-elev), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--brand-soft), transparent 70%);
  pointer-events: none;
}
.stat { text-align: center; position: relative; }
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--s-sm);
  background: linear-gradient(135deg, var(--brand-3), var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-subtle);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-md);
  margin-top: var(--s-xl);
}
.price-card {
  padding: var(--s-xl) var(--s-lg);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.price-card.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-alt) 100%);
  box-shadow: var(--shadow-brand);
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-brand);
}
.price-tier {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-subtle);
  margin-bottom: var(--s-sm);
}
.price-name { font-size: var(--fs-md); font-weight: 500; margin-bottom: var(--s-md); }
.price-amount {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--s-xs);
}
.price-amount .currency { font-size: 1.2rem; vertical-align: super; color: var(--fg-muted); }
.price-amount .period { font-size: 0.85rem; color: var(--fg-subtle); font-weight: 400; }
.price-desc { font-size: var(--fs-xs); color: var(--fg-muted); margin-bottom: var(--s-lg); min-height: 2.6em; }
.price-features {
  list-style: none;
  flex: 1;
  padding-top: var(--s-md);
  border-top: 1px solid var(--border);
  margin-bottom: var(--s-lg);
}
.price-features li {
  padding: var(--s-xs) 0;
  font-size: 0.78rem;
  color: var(--fg-muted);
  display: flex;
  gap: var(--s-xs);
  align-items: start;
}
.price-features li::before {
  content: '';
  width: 14px; height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e9bd6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 3px;
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--s-lg) 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--fg);
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--brand);
  transition: transform 0.3s ease;
}
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding-top: var(--s-md);
  color: var(--fg-muted);
  font-size: var(--fs-sm);
}
.faq-a a { color: var(--brand); }

/* CTA */
.cta-section {
  text-align: center;
  padding: var(--s-3xl) var(--s-xl);
  background: linear-gradient(135deg, var(--bg-elev), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 0%, var(--brand-soft), transparent 60%),
    radial-gradient(ellipse at 70% 100%, var(--aurora-3), transparent 60%);
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); margin-bottom: var(--s-md); max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-section p { max-width: 54ch; margin: 0 auto var(--s-xl); font-size: var(--fs-md); }

/* Footer */
.footer {
  padding: var(--s-2xl) 0 var(--s-lg);
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  margin-top: var(--s-2xl);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.618fr 1fr 1fr 1fr 1fr;
  gap: var(--s-xl);
  padding-bottom: var(--s-xl);
  border-bottom: 1px solid var(--border);
}
.footer-brand p { font-size: var(--fs-sm); margin-top: var(--s-md); max-width: 34ch; }
.footer h5 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg);
  margin-bottom: var(--s-md);
  font-weight: 500;
}
.footer ul { list-style: none; }
.footer li { padding: var(--s-xs) 0; }
.footer a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color 0.2s ease;
}
.footer a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: var(--s-lg);
  font-size: var(--fs-xs);
  color: var(--fg-subtle);
}

/* Legal */
.legal-hero {
  padding: calc(var(--s-4xl) + 40px) 0 var(--s-2xl);
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.legal-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); margin-bottom: var(--s-md); }
.legal-hero p { color: var(--fg-subtle); font-size: var(--fs-sm); }
.legal-content { padding: var(--s-2xl) 0; }
.legal-content h2 {
  font-size: var(--fs-lg);
  font-weight: 500;
  margin-top: var(--s-xl);
  margin-bottom: var(--s-md);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--border);
}
.legal-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 { font-size: var(--fs-md); margin-top: var(--s-lg); margin-bottom: var(--s-sm); }
.legal-content p, .legal-content li {
  color: var(--fg-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--s-md);
}
.legal-content ul, .legal-content ol { padding-left: var(--s-lg); }
.legal-content li { margin-bottom: var(--s-xs); }
.legal-content strong { color: var(--fg); font-weight: 500; }
.legal-content a { color: var(--brand); }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) both; }
.fade-up-d1 { animation-delay: 0.1s; }
.fade-up-d2 { animation-delay: 0.2s; }
.fade-up-d3 { animation-delay: 0.3s; }
.fade-up-d4 { animation-delay: 0.4s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -20; } }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .big-feature, .big-feature-reverse { grid-template-columns: 1fr; }
  .big-feature-reverse .bf-content { order: 1; }
  .marketplace { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .features-grid, .services-grid, .pricing-grid, .stats, .steps { grid-template-columns: 1fr; }
  .partners-grid { gap: var(--s-md); }
  .partner { border-left: none; border-top: 1px solid var(--border); padding-top: var(--s-md); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: var(--s-sm); text-align: center; }
}

.reveal { opacity: 0; transform: translateY(28px); transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Consent */
.consent {
  position: fixed;
  bottom: var(--s-lg);
  left: 50%;
  transform: translateX(-50%);
  max-width: 700px;
  width: calc(100% - 2rem);
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: var(--s-lg);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  display: none;
  gap: var(--s-md);
  align-items: center;
  flex-wrap: wrap;
  backdrop-filter: blur(20px);
}
.consent.show { display: flex; }
.consent p { font-size: var(--fs-xs); color: var(--fg-muted); flex: 1; min-width: 260px; }
.consent p strong { color: var(--fg); }
.consent p a { color: var(--brand); }
.consent-actions { display: flex; gap: var(--s-sm); }
.consent .btn { padding: 0.5rem 1rem; font-size: 0.78rem; }
