/* ============================================================
   SommelierX Landing Page - Styles
   Design System: SommelierX Visual System v2
   Olive accent (#6B7A3A), light-first, premium culinair
   Light default + dark via prefers-color-scheme
   ============================================================ */

:root {
  /* --- SX SEMANTIC PALETTE — Light Mode --- */
  --sx-bg:         #F7F6F2;
  --sx-surface:    #FFFFFF;
  --sx-text:       #1F2A37;
  --sx-text-muted: #6B7280;
  --sx-accent:     #6B7A3A;
  --sx-border:     #E8E4DA;
  --sx-highlight:  #C9A24A;

  /* --- Semantic aliases --- */
  --sx-dark:    var(--sx-bg);
  --sx-dark-90: var(--sx-surface);
  --sx-dark-70: var(--sx-text-muted);
  --sx-dark-50: var(--sx-text-muted);
  --sx-dark-30: var(--sx-text-muted);
  --sx-dark-15: var(--sx-border);
  --sx-dark-05: var(--sx-surface);

  --sx-white:    var(--sx-surface);
  --sx-off-white: #FAF9F6;
  --sx-cream:    #F0EDE5;
  --sx-sand:     #E8E4DA;
  --sx-stone:    #E8E4DA;
  --sx-pewter:   var(--sx-text-muted);
  --sx-graphite: var(--sx-text-muted);
  --sx-charcoal: var(--sx-text);
  --sx-ink:      var(--sx-text);

  /* Olive accent palette */
  --sx-gold:          #6B7A3A;
  --sx-gold-light:    #7F8F4C;
  --sx-gold-dark:     #5E6B33;
  --sx-gold-pale:     rgba(107, 122, 58, 0.10);
  --sx-gold-gradient: linear-gradient(135deg, #7F8F4C, #6B7A3A, #5E6B33);

  /* Wine Red */
  --sx-wine-red: #722f37;
  --sx-wine-red-light: #9b4049;

  /* Semantic */
  --sx-success: #38a169;
  --sx-warning: #d69e2e;
  --sx-error: #c53030;
  --sx-info: #3182ce;

  /* Typography */
  --sx-font-display: 'Varela Round', -apple-system, BlinkMacSystemFont, sans-serif;
  --sx-font-heading: 'DM Serif Display', Georgia, serif;
  --sx-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sx-font-accent: 'Cormorant Garamond', Georgia, serif;
  --sx-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Type Scale */
  --sx-text-xs: 0.694rem;
  --sx-text-sm: 0.833rem;
  --sx-text-base: 1rem;
  --sx-text-md: 1.125rem;
  --sx-text-lg: 1.25rem;
  --sx-text-xl: 1.563rem;
  --sx-text-2xl: 1.953rem;
  --sx-text-3xl: 2.441rem;

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

  /* Borders & Radii */
  --sx-radius-sm: 4px;
  --sx-radius-md: 8px;
  --sx-radius-lg: 12px;
  --sx-radius-xl: 16px;
  --sx-radius-2xl: 24px;
  --sx-radius-full: 9999px;

  /* Shadows — light mode (subtle, warm) */
  --sx-shadow-sm: 0 1px 3px rgba(26, 26, 26, 0.06), 0 1px 2px rgba(26, 26, 26, 0.04);
  --sx-shadow-md: 0 4px 6px rgba(26, 26, 26, 0.07), 0 2px 4px rgba(26, 26, 26, 0.04);
  --sx-shadow-lg: 0 10px 15px rgba(26, 26, 26, 0.08), 0 4px 6px rgba(26, 26, 26, 0.04);
  --sx-shadow-xl: 0 20px 25px rgba(26, 26, 26, 0.10), 0 10px 10px rgba(26, 26, 26, 0.04);
  --sx-shadow-glow-olive: 0 0 20px rgba(107, 122, 58, 0.20);

  /* Transitions */
  --sx-ease-wine: cubic-bezier(0.23, 1, 0.32, 1);
  --sx-duration-fast: 180ms;
  --sx-duration-normal: 180ms;
  --sx-duration-slow: 400ms;

  /* Layout */
  --container-max: 1200px;

  /* Nav overlay alphas */
  --sx-nav-overlay-alpha: 0.92;
  --sx-nav-mobile-overlay-alpha: 0.95;
}

/* --- Dark Mode overrides --- */
html[data-theme="dark"] {
  --sx-bg:         #161C18;
  --sx-surface:    #1F2722;
  --sx-text:       #F2F4F3;
  --sx-text-muted: #A3ABA6;
  --sx-accent:     #94A96B;
  --sx-border:     #2F3833;
  --sx-highlight:  #E0C98A;

  --sx-gold:          #94A96B;
  --sx-gold-light:    #A8BC7E;
  --sx-gold-dark:     #7F9458;
  --sx-gold-pale:     rgba(148, 169, 107, 0.12);
  --sx-gold-gradient: linear-gradient(135deg, #A8BC7E, #94A96B, #7F9458);

  --sx-cream:    #1F2722;
  --sx-sand:     #2F3833;
  --sx-stone:    #2F3833;
  --sx-off-white: #1A2320;

  --sx-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
  --sx-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.18);
  --sx-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4), 0 4px 6px rgba(0, 0, 0, 0.2);
  --sx-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.45), 0 10px 10px rgba(0, 0, 0, 0.22);
}

