/* ============================================================
   MUMBUCAPAY V4 — Award-winning Motion Design
   Primary #D52123  |  Secondary #1D7DC5
   ============================================================ */

:root {
  --red: #D52123;
  --red-hover: #B91C1E;
  --red-light: #F04E50;
  --blue: #1D7DC5;
  --blue-hover: #1668A8;
  --blue-light: #4A9BD6;

  --black: #000000;
  --gray-950: #1d1d1f;
  --gray-900: #2d2d2f;
  --gray-800: #424245;
  --gray-700: #6e6e73;
  --gray-600: #86868b;
  --gray-500: #a1a1a6;
  --gray-400: #b0b0b5;
  --gray-300: #d2d2d7;
  --gray-200: #e8e8ed;
  --gray-100: #f5f5f7;
  --white: #ffffff;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fs-display: clamp(2.8rem, 7vw, 5rem);
  --fs-h1: clamp(2.4rem, 5vw, 3.8rem);
  --fs-h2: clamp(2rem, 4vw, 3.25rem);
  --fs-h3: clamp(1.1rem, 1.8vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-body-lg: 1.25rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --section-pad: clamp(80px, 12vw, 160px);
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --container: 980px;
  --container-wide: 1200px;
  --header-h: 52px;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  --shadow-subtle: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-product: 0 60px 120px rgba(0,0,0,0.5);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --t-fast: 0.2s;
  --t-base: 0.35s;
  --t-slow: 0.6s;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: var(--fs-body); line-height: 1.55; color: var(--gray-950); background: var(--white); overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
body.menu-open, body.loading { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ============================================================
   LOADER — curtain split
   ============================================================ */
.loader { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.loader-half { position: absolute; left: 0; right: 0; background: var(--black); transition: transform 1s var(--ease-expo); }
.loader-top { top: 0; height: 50%; transform-origin: top; }
.loader-bottom { bottom: 0; height: 50%; transform-origin: bottom; }
.loader.done { pointer-events: none; }
.loader.done .loader-top { transform: translateY(-100%); }
.loader.done .loader-bottom { transform: translateY(100%); }
.loader.done .loader-content { opacity: 0; transition: opacity 0.3s; }
.loader.hidden { visibility: hidden; }
.loader-content { position: relative; z-index: 1; text-align: center; }
.loader-logo {
  font-weight: var(--fw-extrabold); font-size: 1.6rem;
  color: var(--white); letter-spacing: -0.02em;
  opacity: 0; transform: translateY(10px);
  animation: loaderFadeIn 0.6s var(--ease-expo) 0.2s forwards;
}
.loader-logo .logo-pay { color: var(--blue); }
.loader-line {
  width: 0; height: 1px; background: linear-gradient(90deg, var(--red), var(--blue));
  margin: 12px auto 0; transition: width 0.6s var(--ease-expo);
}
.loader.expanding .loader-line { width: 120px; }
@keyframes loaderFadeIn { to { opacity: 1; transform: translateY(0); } }

/* ---- Loader ring (v5) ---- */
.loader-ring {
  width: 80px; height: 80px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.08);
  border-top-color: var(--red);
  animation: loaderRingSpin 1s linear infinite;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.loader-ring-inner {
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.04);
  border-bottom-color: var(--blue);
  animation: loaderRingSpin 1.4s linear infinite reverse;
}
@keyframes loaderRingSpin { to { transform: rotate(360deg); } }

/* ---- Cursor ---- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(213,33,35,0.5);
  pointer-events: none; mix-blend-mode: difference;
  transition: width 0.3s var(--ease-expo), height 0.3s var(--ease-expo), opacity 0.3s;
  will-change: transform; opacity: 0;
}
.cursor.visible { opacity: 1; }
.cursor.hovering { width: 48px; height: 48px; border-color: rgba(213,33,35,0.3); }

/* ---- Cursor trail (v5) ---- */
.cursor-trail {
  position: fixed; top: 0; left: 0; z-index: 9997;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(213,33,35,0.25);
  background: transparent;
  pointer-events: none; mix-blend-mode: difference;
  transition: width 0.45s var(--ease-expo), height 0.45s var(--ease-expo), opacity 0.45s, border-color 0.45s;
  will-change: transform; opacity: 0;
}
.cursor-trail.visible { opacity: 0.6; }
.cursor-trail.hovering { width: 64px; height: 64px; border-color: rgba(29,125,197,0.35); }

/* ---- Particles canvas (v5) ---- */
.particles-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.5;
  width: 100%; height: 100%;
}

/* ---- Scroll progress ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 1001;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform-origin: left; transform: scaleX(0); will-change: transform;
}

/* ---- Side indicator ---- */
.side-indicator {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 900; display: none; flex-direction: column; gap: 16px;
}
.side-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-400); border: none; padding: 0; cursor: pointer;
  transition: background 0.4s var(--ease-expo), transform 0.4s var(--ease-expo), box-shadow 0.4s;
}
.side-dot.active { background: var(--red); transform: scale(1.5); box-shadow: 0 0 10px rgba(213,33,35,0.4); }

/* ---- Containers ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-lg); }
.container-wide { width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--space-lg); }

/* ---- Text utilities ---- */
.text-gradient {
  background: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
  font-weight: var(--fw-semibold); font-size: var(--fs-sm); line-height: 1;
  border-radius: var(--r-full); padding: 0.85rem 1.75rem;
  transition: all var(--t-base) var(--ease-expo); white-space: nowrap;
  border: none; cursor: pointer; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.15); border-radius: inherit;
  transform: translateY(100%); transition: transform 0.4s var(--ease-expo);
}
.btn:hover::after { transform: translateY(0); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { box-shadow: 0 8px 32px rgba(213,33,35,0.3); transform: translateY(-2px); }
.btn-dark { background: var(--gray-950); color: var(--white); }
.btn-dark:hover { background: var(--gray-800); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.3); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.25rem; font-size: var(--fs-body); }
.btn-pill { border-radius: var(--r-full); }

