/* ============================================================
   Walleo — Marketing CSS
   Style direction: Luxury SaaS / Swiss clean
   Fonts: DM Sans (display) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Inter:wght@400;500&display=swap');

/* ── Minimal Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, textarea { font: inherit; }

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  color-scheme: light;

  /* Palette */
  --teal:           #4F46E5;
  --teal-dark:      #4338CA;
  --teal-deeper:    #3730A3;
  --teal-light:     #EEF2FF;
  --emerald:        #7C3AED;
  --emerald-light:  #C4B5FD;
  --bg:             #FFFFFF;
  --bg-2:           #F9FAFB;
  --bg-3:           #F3F4F6;
  --dark:           #09090B;
  --dark-2:         #111827;
  --text:           #111827;
  --text-muted:     #6B7280;
  --text-faint:     #9CA3AF;
  --border:         #E5E7EB;
  --border-dark:    #D1D5DB;

  /* Typography */
  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --text-xs:   clamp(0.7rem,  0.68rem + 0.1vw,  0.75rem);
  --text-sm:   clamp(0.8rem,  0.78rem + 0.12vw, 0.875rem);
  --text-base: clamp(0.9rem,  0.88rem + 0.15vw, 1rem);
  --text-lg:   clamp(1rem,    0.95rem + 0.25vw, 1.125rem);
  --text-xl:   clamp(1.125rem,1.05rem + 0.35vw, 1.25rem);
  --text-2xl:  clamp(1.3rem,  1.1rem  + 0.8vw,  1.75rem);
  --text-3xl:  clamp(1.6rem,  1.2rem  + 1.8vw,  2.5rem);
  --text-hero: clamp(2.4rem,  1.4rem  + 4.5vw,  4.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-section: clamp(4rem, 3rem + 5vw, 7rem);

  /* Radius */
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:      0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:   0 24px 64px rgba(0,0,0,.16), 0 8px 24px rgba(0,0,0,.08);
  --shadow-teal: 0 8px 32px rgba(79,70,229,.25);

  /* Motion */
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:     cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ───────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Layout utility ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ── Typography helpers ─────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 5px var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--dark-2);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 52ch;
}

/* ── NAV ────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  height: 64px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(229,231,235,.7);
  transition: background var(--duration-normal), box-shadow var(--duration-normal);
}

.site-nav.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 88px;
  width: auto;
  display: block;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter   0.28s ease;
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.07) translateY(-1px);
  filter: drop-shadow(0 4px 12px rgba(79,70,229,0.28));
}

/* Footer logo */
.foot-logo {
  margin-bottom: 12px;
}
.foot-logo-img {
  height: 68px;
  width: auto;
  display: block;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.foot-logo:hover .foot-logo-img {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: -.04em;
  flex-shrink: 0;
}

/* Center links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background var(--duration-fast);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-3);
}

/* Right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-3);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-switcher button {
  font-family: var(--font-display);
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast);
}

.lang-switcher button.active,
.lang-switcher button:hover {
  background: var(--bg);
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast);
}

.nav-burger:hover { background: var(--bg-3); }

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-normal);
}

/* Burger → X */
.site-nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) clamp(1.25rem, 4vw, 2.5rem) var(--space-6);
  z-index: 199;
  box-shadow: var(--shadow);
}

.nav-mobile-menu.open {
  display: block;
}

.nav-mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile-menu a:last-of-type { border-bottom: none; }

.nav-mobile-menu .btn-primary {
  margin-top: var(--space-5);
  width: 100%;
  justify-content: center;
}

.nav-mobile-menu .lang-switcher {
  margin-top: var(--space-4);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  background: var(--teal);
  padding: .65rem var(--space-6);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-teal);
  transition: background var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(79,70,229,.32);
}

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

.btn-primary.large {
  font-size: var(--text-base);
  padding: .875rem var(--space-8);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1.5px solid var(--border-dark);
  padding: .65rem var(--space-6);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}

.btn-ghost.large {
  font-size: var(--text-base);
  padding: .875rem var(--space-8);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--teal-dark);
  background: #fff;
  padding: .875rem var(--space-8);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 24px rgba(0,0,0,.14);
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(0,0,0,.2);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: 64px;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 70% 35%, rgba(79,70,229,.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 25% 85%, rgba(16,185,129,.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-text { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 5px var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulseGreen 2.2s ease-in-out infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .45; transform: scale(.65); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.038em;
  color: var(--dark-2);
  margin-bottom: var(--space-6);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-faint);
  font-family: var(--font-display);
}

.hero-trust-avatars {
  display: flex;
  align-items: center;
}

.hero-trust-avatars span {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, var(--teal-light), var(--emerald-light));
  display: block;
  margin-left: -6px;
}