/* OS-level fallback: only when no explicit data-theme is set */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --sx-bg:         #161C18;
    --sx-surface:    #1F2722;
    --sx-text:       #F2F4F3;
    --sx-text-muted: #A3ABA6;
    --sx-accent:     #94A96B;
    --sx-border:     #2F3833;
    --sx-highlight:  #E0C98A;

    --sx-gold:          #94A96B;
    --sx-gold-light:    #A8BC7E;
    --sx-gold-dark:     #7F9458;
    --sx-gold-pale:     rgba(148, 169, 107, 0.12);
    --sx-gold-gradient: linear-gradient(135deg, #A8BC7E, #94A96B, #7F9458);

    --sx-cream:    #1F2722;
    --sx-sand:     #2F3833;
    --sx-stone:    #2F3833;
    --sx-off-white: #1A2320;

    --sx-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
    --sx-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.18);
    --sx-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4), 0 4px 6px rgba(0, 0, 0, 0.2);
    --sx-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.45), 0 10px 10px rgba(0, 0, 0, 0.22);
  }
}

/* Logo swap: show dark logo in dark mode, light logo in light mode */
.nav-logo-dark,
.footer-logo-dark {
  display: none;
}

html[data-theme="dark"] .nav-logo-light,
html[data-theme="dark"] .footer-logo-light {
  display: none;
}

html[data-theme="dark"] .nav-logo-dark,
html[data-theme="dark"] .footer-logo-dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .nav-logo-light,
  html:not([data-theme]) .footer-logo-light {
    display: none;
  }

  html:not([data-theme]) .nav-logo-dark,
  html:not([data-theme]) .footer-logo-dark {
    display: block;
  }
}

/* --- Dark Mode: Elevation Shadows on Card Surfaces --- */
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .proof-item,
html[data-theme="dark"] .pairing-card {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.03) inset,
    0 1px 3px rgba(0,0,0,0.18);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .feature-card,
  html:not([data-theme]) .price-card,
  html:not([data-theme]) .proof-item,
  html:not([data-theme]) .pairing-card {
    box-shadow:
      0 1px 0 rgba(255,255,255,0.03) inset,
      0 1px 3px rgba(0,0,0,0.18);
  }
}

