﻿/* ========================================
   Liftmad — 2026 Design System
   ======================================== */

/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
  --color-bg: #07070d;
  --color-surface: #0e0e18;
  --color-surface-elevated: #14142080;
  --color-border: rgba(255, 255, 255, 0.07);
  --color-border-light: rgba(255, 255, 255, 0.13);
  --color-accent: #2563eb;
  --color-accent-hover: #3b82f6;
  --color-accent-glow: rgba(37, 99, 235, 0.45);
  --color-accent-secondary: #10B981;
  --color-purple: #7c3aed;
  --color-purple-glow: rgba(124, 58, 237, 0.3);
  --color-text: #ebebf5;
  --color-text-muted: #7070a0;
  --color-text-dim: #4a4a6a;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --section-padding: 140px;
  --container-max: 1440px;
  --container-padding: 32px;
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.7);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Subtle grain texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 1;
}

h1, h2, h3, h4 { font-family: var(--font-heading); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ========================================
   Utilities
   ======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.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;
}

.text-gradient {
  background: linear-gradient(115deg, #fff 0%, #bfdbfe 45%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-text { color: var(--color-accent); }

/* ========================================
   Custom Scrollbar
   ======================================== */
/* Hide native scrollbar while keeping scroll functionality */
::-webkit-scrollbar { display: none; }
html { scrollbar-width: none; }

/* ========================================
   Navbar — Floating Island HUD
   ======================================== */

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes navIslandDrop {
  from { transform: translateY(-120%); opacity: 0; }
}

@keyframes borderSpin {
  to { --border-angle: 360deg; }
}

@keyframes logoShimmer {
  0%, 100% { background-position: -300% center; }
  50%       { background-position: 300% center; }
}

@keyframes logoIconBreathe {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(96,165,250,0.28)) brightness(0.9); }
  50%       { filter: drop-shadow(0 0 11px rgba(96,165,250,0.65)) brightness(1.1); }
}

@keyframes auroraUndulate {
  0%   { transform: scaleX(1) translateY(0); opacity: 0.5; }
  50%  { transform: scaleX(1.1) translateY(8px); opacity: 0.9; }
  100% { transform: scaleX(0.92) translateY(-4px); opacity: 0.6; }
}

/* ========================================
   Early Preview Banner
   ======================================== */
.preview-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 3rem;
  background: rgba(37, 99, 235, 0.12);
  border-bottom: 1px solid rgba(37, 99, 235, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.8rem;
  font-weight: 500;
  color: #93c5fd;
  letter-spacing: 0.01em;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}
.preview-banner.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.preview-banner-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3b82f6;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(59,130,246,0.7);
  animation: pulse 2s infinite;
}
.preview-banner-close {
  position: absolute;
  right: 1rem;
  top: 50%; transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(147,197,253,0.6);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}
.preview-banner-close:hover {
  color: #93c5fd;
  background: rgba(37,99,235,0.15);
}

/* Push navbar down when banner is visible */
body:not(.banner-dismissed) .navbar {
  top: 36px;
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 14px;
}

/* Subtle blue aurora behind the island */
.navbar::before {
  content: '';
  position: absolute;
  top: -30px; left: -5%; right: -5%;
  height: 140px;
  background: radial-gradient(ellipse at 50% 30%,
    rgba(37,99,235,0.1) 0%,
    rgba(124,58,237,0.05) 55%,
    transparent 75%);
  animation: auroraUndulate 9s ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
}

/* Scroll progress bar — top of viewport */
.nav-progress {
  position: absolute;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  box-shadow: 0 0 8px rgba(59,130,246,0.55);
  border-radius: 0 2px 2px 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar.scrolled .nav-progress { opacity: 1; }

/* The floating pill */
.nav-island {
  position: relative;
  display: flex;
  align-items: center;
  width: min(900px, 88vw);
  height: 60px;
  padding: 0 8px 0 12px;
  border-radius: 100px;
  border: 1px solid transparent;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background:
    linear-gradient(rgba(10,10,15,0.08), rgba(10,10,15,0.08)) padding-box,
    linear-gradient(transparent, transparent) border-box;
  box-shadow:
    0 20px 40px rgba(0,0,0,0.32),
    inset 0 1px 1px rgba(255,255,255,0.07);
  transition: background 0.35s ease, box-shadow 0.35s ease;
  animation: navIslandDrop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both,
             borderSpin 6s linear infinite;
}

.navbar.scrolled .nav-island {
  background:
    linear-gradient(rgba(10,10,15,0.62), rgba(10,10,15,0.62)) padding-box,
    conic-gradient(from var(--border-angle),
      transparent 0%,
      rgba(147,197,253,0.38) 18%,
      rgba(255,255,255,0.12) 36%,
      transparent 55%
    ) border-box;
  box-shadow:
    0 20px 40px rgba(0,0,0,0.5),
    inset 0 1px 1px rgba(255,255,255,0.1);
}

/* Logo badge zone */
.logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
 
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 1.55rem;
  font-weight: 900;
 
  letter-spacing: 0.05em;
  font-family: 'Montserrat', var(--font-heading);
  white-space: nowrap;
}

.logo-text {
  background: linear-gradient(90deg,
    #fff 0%, #fff 38%,
    #93c5fd 50%,
    #fff 62%, #fff 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoShimmer 4s ease-in-out infinite;
}

.logo-img {
  height: 50px; width: 50px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 7px;
  animation: logoIconBreathe 3s ease-in-out infinite;
}

/* Nav links — center zone */
.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
  overflow: visible;
}