/* ---- Button shine sweep (v5) ---- */
.btn-shine {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit;
}
.btn-shine::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: btnShine 4s var(--ease-expo) infinite;
}
@keyframes btnShine {
  0% { left: -100%; }
  30% { left: 150%; }
  100% { left: 150%; }
}

/* ---- Button text (v5) ---- */
.btn-text {
  position: relative; z-index: 1;
}

/* ---- Reveal system ---- */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-60px) translateY(0); }
.reveal-left.visible { transform: none; }
.reveal-right { transform: translateX(60px) translateY(0); }
.reveal-right.visible { transform: none; }
.reveal-scale { transform: scale(0.9); opacity: 0; }
.reveal-scale.visible { transform: none; opacity: 1; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

.line-reveal { display: block; overflow: hidden; }
.line-reveal-inner { display: block; transform: translateY(110%); transition: transform 0.9s var(--ease-expo); }
.line-reveal.visible .line-reveal-inner { transform: translateY(0); }
.line-reveal:nth-child(2) .line-reveal-inner { transition-delay: 0.12s; }
.line-reveal:nth-child(3) .line-reveal-inner { transition-delay: 0.24s; }

/* Grain texture mixin */
.grain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  transition: background 0.4s var(--ease-expo), box-shadow 0.4s var(--ease-expo);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0.5px 0 rgba(0,0,0,0.1);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--space-lg);
}
.logo { font-weight: var(--fw-extrabold); font-size: 1.2rem; letter-spacing: -0.02em; color: var(--white); z-index: 10; transition: color 0.4s var(--ease-expo); }
.site-header.scrolled .logo { color: var(--gray-950); }
.logo-pay { color: var(--blue); }

.main-nav { display: none; align-items: center; gap: 0; }
.nav-link {
  font-size: var(--fs-xs); font-weight: var(--fw-regular);
  color: rgba(255,255,255,0.7); padding: 0 var(--space-md);
  transition: color 0.3s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 50%; right: 50%;
  height: 1px; background: var(--white);
  transition: left 0.4s var(--ease-expo), right 0.4s var(--ease-expo);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { left: 16px; right: 16px; }
.site-header.scrolled .nav-link { color: var(--gray-600); }
.site-header.scrolled .nav-link:hover { color: var(--gray-950); }
.site-header.scrolled .nav-link::after { background: var(--gray-950); }
.header-actions { display: none; }

.hamburger { display: flex; flex-direction: column; gap: 5px; padding: 8px; z-index: 10; }
.hamburger span { display: block; width: 18px; height: 1.5px; background: var(--white); border-radius: 1px; transition: all 0.4s var(--ease-expo); transform-origin: center; }
.site-header.scrolled .hamburger span { background: var(--gray-950); }
body.menu-open .hamburger span { background: var(--white) !important; }
body.menu-open .hamburger span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.mobile-drawer {
  position: fixed; inset: 0; background: rgba(0,0,0,0.96); z-index: 999;
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  padding: calc(var(--header-h) + var(--space-3xl)) var(--space-lg) var(--space-xl);
  transform: translateX(100%); transition: transform 0.5s var(--ease-expo); overflow-y: auto;
}
body.menu-open .mobile-drawer { transform: translateX(0); }
.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-links a {
  display: block; padding: var(--space-lg) 0; font-size: 1.75rem; font-weight: var(--fw-bold);
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.06);
  transform: translateX(40px); opacity: 0;
  transition: transform 0.5s var(--ease-expo), opacity 0.5s var(--ease-expo);
}
body.menu-open .mobile-drawer .mobile-nav-links a { transform: translateX(0); opacity: 1; }
body.menu-open .mobile-drawer .mobile-nav-links a:nth-child(1) { transition-delay: 0.05s; }
body.menu-open .mobile-drawer .mobile-nav-links a:nth-child(2) { transition-delay: 0.10s; }
body.menu-open .mobile-drawer .mobile-nav-links a:nth-child(3) { transition-delay: 0.15s; }
body.menu-open .mobile-drawer .mobile-nav-links a:nth-child(4) { transition-delay: 0.20s; }
body.menu-open .mobile-drawer .mobile-nav-links a:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav-actions { margin-top: var(--space-3xl); opacity: 0; transition: opacity 0.5s 0.3s; }
body.menu-open .mobile-drawer .mobile-nav-actions { opacity: 1; }

/* ============================================================
   HERO — split layout
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--black); color: var(--white);
  padding: calc(var(--header-h) + var(--space-2xl)) var(--space-lg) var(--space-3xl);
  transition: background 0.8s var(--ease-expo);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(213,33,35,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(29,125,197,0.06) 0%, transparent 70%);
  transition: opacity 0.8s var(--ease-expo);
}

.hero.hero-red { background: linear-gradient(155deg, #e02d2d 0%, #c41e20 18%, #a01a22 35%, #7a1428 55%, #4a0e20 78%, #1a0810 100%); }
.hero.hero-red .hero-bg { background: radial-gradient(ellipse 70% 60% at 30% 10%, rgba(255,80,80,0.20) 0%, transparent 70%), radial-gradient(ellipse 50% 50% at 75% 80%, rgba(29,125,197,0.08) 0%, transparent 60%); }
.hero.hero-red .hero-product-glow { background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%); }
.hero.hero-red .text-gradient { background: linear-gradient(135deg, #fff 0%, #c8ddf0 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.theme-toggle {
  position: absolute; top: calc(var(--header-h) + 16px); right: 24px;
  z-index: 5; padding: 0; background: none; border: none; cursor: pointer;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s 1.2s var(--ease-expo), transform 0.6s 1.2s var(--ease-expo);
}
.hero.visible-toggle .theme-toggle { opacity: 1; transform: none; }
.theme-toggle-track {
  display: flex; align-items: center; position: relative;
  width: 52px; height: 28px; border-radius: 14px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.4s var(--ease-expo), border-color 0.4s; padding: 0 3px;
}
.theme-toggle-track:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); }
.theme-toggle-icon { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: var(--white); transition: opacity 0.3s; }
.theme-toggle-moon { opacity: 0.7; }
.theme-toggle-sun { opacity: 0.3; }
.hero.hero-red .theme-toggle-moon { opacity: 0.3; }
.hero.hero-red .theme-toggle-sun { opacity: 0.9; }
.theme-toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: transform 0.4s var(--ease-expo);
}
.hero.hero-red .theme-toggle-thumb { transform: translateX(24px); }

.hero-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: var(--space-3xl); width: 100%; max-width: var(--container-wide); margin: 0 auto;
  position: relative; z-index: 1;
}

/* ---- Badge & badge pulse (v5) ---- */
.badge-soon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--white); background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  margin-bottom: var(--space-md);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s 0.4s var(--ease-expo), transform 0.6s 0.4s var(--ease-expo);
}
.badge-soon.visible { opacity: 1; transform: none; }
.badge-soon::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #34D399; animation: badgePulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.7)} }