/* ============================================================
   Reset & Base
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sx-font-body);
  background: var(--sx-bg);
  color: var(--sx-text);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease, transform .12s ease;
}

a:active {
  transform: translateY(0);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(var(--sx-space-4), 5vw, var(--sx-space-8));
}

/* ============================================================
   Skip Link (A11Y-04)
   ============================================================ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
  padding: var(--sx-space-2) var(--sx-space-4);
  background: var(--sx-text);
  color: var(--sx-bg);
  text-decoration: none;
  font-size: var(--sx-text-sm);
  font-family: var(--sx-font-body);
  font-weight: 600;
  border-radius: var(--sx-radius-md);
  white-space: nowrap;
}

.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  left: var(--sx-space-4);
  top: var(--sx-space-4);
  width: auto;
  height: auto;
  overflow: visible;
  outline: 2px solid var(--sx-gold);
  outline-offset: 2px;
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--sx-space-4) 0;
  transition: background var(--sx-duration-normal), backdrop-filter var(--sx-duration-normal), padding var(--sx-duration-normal);
}

.nav.scrolled {
  background: transparent;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--sx-space-2) 0;
  border-bottom: 1px solid var(--sx-border);
}

.nav.scrolled::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sx-bg);
  opacity: var(--sx-nav-overlay-alpha);
  z-index: -1;
}

.nav-container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(var(--sx-space-4), 5vw, var(--sx-space-8));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sx-space-2);
  font-family: var(--sx-font-display);
  font-size: var(--sx-text-xl);
  font-weight: 400;
  color: var(--sx-ink);
}

.nav-logo-img {
  height: 52px;
  width: auto;
}

.footer-logo-img {
  height: 60px;
  width: auto;
}

.logo-x {
  background: var(--sx-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sx-space-8);
}

.nav-link {
  font-size: var(--sx-text-sm);
  font-weight: 500;
  color: var(--sx-pewter);
  transition: color .18s ease, transform .12s ease;
}

.nav-link:hover {
  color: var(--sx-ink);
  transform: translateY(-1px);
}

.nav-link:active {
  transform: translateY(0);
}

.btn-nav {
  padding: var(--sx-space-2) var(--sx-space-5);
  font-size: var(--sx-text-sm);
}

.btn-primary-nav {
  color: var(--sx-gold);
  border: 1.5px solid var(--sx-gold);
  background: rgba(107, 122, 58, 0.08);
  padding: var(--sx-space-2) var(--sx-space-5);
  font-size: var(--sx-text-sm);
  font-weight: 600;
  font-family: var(--sx-font-body);
  border-radius: var(--sx-radius-full);
  cursor: pointer;
  transition: all var(--sx-duration-normal) var(--sx-ease-wine);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-primary-nav:hover {
  background: rgba(107, 122, 58, 0.15);
  box-shadow: 0 0 12px rgba(107, 122, 58, 0.20);
  transform: translateY(-1px);
}

.btn-primary-nav:active {
  transform: translateY(0);
}

.btn-lang {
  padding: var(--sx-space-1) var(--sx-space-3);
  font-size: var(--sx-text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--sx-pewter);
  background: transparent;
  border: 1px solid var(--sx-stone);
  border-radius: var(--sx-radius-sm);
  cursor: pointer;
  transition: all var(--sx-duration-fast);
}

.btn-lang:hover {
  color: var(--sx-gold);
  border-color: var(--sx-gold);
}

/* Theme toggle button */
.btn-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius-sm);
  cursor: pointer;
  color: var(--sx-text-muted);
  font-size: var(--sx-text-md);
  line-height: 1;
  transition: transform .18s ease, opacity .2s ease, color var(--sx-duration-fast), border-color var(--sx-duration-fast);
}

.btn-theme:hover {
  color: var(--sx-gold);
  border-color: var(--sx-gold);
  transform: scale(1.06);
}

.btn-theme:active {
  transform: scale(0.96);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sx-space-1);
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--sx-ink);
  border-radius: 2px;
  transition: transform var(--sx-duration-normal), opacity var(--sx-duration-normal);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--sx-space-4);
  padding: var(--sx-space-6);
  position: relative;
  background: transparent;
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--sx-border);
}

.nav-mobile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sx-bg);
  opacity: var(--sx-nav-mobile-overlay-alpha);
  z-index: -1;
}

.nav-mobile.open {
  display: flex;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-logo-img { height: 40px; }
}

@media (max-width: 480px) {
  .nav-logo-img { height: 34px; }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sx-space-2);
  padding: var(--sx-space-3) var(--sx-space-8);
  border: none;
  border-radius: var(--sx-radius-full);
  font-family: var(--sx-font-body);
  font-size: var(--sx-text-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--sx-duration-normal) var(--sx-ease-wine);
  white-space: nowrap;
}

.btn-primary {
  background: var(--sx-gold-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(107, 122, 58, 0.25);
  transition: background-color .18s ease,
              color .18s ease,
              box-shadow .18s ease,
              transform .12s ease,
              filter .18s ease;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(107, 122, 58, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--sx-ink);
  border: 1.5px solid var(--sx-stone);
}

.btn-outline:hover {
  border-color: var(--sx-gold);
  color: var(--sx-gold);
  background: rgba(107, 122, 58, 0.06);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: translateY(0);
}

.btn-lg {
  padding: var(--sx-space-4) var(--sx-space-10);
  font-size: var(--sx-text-md);
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--sx-border);
  border-top-color: var(--sx-gold);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   Hero Section
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: clamp(100px, 12vh, 140px) 0 clamp(60px, 8vh, 100px);
  overflow: hidden;
}