/* Cursor spotlight blob */
.nav-spotlight {
  position: absolute;
  width: 140px; height: 60px;
  left: var(--sx, -200px);
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at center, rgba(59,130,246,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transition: left 0.1s ease;
  margin-left: -70px;
}

.nav-links a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
  padding-bottom: 2px;
  z-index: 1;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 4px; height: 4px;
  background: #3b82f6;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: translateX(-50%) scale(1); }

/* Active scroll-spy state */
.nav-links a.nav-active {
  color: #fff;
}
.nav-links a.nav-active::after {
  transform: translateX(-50%) scale(1);
  background: #3b82f6;
  box-shadow: 0 0 6px rgba(59,130,246,0.7);
}

/* Dim non-hovered siblings (only when not scroll-spy active) */
.nav-links:hover a:not(:hover):not(.nav-active) { color: rgba(255,255,255,0.32); }

.nav-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  
  /* Always-on bright blue gradient */
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border: 1px solid rgba(147, 197, 253, 0.45);
  border-radius: 100px;
  box-shadow: 
    0 0 20px rgba(37, 99, 235, 0.4),
    0 0 44px rgba(37, 99, 235, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  
  animation: ctaPulse 4s ease infinite;
  transition: box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
  animation: ctaHover 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%);
  box-shadow:
    0 0 28px rgba(37, 99, 235, 0.55),
    0 0 64px rgba(37, 99, 235, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-cta:active {
  animation: none;
  transform: scale(0.94);
}

@keyframes ctaHover {
  0%   { transform: scale(1) rotate(0deg); }
  60%  { transform: scale(1.08) rotate(-5deg); }
  80%  { transform: scale(1.04) rotate(-3deg); }
  100% { transform: scale(1.06) rotate(-4deg); }
}

@keyframes ctaPulse {
  0%   { transform: scale(1); }
  8%   { transform: scale(1.07); }
  16%  { transform: scale(1.02); }
  26%  { transform: scale(1.05); }
  36%  { transform: scale(1); }
  100% { transform: scale(1); }
}

.nav-cta::before,
.nav-cta::after {
  position: absolute;
  content: "";
  width: 150%;
  left: 50%;
  height: 100%;
  transform: translateX(-50%);
  z-index: -1;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Top bubbles — always active, blue tones */
.nav-cta::before {
  top: -70%;
  background-image: 
    radial-gradient(circle, #3b82f6 20%, transparent 20%),
    radial-gradient(circle, transparent 20%, #60a5fa 20%, transparent 30%),
    radial-gradient(circle, #2563eb 20%, transparent 20%),
    radial-gradient(circle, #3b82f6 20%, transparent 20%),
    radial-gradient(circle, transparent 10%, #93c5fd 15%, transparent 20%),
    radial-gradient(circle, #3b82f6 20%, transparent 20%),
    radial-gradient(circle, #60a5fa 20%, transparent 20%),
    radial-gradient(circle, #2563eb 20%, transparent 20%),
    radial-gradient(circle, #3b82f6 20%, transparent 20%);
  background-size: 
    10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 
    10% 10%, 15% 15%, 10% 10%, 18% 18%;
  background-position: 50% 120%;
  animation: blueTopBubbles 4s ease 0.7s infinite;
}

/* Bottom bubbles — always active, blue tones */
.nav-cta::after {
  bottom: -70%;
  background-image: 
    radial-gradient(circle, #3b82f6 20%, transparent 20%),
    radial-gradient(circle, #60a5fa 20%, transparent 20%),
    radial-gradient(circle, transparent 10%, #2563eb 15%, transparent 20%),
    radial-gradient(circle, #3b82f6 20%, transparent 20%),
    radial-gradient(circle, #93c5fd 20%, transparent 20%),
    radial-gradient(circle, #3b82f6 20%, transparent 20%),
    radial-gradient(circle, #2563eb 20%, transparent 20%);
  background-size: 
    15% 15%, 20% 20%, 18% 18%, 20% 20%, 
    15% 15%, 20% 20%, 18% 18%;
  background-position: 50% 0%;
  animation: blueBottomBubbles 4s ease 0.7s infinite;
}

@keyframes blueTopBubbles {
  0% {
    background-position: 
      5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 
      25% 90%, 40% 90%, 55% 90%, 70% 90%;
  }
  50% {
    background-position: 
      0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 
      22% 50%, 50% 50%, 65% 20%, 90% 30%;
  }
  100% {
    background-position: 
      0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 
      22% 40%, 50% 40%, 65% 10%, 90% 20%;
    background-size: 
      0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 
      0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
}

@keyframes blueBottomBubbles {
  0% {
    background-position: 
      10% -10%, 30% 10%, 55% -10%, 70% -10%, 
      85% -10%, 70% -10%, 70% 0%;
  }
  50% {
    background-position: 
      0% 80%, 20% 80%, 45% 60%, 60% 100%, 
      75% 70%, 95% 60%, 105% 0%;
  }
  100% {
    background-position: 
      0% 90%, 20% 90%, 45% 70%, 60% 110%, 
      75% 80%, 95% 70%, 110% 10%;
    background-size: 
      0% 0%, 0% 0%, 0% 0%, 0% 0%, 
      0% 0%, 0% 0%, 0% 0%;
  }
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.mobile-menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background-color: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
}

/* Animate to X when open */
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   Hero Section — 2026
   ======================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Floating orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

/* Top-right: large soft blue ambient glow */
.hero-orb-1 {
  width: 950px; height: 950px;
  background: radial-gradient(circle, rgba(37,99,235,0.32) 0%, transparent 60%);
  top: -420px; right: -280px;
  filter: blur(140px);
  opacity: 0.9;
  animation: orbDrift1 24s ease-in-out infinite alternate;
}

/* Bottom-left: large soft purple ambient glow */
.hero-orb-2 {
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(124,58,237,0.28) 0%, transparent 60%);
  bottom: -360px; left: -220px;
  filter: blur(120px);
  opacity: 0.85;
  animation: orbDrift2 19s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-55px, 45px) scale(1.08); }
}

@keyframes orbDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(45px, -35px) scale(0.94); }
}

/* Hero cursor spotlight — follows mouse, illuminates background + text */
.hero-cursor-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(59, 130, 246, 0.18) 0%,
    rgba(124, 58, 237, 0.09) 45%,
    transparent 70%);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.6s ease;
  top: 0;
  left: 0;
  will-change: transform;
}

/* Subtle right-side blue accent */
.hero-orb-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
  top: 38%; right: 16%;
  filter: blur(90px);
  opacity: 0.4;
  animation: orbDrift3 28s ease-in-out infinite alternate;
}

/* Subtle left-side purple haze */
.hero-orb-4 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.09) 0%, transparent 70%);
  top: 12%; left: 6%;
  filter: blur(100px);
  opacity: 0.5;
  animation: orbDrift4 22s ease-in-out infinite alternate;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

@keyframes orbDrift3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-38px, -55px) scale(1.14); }
}

@keyframes orbDrift4 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(55px, 30px) scale(0.9); }
}

/* Dot grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 65% 80% at 75% 45%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 65% 80% at 75% 45%, black 0%, transparent 75%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(2.5rem, 4vw, 5rem);
  align-items: center;
  padding-top: 5.5rem;
  padding-bottom: 5rem;
}

.hero-content { max-width: 640px; }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3125rem 0.875rem 0.3125rem 0.4375rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 100px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.01em;
}

.badge-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: rgba(37,99,235,0.25);
  border-radius: 50%;
}

.badge-dot-inner {
  width: 8px; height: 8px;
  background: #60a5fa;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(96,165,250,0.6); }
  50% { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 0 5px rgba(96,165,250,0); }
}

.hero h1 {
  font-size: clamp(2.875rem, 3.8vw, 5.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 32rem;
}

.hero-cta-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

/* ========================================
   Hero Stats Pills — Glassmorphism
   ======================================== */
.hero-stats-pills {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.hero-stat-pill {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex: 1;
  min-width: 130px;
  max-width: 190px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.hero-stat-pill:hover {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.07);
}

.hero-stat-pill-icon {
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.hero-stat-pill-icon svg { width: 15px; height: 15px; }

.hero-stat-pill--flame .hero-stat-pill-icon {
  background: rgba(249,115,22,0.14);
  color: #fb923c;
}

.hero-stat-pill--zap .hero-stat-pill-icon {
  background: rgba(234,179,8,0.14);
  color: #fbbf24;
}

.hero-stat-pill--device .hero-stat-pill-icon {
  background: rgba(37,99,235,0.15);
  color: #60a5fa;
}

.hero-stat-pill-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero-stat-pill-num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.hero-stat-pill-label {
  font-size: 0.68rem;
  color: var(--color-text-dim);
  font-weight: 500;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 14px;
  transition: all var(--transition-base);
  letter-spacing: -0.01em;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 4px 24px rgba(37,99,235,0.45), inset 0 1px 0 rgba(255,255,255,0.12);
  border: 1px solid rgba(96,165,250,0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(37,99,235,0.6), inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-secondary {
  color: var(--color-text);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ========================================
   Hero Visual — Phone Mockup
   ======================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  perspective: 1200px;
  perspective-origin: 50% 45%;
}

/* Spinning conic glow ring */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(37,99,235,0.45) 90deg, rgba(124,58,237,0.3) 180deg, transparent 270deg);
  border-radius: 50%;
  filter: blur(40px);
  animation: spin-glow 14s linear infinite;
  z-index: 0;
}

@keyframes spin-glow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.phone-mockup {
  position: relative;
  z-index: 1;
  width: min(100%, clamp(270px, 33.5vh, 440px));
  height: clamp(560px, 68vh, 900px);
  background: linear-gradient(160deg, #1c1c2e 0%, #0e0e1c 100%);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.04) inset,
    0 28px 80px rgba(0,0,0,0.85),
    0 0 90px rgba(37,99,235,0.28),
    -12px 24px 50px rgba(0,0,0,0.45);
  animation: phoneFloat 6s ease-in-out infinite;
}

/* Specular highlight */
.phone-mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 55%);
  pointer-events: none;
  z-index: 2;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px) rotateY(-12deg) rotateX(1deg); }
  50%       { transform: translateY(-10px) rotateY(-10deg) rotateX(2deg); }
}

.phone-screen {
  width: 100%; height: 100%;
  background: #09090f;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 96px; height: 24px;
  background: #09090f;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.phone-content {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-app-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.phone-app-logo-img {
  width: 18px; height: 18px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.phone-app-logo {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #60a5fa;
  text-transform: uppercase;
}

.phone-app-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border: 2px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-greeting {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.phone-date-line {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-dim);
  text-transform: uppercase;
}

.phone-greeting-name {
  font-size: 11px;
  font-weight: 700;
  color: #ebebf5;
}

.phone-start-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 10px;
  font-size: 9px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(37,99,235,0.55);
}

.phone-stats-row {
  display: flex;
  gap: 8px;
}

.phone-stat-mini {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.07);
}

.phone-stat-mini-label {
  font-size: 7px;
  font-weight: 600;
  color: var(--color-text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.phone-stat-mini-value {
  font-size: 15px;
  font-weight: 800;
  color: #60a5fa;
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
}

.phone-stat-mini-value.streak { color: #10B981; }

.phone-section-title {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-dim);
  text-transform: uppercase;
}

.phone-card {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}

.phone-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-card-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

.phone-card-value {
  font-size: 8px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
}

.phone-bar {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}

.phone-bar-fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
}

.phone-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 14px 14px;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.phone-nav-item {
  width: 18px; height: 18px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  opacity: 0.5;
}

.phone-nav-item.active {
  background: var(--color-accent);
  opacity: 1;
}

.phone-nav-fab {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,99,235,0.65);
  margin-top: -16px;
  border: 3px solid #09090f;
}

/* Unused phone elements from old structure (kept for compatibility) */
.phone-header { display: flex; align-items: center; gap: 8px; }
.phone-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #7c3aed); }
.phone-title { flex: 1; }
.phone-title-line { height: 10px; background: rgba(255,255,255,0.08); border-radius: 4px; margin-bottom: 6px; }
.phone-title-line.short { width: 60%; }

/* ========================================
   Section Common
   ======================================== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 2.8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #60a5fa;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 16px; height: 2px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  position: relative;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  position: relative;
  perspective: 1000px;
  height: 320px;
  cursor: default;
}

.benefit-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card:hover .benefit-card-inner {
  transform: rotateY(180deg);
}

/* Shared face styles */
.benefit-card-front,
.benefit-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Front face */
.benefit-card-front {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  transform: rotateY(0deg);
}

.benefit-card-front::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 220px; height: 220px;
  background: radial-gradient(circle at 0% 0%, rgba(37,99,235,0.14) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.benefit-card:hover .benefit-card-front::before { opacity: 1; }

/* Back face */
.benefit-card-back {
  background: linear-gradient(160deg, rgba(37,99,235,0.15) 0%, rgba(124,58,237,0.1) 100%);
  border: 1px solid rgba(37,99,235,0.25);
  transform: rotateY(180deg);
  justify-content: center;
  gap: 1.25rem;
}

.benefit-back-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.2);
  border-radius: 12px;
  border: 1px solid rgba(37,99,235,0.3);
  flex-shrink: 0;
}

.benefit-back-icon svg { width: 20px; height: 20px; color: #60a5fa; }

.benefit-card-back h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ebebf5;
}

.benefit-back-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  list-style: none;
}

.benefit-back-list li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}