.badge-pulse {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  animation: badgePulseDot 2s ease-in-out infinite;
}
@keyframes badgePulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.6); }
}

.hero-content { max-width: 600px; }
.hero-content h1 {
  font-size: var(--fs-display); font-weight: var(--fw-extrabold);
  line-height: 1.02; letter-spacing: -0.04em; margin-bottom: var(--space-lg);
}
.hero-sub {
  font-size: var(--fs-body-lg); color: var(--gray-500); line-height: 1.5;
  margin-bottom: var(--space-2xl); max-width: 480px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.5s var(--ease-expo), transform 0.8s 0.5s var(--ease-expo);
}
.hero-sub.visible { opacity: 1; transform: none; }
.hero-ctas {
  display: flex; gap: var(--space-md); flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.7s var(--ease-expo), transform 0.8s 0.7s var(--ease-expo);
}
.hero-ctas.visible { opacity: 1; transform: none; }

.store-badges {
  position: absolute; bottom: var(--space-lg); left: 50%; transform: translateX(-50%) translateY(16px);
  display: flex; gap: var(--space-sm); z-index: 2;
  opacity: 0;
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
.store-badges.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.store-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); text-decoration: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  cursor: default;
}
.store-badge:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.22); transform: translateY(-2px); }
.store-badge svg { flex-shrink: 0; opacity: 0.85; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge-label { font-size: 0.6rem; font-weight: var(--fw-medium); opacity: 0.6; letter-spacing: 0.02em; }
.store-badge-name { font-size: 0.85rem; font-weight: var(--fw-bold); letter-spacing: -0.01em; }

.scroll-hint {
  position: absolute; bottom: var(--space-lg); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px 6px 10px; border-radius: var(--r-full);
  background: rgba(213,33,35,0.15); border: 1px solid rgba(213,33,35,0.25);
  color: var(--white); font-size: 0.7rem; font-weight: var(--fw-semibold);
  letter-spacing: 0.04em; text-decoration: none; text-transform: uppercase;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 2; cursor: pointer;
  opacity: 0; animation: scrollHintIn 0.8s 2.2s var(--ease-expo) forwards;
  transition: background 0.3s, transform 0.3s;
}
.scroll-hint:hover { background: rgba(213,33,35,0.28); transform: translateX(-50%) translateY(-2px); }
.scroll-dot { animation: scrollBounce 2s ease-in-out infinite; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.3; }
}
@keyframes scrollHintIn { to { opacity: 1; } }

.hero-product {
  position: relative; width: 100%; max-width: 300px;
  opacity: 0; transform: translateY(60px) scale(0.95);
  transition: opacity 1s 0.4s var(--ease-expo), transform 1s 0.4s var(--ease-expo);
  perspective: 1000px;
}
.hero-product.visible { opacity: 1; transform: translateY(0) scale(1); }
.hero-product-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(213,33,35,0.15) 0%, transparent 70%);
  filter: blur(50px); pointer-events: none;
  animation: productPulse 8s ease-in-out infinite;
}
@keyframes productPulse { 0%,100%{opacity:0.6;transform:translate(-50%,-50%) scale(1)} 50%{opacity:0.9;transform:translate(-50%,-50%) scale(1.06)} }

/* ---- Orbital system (v5) ---- */
.orbital-system {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  pointer-events: none; perspective: 800px;
  opacity: 0; transition: opacity 0.8s var(--ease-expo);
  z-index: 0;
}
.orbital-system.visible { opacity: 1; }

.orbital-ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.06);
}
.orbital-ring-1 {
  width: 300px; height: 300px;
  margin-top: -150px; margin-left: -150px;
  transform: rotateX(60deg) rotateZ(0deg);
  animation: orbitalSpin1 20s linear infinite;
}
.orbital-ring-2 {
  width: 400px; height: 400px;
  margin-top: -200px; margin-left: -200px;
  transform: rotateX(70deg) rotateY(20deg);
  animation: orbitalSpin2 30s linear infinite;
}
.orbital-ring-3 {
  width: 240px; height: 240px;
  margin-top: -120px; margin-left: -120px;
  transform: rotateX(50deg) rotateZ(45deg);
  animation: orbitalSpin3 15s linear infinite;
}

@keyframes orbitalSpin1 { to { transform: rotateX(60deg) rotateZ(360deg); } }
@keyframes orbitalSpin2 { to { transform: rotateX(70deg) rotateY(380deg); } }
@keyframes orbitalSpin3 { to { transform: rotateX(50deg) rotateZ(405deg); } }