.hero > .container {
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(107, 122, 58, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(107, 122, 58, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(107, 122, 58, 0.03) 0%, transparent 70%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--sx-gold);
  border-radius: 50%;
  opacity: 0;
  animation: float-up 8s ease-in-out infinite;
}

@keyframes float-up {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.4; }
  90% { opacity: 0.1; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sx-space-2);
  padding: var(--sx-space-2) var(--sx-space-4);
  background: rgba(107, 122, 58, 0.06);
  border: 1px solid var(--sx-gold);
  border-radius: var(--sx-radius-full);
  font-size: var(--sx-text-sm);
  font-weight: 600;
  color: var(--sx-gold);
  margin-bottom: var(--sx-space-6);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--sx-gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--sx-font-body);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--sx-ink);
  margin-bottom: var(--sx-space-5);
}

.gradient-text {
  background: var(--sx-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--sx-text-md);
  line-height: 1.7;
  color: var(--sx-pewter);
  margin-bottom: var(--sx-space-10);
}

.hero-cta {
  margin-bottom: var(--sx-space-12);
}

.hero-cta-buttons {
  margin-bottom: var(--sx-space-3);
}

.hero-cta-sub {
  font-size: var(--sx-text-sm);
  color: var(--sx-text-muted);
}

.signup-form .input-group {
  display: flex;
  gap: var(--sx-space-3);
  max-width: 520px;
}

.input-email {
  flex: 1;
  padding: var(--sx-space-4) var(--sx-space-5);
  background: var(--sx-surface);
  border: 1.5px solid var(--sx-stone);
  border-radius: var(--sx-radius-full);
  color: var(--sx-ink);
  font-family: var(--sx-font-body);
  font-size: var(--sx-text-base);
  outline: none;
  transition: border-color var(--sx-duration-fast), background var(--sx-duration-fast);
}

.input-email::placeholder {
  color: var(--sx-dark-70);
}

.input-email:focus {
  border-color: var(--sx-gold);
  background: var(--sx-surface);
}

/* Signup Trust Line */
.signup-trust {
  display: flex;
  align-items: center;
  gap: var(--sx-space-2);
  margin-top: var(--sx-space-3);
  font-size: var(--sx-text-xs);
  color: var(--sx-dark-30);
}

.trust-icon {
  flex-shrink: 0;
  color: var(--sx-dark-30);
}

/* Incentive Badge */
.incentive-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sx-space-2);
  padding: var(--sx-space-2) var(--sx-space-4);
  background: rgba(56, 161, 105, 0.08);
  border: 1px solid rgba(56, 161, 105, 0.2);
  border-radius: var(--sx-radius-full);
  font-size: var(--sx-text-xs);
  font-weight: 600;
  color: var(--sx-success);
  margin-bottom: var(--sx-space-4);
}

.incentive-icon {
  flex-shrink: 0;
}

/* Signup Error */
.signup-error {
  font-size: var(--sx-text-xs);
  color: var(--sx-error);
  margin-top: var(--sx-space-2);
  display: flex;
  align-items: center;
  gap: var(--sx-space-1);
}

.input-email.error {
  border-color: var(--sx-error);
  background: rgba(197, 48, 48, 0.06);
}

/* Signup Success State */
.signup-success {
  display: flex;
  flex-direction: column;
  gap: var(--sx-space-3);
}

.hero-cta .signup-success {
  align-items: flex-start;
}

.final-cta .signup-success {
  align-items: center;
}

.success-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(56, 161, 105, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sx-success);
}

.success-title {
  font-size: var(--sx-text-lg);
  font-weight: 700;
  color: var(--sx-ink);
}

.success-subtitle {
  font-size: var(--sx-text-sm);
  color: var(--sx-pewter);
}

.success-link {
  font-size: var(--sx-text-sm);
  font-weight: 600;
  color: var(--sx-gold);
  transition: opacity var(--sx-duration-fast);
}

.success-link:hover {
  opacity: 0.8;
}