.benefit-back-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #3b82f6;
}

/* Hint label on front */
.benefit-flip-hint {
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-dim);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.benefit-flip-hint::after {
  content: '→';
  font-size: 0.8rem;
}

.benefit-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.1);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37,99,235,0.15);
  position: relative;
  z-index: 1;
}

.benefit-icon svg { width: 24px; height: 24px; color: #60a5fa; }

.benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  letter-spacing: -0.015em;
  position: relative;
  z-index: 1;
}

.benefit-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ========================================
   Features — Bento Grid
   ======================================== */
.features {
  padding: var(--section-padding) 0;
  background: var(--color-surface);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  position: relative;
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  transition: all var(--transition-base);
  overflow: hidden;
}

/* Luminous corner shine on hover */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(37,99,235,0.08) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: inherit;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(37,99,235,0.28);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 24px rgba(37,99,235,0.1);
  transform: translateY(-4px);
}

.feature-card:hover::after { opacity: 1; }

/* Featured — 2 col wide */
.feature-card.featured { grid-column: span 2; }

/* Wide — full 3 cols */
.feature-card.wide {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.feature-card.wide .feature-card-header {
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  min-width: 200px;
  margin-bottom: 0;
}

.feature-card.wide > p {
  flex: 1;
  font-size: 1rem;
  border-left: 1px solid rgba(255,255,255,0.07);
  padding-left: 2.5rem;
  position: relative;
  z-index: 1;
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.1);
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid rgba(37,99,235,0.15);
}