.orbital-dot {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  top: 50%; left: 50%;
}
.orbital-dot-1 {
  background: var(--red); box-shadow: 0 0 8px rgba(213,33,35,0.6);
  animation: orbitalDot 20s linear infinite;
}
.orbital-dot-2 {
  background: var(--blue); box-shadow: 0 0 8px rgba(29,125,197,0.6);
  animation: orbitalDot 30s linear infinite reverse;
}
.orbital-dot-3 {
  background: #34D399; box-shadow: 0 0 8px rgba(52,211,153,0.6);
  animation: orbitalDot 15s linear infinite;
  animation-delay: -5s;
}
.orbital-dot-4 {
  background: #a78bfa; box-shadow: 0 0 8px rgba(167,139,250,0.6);
  animation: orbitalDot 25s linear infinite reverse;
  animation-delay: -8s;
}

@keyframes orbitalDot {
  0%   { transform: translate(-150px, 0) scale(1); opacity: 0.8; }
  25%  { transform: translate(0, -150px) scale(0.7); opacity: 0.4; }
  50%  { transform: translate(150px, 0) scale(1); opacity: 0.8; }
  75%  { transform: translate(0, 150px) scale(0.7); opacity: 0.4; }
  100% { transform: translate(-150px, 0) scale(1); opacity: 0.8; }
}

.iphone-wrapper {
  transition: transform 0.1s linear;
  transform-style: preserve-3d;
}

/* iPhone frame */
.iphone-frame {
  position: relative; z-index: 1;
  width: 260px; margin: 0 auto;
  background: linear-gradient(160deg, #2a2a2c 0%, #1a1a1c 40%, #0f0f11 100%);
  border-radius: 44px; padding: 9px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-product), inset 0 1px 0 rgba(255,255,255,0.06), 0 0 0 1px rgba(0,0,0,0.5);
}
.iphone-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; justify-content: center; width: 100%; padding-top: 9px; }
.iphone-dynamic-island { width: 90px; height: 26px; background: #000; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04); }
.iphone-screen { background: #000; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; min-height: 500px; position: relative; }
.iphone-home-indicator { width: 110px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.2); margin: 8px auto 6px; }

/* Mystery screen — teaser layout */
.iphone-screen--mystery {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 500px; background: #0a0a0a; overflow: hidden;
}
.mystery-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(213,33,35,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 70%, rgba(29,125,197,0.06) 0%, transparent 70%);
}
.mystery-orbs { position: absolute; inset: 0; overflow: hidden; }
.mystery-orb {
  position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0.35;
  animation: mysteryFloat 8s ease-in-out infinite;
}
.mystery-orb--red {
  width: 160px; height: 160px; top: 15%; left: 10%;
  background: radial-gradient(circle, rgba(213,33,35,0.5), transparent 70%);
}
.mystery-orb--blue {
  width: 120px; height: 120px; bottom: 20%; right: 10%;
  background: radial-gradient(circle, rgba(29,125,197,0.4), transparent 70%);
  animation-delay: -4s;
}
@keyframes mysteryFloat {
  0%,100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(10px, -15px) scale(1.1); }
  50% { transform: translate(-8px, 10px) scale(0.95); }
  75% { transform: translate(12px, 8px) scale(1.05); }
}
.mystery-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 80%);
}
.mystery-content {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  align-items: center; gap: 14px; text-align: center;
}
.mystery-logo {
  font-size: 1.4rem; font-weight: var(--fw-extrabold); color: var(--white);
  letter-spacing: -0.02em;
}
.mystery-logo span { color: var(--blue); }
.mystery-divider {
  width: 40px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  opacity: 0.6;
}
.mystery-label {
  font-size: 0.7rem; font-weight: var(--fw-semibold);
  text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  animation: mysteryPulse 3s ease-in-out infinite;
}
@keyframes mysteryPulse {
  0%,100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

.hero-float-card {
  position: absolute; display: flex; align-items: center; gap: var(--space-sm);
  padding: 0.4rem 0.8rem; background: rgba(255,255,255,0.95);
  border-radius: var(--r-md); font-size: var(--fs-xs); font-weight: var(--fw-medium);
  color: var(--gray-950); box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  white-space: nowrap; z-index: 2;
}
.float-card-1 { top: 2%; right: -24px; animation: floatY 6s ease-in-out infinite; }
.float-card-2 { top: 28%; left: -28px; animation: floatY 6s ease-in-out infinite 3s; }
.float-card-3 { bottom: 30%; right: -30px; animation: floatY 7s ease-in-out infinite 1.5s; }
.float-card-4 { top: 55%; left: -22px; animation: floatY 5.5s ease-in-out infinite 2s; }
.float-card-5 { bottom: 6%; right: -18px; animation: floatY 6.5s ease-in-out infinite 4s; }
@keyframes floatY { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-10px) rotate(1deg)} }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--gray-950); color: var(--gray-500); padding: var(--space-lg) 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.04); }
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 30s linear infinite; }
.marquee-item { flex-shrink: 0; padding: 0 var(--space-3xl); font-size: var(--fs-xs); font-weight: var(--fw-medium); text-transform: uppercase; letter-spacing: 0.12em; display: flex; align-items: center; gap: var(--space-md); }
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gray-700); }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

/* ============================================================
   METRICS
   ============================================================ */
.metrics { background: var(--gray-950); color: var(--white); padding: var(--space-4xl) var(--space-lg); }
.metrics-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-3xl); max-width: var(--container-wide); margin: 0 auto; text-align: center; }
.metric-number { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: var(--fw-extrabold); line-height: 1; letter-spacing: -0.03em; margin-bottom: var(--space-xs); }
.metric-number .accent-red { color: var(--red); }
.metric-number .accent-blue { color: var(--blue); }
.metric-label { font-size: var(--fs-sm); color: var(--gray-500); }

/* ---- Metric ring (v5) ---- */
.metric-ring {
  width: 80px; height: 80px; margin: 0 auto var(--space-md);
}
.metric-ring svg { width: 100%; height: 100%; }
.metric-ring-fill {
  transition: stroke-dashoffset 1.2s var(--ease-expo);
  stroke-linecap: round;
}

/* ============================================================
   HORIZONTAL SCROLL FEATURES (v4 original)
   ============================================================ */