/* Hero Secondary Link */
.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sx-space-2);
  margin-top: var(--sx-space-4);
  font-size: var(--sx-text-sm);
  font-weight: 500;
  color: var(--sx-gold);
  opacity: 0.7;
  transition: opacity var(--sx-duration-fast);
}

.hero-secondary-link:hover {
  opacity: 1;
}

.hero-secondary-link .arrow {
  font-size: 1.1em;
  transition: transform var(--sx-duration-fast);
}

.hero-secondary-link:hover .arrow {
  transform: translateX(3px);
}

/* Store Badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: var(--sx-space-5);
  margin-top: var(--sx-space-8);
}

.store-badges-centered {
  justify-content: center;
  margin-top: var(--sx-space-8);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--sx-duration-fast), transform var(--sx-duration-normal) var(--sx-ease-wine);
  border-radius: var(--sx-radius-md);
  overflow: hidden;
}

.store-badge:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.store-badge img {
  height: 40px;
  width: auto;
  display: block;
}

.store-soon {
  width: 100%;
  font-size: 12px;
  color: var(--sx-text-muted);
  text-align: left;
  margin-top: var(--sx-space-1);
  letter-spacing: 0.5px;
  font-weight: 500;
}

.store-badges-centered .store-soon {
  text-align: center;
}

.store-badge[aria-disabled="true"] {
  opacity: 0.65;
  pointer-events: none;
  cursor: default;
}

.hero-stats {
  display: flex;
  gap: var(--sx-space-12);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--sx-font-mono);
  font-size: var(--sx-text-2xl);
  font-weight: 600;
  color: var(--sx-gold);
}

.stat-plus {
  font-family: var(--sx-font-mono);
  color: var(--sx-gold);
}

.stat-label {
  font-size: var(--sx-text-xs);
  color: var(--sx-pewter);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Phone Mockup */
.hero-visual {
  position: absolute;
  right: max(-40px, calc((100vw - var(--container-max)) / 2 - 40px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.phone-mockup {
  width: 320px;
  height: 640px;
  background: var(--sx-surface);
  border-radius: 40px;
  border: 3px solid var(--sx-sand);
  padding: 12px;
  box-shadow: var(--sx-shadow-xl);
  animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--sx-bg);
  border-radius: 30px;
  overflow: hidden;
  padding: var(--sx-space-5) var(--sx-space-4);
}

.screen-header {
  text-align: center;
  padding-bottom: var(--sx-space-4);
  border-bottom: 1px solid var(--sx-sand);
  margin-bottom: var(--sx-space-5);
}

.screen-logo {
  font-family: var(--sx-font-display);
  font-size: var(--sx-text-md);
  color: var(--sx-ink);
  font-weight: 400;
}

.pairing-card {
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius-lg);
  padding: var(--sx-space-5);
  margin-bottom: var(--sx-space-4);
}

.pairing-meal,
.pairing-wine {
  display: flex;
  align-items: center;
  gap: var(--sx-space-2);
  font-size: var(--sx-text-base);
  color: var(--sx-ink);
}

.pairing-icon {
  font-size: var(--sx-text-xl);
}

.pairing-arrow {
  text-align: center;
  color: var(--sx-gold);
  font-size: var(--sx-text-lg);
  margin: var(--sx-space-2) 0;
}

.pairing-score {
  margin-left: auto;
  background: var(--sx-gold-gradient);
  color: #FFFFFF;
  font-family: var(--sx-font-mono);
  font-size: var(--sx-text-sm);
  font-weight: 700;
  padding: var(--sx-space-1) var(--sx-space-3);
  border-radius: var(--sx-radius-full);
}

.pairing-reason {
  font-size: var(--sx-text-xs);
  font-family: var(--sx-font-accent);
  font-style: italic;
  color: var(--sx-pewter);
  margin-top: var(--sx-space-3);
  line-height: 1.5;
}

.screen-dna {
  display: flex;
  flex-direction: column;
  gap: var(--sx-space-2);
}

.dna-bar {
  font-size: var(--sx-text-xs);
  font-family: var(--sx-font-mono);
  color: var(--sx-pewter);
  display: flex;
  align-items: center;
  gap: var(--sx-space-2);
}

.dna-bar span {
  height: 6px;
  background: linear-gradient(90deg, var(--sx-gold-dark), var(--sx-gold));
  border-radius: var(--sx-radius-full);
  flex-shrink: 0;
  animation: bar-fill 2s ease-out forwards;
  transform-origin: left;
}

@keyframes bar-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
}