.feature-icon svg { width: 20px; height: 20px; color: #60a5fa; }

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.feature-card.featured h3 { font-size: 1.3rem; }
.feature-card.featured p { font-size: 0.9375rem; }

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  position: relative;
}

/* ---- Step indicator bubbles ---- */
/* ========================================
   How It Works — Redesigned
   ======================================== */
.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  position: relative;
}

/* ---- Scroll-animated progress bar ---- */
.steps-progress-track {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.steps-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #3b82f6 0%, #6366f1 55%, #14b8a6 100%);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Grid with arrow separators ---- */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  color: rgba(255,255,255,0.2);
  align-self: center;
  margin-top: -2rem; /* visually centre between card top/bottom */
}

/* ---- Card base ---- */
.step {
  position: relative;
  padding: 2rem;
  background: rgba(255,255,255,0.028);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  align-self: stretch;
  opacity: 0;
  transform: translateY(40px);
  transition:
    transform 0.55s cubic-bezier(0.22,1,0.36,1),
    opacity 0.55s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Stagger delay via CSS custom property */
.step.visible { opacity: 1; transform: translateY(0); }
.step[style*="--stagger:0"].visible { transition-delay: 0s;    }
.step[style*="--stagger:1"].visible { transition-delay: 0.15s; }
.step[style*="--stagger:2"].visible { transition-delay: 0.30s; }

/* Top accent bar */
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 24px 24px 0 0;
  display: block !important;
}
.step::after { display: none !important; }