.features-section { position: relative; background: var(--white); }
.features-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-lg); overflow: hidden;
}
.features-header {
  text-align: center; padding: 0 var(--space-lg);
}
.features-header h2 {
  font-size: var(--fs-h2); font-weight: var(--fw-extrabold);
  line-height: 1.08; letter-spacing: -0.03em; color: var(--gray-950);
}
.features-header p {
  color: var(--gray-500); font-size: var(--fs-sm); margin-top: 0.5rem;
}
.features-track-wrapper { overflow: hidden; display: flex; align-items: center; width: 100%; }
.features-track {
  display: flex; gap: var(--space-lg); padding: 0 var(--space-2xl);
  will-change: transform;
}
.feature-card-h {
  flex: 0 0 70vw; max-width: 380px; min-height: 260px;
  background: var(--gray-100); border-radius: var(--r-xl);
  padding: var(--space-2xl) var(--space-xl);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
}
.feature-card-h::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue)); opacity: 0;
  transition: opacity 0.4s;
}
.feature-card-h:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.feature-card-h:hover::before { opacity: 1; }
.feature-card-h .feature-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-lg); margin-bottom: var(--space-md);
  transition: transform 0.5s var(--ease-expo);
}
.feature-card-h:hover .feature-icon { transform: scale(1.1) rotate(-3deg); }
.feature-icon.icon-pix { background: rgba(50,188,173,0.10); }
.feature-icon.icon-green { background: rgba(52,211,153,0.10); }
.feature-icon.icon-red { background: rgba(213,33,35,0.08); }
.feature-icon.icon-blue { background: rgba(29,125,197,0.08); }
.feature-card-h h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); margin-bottom: var(--space-xs); color: var(--gray-950); }
.feature-card-h p { color: var(--gray-600); line-height: 1.6; font-size: var(--fs-sm); max-width: 340px; }
.features-progress { height: 3px; background: var(--gray-200); margin: var(--space-lg) var(--space-2xl) 0; border-radius: 2px; overflow: hidden; width: calc(100% - 2 * var(--space-2xl)); }
.features-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--blue)); border-radius: 2px; transition: width 0.1s linear; }

/* ============================================================
   FEATURES — carousel (v5)
   ============================================================ */
.features-carousel {
  overflow: hidden; width: 100%; max-width: var(--container-wide);
  padding: 0 var(--space-lg);
}
.carousel-track {
  display: flex; gap: var(--space-lg);
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-md) 0;
}
.carousel-track::-webkit-scrollbar { display: none; }

.feature-card-v {
  flex: 0 0 280px; scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: var(--space-2xl) var(--space-xl);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
}
.feature-card-v:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.feature-card-v .feature-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-lg); margin-bottom: var(--space-md);
  transition: transform 0.5s var(--ease-expo);
}
.feature-card-v:hover .feature-icon { transform: scale(1.1) rotate(-3deg); }
.feature-card-v h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); margin-bottom: var(--space-xs); color: var(--gray-950); }
.feature-card-v p { color: var(--gray-600); line-height: 1.6; font-size: var(--fs-sm); max-width: 340px; }

/* Card glow (v5) */
.card-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 200%; height: 200%; border-radius: 50%;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease-expo);
  animation: cardGlowPulse 4s ease-in-out infinite;
}
.feature-card-v:hover .card-glow { opacity: 0.08; }
.card-glow-pix { background: radial-gradient(circle, rgba(50,188,173,0.5) 0%, transparent 70%); }
.card-glow-red { background: radial-gradient(circle, rgba(213,33,35,0.5) 0%, transparent 70%); }
.card-glow-blue { background: radial-gradient(circle, rgba(29,125,197,0.5) 0%, transparent 70%); }
.card-glow-mumbuca { background: radial-gradient(circle, rgba(29,125,197,0.4) 0%, rgba(213,33,35,0.2) 50%, transparent 70%); }

@keyframes cardGlowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
}

/* Card tag (v5) */
.card-tag {
  display: inline-block;
  margin-top: var(--space-md);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  color: var(--gray-600);
  background: var(--gray-100);
  letter-spacing: 0.02em;
}

/* Carousel navigation (v5) */
.carousel-nav {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-md); margin-top: var(--space-lg);
}
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  color: var(--gray-700); cursor: pointer;
  transition: all 0.3s var(--ease-expo);
}
.carousel-btn:hover {
  background: var(--gray-950); color: var(--white);
  border-color: var(--gray-950);
  transform: scale(1.05);
}
.carousel-dots {
  display: flex; align-items: center; gap: 8px;
}
.carousel-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-300); cursor: pointer;
  transition: all 0.4s var(--ease-expo);
}
.carousel-dots span.active {
  background: var(--red); transform: scale(1.3);
  box-shadow: 0 0 8px rgba(213,33,35,0.4);
}

/* Fallback for mobile: features vertical stack */
@media (max-width: 767px) {
  .features-section { height: auto !important; }
  .features-sticky { position: relative; height: auto; padding: var(--space-3xl) 0 var(--space-2xl); }
  .features-track-wrapper { overflow: visible; }
  .features-track { flex-direction: column; padding: 0 var(--space-lg); gap: var(--space-lg); }
  .feature-card-h { flex: none; max-width: 100%; min-height: auto; }
  .features-progress { display: none; }
}

/* ============================================================
   SECTION DIVIDER (v5)
   ============================================================ */
.section-divider {
  position: relative; z-index: 2;
  margin-top: -1px; line-height: 0;
}
.divider-wave {
  color: var(--black);
}
.divider-wave svg {
  display: block; width: 100%; height: auto;
}

/* ============================================================
   STICKY SHOWCASE
   ============================================================ */
.showcase-section { position: relative; background: var(--black); color: var(--white); }
.showcase-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.showcase-layout {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3xl);
  max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--space-lg);
  width: 100%;
}
.showcase-phone-col { position: relative; width: 100%; max-width: 300px; flex-shrink: 0; }
.showcase-phone-col .iphone-frame { width: 260px; }
.showcase-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 450px; height: 450px; border-radius: 50%;
  background: radial-gradient(circle, rgba(213,33,35,0.10) 0%, transparent 65%);
  filter: blur(80px); pointer-events: none;
}