@media (max-width: 768px) {
  .hero-content { text-align: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-subtitle { margin-left: auto; margin-right: auto; max-width: 480px; }
  .signup-form .input-group { max-width: 100%; margin: 0 auto; }
  .hero-stats { justify-content: center; }
  .incentive-badge { margin-left: auto; margin-right: auto; }
  .signup-trust { justify-content: center; }
  .hero-cta .signup-success { align-items: center; }
  .hero-secondary-link { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .store-soon { text-align: center; }
}

@media (max-width: 640px) {
  .signup-form .input-group { flex-direction: column; }
  .hero-stats { gap: var(--sx-space-6); flex-wrap: wrap; justify-content: center; }
  .stat-number { font-size: var(--sx-text-xl); }
  .store-badges { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 400px) {
  .hero-stats { gap: var(--sx-space-4); }
  .stat { min-width: 80px; }
}

/* ============================================================
   Section Headers
   ============================================================ */

.section-header {
  text-align: center;
  margin-bottom: clamp(var(--sx-space-8), 6vw, var(--sx-space-16));
}

.section-title {
  font-family: var(--sx-font-body);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--sx-ink);
  margin-bottom: var(--sx-space-3);
}

.section-subtitle {
  font-size: var(--sx-text-md);
  color: var(--sx-pewter);
}

/* ============================================================
   Features
   ============================================================ */

.features {
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sx-sand), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--sx-space-6);
}

.feature-card {
  position: relative;
  padding: var(--sx-space-8) var(--sx-space-6);
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius-xl);
  transition: transform var(--sx-duration-normal) var(--sx-ease-wine), border-color var(--sx-duration-normal), box-shadow var(--sx-duration-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(107, 122, 58, 0.3);
  box-shadow: 0 12px 40px rgba(26, 26, 26, 0.08);
}

.feature-highlight {
  border-color: var(--sx-gold);
  background: rgba(107, 122, 58, 0.03);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--sx-radius-md);
  background: rgba(107, 122, 58, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sx-space-4);
  color: var(--sx-gold);
}

.feature-highlight .feature-icon {
  background: rgba(107, 122, 58, 0.15);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  font-family: var(--sx-font-body);
  font-size: var(--sx-text-lg);
  font-weight: 700;
  color: var(--sx-ink);
  margin-bottom: var(--sx-space-2);
}

.feature-card p {
  font-size: var(--sx-text-sm);
  color: var(--sx-pewter);
  line-height: 1.6;
}

.feature-tag {
  position: absolute;
  top: var(--sx-space-4);
  right: var(--sx-space-4);
  padding: var(--sx-space-1) var(--sx-space-3);
  background: rgba(107, 122, 58, 0.10);
  color: var(--sx-gold);
  font-size: var(--sx-text-xs);
  font-weight: 700;
  border-radius: var(--sx-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feature-coming-soon {
  position: relative;
  border-color: var(--sx-border);
  background: var(--sx-surface);
}

.feature-coming-soon .feature-icon {
  opacity: 0.5;
}

.feature-coming-soon h3 {
  color: var(--sx-graphite);
}

.feature-coming-soon p {
  color: var(--sx-dark-50);
}

.feature-coming-soon::after {
  content: attr(data-coming-soon-label);
  position: absolute;
  top: var(--sx-space-4);
  right: var(--sx-space-4);
  padding: var(--sx-space-1) var(--sx-space-3);
  background: var(--sx-border);
  color: var(--sx-pewter);
  font-size: var(--sx-text-xs);
  font-weight: 600;
  border-radius: var(--sx-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feature-premium {
  position: relative;
}

.feature-premium::after {
  content: attr(data-premium-label);
  position: absolute;
  top: var(--sx-space-4);
  right: var(--sx-space-4);
  padding: var(--sx-space-1) var(--sx-space-3);
  background: rgba(107, 122, 58, 0.12);
  color: var(--sx-gold);
  font-size: var(--sx-text-xs);
  font-weight: 700;
  border-radius: var(--sx-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   How It Works
   ============================================================ */

.how-it-works {
  padding: clamp(60px, 10vw, 120px) 0;
  background: linear-gradient(180deg, var(--sx-bg) 0%, var(--sx-cream) 50%, var(--sx-bg) 100%);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 var(--sx-space-6);
}

.step-number {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sx-gold-gradient);
  color: #FFFFFF;
  font-family: var(--sx-font-mono);
  font-size: var(--sx-text-xl);
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto var(--sx-space-5);
  box-shadow: 0 4px 12px rgba(107, 122, 58, 0.25);
}

.step-content h3 {
  font-family: var(--sx-font-body);
  font-size: var(--sx-text-md);
  font-weight: 700;
  color: var(--sx-ink);
  margin-bottom: var(--sx-space-2);
}

.step-content p {
  font-size: var(--sx-text-sm);
  color: var(--sx-pewter);
  line-height: 1.6;
}

.step-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--sx-sand), var(--sx-sand));
  margin-top: 32px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .steps { flex-direction: column; gap: var(--sx-space-8); align-items: center; }
  .step-connector { width: 2px; height: 40px; }
}

/* ============================================================
   Social Proof
   ============================================================ */

.social-proof {
  padding: clamp(40px, 8vw, 80px) 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sx-space-6);
  align-items: center;
}

.proof-item {
  padding: var(--sx-space-8);
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius-xl);
  text-align: center;
}