.hero-trust-avatars span:first-child { margin-left: 0; }

/* Hero visual / 3D card side */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.hero-visual-bg {
  position: absolute;
  inset: -80px;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-orb-1 {
  width: 300px; height: 300px;
  top: -10px; right: -20px;
  background: rgba(79,70,229,.13);
}

.hero-orb-2 {
  width: 220px; height: 220px;
  bottom: 10px; left: 10px;
  background: rgba(16,185,129,.09);
}

/* ── 3D Card ────────────────────────────────────────────────── */
.hero-card-3d {
  position: relative;
  z-index: 1;
  width: 340px;
  height: 212px;
  border-radius: 20px;
  background: linear-gradient(145deg, #0a2040 0%, #0D3D5F 60%, #0a3050 100%);
  box-shadow:
    var(--shadow-xl),
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 40px 80px -20px rgba(79,70,229,.3);
  /* Tilt driven by CSS vars --rx --ry set via JS mousemove */
  transform: rotateY(var(--ry, -12deg)) rotateX(var(--rx, 4deg));
  transform-style: preserve-3d;
  transition: transform .12s linear;
  cursor: default;
  overflow: hidden;
  animation: floatCard 4s ease-in-out infinite;
  will-change: transform;
}

.hero-card-3d:hover { animation-play-state: paused; }

@keyframes floatCard {
  0%, 100% { transform: rotateY(-12deg) rotateX(4deg) translateY(0px); }
  50%       { transform: rotateY(-12deg) rotateX(4deg) translateY(-10px); }
}

/* Card layers */
.hc-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.07) 0%, transparent 45%, rgba(255,255,255,.03) 100%);
  border-radius: inherit;
}

.hc-brand {
  position: absolute;
  top: 18px; left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hc-logo-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.05em;
}

.hc-shop-name {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  line-height: 1.2;
}

.hc-shop-type {
  font-size: 9px;
  color: rgba(255,255,255,.4);
  font-family: var(--font-display);
}

.hc-wallet-badge {
  position: absolute;
  top: 18px; right: 18px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 4px 9px;
  font-size: 9px;
  color: rgba(255,255,255,.65);
  font-family: var(--font-display);
  font-weight: 500;
}

/* Stamps row */
.hc-stamps {
  position: absolute;
  bottom: 42px;
  left: 20px; right: 20px;
  display: flex;
  gap: 7px;
  align-items: center;
}

.hc-stamp {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hc-stamp.filled {
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(16,185,129,.4);
}

.hc-stamp.filled::after {
  content: '';
  width: 9px; height: 7px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}

.hc-reward-label {
  margin-left: auto;
  font-size: 8px;
  font-family: var(--font-display);
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.3;
  text-align: right;
}

/* Card bottom */
.hc-bottom {
  position: absolute;
  bottom: 13px;
  left: 20px; right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hc-member {
  font-size: 9px;
  color: rgba(255,255,255,.35);
  font-family: var(--font-display);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hc-qr {
  width: 22px; height: 22px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  padding: 3px;
}

.hc-qr span {
  background: rgba(255,255,255,.55);
  border-radius: 1px;
}

/* Floating notification bubble */
.hero-float-notif {
  position: absolute;
  top: 50px; right: -24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 210px;
  z-index: 2;
  animation: floatBubble 5s ease-in-out infinite 1.2s;
}

/* Floating stat badge */
.hero-float-badge {
  position: absolute;
  bottom: 90px; left: -28px;
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 2;
  animation: floatBubble 6s ease-in-out infinite .6s;
}

@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

.notif-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .95rem;
}

.notif-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.notif-text span {
  font-size: 10px;
  color: var(--text-muted);
}

.badge-stat {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--emerald);
  line-height: 1;
}

.badge-label {
  font-size: 10px;
  color: rgba(255,255,255,.5);
  font-family: var(--font-display);
  line-height: 1.3;
}

/* ── HOW IT WORKS ───────────────────────────────────────────── */
.how-section {
  background: var(--bg-2);
  padding: var(--space-section) 0;
  position: relative;
}

.how-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.how-header { text-align: center; margin-bottom: var(--space-16); }

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  position: relative;
}

/* Connecting dashed line */
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light), var(--teal));
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-8) var(--space-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  transition: box-shadow var(--duration-normal), transform var(--duration-normal) var(--ease-out);
}

.step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-teal);
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--dark-2);
  margin-bottom: var(--space-3);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 24ch;
}

/* ── FEATURES GRID ──────────────────────────────────────────── */
.features-section {
  background: var(--bg);
  padding: var(--space-section) 0;
}

.features-header { margin-bottom: var(--space-16); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal), transform var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,70,229,.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--duration-normal);
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--duration-normal);
}