/* ---- Phone orbit ring (v5) ---- */
.phone-orbit-ring {
  position: absolute; top: 50%; left: 50%;
  width: 320px; height: 320px;
  margin-top: -160px; margin-left: -160px;
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 50%; pointer-events: none;
  animation: orbitalSpin1 25s linear infinite;
}

.showcase-screens { position: relative; z-index: 2; width: 100%; flex: 1; display: flex; align-items: center; justify-content: center; }
.showcase-screen-item {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.6s var(--ease-expo);
}
.showcase-screen-item.active { opacity: 1; position: relative; }

.showcase-text-col { width: 100%; max-width: 400px; }
.showcase-headline {
  font-size: var(--fs-h2); font-weight: var(--fw-extrabold);
  line-height: 1.08; letter-spacing: -0.03em;
  margin-bottom: var(--space-2xl);
}
.showcase-step {
  padding: var(--space-xl) 0; border-top: 1px solid rgba(255,255,255,0.06);
  opacity: 0.35; transition: opacity 0.5s var(--ease-expo);
  cursor: default;
}
.showcase-step.active { opacity: 1; }
.showcase-step h4 { font-size: var(--fs-sm); font-weight: var(--fw-semibold); margin-bottom: 4px; }
.showcase-step p { font-size: var(--fs-xs); color: var(--gray-500); line-height: 1.5; }
.showcase-step-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; vertical-align: middle; transition: background 0.4s; }
.showcase-step.active .dot-red { background: var(--red); box-shadow: 0 0 8px rgba(213,33,35,0.5); }
.showcase-step.active .dot-blue { background: var(--blue); box-shadow: 0 0 8px rgba(29,125,197,0.5); }
.showcase-step.active .dot-green { background: #34D399; box-shadow: 0 0 8px rgba(52,211,153,0.5); }
.dot-red { background: rgba(213,33,35,0.3); }
.dot-blue { background: rgba(29,125,197,0.3); }
.dot-green { background: rgba(52,211,153,0.3); }

/* Showcase fallback mobile — merged into main mobile block below */

/* ============================================================
   PROCESS — connected timeline
   ============================================================ */
.process { padding: var(--section-pad) 0; background: var(--white); }
.process .section-headline { font-size: var(--fs-h2); font-weight: var(--fw-extrabold); line-height: 1.08; letter-spacing: -0.03em; text-align: center; margin-bottom: var(--space-lg); color: var(--gray-950); }
.process .section-sub { text-align: center; color: var(--gray-600); font-size: var(--fs-body); margin-bottom: var(--space-4xl); max-width: 480px; margin-left: auto; margin-right: auto; }

.timeline { display: grid; grid-template-columns: 1fr; gap: var(--space-3xl); position: relative; }
.timeline::before {
  content: ''; position: absolute;
  left: 20px; top: 0; bottom: 0; width: 2px;
  background: var(--gray-200);
}
.timeline-fill {
  position: absolute; left: 20px; top: 0; width: 2px; height: 0;
  background: linear-gradient(180deg, var(--red), var(--blue));
  transition: height 0.4s var(--ease-expo);
}
.timeline-step { text-align: left; padding-left: 56px; position: relative; }
.timeline-number {
  position: absolute; left: 6px; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: var(--fw-bold); color: var(--gray-500);
  background: var(--white); border: 2px solid var(--gray-200);
  transition: all 0.6s var(--ease-expo); z-index: 1;
}
.timeline-step.visible .timeline-number {
  background: var(--red); color: var(--white); border-color: var(--red);
  animation: stepPulse 0.6s var(--ease-expo);
}
@keyframes stepPulse { 0%{transform:scale(1)} 50%{transform:scale(1.2)} 100%{transform:scale(1)} }
.timeline-step h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); margin-bottom: var(--space-xs); color: var(--gray-950); }
.timeline-step p { font-size: var(--fs-sm); color: var(--gray-600); line-height: 1.6; max-width: 300px; }

/* ---- Timeline spin (v5) ---- */
.timeline-spin {
  display: inline-block;
  transition: transform 0.6s var(--ease-expo);
}
.timeline-step:hover .timeline-spin {
  transform: rotate(360deg);
}

/* ============================================================
   AUDIENCE — bento grid
   ============================================================ */
.audience { padding: var(--section-pad) 0; background: var(--gray-100); }
.audience .section-headline { font-size: var(--fs-h2); font-weight: var(--fw-extrabold); line-height: 1.08; letter-spacing: -0.03em; text-align: center; margin-bottom: var(--space-lg); color: var(--gray-950); }
.audience .section-sub { text-align: center; color: var(--gray-600); font-size: var(--fs-body); margin-bottom: var(--space-4xl); max-width: 480px; margin-left: auto; margin-right: auto; }

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.bento-card {
  background: var(--white); border-radius: var(--r-xl); padding: var(--space-2xl);
  transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.bento-card.bento-hero {
  background: linear-gradient(135deg, var(--gray-950) 0%, var(--gray-900) 100%);
  color: var(--white);
}
.bento-card.bento-hero .audience-icon { background: rgba(29,125,197,0.15); }
.bento-card.bento-hero h3 { color: var(--white); }
.bento-card.bento-hero p { color: var(--gray-400); }
.audience-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: rgba(29,125,197,0.06); border-radius: var(--r-lg); margin-bottom: var(--space-lg);
  transition: transform 0.5s var(--ease-expo);
}
.bento-card:hover .audience-icon { transform: scale(1.15) rotate(5deg); }
.bento-card h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); margin-bottom: var(--space-sm); color: var(--gray-950); }
.bento-card p { font-size: var(--fs-sm); color: var(--gray-600); line-height: 1.6; }