.proof-quote {
  font-family: var(--sx-font-accent);
  font-style: italic;
  font-size: var(--sx-text-md);
  color: var(--sx-charcoal);
  line-height: 1.6;
  margin-bottom: var(--sx-space-4);
}

.proof-author {
  font-size: var(--sx-text-sm);
  color: var(--sx-dark-70);
}

.proof-number {
  font-family: var(--sx-font-mono);
  font-size: 3rem;
  font-weight: 600;
  color: var(--sx-gold);
  margin-bottom: var(--sx-space-2);
}

.proof-label {
  font-size: var(--sx-text-sm);
  color: var(--sx-pewter);
}

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

/* ============================================================
   Pricing
   ============================================================ */

.pricing {
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sx-space-3);
  margin-bottom: var(--sx-space-12);
}

.toggle-label {
  font-size: var(--sx-text-sm);
  color: var(--sx-dark-70);
  transition: color var(--sx-duration-fast);
}

.toggle-label.active {
  color: var(--sx-ink);
}

.toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--sx-stone);
  border: none;
  border-radius: var(--sx-radius-full);
  cursor: pointer;
  position: relative;
  transition: background var(--sx-duration-normal);
}

.toggle-switch.yearly {
  background: var(--sx-gold);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--sx-surface);
  border-radius: 50%;
  transition: transform var(--sx-duration-normal);
}

.toggle-switch.yearly .toggle-thumb {
  transform: translateX(24px);
}

.save-badge {
  background: rgba(56, 161, 105, 0.15);
  color: var(--sx-success);
  padding: var(--sx-space-1) var(--sx-space-2);
  border-radius: var(--sx-radius-full);
  font-size: var(--sx-text-xs);
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sx-space-6);
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  padding: var(--sx-space-10) var(--sx-space-6);
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius-xl);
  text-align: center;
  position: relative;
  transition: transform var(--sx-duration-normal) var(--sx-ease-wine);
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card-popular {
  border-color: var(--sx-gold);
  background: linear-gradient(180deg, rgba(107, 122, 58, 0.05) 0%, var(--sx-surface) 100%);
  transform: scale(1.05);
}

.price-card-popular:hover {
  transform: scale(1.05) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--sx-space-1) var(--sx-space-4);
  background: var(--sx-gold-gradient);
  color: #FFFFFF;
  font-size: var(--sx-text-xs);
  font-weight: 700;
  border-radius: var(--sx-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-header {
  margin-bottom: var(--sx-space-8);
}

.price-header h3 {
  font-family: var(--sx-font-body);
  font-size: var(--sx-text-xl);
  font-weight: 700;
  color: var(--sx-ink);
  margin-bottom: var(--sx-space-3);
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--sx-space-1);
}

.price-currency {
  font-size: var(--sx-text-xl);
  color: var(--sx-pewter);
}

.price-value {
  font-family: var(--sx-font-mono);
  font-size: 3rem;
  font-weight: 600;
  color: var(--sx-ink);
}

