/* ============================================
   Ressel Crew — Landing Page Styles
   ============================================ */

:root {
  --color-bg: #0a0a0b;
  --color-bg-alt: #111113;
  --color-bg-card: #161618;
  --color-bg-card-hover: #1c1c1f;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.12);
  --color-text: #fafafa;
  --color-text-muted: #a1a1aa;
  --color-text-subtle: #71717a;
  --color-accent: #10b981;
  --color-accent-light: #34d399;
  --color-accent-dark: #059669;
  --color-accent-glow: rgba(16, 185, 129, 0.15);
  --color-gold: #fbbf24;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(16, 185, 129, 0.12);
  --transition: 0.2s ease;
  --header-height: 72px;
  --referral-banner-height: 0px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

html:has(body.has-referral-banner) {
  scroll-padding-top: calc(var(--header-height) + var(--referral-banner-height, 52px));
}

body.has-referral-banner .header {
  top: var(--referral-banner-height, 52px);
}

body.has-referral-banner .hero {
  padding-top: calc(var(--header-height) + var(--referral-banner-height, 52px));
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-light);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-light);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-light);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), top 0.2s ease;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.header.scrolled {
  background: rgba(10, 10, 11, 0.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-accent {
  color: var(--color-accent-light);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-actions .btn-primary {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(16, 185, 129, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(16, 185, 129, 0.06), transparent),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(16, 185, 129, 0.04), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding: 80px 24px 100px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent-light);
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent-light);
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px 40px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  max-width: 720px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.feature-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-light);
  transform: translateY(-2px);
}

.feature-card-large {
  grid-column: span 2;
  grid-row: span 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-glow);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.feature-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-list li {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* How it works */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-accent-glow);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.step-connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-border), var(--color-accent), var(--color-border));
  margin-top: 28px;
  opacity: 0.5;
}

/* Preview / Mockup */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.preview-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.preview-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.preview-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.mockup-window {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mockup-header {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--color-border);
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-border-light);
}

.mockup-dot:first-child { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #eab308; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-body {
  display: flex;
  min-height: 320px;
}

.mockup-sidebar {
  width: 64px;
  padding: 20px 12px;
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-nav-item {
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
}

.mockup-nav-item.active {
  background: var(--color-accent-glow);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.mockup-main {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-card {
  height: 80px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.mockup-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mockup-card.small {
  height: 60px;
}

.mockup-chart {
  flex: 1;
  min-height: 100px;
  background: linear-gradient(180deg, var(--color-accent-glow) 0%, transparent 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* Pricing */
.pricing-card {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 40px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
  text-align: center;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.price-old {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-subtle);
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.7);
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-accent-light);
}

.price-period {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.pricing-launch {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gold, #fbbf24);
  margin-bottom: 8px;
}

.pricing-desc {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.pricing-desc--future {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-subtle);
  margin-bottom: 12px;
}

.price-amount--beta {
  font-size: 3rem;
  letter-spacing: -0.02em;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.pricing-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  padding: 24px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text-subtle);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--color-accent-light);
}

.faq-item p {
  padding: 0 0 24px;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* CTA */
.cta-box {
  text-align: center;
  padding: 80px 48px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.02) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-xl);
}

.cta-box h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto 24px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.cta-alt {
  margin-bottom: 16px !important;
  font-size: 0.9375rem !important;
}

/* Session recrutement */
.recruitment-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.recruitment-tag {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.recruitment-lead {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 560px;
}

.recruitment-lead strong {
  color: var(--color-text);
}

.recruitment-topics {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.recruitment-topics li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.recruitment-topics li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.recruitment-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.recruitment-meta-item {
  padding: 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.recruitment-meta-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-subtle);
  margin-bottom: 6px;
}

.recruitment-meta-item strong {
  font-size: 0.9375rem;
  color: var(--color-text);
}

.recruitment-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

.recruitment-card {
  position: relative;
  padding: 32px;
  background: var(--color-bg-card);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
}

.recruitment-card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 6px 14px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
}

.recruitment-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.recruitment-benefits {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.recruitment-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.recruitment-benefits svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-accent-light);
  margin-top: 2px;
}

.recruitment-card-footer {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.recruitment-price {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: 6px;
}

.recruitment-price-note {
  font-size: 0.875rem;
  color: var(--color-text-subtle);
}

/* Footer */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-subtle);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--color-text-subtle);
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card-large {
    grid-column: span 2;
  }

  .preview-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .preview-mockup {
    order: -1;
  }

  .recruitment-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .recruitment-meta {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding: 72px 0;
  }

  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .nav {
    gap: 6px;
    min-width: 0;
  }

  .logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px 20px 24px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    gap: 0;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    z-index: 999;
  }

  body.has-referral-banner .nav-links {
    top: calc(var(--header-height) + var(--referral-banner-height, 72px));
    max-height: calc(100dvh - var(--header-height) - var(--referral-banner-height, 72px));
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-actions {
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
  }

  .nav-actions .btn-ghost-nav {
    padding: 8px 8px;
    font-size: 0.75rem;
    min-height: 40px;
    min-width: 0;
  }

  .nav-actions .btn-primary {
    display: inline-flex;
    padding: 8px 10px;
    font-size: 0.75rem;
    min-height: 40px;
    white-space: nowrap;
  }

  body.has-referral-banner .nav-actions .btn-ghost-nav,
  body.has-referral-banner .nav-actions .btn-primary {
    padding: 8px 8px;
    font-size: 0.6875rem;
  }

  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-content {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    grid-column: span 1;
  }

  .steps {
    flex-direction: column;
    gap: 40px;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0 auto;
  }

  .pricing-card {
    padding: 40px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-box {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .nav-actions .btn-ghost-nav span,
  .nav-actions .btn-primary {
    font-size: 0.75rem;
    padding: 8px 10px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.875rem;
  }

  .nav-actions .btn-primary {
    padding: 9px 16px;
    font-size: 0.8125rem;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