.feature-card:hover .feature-icon { background: rgba(79,70,229,.18); }

.feature-icon svg {
  width: 20px; height: 20px;
  stroke: var(--teal);
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--dark-2);
  line-height: 1.3;
}

.feature-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── PAGE HERO (interior pages) ─────────────────────────────── */
.page-hero {
  padding-top: calc(64px + var(--space-section));
  padding-bottom: var(--space-16);
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(79,70,229,.07) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero .section-label { margin-inline: auto; }
.page-hero .section-subtitle { margin-inline: auto; }

/* ── PRICING CARD ───────────────────────────────────────────── */
.pricing-section {
  background: var(--bg-2);
  padding: var(--space-section) 0;
}

.pricing-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.pricing-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg);
  border: 2px solid var(--teal);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl), var(--shadow-teal);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 6px var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-teal);
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: var(--space-1);
  margin: var(--space-6) 0 var(--space-8);
}

.pricing-currency {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: .6rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--dark-2);
}

.pricing-period {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: .5rem;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text);
  font-family: var(--font-body);
}

.pricing-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-check svg {
  width: 11px; height: 11px;
  stroke: var(--emerald);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-faint);
  font-family: var(--font-display);
}

/* ── CTA BAND ───────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(130deg, var(--teal-deeper) 0%, var(--teal) 50%, var(--teal-dark) 100%);
  padding: var(--space-section) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 15% 50%, rgba(255,255,255,.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 85% 50%, rgba(16,185,129,.18) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.cta-band .section-title  { color: #fff; margin-bottom: 0; }
.cta-band .section-subtitle { color: rgba(255,255,255,.72); text-align: center; margin-inline: auto; }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-section {
  background: var(--bg-2);
  padding: var(--space-section) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--dark-2);
  letter-spacing: -.02em;
  margin-bottom: var(--space-4);
}

.contact-info p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  max-width: 30ch;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--teal);
  transition: color var(--duration-fast);
}

.contact-email-link:hover { color: var(--teal-dark); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
}

.form-input,
.form-textarea {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text);
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .7rem var(--space-4);
  width: 100%;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
  background: var(--bg);
}

.form-textarea { min-height: 140px; resize: vertical; }

.form-success {
  display: none;
  background: var(--emerald-light);
  border: 1.5px solid var(--emerald);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-6);
  color: #065f46;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
}

.form-success.visible { display: block; }

/* Footer simple (utilisé dans les pages sans .site-footer) */
footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.55);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-brand .nav-logo { color: white; margin-bottom: var(--space-4); }

.footer-tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 28ch;
  color: rgba(255,255,255,.4);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: var(--space-4);
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-3);
  transition: color var(--duration-fast);
}

.footer-col a:hover { color: var(--teal-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-legal {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.22);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links              { display: none; }
  .nav-right .btn-primary { display: none; }
  .nav-right .lang-switcher { display: none; }
  .nav-burger             { display: flex; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
    padding: calc(64px + 3rem) 0 4rem;
    gap: 3rem;
  }

  .hero-text    { text-align: center; }
  .hero-sub     { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust   { justify-content: center; }

  .hero-visual        { min-height: 300px; }
  .hero-card-3d       { width: 280px; height: 174px; }
  .hero-float-notif,
  .hero-float-badge   { display: none; }

  /* How steps */
  .how-steps { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .step { flex-direction: row; text-align: left; padding: var(--space-5) var(--space-6); }
  .step-num { margin-bottom: 0; width: 44px; height: 44px; font-size: var(--text-lg); flex-shrink: 0; }
  .step-desc { max-width: none; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }
  .features-header { text-align: center; }
  .features-header .section-label   { margin-inline: auto; }
  .features-header .section-subtitle { margin-inline: auto; text-align: center; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info p { max-width: none; }

  /* Footer */
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Pricing */
  .pricing-card { padding: var(--space-8) var(--space-6); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary.large, .btn-ghost.large { width: 100%; justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }
}

/* ── Animation utility ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up   { animation: fadeUp .65s var(--ease-out) both; }
.fade-up-1 { animation-delay: .08s; }
.fade-up-2 { animation-delay: .18s; }
.fade-up-3 { animation-delay: .28s; }
.fade-up-4 { animation-delay: .38s; }

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.95) translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.in-view,
.reveal-scale.in-view,
.reveal-left.in-view {
  opacity: 1;
  transform: none;
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.28s; }
.reveal-d4 { transition-delay: 0.38s; }
.reveal-d5 { transition-delay: 0.48s; }
.reveal-d6 { transition-delay: 0.58s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-left {
    opacity: 1; transform: none; transition: none;
  }
}

/* ── Accessibility ──────────────────────────────────────────── */
.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;
}

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