/* ============================================================
   SECURITY — SVG stroke draw
   ============================================================ */
.security { padding: var(--section-pad) 0; background: var(--black); color: var(--white); position: relative; }
.security .container { position: relative; z-index: 1; }
.security .section-headline { font-size: var(--fs-h2); font-weight: var(--fw-extrabold); line-height: 1.08; letter-spacing: -0.03em; text-align: center; margin-bottom: var(--space-lg); }
.security .section-sub { text-align: center; color: var(--gray-500); font-size: var(--fs-body); margin-bottom: var(--space-4xl); max-width: 520px; margin-left: auto; margin-right: auto; }
.security-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
.security-card {
  background: rgba(255,255,255,0.03); border-radius: var(--r-xl); padding: var(--space-2xl);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.5s var(--ease-expo);
}
.security-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); transform: translateY(-4px); }
.security-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-lg); transition: transform 0.5s var(--ease-expo);
}
.security-card:hover .security-icon { transform: scale(1.1); }
.security-card h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); margin-bottom: var(--space-sm); }
.security-card p { color: var(--gray-500); line-height: 1.6; font-size: var(--fs-sm); }

.security-icon svg [data-draw] {
  stroke-dasharray: var(--path-len, 200);
  stroke-dashoffset: var(--path-len, 200);
  transition: stroke-dashoffset 1s var(--ease-expo);
}
.security-card.visible .security-icon svg [data-draw] {
  stroke-dashoffset: 0;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final { padding: var(--section-pad) 0; text-align: center; background: linear-gradient(160deg, #fef2f2 0%, #fff 40%, #eff6ff 100%); position: relative; overflow: hidden; }
.cta-final h2 { font-size: var(--fs-h1); font-weight: var(--fw-extrabold); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: var(--space-md); color: var(--gray-950); }
.cta-final p { font-size: var(--fs-body-lg); color: var(--gray-600); margin-bottom: var(--space-2xl); max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }

/* ---- CTA rotating border (v5) ---- */
.cta-rotating-border {
  position: relative; padding: var(--space-3xl); border-radius: var(--r-xl);
  overflow: hidden;
}
.cta-rotating-border::before {
  content: ''; position: absolute; inset: -2px;
  background: conic-gradient(from 0deg, var(--red), var(--blue), var(--red));
  border-radius: inherit;
  animation: borderRotate 4s linear infinite;
  z-index: -2;
}
.cta-rotating-border::after {
  content: ''; position: absolute; inset: 2px;
  background: linear-gradient(160deg, #fef2f2 0%, #fff 40%, #eff6ff 100%);
  border-radius: calc(var(--r-xl) - 2px);
  z-index: -1;
}
@keyframes borderRotate { to { transform: rotate(360deg); } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: var(--section-pad) 0; background: var(--white); }
.faq .section-headline { font-size: var(--fs-h2); font-weight: var(--fw-extrabold); line-height: 1.08; letter-spacing: -0.03em; text-align: center; margin-bottom: var(--space-4xl); color: var(--gray-950); }
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: var(--space-xl) 0; font-size: var(--fs-body); font-weight: var(--fw-semibold); color: var(--gray-950); text-align: left; gap: var(--space-md); transition: color 0.3s; }
.faq-question:hover { color: var(--gray-600); }
.faq-chevron { flex-shrink: 0; width: 20px; height: 20px; transition: transform 0.4s var(--ease-expo); }
.faq-item.open .faq-chevron { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-expo), padding 0.5s var(--ease-expo); }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: var(--space-xl); }
.faq-answer p { color: var(--gray-600); line-height: 1.65; font-size: var(--fs-sm); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--gray-950); color: var(--gray-400); padding: var(--space-4xl) 0 var(--space-xl); padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-direction: column; gap: var(--space-3xl); }
.footer-logo { font-weight: var(--fw-extrabold); font-size: 1.15rem; color: var(--white); letter-spacing: -0.02em; }
.footer-tagline { color: var(--gray-600); margin-top: var(--space-sm); font-size: var(--fs-xs); line-height: 1.6; }
.footer-socials { display: flex; gap: var(--space-md); margin-top: var(--space-lg); }
.footer-socials a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-full); color: var(--gray-500); transition: color 0.3s, transform 0.3s var(--ease-expo); }
.footer-socials a:hover { color: var(--white); transform: translateY(-2px); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
.footer-col h4 { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-md); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col a { font-size: var(--fs-xs); color: var(--gray-500); transition: color 0.3s; }
.footer-col a:hover { color: var(--white); }
.footer-divider { height: 1px; background: rgba(255,255,255,0.06); margin: var(--space-2xl) 0 var(--space-xl); }
.footer-bottom { display: flex; flex-direction: column; gap: var(--space-xs); font-size: var(--fs-xs); color: var(--gray-600); }

/* ============================================================
   RESPONSIVE — MOBILE (<768px)
   ============================================================ */
@media (max-width: 767px) {
  /* Hero */
  .hero {
    flex-direction: column; justify-content: center;
    padding: calc(var(--header-h) + var(--space-xl)) var(--space-md) 5rem;
    min-height: 100vh; min-height: 100dvh;
  }
  .hero-inner { gap: var(--space-2xl); }
  .hero-content { max-width: 100%; }
  .hero-content h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-sub { font-size: var(--fs-body); max-width: 100%; }
  .hero-ctas { justify-content: center; width: 100%; }
  .hero-ctas .btn { width: 100%; text-align: center; }

  /* Hero product — smaller phone */
  .hero-product { max-width: 240px; margin: 0 auto; }
  .iphone-frame { width: 220px; }
  .iphone-screen, .iphone-screen--mystery { min-height: 420px; }

  /* Float cards — keep 2, hide rest, fit inside phone area */
  .hero-float-card { font-size: 0.65rem; padding: 0.3rem 0.65rem; }
  .float-card-1 { right: -6px; top: 2%; }
  .float-card-2 { left: -6px; top: 28%; }
  .float-card-3, .float-card-4, .float-card-5 { display: none; }

  /* Orbital system — scale to fit */
  .orbital-system { width: 280px; height: 280px; }
  .orbital-ring-1 { width: 180px; height: 180px; margin-top: -90px; margin-left: -90px; }
  .orbital-ring-2 { width: 240px; height: 240px; margin-top: -120px; margin-left: -120px; }
  .orbital-ring-3 { width: 140px; height: 140px; margin-top: -70px; margin-left: -70px; }
  .orbital-dot-1, .orbital-dot-2, .orbital-dot-3, .orbital-dot-4 { display: none; }

  /* Store badges — relative flow, centered */
  .store-badges {
    position: relative; bottom: auto; left: auto; right: auto;
    transform: none !important; justify-content: center;
    margin-top: var(--space-lg);
  }
  .store-badges.visible { transform: none !important; }
  .store-badge { padding: 6px 12px 6px 10px; }
  .store-badge-name { font-size: 0.78rem; }

  /* Scroll hint — repositioned */
  .scroll-hint { bottom: var(--space-md); }

  /* Theme toggle — touch-friendly positioning */
  .theme-toggle { right: var(--space-md); top: calc(var(--header-h) + 8px); }

  /* Side indicator hidden */
  .side-indicator { display: none; }

  /* Marquee — compact */
  .marquee-item { padding: 0 var(--space-xl); font-size: 0.65rem; }

  /* Metrics — stack vertically */
  .metrics { padding: var(--space-3xl) var(--space-md); }
  .metrics-inner { gap: var(--space-2xl); }
  .metric-ring { width: 64px; height: 64px; }
  .metric-number { font-size: clamp(2rem, 6vw, 2.5rem); }

  /* Features carousel */
  .feature-card-v { flex: 0 0 75vw; max-width: 280px; }
  .carousel-btn { width: 40px; height: 40px; }

  /* Section divider */
  .section-divider svg { height: 40px; }

  /* Showcase */
  .showcase-section { height: auto !important; }
  .showcase-sticky { position: relative; height: auto; padding: var(--section-pad) 0; }
  .showcase-layout { text-align: center; gap: var(--space-2xl); }
  .showcase-phone-col { max-width: 240px; margin: 0 auto; }
  .showcase-phone-col .iphone-frame { width: 220px; }
  .showcase-headline { text-align: center; font-size: clamp(1.6rem, 5vw, 2rem); }
  .showcase-text-col { text-align: left; max-width: 100%; }
  .showcase-screen-item { position: relative; opacity: 1; }
  .showcase-screen-item:not(.active) { display: none; }
  .showcase-step { opacity: 1; }
  .phone-orbit-ring {
    width: 260px; height: 260px;
    margin-top: -130px; margin-left: -130px;
  }

  /* Process timeline — vertical with line */
  .timeline-step p { max-width: 100%; }

  /* Bento grid — single column */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.bento-hero { grid-column: span 1; }
  .bento-card { padding: var(--space-xl); }

  /* Security — single column */
  .security-grid { grid-template-columns: 1fr; }
  .security-card { padding: var(--space-xl); }

  /* CTA — compact */
  .cta-rotating-border { padding: var(--space-2xl) var(--space-lg); }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; text-align: center; }

  /* FAQ — touch-friendly */
  .faq-question { font-size: var(--fs-sm); padding: var(--space-lg) 0; gap: var(--space-sm); }

  /* Footer — stacked */
  .footer-inner { gap: var(--space-2xl); text-align: center; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: var(--space-xl); text-align: left; }
  .footer-socials { justify-content: center; }
  .footer-bottom { text-align: center; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (<400px)
   ============================================================ */
@media (max-width: 399px) {
  .hero-content h1 { font-size: 1.75rem; }
  .hero-product { max-width: 200px; }
  .iphone-frame { width: 190px; }
  .iphone-screen, .iphone-screen--mystery { min-height: 360px; }
  .hero-float-card { display: none; }
  .orbital-system { display: none; }
  .store-badges { flex-direction: column; align-items: center; }
  .store-badge { width: 100%; justify-content: center; }
  .feature-card-v { flex: 0 0 85vw; }
  .showcase-phone-col { max-width: 200px; }
  .showcase-phone-col .iphone-frame { width: 190px; }
  .footer-links { grid-template-columns: 1fr; text-align: center; }
  .cta-final h2 { font-size: 1.5rem; }
}

/* ============================================================
   RESPONSIVE — TABLET (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .hero-inner { flex-direction: row; text-align: left; align-items: center; }
  .hero-content { flex: 1; }
  .hero-product { max-width: 320px; }
  .hero-ctas { justify-content: flex-start; }
  .store-badges { left: auto; right: var(--space-xl); transform: translateY(16px); }
  .store-badges.visible { transform: translateY(0); }
  .hero-sub { margin-left: 0; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.bento-hero { grid-column: span 2; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: var(--space-2xl); }
  .timeline::before { display: none; }
  .timeline-fill { display: none; }
  .timeline-step { text-align: center; padding-left: 0; }
  .timeline-number { position: relative; left: auto; top: auto; margin: 0 auto var(--space-md); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-inner { flex-direction: row; justify-content: center; gap: var(--space-4xl); }
  .footer-inner { flex-direction: row; justify-content: space-between; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .showcase-layout { flex-direction: row; gap: var(--space-4xl); }
  .showcase-phone-col { width: auto; }
  .showcase-text-col { flex: 1; }
  .side-indicator { display: flex; }
}

@media (min-width: 1024px) {
  .hamburger { display: none; }
  .main-nav { display: flex; }
  .hero-product { max-width: 340px; }
  .iphone-frame { width: 280px; }
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-card.bento-hero { grid-column: span 2; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
  .feature-card-h { flex: 0 0 35vw; max-width: 380px; }
}

@media (pointer: coarse) { .cursor, .cursor-trail { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