.price-period-inline {
  font-size: var(--sx-text-sm);
  color: var(--sx-dark-70);
}

.price-period {
  font-size: var(--sx-text-sm);
  color: var(--sx-dark-70);
  margin-top: var(--sx-space-1);
}

.yearly-note {
  font-size: var(--sx-text-xs);
  color: var(--sx-dark-70);
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--sx-space-8);
}

.price-features li {
  padding: var(--sx-space-2) 0;
  font-size: var(--sx-text-sm);
  color: var(--sx-graphite);
  border-bottom: 1px solid var(--sx-border);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-card .btn {
  width: 100%;
}

@media (max-width: 680px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .price-card-popular { transform: none; }
  .price-card-popular:hover { transform: translateY(-4px); }
}

/* ============================================================
   Final CTA
   ============================================================ */

.final-cta {
  padding: clamp(60px, 10vw, 120px) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(107, 122, 58, 0.04) 0%, transparent 70%);
}

.cta-title {
  font-family: var(--sx-font-body);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--sx-ink);
  margin-bottom: var(--sx-space-4);
}

.cta-subtitle {
  font-size: var(--sx-text-md);
  color: var(--sx-pewter);
  margin-bottom: var(--sx-space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  margin-bottom: var(--sx-space-4);
}

.signup-form-cta .input-group {
  max-width: 480px;
  margin: 0 auto;
}

.cta-count {
  font-size: var(--sx-text-sm);
  color: var(--sx-dark-70);
  margin-top: var(--sx-space-5);
}

@media (max-width: 640px) {
  .signup-form-cta .input-group { flex-direction: column; }
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  padding: clamp(40px, 8vw, 80px) 0 40px;
  border-top: 1px solid var(--sx-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(var(--sx-space-6), 4vw, var(--sx-space-12));
  margin-bottom: var(--sx-space-12);
}

.footer-brand .logo-text {
  font-family: var(--sx-font-display);
  font-size: var(--sx-text-xl);
  font-weight: 400;
  color: var(--sx-ink);
}

.footer-tagline {
  font-size: var(--sx-text-sm);
  color: var(--sx-dark-70);
  margin-top: var(--sx-space-2);
}

.footer-contact {
  font-size: var(--sx-text-xs);
  color: var(--sx-dark-70);
  margin-top: var(--sx-space-3);
}

.footer-contact a {
  color: var(--sx-pewter);
  transition: color .18s ease, transform .12s ease;
  display: inline-block;
}

.footer-contact a:not(.btn-primary):hover {
  color: var(--sx-gold);
  transform: translateY(-1px);
}

.footer-contact a:active {
  transform: translateY(0);
}

.footer-kvk {
  font-size: var(--sx-text-xs);
  color: var(--sx-dark-70);
  margin-top: var(--sx-space-1);
}

.footer-links h4 {
  font-size: var(--sx-text-sm);
  font-weight: 600;
  color: var(--sx-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sx-space-4);
}

.footer-links a {
  display: block;
  font-size: var(--sx-text-sm);
  color: var(--sx-pewter);
  padding: var(--sx-space-1) 0;
  transition: color .18s ease, transform .12s ease;
}

.footer-links a:not(.btn-primary):hover {
  color: var(--sx-gold);
  transform: translateY(-1px);
}

.footer-links a:active {
  transform: translateY(0);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sx-space-6);
  border-top: 1px solid var(--sx-border);
  font-size: var(--sx-text-xs);
  color: var(--sx-dark-70);
}

.footer-disclaimer {
  color: var(--sx-dark-50);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sx-space-6);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--sx-space-2);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links a { padding: var(--sx-space-2) 0; }
}

/* ============================================================
   Screen Reader Only (A11Y)
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Animations & Utilities
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Touch & Mobile Best Practices
   ============================================================ */

/* Minimum touch targets (44px x 44px per WCAG) */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .nav-link { padding: var(--sx-space-2) var(--sx-space-3); }
  .nav-mobile .nav-link { padding: var(--sx-space-3); font-size: var(--sx-text-base); }
}

/* Safe area insets for notch devices */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer-bottom {
    padding-bottom: calc(var(--sx-space-4) + env(safe-area-inset-bottom));
  }
}

/* Prevent horizontal overflow on all screen sizes */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