.step--blue::before   { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.step--indigo::before { background: linear-gradient(90deg, #4f46e5, #818cf8); }
.step--teal::before   { background: linear-gradient(90deg, #0d9488, #2dd4bf); }

/* Hover */
.step--blue:hover   { transform: translateY(-6px); border-color: rgba(59,130,246,0.3);  box-shadow: 0 20px 56px rgba(0,0,0,0.5), 0 0 32px rgba(59,130,246,0.14); }
.step--indigo:hover { transform: translateY(-6px); border-color: rgba(99,102,241,0.3);  box-shadow: 0 20px 56px rgba(0,0,0,0.5), 0 0 32px rgba(99,102,241,0.14); }
.step--teal:hover   { transform: translateY(-6px); border-color: rgba(20,184,166,0.3);  box-shadow: 0 20px 56px rgba(0,0,0,0.5), 0 0 32px rgba(20,184,166,0.12); }

/* ---- Card header row: Step pill + phase badge ---- */
.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.step-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  background: rgba(59,130,246,0.12);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.25);
}
.step-pill--indigo {
  background: rgba(99,102,241,0.12);
  color: #818cf8;
  border-color: rgba(99,102,241,0.25);
}
.step-pill--teal {
  background: rgba(20,184,166,0.12);
  color: #2dd4bf;
  border-color: rgba(20,184,166,0.25);
}

.step-badge {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.6);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 99px;
  padding: 0.3rem 0.625rem;
  white-space: nowrap;
}

/* ---- Icon ---- */
.step-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1.5rem;
}

.step-icon-wrap--blue   { background: rgba(59,130,246,0.10);  color: #60a5fa; }
.step-icon-wrap--indigo { background: rgba(99,102,241,0.10);  color: #818cf8; }
.step-icon-wrap--teal   { background: rgba(20,184,166,0.10);  color: #2dd4bf; }

/* ---- Title ---- */
.step h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
}

/* ---- Description ---- */
.step p {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ---- Benefits list ---- */
.step-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 2.0;
}

.step-check {
  flex-shrink: 0;
  margin-top: 0.35em;
}

.step-check--blue   { color: #60a5fa; }
.step-check--indigo { color: #818cf8; }
.step-check--teal   { color: #2dd4bf; }

/* ---- Responsive ---- */
@media (max-width: 1023px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .step-arrow { display: none; }
  .step { align-self: auto; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  /* Hide second arrow on tablet 2-col layout */
  .step-arrow:last-of-type { display: none; }
}

/* ========================================
   Download — Powerful CTA
   ======================================== */
.download {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--color-surface);
}

.download::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 60%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.download::after {
  content: '';
  position: absolute;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(124,58,237,0.13) 0%, transparent 65%);
  top: 20%; left: 65%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.download .container {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.download h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  line-height: 1.08;
}

.download > .container > p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.store-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  transition: all var(--transition-base);
  backdrop-filter: blur(12px);
}

.store-badge:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.store-badge svg { width: 32px; height: 32px; color: var(--color-text); }
.store-badge span { text-align: left; }

.store-badge .store-label {
  display: block;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.store-badge .store-name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
}

.notify-form {
  display: flex;
  gap: 0.625rem;
  justify-content: center;
  max-width: 460px;
  margin: 0 auto;
}

.notify-form input {
  flex: 1;
  padding: 0.875rem 1.125rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.notify-form input::placeholder { color: var(--color-text-dim); }

.notify-form input:focus {
  border-color: rgba(37,99,235,0.6);
  background: rgba(255,255,255,0.07);
}

.notify-form button {
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 12px;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(37,99,235,0.45);
  border: 1px solid rgba(96,165,250,0.2);
}

.notify-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.6);
}

/* ========================================
   Support
   ======================================== */
.support {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.support-card {
  padding: 2.5rem 2rem;
  text-align: center;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.support-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 28px rgba(37,99,235,0.08);
}

.support-icon {
  width: 54px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.1);
  border-radius: 16px;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(37,99,235,0.15);
}

.support-icon svg { width: 26px; height: 26px; color: #60a5fa; }

.support-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.support-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.support-card a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #60a5fa;
  transition: color var(--transition-fast);
}

.support-card a:hover { color: #93c5fd; }

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 72px 0 40px;
  background: var(--color-surface);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .logo { margin-bottom: 1rem; display: inline-block; }

.footer-brand p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer-links h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-dim);
  margin-bottom: 1.25rem;
}

.footer-links ul { display: flex; flex-direction: column; gap: 0.875rem; }

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--color-text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p { font-size: 0.8rem; color: var(--color-text-dim); }

.footer-social { display: flex; gap: 0.625rem; }

.footer-social a {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  color: var(--color-text);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
}

.footer-social svg { width: 16px; height: 16px; }

/* ========================================
   Legal Pages
   ======================================== */

/* — Page header — */
.legal-header { padding: 140px 0 60px; background: #0a0a0f; text-align: center; }
.legal-header-inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.legal-eyebrow {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #3b82f6;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: var(--font-sans);
}
.legal-title {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.1;
  font-family: var(--font-heading);
}
.legal-subtitle { font-size: 16px; color: rgba(255,255,255,0.4); margin: 0; font-family: var(--font-sans); }
.legal-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.08); margin-top: 60px; }

/* — Content body — */
.legal-body { max-width: 720px; margin: 0 auto; padding: 60px 24px 120px; }
.legal-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-top: 48px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}
.legal-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-top: 32px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}
.legal-body p, .legal-body li {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.legal-body ul, .legal-body ol { padding-left: 24px; margin-bottom: 16px; }
.legal-body ul { list-style-type: disc; }
.legal-body ol { list-style-type: decimal; }
.legal-body a { color: #60a5fa; text-decoration: none; border-bottom: 1px solid rgba(96,165,250,0.3); transition: border-bottom-color 0.2s ease; }
.legal-body a:hover { border-bottom-color: #60a5fa; }

/* — Highlight cards — */
.legal-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.legal-card p:last-child, .legal-card li:last-child { margin-bottom: 0; }

/* — Legal footer — */
.legal-footer { background: #050508; padding: 48px 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.legal-footer-inner { max-width: 720px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.legal-footer-brand { display: flex; flex-direction: column; gap: 8px; }
.legal-footer-brand .logo { font-size: 1rem; padding: 2px 6px; }
.legal-footer-brand .logo-img { width: 24px; height: 24px; animation: none; }
.legal-footer-copy { font-size: 14px; color: rgba(255,255,255,0.3); }
.legal-footer-links { display: flex; gap: 24px; }
.legal-footer-links a { font-size: 14px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s ease; }
.legal-footer-links a:hover { color: #fff; }

/* — Mobile responsive — */
@media (max-width: 768px) {
  .legal-header { padding: 120px 0 40px; }
  .legal-title { font-size: 36px; }
  .legal-footer-inner { flex-direction: column; align-items: center; gap: 24px; text-align: center; }
  .legal-footer-links { justify-content: center; }
}

/* ========================================
   404 Page
   ======================================== */
.page-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.page-404 h1 { font-size: 6rem; font-weight: 800; color: var(--color-accent); line-height: 1; margin-bottom: 1rem; }
.page-404 h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.page-404 p { color: var(--color-text-muted); margin-bottom: 2rem; }

/* ========================================
   Mobile Navigation
   ======================================== */
@keyframes mobileNavLinkIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 88vw);
  z-index: 899;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(147,197,253,0.1);
  border-radius: 24px;
  padding: 12px;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.mobile-nav.active { display: flex; }

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease;
  opacity: 0;
}

.mobile-nav.active a {
  animation: mobileNavLinkIn 0.3s ease both;
}

.mobile-nav.active a:nth-child(1) { animation-delay: 0.04s; }
.mobile-nav.active a:nth-child(2) { animation-delay: 0.08s; }
.mobile-nav.active a:nth-child(3) { animation-delay: 0.12s; }
.mobile-nav.active a:nth-child(4) { animation-delay: 0.16s; }
.mobile-nav.active a:nth-child(5) { animation-delay: 0.20s; }

.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover { color: #fff; background: rgba(59,130,246,0.08); }
.mobile-nav .nav-cta { margin-top: 0.75rem; justify-content: center; border-bottom: none; }

/* ========================================
   Scroll Animations
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Scroll Expansion Hero
   ======================================== */

/* Pause phone float until expansion is done */
.hero .phone-mockup {
  animation-play-state: paused;
  will-change: transform;
}
.hero--expanded .phone-mockup {
  animation-play-state: running;
}

/* On desktop: hero-content starts hidden (JS drives it) */
@media (min-width: 1024px) {
  .hero-content {
    will-change: opacity, transform;
  }
}

/* Intro split title — centered overlay that slides apart */
.hero-intro-title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 6;
  pointer-events: none;
  gap: 0.15rem;
  padding-bottom: 80px;
  /* luminosity blend: text stays bright but takes hue from what's behind it */
  mix-blend-mode: luminosity;
}

.hero-intro-line {
  display: block;
  font-size: clamp(2.8rem, 6vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-family: var(--font-heading);
  /* Near-white with cool tint — luminosity blend samples hue from phone content */
  color: #dce8ff;
  white-space: nowrap;
  will-change: transform, opacity;
  user-select: none;
}

.hero-intro-line em {
  font-style: normal;
}

/* Scroll hint at bottom of hero */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  will-change: opacity;
  white-space: nowrap;
}

.hero-hint-icon {
  width: 30px;
  height: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hintPulse 2.2s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(5px); opacity: 0.35; }
}

/* ========================================
   Mobile Hero Entrance Animations
   ======================================== */
@keyframes heroItemIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 1023px) {
  .hero-content > .hero-content-item:nth-child(1) { animation: heroItemIn 0.6s cubic-bezier(0.16,1,0.3,1) 0.15s both; }
  .hero-content > .hero-content-item:nth-child(2) { animation: heroItemIn 0.6s cubic-bezier(0.16,1,0.3,1) 0.24s both; }
  .hero-content > .hero-content-item:nth-child(3) { animation: heroItemIn 0.6s cubic-bezier(0.16,1,0.3,1) 0.32s both; }
  .hero-content > .hero-content-item:nth-child(4) { animation: heroItemIn 0.6s cubic-bezier(0.16,1,0.3,1) 0.40s both; }
  .hero-content > .hero-content-item:nth-child(5) { animation: heroItemIn 0.6s cubic-bezier(0.16,1,0.3,1) 0.48s both; }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero { min-height: auto; padding: 104px 0 64px; }

  /* Disable scroll expansion on tablets/mobile */
  .hero-intro-title { display: none !important; }
  .hero-scroll-hint { display: none !important; }
  .hero-content { opacity: 1 !important; transform: none !important; }
  .hero .phone-mockup {
    transform: none !important;
    animation-play-state: running !important;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-content { max-width: 680px; margin: 0 auto; order: 1; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-stats-pills { justify-content: center; }
  .hero-stat-pill { max-width: none; }
  .hero-visual { order: 2; }
  .phone-mockup { width: min(100%, 300px); height: 610px; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.featured { grid-column: span 2; }
  .feature-card.wide { grid-column: span 2; flex-direction: column; }
  .feature-card.wide > p { border-left: none; border-top: 1px solid rgba(255,255,255,0.07); padding-left: 0; padding-top: 1.5rem; }
  .feature-card.wide .feature-card-header { flex-direction: row; align-items: center; min-width: unset; }

  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before, .steps::after { display: block; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
    --container-padding: 20px;
  }

  /* Remove aurora — prevents left-side glow bleed on mobile */
  .navbar::before { display: none; }
  .nav-island { height: 54px; }

  .hero { min-height: auto; padding: 88px 0 48px; }
  #heroCanvas { display: none; }
  .hero .container { gap: 2.5rem; }
  .hero-visual::before { display: none; } /* hide spinning glow ring — prevents overflow on mobile */
  .hero .phone-mockup {
    animation: none !important;
    transform: none !important;
  }
  .hero-content > .hero-content-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }

  .section-header { margin-bottom: 3rem; }

  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { height: 340px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 1.5rem; }
  .feature-card.featured,
  .feature-card.wide { grid-column: span 1; flex-direction: column; }
  .feature-card.wide > p { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1rem; }
  .feature-card.wide .feature-card-header { flex-direction: row; align-items: center; min-width: unset; margin-bottom: 0.75rem; }

  .steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps::before, .steps::after { display: none; }
  .step { padding: 1.75rem 1.5rem; }

  .support-grid { grid-template-columns: 1fr; }
  .support-card { padding: 2rem 1.5rem; }

  .footer { padding: 56px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .notify-form { flex-direction: column; }
  .notify-form input, .notify-form button { width: 100%; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .store-badges { flex-direction: column; align-items: center; }
  .store-badge { width: 100%; max-width: 280px; justify-content: center; }

  .hero-stats-pills { gap: 0.5rem; }
  .hero-stat-pill { flex: 1 1 calc(50% - 0.25rem); min-width: 0; }

  .phone-mockup { width: min(100%, 270px); height: 548px; }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 64px;
    --container-padding: 16px;
  }

  .nav-island { height: 50px; }
  .logo { font-size: 1.35rem; }
  .logo-img { height: 26px; width: 26px; }

  .hero { min-height: auto; padding: 82px 0 44px; }
  .hero .container { gap: 1.75rem; }
  .hero h1 { font-size: clamp(2rem, 9.5vw, 2.75rem); }
  .hero p { font-size: 0.9375rem; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; }

  .hero-stats-pills { flex-direction: column; }
  .hero-stat-pill { flex: none; max-width: 100%; }

  .section-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: clamp(1.75rem, 8vw, 2.25rem); }

  .benefit-card { height: 360px; }
  .feature-card { padding: 1.25rem; }
  .step { padding: 1.5rem 1.25rem; }
  .support-card { padding: 1.75rem 1.25rem; }

  .phone-mockup { width: min(100%, 240px); height: 480px; }
}

/* ========================================
   Hero — Centered layout override
   ======================================== */
@media (min-width: 1025px) {
  .hero-content { text-align: left; }
}

/* ========================================
   Large Screen (≥1440px) — 24-inch / 1080p+
   ======================================== */
@media (min-width: 1440px) {
  :root {
    --section-padding: 160px;
    --container-padding: 48px;
  }

  .hero-content { max-width: 720px; }

  .hero .container {
    gap: clamp(3rem, 5vw, 7rem);
    padding-top: 7rem;
    padding-bottom: 6rem;
  }

  .benefits-grid { gap: 2.5rem; }
  .features-grid { gap: 2rem; }
  .steps { gap: 0; }

  .benefit-card { height: 300px; }
  .feature-card { padding: 2.5rem; }
  .step { padding: 2.5rem; }

  .section-header { max-width: 820px; margin-bottom: 5.5rem; }

  .screenshot-phone--center .phone-mockup--small {
    width: 270px;
    height: 550px;
  }
  .phone-mockup--small {
    width: 236px;
    height: 480px;
  }
}

/* ========================================
   Full HD (≥1920px) — 1080p external monitors
   ======================================== */
@media (min-width: 1920px) {
  :root {
    --section-padding: 180px;
    --container-padding: 64px;
    --container-max: 1720px;
  }

  .hero-content { max-width: 820px; }

  .hero .container {
    gap: clamp(3rem, 5vw, 9rem);
    padding-top: 7rem;
    padding-bottom: 6rem;
  }

  .section-header { max-width: 920px; margin-bottom: 6rem; }

  .screenshot-phone--center .phone-mockup--small {
    width: 300px;
    height: 610px;
  }
  .phone-mockup--small {
    width: 260px;
    height: 528px;
  }
}

/* ========================================
   Sticky CTA
   ======================================== */
.sticky-cta {
  position: fixed;
  z-index: 900;
  pointer-events: none;
  /* Desktop: bottom-right pill */
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.sticky-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.375rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow:
    0 4px 20px rgba(37,99,235,0.45),
    0 1px 4px rgba(0,0,0,0.35);
  pointer-events: auto;
  /* Start hidden — slide up on show */
  transform: translateY(calc(100% + 2.5rem));
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.32s ease,
              background 0.18s ease,
              box-shadow 0.18s ease;
  will-change: transform, opacity;
}

.sticky-cta-pill:hover {
  background: #1d4ed8;
  box-shadow:
    0 6px 28px rgba(37,99,235,0.6),
    0 1px 4px rgba(0,0,0,0.4);
}

.sticky-cta-mobile { display: none; }
.sticky-cta-desktop { display: inline; }

/* Visible state */
.sticky-cta.sticky-cta--visible .sticky-cta-pill {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile: full-width bottom bar */
@media (max-width: 767px) {
  .sticky-cta {
    bottom: 0;
    right: 0;
    left: 0;
    justify-content: stretch;
    padding: 0 0 env(safe-area-inset-bottom);
    background: rgba(9,9,15,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.07);
    transform: translateY(110%);
    opacity: 1;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .sticky-cta.sticky-cta--visible {
    transform: translateY(0);
  }

  /* On mobile the pill fills the bar */
  .sticky-cta-pill {
    width: 100%;
    justify-content: center;
    border-radius: 0;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    transform: none;
    opacity: 1;
    box-shadow: none;
    transition: background 0.18s ease;
  }

  .sticky-cta.sticky-cta--visible .sticky-cta-pill {
    transform: none;
    opacity: 1;
  }

  .sticky-cta-desktop { display: none; }
  .sticky-cta-mobile  { display: inline; }
}

/* ========================================
   Screenshot Image (hero + showcase)
   ======================================== */
.phone-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: inherit;
}

/* ========================================
   Hero Phone Slideshow
   ======================================== */
.phone-slides {
  position: relative;
  flex: 1;          /* fills phone-screen flex column */
  min-height: 0;    /* flex shrink fix */
  border-radius: inherit;
  overflow: hidden;
}

.phone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.phone-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* ========================================
   Screenshots Showcase Section
   ======================================== */
.screenshots {
  padding: var(--space-section) 0;
  background: var(--color-bg);
}

.screenshots-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
}

.screenshot-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* Smaller, static phone frames for the showcase grid */
.phone-mockup--small {
  width: 200px;
  height: 408px;
  animation: none;
  transform: rotateY(-8deg) rotateX(2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-mockup--small:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-6px);
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.06) inset,
    0 36px 100px rgba(0,0,0,0.9),
    0 0 120px rgba(37,99,235,0.4);
}

/* Center phone is slightly larger and lifted */
.screenshot-phone--center .phone-mockup--small {
  width: 228px;
  height: 464px;
  transform: translateY(-24px) rotateY(-6deg) rotateX(1deg);
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.06) inset,
    0 36px 100px rgba(0,0,0,0.9),
    0 0 120px rgba(37,99,235,0.38),
    -12px 24px 50px rgba(0,0,0,0.45);
}

.screenshot-phone--center .phone-mockup--small:hover {
  transform: translateY(-30px) rotateY(0deg) rotateX(0deg);
}

.screenshot-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-dim);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Mobile: horizontal scroll */
@media (max-width: 700px) {
  .screenshots-row {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 1.5rem 1.5rem;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .screenshot-phone {
    flex-shrink: 0;
    scroll-snap-align: center;
  }

  .phone-mockup--small,
  .screenshot-phone--center .phone-mockup--small {
    width: 170px;
    height: 347px;
    transform: none;
    animation: none;
  }

  .phone-mockup--small:hover,
  .screenshot-phone--center .phone-mockup--small:hover {
    transform: none;
  }
}

/* ========================================
   Premium Scroll Entrance Animations
   ======================================== */

/* Reduced-motion override: fade only, no movement */
@media (prefers-reduced-motion: reduce) {
  .s-word, .s-fade-up,
  .s-card-left, .s-card-bottom, .s-card-right,
  .s-tile, .s-icon-pop,
  .s-blur-focus,
  .s-form-left, .s-form-right,
  .s-badge,
  .s-support-card,
  .s-footer {
    transform: none !important;
    filter: none !important;
    opacity: 0;
    transition: opacity 0.3s ease !important;
  }
  .s-clip-wrap { overflow: visible !important; }
  .s-clip-inner { transform: none !important; transition: none !important; }
}

/* ---- Shared word span ---- */
.s-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.s-word.s-triggered {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---- Generic fade-up (label, subtitle) ---- */
.s-fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.s-fade-up.s-triggered {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Benefit Cards — Diagonal Cascade ---- */
.s-card-left,
.s-card-bottom,
.s-card-right {
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.s-card-left   { transform: translateX(-40px) scale(0.96); }
.s-card-bottom { transform: translateY(40px) scale(0.96); }
.s-card-right  { transform: translateX(40px) scale(0.96); }
.s-card-left.s-triggered,
.s-card-bottom.s-triggered,
.s-card-right.s-triggered {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

/* ---- Feature Heading — Clip Reveal ---- */
.s-clip-wrap {
  display: block;
  overflow: hidden;
  line-height: inherit;
}
.s-clip-inner {
  display: block;
  transform: translateY(105%);
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
h2.s-clip-revealed .s-clip-inner {
  transform: translateY(0);
}

/* ---- Feature Tile Flip ---- */
.s-tile {
  opacity: 0;
  transform: rotateX(-15deg) translateY(60px);
  transform-origin: bottom center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.s-tile.s-triggered {
  opacity: 1;
  transform: rotateX(0) translateY(0);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* ---- Feature Icon Micro-pop ---- */
.s-icon-pop svg {
  transform: scale(0);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.s-icon-pop.s-triggered svg {
  transform: scale(1);
}

/* ---- Blur-Focus (Download heading) ---- */
.s-blur-focus {
  opacity: 0;
  filter: blur(12px);
  transform: scale(0.98);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.s-blur-focus.s-triggered {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* ---- Form Slide Assembly ---- */
.s-form-left,
.s-form-right {
  opacity: 0;
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.s-form-left  { transform: translateX(-30px); }
.s-form-right { transform: translateX(30px); }
.s-form-left.s-triggered  { opacity: 1; transform: translateX(0); }
.s-form-right.s-triggered { opacity: 1; transform: translateX(0); }

/* ---- Store Badge Fade ---- */
.s-badge {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.s-badge.s-triggered {
  opacity: 0.5;
  transform: translateY(0);
}

/* ---- Support Card 3D Entrance ---- */
.s-support-card {
  opacity: 0;
  transform: perspective(1000px) rotateY(-8deg) translateX(-20px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.s-support-card.s-triggered {
  opacity: 1;
  transform: perspective(1000px) rotateY(0deg) translateX(0);
}
@media (hover: hover) {
  .s-support-card.s-triggered {
    transition:
      opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.18s ease;
  }
}

/* ---- Footer Rise ---- */
.s-footer {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.s-footer.s-triggered {
  opacity: 1;
  transform: translateY(0);
}
