:root {
  /* Regal Brand Colors from design.md */
  --purple:    #8384FE;
  --mint:      #ABFFAA;
  --black:     #000000;
  --card-dark: #1A1A1A;
  --white:     #FFFFFF;
  --lavender:  #E9EAFF;
  --ink:       #1A1A1A;
  --muted:     #6B6B72;

  /* Kuri functional variables mapped to Regal colors */
  --c-mint: var(--mint);
  --c-mint-glow: rgba(171, 255, 170, 0.45);
  --c-green: var(--purple);
  --c-green-glow: rgba(131, 132, 254, 0.35);
  --c-ink: var(--black);
  --c-text-main: var(--ink);
  --c-text-muted: var(--muted);
  --c-bg: var(--white);
  --c-border: rgba(0, 0, 0, 0.08);
  --c-glass: rgba(255, 255, 255, 0.7);
  
  /* Playful Geometric Design System Tokens */
  --geo-fg: #1E293B;
  --geo-muted-fg: #64748B;
  --geo-bg: #FFFFFF;
  --geo-shadow-base: #E2E8F0;
  --geo-accent: #8B5CF6;
  --geo-secondary: #F472B6;
  --geo-tertiary: #FBBF24;
  
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', 'Archivo Black', 'Inter', system-ui, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
*::-webkit-scrollbar {
  display: none !important;
}

html {
  font-size: 16px;
  /* GSAP Lenis will handle smooth scroll */
}

body {
  font-family: var(--font-main);
  background-color: var(--lavender);
  color: var(--c-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Webkit scrollbar hidden globally */ 

/* Ambient Background & Grain */
.noise-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
  opacity: 0.05;
  background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.4;
  animation: float 20s infinite alternate ease-in-out;
  pointer-events: none;
}
.blob-1 {
  width: 40vw; height: 40vw;
  background: var(--c-mint-glow);
  top: -10vw; left: -10vw;
}
.blob-2 {
  width: 30vw; height: 30vw;
  background: var(--c-green-glow);
  top: 40vh; right: -5vw;
  animation-delay: -5s;
}
.blob-3 {
  width: 50vw; height: 50vw;
  background: rgba(172, 250, 224, 0.2);
  bottom: -20vh; left: 10vw;
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -50px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Particles */
.particle {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-mint);
  z-index: 2;
  opacity: 0.6;
  pointer-events: none;
}
.p1 { top: 20%; left: 15%; animation: floatP 8s infinite alternate; }
.p2 { top: 60%; right: 20%; animation: floatP 12s infinite alternate-reverse; width: 12px; height: 12px; background: var(--c-green); opacity: 0.2; }

@keyframes floatP {
  0% { transform: translateY(0); }
  100% { transform: translateY(-40px); }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 1200px;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  z-index: 120;
  padding: 1rem 1.75rem;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  top: 1rem;
  width: calc(100% - 3rem);
  max-width: 1000px;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--c-border);
  padding: 0.6rem 1.25rem;
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.02),
    0 12px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav-container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: var(--c-ink);
  text-decoration: none;
  cursor: pointer;
  padding-top: 20px; /* Space for the cloche icon above */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 2px;
  width: 28px;
  height: 26px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%238384FE' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'><path d='M50 25 A8 8 0 0 1 50 9 A8 8 0 0 1 50 25'/><path d='M15 70 A35 35 0 0 1 85 70 Z'/><path d='M10 75 Q50 78 90 75'/><path d='M10 70 L90 70' stroke-width='6'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar:not(.scrolled) .logo::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23ABFFAA' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'><path d='M50 25 A8 8 0 0 1 50 9 A8 8 0 0 1 50 25'/><path d='M15 70 A35 35 0 0 1 85 70 Z'/><path d='M10 75 Q50 78 90 75'/><path d='M10 70 L90 70' stroke-width='6'/></svg>");
}

.navbar:not(.scrolled) .logo {
  color: #ffffff;
}

.navbar.scrolled .logo {
  font-size: 1.15rem;
  padding-top: 18px;
}
.navbar.scrolled .logo::before {
  top: -2px;
  width: 24px;
  height: 22px;
}

.logo-mark {
  display: none !important;
}

.btn-primary {
  position: relative;
  background-color: var(--c-ink);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.navbar:not(.scrolled) .btn-primary {
  background-color: var(--white);
  color: var(--black);
}

.navbar.scrolled .btn-primary {
  padding: 0.55rem 1.25rem;
  font-size: 0.825rem;
}
.btn-primary span { position: relative; z-index: 2; }
.btn-primary .btn-glow {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  z-index: 1;
  transition: transform 0.4s ease;
}
.btn-primary:hover .btn-glow {
  transform: translate(-50%, -50%) scale(2);
}

/* GSAP Utilities */
.split-text { clip-path: polygon(0 0, 100% 0, 100% 120%, 0% 120%); padding-bottom: 0.3em; }
.char { transform: translateY(110%); }

/* Hero Section */
.hero {
  margin: 0 !important;
  border-radius: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  padding: 160px 2rem 80px;
  background-color: var(--c-green);
  color: #ffffff;
  overflow: clip;
  margin: 0;
  z-index: 10;
  min-height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3d-grid {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%) perspective(800px) rotateX(60deg) scale(1.6);
  transform-origin: top center;
  width: 200%;
  height: 140%;
  background-image: 
    linear-gradient(to right, rgba(172, 250, 224, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(172, 250, 224, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 75%, transparent 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.display-heavy {
  font-size: clamp(2rem, 6vw, 4.5rem) !important;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: -2px;
  color: #ffffff !important;
  margin-bottom: 2rem;
  text-align: left;
}

.strike-through {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  font-weight: 500;
  margin-right: 0.25rem;
}

.highlight-accent {
  position: relative;
  color: var(--c-mint) !important;
  display: inline-block;
}

.doodle-underline {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 12px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85); 
  max-width: 520px;
  margin: 0 0 3.5rem 0;
  line-height: 1.7;
  text-align: left;
}

.hero-sparkle-container {
  position: absolute;
  top: -45px;
  left: -20px;
  animation: spin-slow 20s infinite linear;
  pointer-events: none;
}
.doodle-sparkle {
  width: 100%;
  height: 100%;
}
.hero-sparkle-container .doodle-sparkle {
  width: 36px;
  height: 36px;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Background Rotating Sparkles */
.hero-bg-sparkle {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  opacity: 0.18;
}
.hero-bg-sparkle.sp1 { top: 15%; left: 8%; width: 36px; height: 36px; animation: spin-slow 24s infinite linear; }
.hero-bg-sparkle.sp2 { top: 25%; right: 12%; width: 28px; height: 28px; animation: spin-slow 30s infinite linear reverse; }
.hero-bg-sparkle.sp3 { bottom: 12%; left: 15%; width: 24px; height: 24px; animation: spin-slow 18s infinite linear; }
.hero-bg-sparkle.sp4 { top: 55%; right: 8%; width: 44px; height: 44px; animation: spin-slow 40s infinite linear reverse; }

/* Foreground Rotating Sparkles (Bright) */
.hero-bright-sparkle {
  position: absolute;
  pointer-events: none;
  z-index: 15;
  opacity: 0.85;
}
.hero-bright-sparkle.bsp1 { top: 12%; right: 25%; width: 30px; height: 30px; animation: spin-slow 14s infinite linear; }
.hero-bright-sparkle.bsp2 { bottom: 25%; right: 15%; width: 26px; height: 26px; animation: spin-slow 20s infinite linear reverse; }
.hero-bright-sparkle.bsp3 { bottom: 35%; left: 10%; width: 24px; height: 24px; animation: spin-slow 12s infinite linear; }

.hero-arrow-container {
  position: absolute;
  bottom: -30px;
  right: -152px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: rotate(5deg);
  pointer-events: none;
  z-index: 15;
}
@media (max-width: 900px) {
  .hero-arrow-container {
    display: none;
  }
}
.doodle-arrow {
  width: 60px;
  height: auto;
  transform: scaleX(-1) rotate(15deg);
}
.doodle-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--c-mint);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  width: 100%;
}

.mockup-wrapper {
  position: relative;
  width: 350px;
  margin: 0 auto;
}

.tilted-visual {
  position: relative;
  transform: rotate(3deg) translateY(0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}
.tilted-visual:hover {
  transform: rotate(1deg) scale(1.02);
}
.mockup-bg-glow {
  position: absolute;
  top: 10%; left: 30%; width: 80%; height: 80%;
  background-color: var(--c-mint-glow);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
.mockup-offset-frame {
  position: absolute;
  top: 4px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 3px dashed var(--c-mint);
  border-radius: 68px;
  z-index: 0;
  pointer-events: none;
}
.doodle-cloche {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
  width: 80px;
  height: auto;
  z-index: 25;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
  animation: float-cloche 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float-cloche {
  0%, 100% { transform: translateX(-50%) rotate(-5deg) translateY(0px); }
  50% { transform: translateX(-50%) rotate(-5deg) translateY(-10px); }
}

.download-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--c-ink);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.store-btn .btn-border {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s;
}

.store-btn:hover .btn-border {
  border-color: rgba(255,255,255,0.3);
}

.store-btn svg { width: 28px; height: 28px; z-index: 2; position: relative; }
.btn-text { display: flex; flex-direction: column; z-index: 2; position: relative; }
.btn-text span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1; margin-bottom: 2px; opacity: 0.8; }
.btn-text strong { font-size: 1.1rem; font-weight: 600; line-height: 1; }

.hero-visual {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-mockup-image {
  width: 400px;
  aspect-ratio: 1200 / 1920;
  height: auto;
  display: block;
  z-index: 2;
  position: relative;
  border-radius: 64px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 15px 35px rgba(0, 0, 0, 0.15);

  will-change: transform;
  backface-visibility: hidden;
}

.divider-wrapper {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}
.divider-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--c-border) 20%, var(--c-border) 80%, transparent);
}

.features {
  position: relative;
  padding: 120px 2rem 140px;
  z-index: 10;
}


.features .section-title {
  white-space: nowrap; 
  display: inline-block;
  max-width: 100%;
}
@media (max-width: 768px) {
  .features .section-title {
    white-space: normal; /* Force wrap on small mobile to avoid text overflow */
    font-size: 3rem;   /* Smaller font size for mobile to help it stay compact */
  }
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

/* ==========================================================================
   PLAYFUL GEOMETRIC CARDS ("Sticker" Style)
   ========================================================================== */
.geometric-card {
  position: relative;
  background: var(--geo-bg);
  padding: 3.5rem 2.5rem 2.5rem; 
  border-radius: 16px; 
  border: 2px solid var(--geo-fg);
  box-shadow: 8px 8px 0px 0px var(--geo-shadow-base);
  
  /* THE FIX: Target specific properties instead of 'all' so it doesn't fight GSAP */
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
              
  overflow: visible; 
  text-align: left;
}

.geometric-card h3 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  color: var(--geo-fg);
  margin-bottom: 1rem;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}

.geometric-card p {
  font-family: 'Plus Jakarta Sans', var(--font-main);
  font-weight: 500;
  color: var(--geo-muted-fg);
  line-height: 1.6;
}

/* Geometric Card Hover States */
.geometric-card:hover {
  transform: rotate(-1deg) scale(1.02) translate(-4px, -4px);
}

/* Alternating Colored Shadows */
.features-container .geometric-card:nth-child(1):hover,
.badges-grid .geometric-card:nth-child(1):hover { 
  box-shadow: 12px 12px 0px 0px var(--geo-accent); 
}
.features-container .geometric-card:nth-child(2):hover,
.badges-grid .geometric-card:nth-child(2):hover { 
  box-shadow: 12px 12px 0px 0px var(--geo-secondary); 
}
.features-container .geometric-card:nth-child(3):hover,
.badges-grid .geometric-card:nth-child(3):hover { 
  box-shadow: 12px 12px 0px 0px var(--geo-tertiary); 
}

/* Floating Geometric Icon */
.geo-icon {
  position: absolute;
  top: -30px; 
  left: 2.5rem;
  width: 60px;
  height: 60px;
  background: var(--geo-bg);
  border: 2px solid var(--geo-fg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--geo-fg);
  box-shadow: 4px 4px 0px 0px var(--geo-fg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.geometric-card:hover .geo-icon {
  transform: rotate(8deg) scale(1.1);
}

/* Badge specific overrides inside Geometric Card */
.badges-grid .geometric-card {
  text-align: center;
}
.badges-grid .geo-icon {
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
}
.badges-grid .geometric-card:hover .geo-icon {
  transform: translateX(-50%) rotate(8deg) scale(1.1);
}
.badge-card.geometric-card .role { 
  font-size: .8rem; font-weight: 700; text-transform: uppercase; 
  letter-spacing: .08em; color: var(--geo-accent); margin-bottom: .9rem; 
}
.badge-card.geometric-card .tiers { 
  margin-top: 1.25rem; font-size: .8rem; color: var(--geo-muted-fg); font-weight: 600; 
}
.badge-card.geometric-card .tiers b { color: var(--geo-fg); }

/* ==========================================================================
   REVIEW STAT BANNER — vs Google Reviews section
   ========================================================================== */
.review-stat-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto 2rem;
  padding: 2rem 2.5rem;
  background: var(--geo-bg);
  border: 2px solid var(--geo-fg);
  border-radius: 20px;
  box-shadow: 6px 6px 0px 0px var(--geo-shadow-base);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.stat-num {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--geo-fg);
  letter-spacing: -2px;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--geo-muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: 120px;
  line-height: 1.3;
}

.stat-divider {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--geo-muted-fg);
  opacity: 0.4;
  line-height: 1;
}

/* ==========================================================================
   KURI FIX BANNER — solution callout below problem cards
   ========================================================================== */
.kuri-fix-banner {
  max-width: 1200px;
  margin: 2rem auto 0;
}

.kuri-fix-inner {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 2rem 2.5rem;
  background: var(--geo-fg);
  border-radius: 20px;
  border: 2px solid var(--geo-fg);
  box-shadow: 6px 6px 0px 0px var(--geo-accent);
}

.kuri-fix-label {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mint);
}

.kuri-fix-text {
  font-family: 'Plus Jakarta Sans', var(--font-main);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  max-width: 820px;
}

.kuri-fix-text em {
  font-style: italic;
  color: var(--mint);
  font-weight: 600;
}

@media (max-width: 600px) {
  .review-stat-banner {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .stat-divider { display: none; }
  .kuri-fix-inner { padding: 1.5rem; }
}


/* Footer */
.footer {
  position: relative;
  background: #ffffff;
  border-top: 1px solid var(--c-border);
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
  padding: 5rem 2rem 4rem;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
}

.copyright { color: var(--c-text-muted); font-size: 0.85rem; margin-top: 1.5rem; }

.footer-links { display: flex; gap: 2.5rem; }
.footer-links a {
  position: relative;
  color: var(--c-text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--c-ink); }

.hover-underline::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px;
  background: var(--c-ink); transform: scaleX(0); transform-origin: right; transition: transform 0.4s ease;
}
.hover-underline:hover::after {
  transform: scaleX(1); transform-origin: left;
}


/* Reveal-on-scroll base state */
.reveal { 
  opacity: 0; 
  transform: translateY(40px); 
  will-change: transform, opacity;
}
.reveal.is-in { 
  opacity: 1; 
  transform: none; 
  transition: opacity .9s ease, transform .9s cubic-bezier(.16,1,.3,1); 
}

/* Shared section heading */
.section-head { max-width: 720px; margin: 0 auto 2rem; text-align: center; position: relative; z-index: 10; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-green); background: var(--c-mint);
  padding: .45rem 1rem; border-radius: 50px; margin-bottom: 1.25rem;
  box-shadow: 0 6px 18px var(--c-mint-glow);
}
.section-title {
  font-size: clamp(1.8rem, 5vw, 3.4rem); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.08; color: var(--c-ink);
}
.section-title .accent { color: var(--c-green); }
.section-sub { color: var(--c-text-muted); font-size: 1.3 em; margin-top: 1.1rem; line-height: 1.6; }

/* ── Area / cuisine marquee ── */
.marquee {
  position: relative; z-index: 10;
  margin-top: 40px;
  background: var(--purple);
  border-top: none;
  border-bottom: none;
  padding: 1.1rem 0;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content; animation: scrollX 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 2.5rem;
  color: var(--c-mint);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.marquee-item .star {
  color: rgba(171,255,170,0.4);
  font-size: 0.5rem;
  vertical-align: middle;
}
@keyframes scrollX { to { transform: translateX(calc(-50% - 1.25rem)); } }


/* ── Three-axis scoring showcase (Image Accurate) ── */
:root {
  /* Exact colors extracted from your design */
  --score-dark: #0A5C43;  /* The deep green */
  --score-mint: #B7F5D3;  /* The soft mint highlight */
  --score-text: #111827;  /* Dark text */
  --score-muted: #6B7280; /* Grey text */
}

.scoring {
  position: relative;
  z-index: 10;
  width: calc(100% - 2rem);
  max-width: 1200px;
  margin: 0.5rem auto; 
  padding: 80px 2rem;
  background-color: transparent; /* Forces light background */
  border: none;
}

.scoring-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 2-column layout */
  gap: 6rem; 
  align-items: center;
}

/* Left Side - Copy */
.scoring-copy { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-start; /* Left aligned on desktop */
  text-align: left; 
}
.scoring-copy .eyebrow { 
  background: var(--score-mint); 
  color: var(--score-dark); 
  box-shadow: none;
  margin-bottom: 1.5rem; 
}
.scoring-copy h2 { 
  font-size: clamp(2.2rem, 3.8vw, 3.2rem); 
  font-weight: 800; 
  letter-spacing: -1.5px; 
  line-height: 1.1; 
  color: var(--score-text); 
  white-space: normal;
}
.scoring-copy h2 .accent { 
  color: var(--score-dark); 
}
.scoring-copy p { 
  color: var(--score-muted); 
  font-size: 1.1rem; 
  margin: 1.25rem 0 0 0; 
  line-height: 1.6; 
  max-width: 460px; 
  text-align: left; 
}

/* List Formatting */
.scoring-points { 
  list-style: none; 
  margin-top: 2rem; 
  display: flex; 
  flex-direction: column; 
  gap: 1.25rem; 
  align-items: flex-start; 
}
.scoring-points li { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  font-size: 1rem; 
  color: var(--score-muted); 
  font-weight: 500;
  text-align: left; 
}
.scoring-points .tick {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--score-mint); color: var(--score-dark);
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800;
}

/* Right Side - The Clean Score Card */
.score-card {
  background: #FFFFFF; 
  border-radius: 24px;
  padding: 3rem; 
  box-shadow: 0 20px 40px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.04);
}

.score-card-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem; }

/* Gauge Settings */
/* Gauge Settings */
.gauge { position: relative; width: 120px; height: 120px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.gauge svg { transform: rotate(-90deg); width: 120px; height: 120px; display: block; position: absolute; top: 0; left: 0; }
.gauge-track { fill: none; stroke: #F3F4F6; stroke-width: 9; }
.gauge-fill {
  fill: none; stroke: var(--score-dark); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.6s cubic-bezier(.16,1,.3,1);
}
.is-in .gauge-fill { stroke-dashoffset: 29.4; } 

/* Centering the numbers perfectly */
.gauge-num { 
  position: relative; 
  z-index: 2; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  /* Optical alignment tweak to perfectly center inside the ring */
  transform: translateY(2px); 
}
.gauge-num strong { font-size: 2.2rem; font-weight: 800; color: var(--score-text); letter-spacing: -1px; line-height: 1; }
.gauge-num small { font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--score-muted); margin-top: 4px; }


/* Meta Data & Badge */
.score-card-head .meta { display: flex; flex-direction: column; gap: 0.35rem;}
.score-card-head .meta strong { font-size: 1.25rem; color: var(--score-text); font-weight: 800; letter-spacing: -0.4px; }
.score-card-head .meta .meta-subtitle { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.score-card-head .meta span { font-size: 0.9rem; color: var(--score-muted); }
.score-card-head .meta .rank {
  font-size: 0.75rem; font-weight: 700; color: var(--score-dark); 
  background: var(--score-mint); padding: 0.3rem 0.7rem; border-radius: 50px;
}

/* Horizontal Bars */
.axis-row { margin-bottom: 1.5rem; }
.axis-row:last-child { margin-bottom: 0; }
.axis-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.75rem; }
.axis-label .name { font-weight: 600; font-size: 0.95rem; color: var(--score-text); }
.axis-label .val { font-weight: 800; font-size: 0.95rem; color: var(--score-text); }
.axis-track { height: 8px; background: #F3F4F6; border-radius: 8px; overflow: hidden; }
.axis-fill { height: 100%; width: 0; border-radius: 8px; transition: width 1.4s cubic-bezier(.16,1,.3,1); }

/* Solid Earth Tone Axis Bar Colors */
.axis-fill.food { background-color: #B85D43; }
.axis-fill.amb  { background-color: #7B8B6F; }
.axis-fill.pres { background-color: #D1A153; }

/* ==========================================================================
   COMPARISON UI — inside score-card
   ========================================================================== */
.comparison-ui {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.comparison-prompt {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--score-muted);
  margin: 0;
}

.vs-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vs-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 2px solid #E5E7EB;
  background: #F9FAFB;
  color: var(--score-text);
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: default;
  transition: all 0.2s ease;
  text-align: center;
  line-height: 1.3;
}

.vs-btn--winner {
  background: var(--score-mint);
  border-color: var(--score-dark);
  color: var(--score-dark);
  box-shadow: 3px 3px 0px 0px var(--score-dark);
  transform: translateY(-2px);
}

.vs-label {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--score-muted);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.rank-result {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--score-text);
  font-weight: 500;
}

.rank-result strong { font-weight: 800; }

.rank-tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--score-mint);
  color: var(--score-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.rank-context {
  font-size: 0.8rem;
  color: var(--score-muted);
  margin: 0;
  padding-left: 2rem;
}


/* ==========================================================================
   LEADERBOARD — two-card grid
   ========================================================================== */
.levelup-title {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .levelup-title { white-space: normal; font-size: 2.6rem !important; }
}

.leaderboards-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 760px) {
  .leaderboards-grid { grid-template-columns: 1fr; }
}

.leaderboard-card {
  background: #fff;
  border-radius: 24px;
  border: 2px solid var(--geo-fg);
  box-shadow: 8px 8px 0px 0px var(--geo-fg);
  overflow: hidden;
}

.lb-tabs {
  display: flex;
  border-bottom: 2px solid var(--geo-fg);
}

.lb-tab {
  flex: 1;
  padding: 0.85rem 1rem;
  border: none;
  background: transparent;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--geo-muted-fg);
  cursor: default;
  transition: background 0.2s;
}

.lb-tab--active {
  background: var(--geo-fg);
  color: #fff;
}

.lb-list {
  display: flex;
  flex-direction: column;
}

.lb-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #F3F4F6;
  transition: background 0.15s;
}

.lb-row:last-child { border-bottom: none; }

.lb-row--gold   { background: #FFFBEB; }
.lb-row--silver { background: #F8FAFC; }
.lb-row--bronze { background: #FFF8F4; }
.lb-row--faded  { opacity: 0.6; }

.lb-rank {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  border: 2px solid var(--geo-fg);
  background: #fff;
  color: var(--geo-fg);
}

.lb-row--gold   .lb-rank { background: #FBBF24; border-color: #B45309; color: #fff; }
.lb-row--silver .lb-rank { background: #CBD5E1; border-color: #475569; color: #fff; }
.lb-row--bronze .lb-rank { background: #F97316; border-color: #C2410C; color: #fff; }

.lb-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.lb-info strong {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--geo-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-info span {
  font-size: 0.75rem;
  color: var(--geo-muted-fg);
}

.lb-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lb-bar-wrap {
  width: 100px;
  height: 6px;
  background: #F3F4F6;
  border-radius: 6px;
  overflow: hidden;
}

.lb-bar {
  height: 100%;
  background: var(--geo-fg);
  border-radius: 6px;
  transition: width 1.2s cubic-bezier(.16,1,.3,1);
}

.lb-row--gold   .lb-bar { background: #B45309; }
.lb-row--silver .lb-bar { background: #475569; }
.lb-row--bronze .lb-bar { background: #C2410C; }

.lb-score {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--geo-fg);
  letter-spacing: -0.5px;
  min-width: 2.5ch;
  text-align: right;
}

.lb-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  color: #fff;
}

.lb-level {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--geo-fg);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  white-space: nowrap;
}

.lb-badge-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.lb-footer {
  padding: 0.75rem 1.5rem;
  font-size: 0.72rem;
  color: var(--geo-muted-fg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-top: 1px solid #F3F4F6;
  text-align: center;
}

.badges-subhead {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--c-ink);
}

.badges-subhead .accent { color: var(--c-green); }

@media (max-width: 600px) {
  .lb-bar-wrap { width: 60px; }
  .lb-row { padding: 0.85rem 1rem; gap: 0.75rem; }
  .lb-info strong { font-size: 0.85rem; }
}

/* ==========================================================================
   LISTS SECTION
   ========================================================================== */
.lists-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 760px) {
  .lists-grid { grid-template-columns: 1fr; }
}

.list-preview-card {
  background: #fff;
  border-radius: 24px;
  border: 2px solid var(--geo-fg);
  box-shadow: 8px 8px 0px 0px var(--geo-fg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lp-header {
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 2px solid var(--geo-fg);
  background: var(--geo-fg);
}

.lp-eyebrow {
  display: block;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.lp-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.lp-items {
  display: flex;
  flex-direction: column;
}

.lp-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #F3F4F6;
}
.lp-row:last-child { border-bottom: none; }
.lp-row--muted { opacity: 0.55; }

.lp-emoji {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.lp-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.lp-row-info strong {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--geo-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-row-info span {
  font-size: 0.75rem;
  color: var(--geo-muted-fg);
}

.lp-arrow {
  font-size: 0.9rem;
  color: var(--geo-muted-fg);
  flex-shrink: 0;
}

.lp-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  flex-shrink: 0;
}
.lp-pill--green  { background: #DCFCE7; color: #15803D; }
.lp-pill--purple { background: #EDE9FE; color: #6D28D9; }
.lp-pill--pink   { background: #FCE7F3; color: #BE185D; }

.lp-row--add {
  gap: 0.75rem;
  opacity: 0.45;
}
.lp-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px dashed var(--geo-muted-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--geo-muted-fg);
  flex-shrink: 0;
}
.lp-add-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--geo-muted-fg);
}

/* ── Gamification / badges ── */
.levelup {
  position: relative;
  z-index: 10;
  padding: 80px 2rem 90px;
}

.badges-grid {
  max-width: 1120px; 
  margin: 0 auto;
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 1.75rem;
  /* Explicitly stop stretching */
  align-items: start; 
}

@media (max-width: 900px) {
  .badges-grid {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 3.5rem;                /* Add more space to prevent icon overlap */
    max-width: 420px;           
    margin: 0 auto;             
    padding: 0 1rem;     
  }

  .badge-card.geometric-card {
    width: 100%;
    margin: 0 auto;
    /* Force internal elements to center */
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ── Stats band ── */
.stats { position: relative; z-index: 10; padding: 40px 2rem 20px; }
.stats-inner {
  max-width: 1080px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(172,250,224,0.35), rgba(255,255,255,0.5));
  border: 1px solid rgba(255,255,255,0.8); border-radius: var(--radius-lg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.04);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 3rem 2rem;
}
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 56px; width: 1px; background: var(--c-border);
}
.stat-num { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; color: var(--c-green); letter-spacing: -2px; line-height: 1; }
.stat-label { margin-top: .65rem; font-size: .9rem; color: var(--c-text-muted); font-weight: 500; }

/* ==========================================================================
   MANIFESTO / CONCLUSION
   ========================================================================== */
.manifesto-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background: var(--geo-fg);
  border-radius: 28px;
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  overflow: hidden;
}

.manifesto-inner::before {
  content: '';
  position: absolute;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(171,255,170,0.12), transparent 70%);
  top: -50%;
  right: -10%;
  pointer-events: none;
}

.manifesto-inner .eyebrow {
  background: rgba(255,255,255,0.1);
  color: var(--mint);
  box-shadow: none;
  align-self: flex-start;
}

.manifesto-headline {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.08;
  color: #fff;
  position: relative;
  z-index: 1;
}

.manifesto-accent {
  color: var(--mint);
}

.manifesto-body {
  font-family: 'Plus Jakarta Sans', var(--font-main);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.manifesto-body em {
  font-style: italic;
  color: var(--mint);
  font-weight: 600;
}

.manifesto-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}

.m-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.07);
  white-space: nowrap;
}

/* ── Big CTA band ── */
.cta-inner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c-green), rgba(0,0,0,0.35));
  border-radius: 36px; 
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1rem, 5vw, 3rem);
  color: #fff;
  box-shadow: 0 40px 80px rgba(131,132,254,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta-inner::before {
  content: ''; position: absolute; width: 60%; height: 160%;
  background: radial-gradient(circle, var(--c-mint-glow), transparent 70%);
  top: -30%; right: -10%; filter: blur(40px); opacity: .5;
}
.cta-watermark {
  position: absolute; bottom: -3.5rem; left: 50%; transform: translateX(-50%);
  font-size: 16rem; font-weight: 800; letter-spacing: -8px;
  color: rgba(255,255,255,0.04); pointer-events: none; line-height: 1; z-index: 0;
}
.cta-inner > * { position: relative; z-index: 2; }
.cta-inner h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.08; }
.cta-inner h2 .accent { color: var(--c-mint); }
.cta-inner p { color: rgba(255,255,255,0.7); font-size: 1.15rem; margin: 1.2rem auto 2.5rem; max-width: 440px; text-align: center; }


/* ── Regal Gutter & Alternating Card Inset Layout ── */
.features, .levelup, .cta-band, .footer, .manifesto {
  width: calc(100% - 2rem);
  max-width: 1200px;
  margin: 0.5rem auto;
  box-sizing: border-box;
}

/* Fix CTA and Manifesto padding since the parent is now controlling the width */
.cta-band, .manifesto {
  padding: 0 !important;
  margin: 3.5rem auto !important; /* Balanced vertical margin outside the cards */
}
.cta-inner {
  border-radius: 28px; 
}


/* Responsive */
@media (max-width: 900px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-content p { margin: 0 auto 2.2rem; text-align: center; }
  .download-buttons { justify-content: center; }
  .features-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-container { flex-direction: column; align-items: center; text-align: center; }

  /* Hero Mobile fixes */
  .hero {
    padding: 140px 1.5rem 80px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .display-heavy {
    font-size: clamp(2.2rem, 5.5vw, 3.2rem) !important;
    text-align: center;
    line-height: 1.15;
  }
  .mockup-wrapper {
    width: 290px;
  }
  .phone-mockup-image {
    width: 290px;
    border-radius: 46px;

  }
  .mockup-offset-frame {
    border-radius: 46px;
    top: 15px;
    left: 15px;
  }
  .doodle-cloche {
    width: 60px;
    top: -32px;
  }

  /* Scoring Mobile Fixes */
  .scoring-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .scoring-copy { align-items: center; text-align: center; }
.scoring-copy p { text-align: center; margin: 1.25rem auto 0; text-align: justify; margin-bottom: 1rem; }
  
  .scoring-points { 
    align-items: flex-start; /* Aligns the bullets perfectly to the left */
    width: fit-content;      /* Wraps the container tightly to the text */
    margin: 0 auto;          /* Centers the entire block on the mobile screen */
  }
  .scoring-points li { text-align: left; }
  .score-card { padding: 2rem; }
}

@media (max-width: 480px) {
  .hero { padding-top: 120px; }
  .hero-content h1 { font-size: 2.8rem; }
  .footer-links { flex-direction: column; gap: 1rem; }

  /* Mobile Typography Safety Net */
  .section-title, 
  .scoring-copy h2, 
  .cta-inner h2 {
    font-size: clamp(1.8rem, 8vw, 2.2rem) !important;
    line-height: 1.15;
  }
  .cta-inner, .manifesto-inner {
    padding: 3.5rem 1rem !important; 
  }
  .cta-watermark { 
    font-size: 6rem; 
  }
}

/* Tiled Cloche Pattern behind Hero Visual */
.hero-cloche-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 100 100' fill='none' stroke='rgba(255,255,255,0.025)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><path d='M50 25 A8 8 0 0 1 50 9 A8 8 0 0 1 50 25'/><path d='M15 70 A35 35 0 0 1 85 70 Z'/><path d='M10 75 Q50 78 90 75'/><path d='M10 70 L90 70' stroke-width='4'/></svg>");
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATION & FLUID TYPOGRAPHY OVERRIDES
   ========================================================================== */
/* Layout constraints handled by wrappers */

body {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Fluid Padding for Sections */
.hero, .features, .scoring, .levelup, .footer {
  padding: clamp(24px, 3vw, 48px) clamp(16px, 4vw, 40px) !important;
}

.hero {
  padding-top: clamp(100px, 10vw, 130px) !important;
  min-height: auto;
}

/* Buttons & Touch Targets */
.btn-primary, .store-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* Images & Overflows */
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-3d-grid, .hero-cloche-pattern {
  max-width: 100%;
  overflow: hidden;
}

/* Mobile Navigation (Hamburger Menu) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
  min-height: 40px;
  min-width: 40px;
}
.hamburger-box {
  width: 24px;
  height: 24px;
  display: inline-block;
  position: relative;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 24px;
  height: 2px;
  background-color: var(--c-ink);
  position: absolute;
  transition: transform 0.15s ease;
}
.navbar:not(.scrolled):not(.menu-open) .hamburger-inner,
.navbar:not(.scrolled):not(.menu-open) .hamburger-inner::before,
.navbar:not(.scrolled):not(.menu-open) .hamburger-inner::after {
  background-color: #fff;
}
.navbar.scrolled .hamburger-inner,
.navbar.scrolled .hamburger-inner::before,
.navbar.scrolled .hamburger-inner::after {
  background-color: var(--c-ink);
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger-inner::before {
  content: "";
  top: -8px;
}
.hamburger-inner::after {
  content: "";
  bottom: -8px;
}
.hamburger.is-active .hamburger-inner {
  transform: rotate(45deg);
  background-color: var(--c-ink);
}
.hamburger.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
}
.hamburger.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  background-color: var(--c-ink);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--c-bg);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* When mobile menu is open, make navbar transparent and style elements */
.navbar.menu-open {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.navbar.menu-open .logo {
  color: var(--c-ink) !important;
}

.navbar.menu-open .logo::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%238384FE' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'><path d='M50 25 A8 8 0 0 1 50 9 A8 8 0 0 1 50 25'/><path d='M15 70 A35 35 0 0 1 85 70 Z'/><path d='M10 75 Q50 78 90 75'/><path d='M10 70 L90 70' stroke-width='6'/></svg>") !important;
}
.mobile-menu-inner {
  text-align: center;
}
.mobile-nav-link {
  font-size: 1.5rem;
  padding: 1rem 2rem;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

@media (max-width: 768px) {
  .mockup-wrapper,
  .tilted-visual,
  .phone-mockup-image {
    touch-action: pan-y;
  }
  .tilted-visual {
    transform: none !important;
    transition: none !important;
  }
  .tilted-visual:hover {
    transform: none !important;
  }

  /* Reposition sparkles around the phone mockup on mobile */
  .hero-bg-sparkle.sp1  { top: auto; bottom: 38%; left: 4%; }
  .hero-bg-sparkle.sp2  { top: auto; bottom: 42%; right: 4%; }
  .hero-bg-sparkle.sp3  { bottom: 6%; left: 8%; }
  .hero-bg-sparkle.sp4  { top: auto; bottom: 18%; right: 5%; }

  .hero-bright-sparkle.bsp1 { top: auto; bottom: 44%; right: 10%; }
  .hero-bright-sparkle.bsp2 { bottom: 8%; right: 12%; }
  .hero-bright-sparkle.bsp3 { bottom: 20%; left: 6%; }

  .hamburger { display: flex; justify-content: flex-end; align-items: center; margin-right: 0; }
  .desktop-btn { display: none !important; }
  
  .hero-container {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .hero-content, .scoring-copy { align-items: center; text-align: center; }
  .scoring-grid { grid-template-columns: 1fr !important; }
  
  .mockup-wrapper { width: clamp(240px, 80vw, 350px) !important; }
  .phone-mockup-image { width: 100% !important; border-radius: clamp(30px, 8vw, 64px) !important; }
  .mockup-offset-frame { border-radius: clamp(30px, 8vw, 64px) !important; }
  
  .stats-inner .stat-item + .stat-item::before { display: none; }
  
  .footer-container { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-direction: column; gap: 1rem; }
  
/* Fix navbar logic on mobile */
  .navbar { 
    left: 1.25rem !important;
    right: 1.25rem !important;
    width: auto !important;
    transform: none !important;
    padding: 0.75rem 1.25rem !important; 
  }
  .navbar.scrolled {
    left: 1.25rem !important;
    right: 1.25rem !important;
    padding: 0.55rem 1.25rem !important;
  }
  .logo {
    font-size: 1.3rem;
    padding-top: 0 !important;
    padding-left: 28px;
    display: inline-flex;
    align-items: center;
  }
  .logo::before {
    top: 50% !important;
    left: 0;
    transform: translateY(-50%);
    width: 20px !important;
    height: 18px !important;
  }
  .nav-actions {
    justify-content: flex-end;
    gap: 0;
  }
}


/* OVERFLOW FIX */
#smooth-wrapper {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* ============================================
   APP JOURNEY SECTION
   ============================================ */

.journey {
  padding: 7rem 2rem 6rem;
  position: relative;
  background: linear-gradient(160deg, #08081C 0%, #110828 45%, #080E1C 100%);
  overflow: clip;
}

/* Ambient purple glow — top left */
.journey::before {
  content: '';
  position: absolute;
  top: -5%;
  left: -10%;
  width: 55%;
  height: 55%;
  background: radial-gradient(ellipse, rgba(131, 132, 254, 0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Ambient mint glow — bottom right */
.journey::after {
  content: '';
  position: absolute;
  bottom: 5%;
  right: -5%;
  width: 45%;
  height: 45%;
  background: radial-gradient(ellipse, rgba(171, 255, 170, 0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Text colors on dark bg */
.journey .section-head {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.journey .section-title {
  color: #fff;
}

.journey .section-title .accent {
  color: var(--mint);
}

.journey .section-sub {
  color: rgba(233, 234, 255, 0.6);
}

/* ---- Desktop Layout ---- */
.journey-desktop {
  display: block;
  position: relative;
  margin-top: 5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.journey-path-svg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

#journeyPath {
  opacity: 0.7;
}

.journey-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 0;
  position: relative;
  z-index: 1;
  padding: 6rem 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.journey-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.journey-phone {
  flex: 0 0 300px;
  max-width: 300px;
  position: relative;
  /* slight tilt matching hero energy */
  transform: rotate(2.5deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* mirror tilt for right-side steps */
.journey-step[data-side="right"] .journey-phone {
  transform: rotate(-2.5deg);
}

.journey-phone:hover {
  transform: rotate(0deg) scale(1.03);
}

/* dashed offset frame — mirrors .mockup-offset-frame */
.journey-phone::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 14px;
  width: 100%;
  height: 100%;
  border: 2.5px dashed var(--c-mint);
  border-radius: 44px;
  z-index: 0;
  pointer-events: none;
}

/* glow blob behind the phone — mirrors .mockup-bg-glow */
.journey-phone::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 20%;
  width: 80%;
  height: 75%;
  background: var(--c-mint-glow);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

.journey-phone img {
  width: 100%;
  aspect-ratio: 5 / 8;
  border-radius: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 6px 20px rgba(131, 132, 254, 0.15);
  display: block;
  position: relative;
  z-index: 1;
}

.journey-dot {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 5px rgba(131, 132, 254, 0.2);
  position: relative;
  z-index: 2;
  align-self: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
}

.journey-step.is-visible .journey-dot {
  opacity: 1;
  transform: scale(1);
}

.journey-text {
  flex: 1;
  padding: 0 2rem;
}

.journey-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--mint);
  margin-bottom: 0.6rem;
}

.journey-text h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  line-height: 1.15;
}

.journey-text p {
  font-size: 1.05rem;
  color: rgba(233, 234, 255, 0.6);
  line-height: 1.65;
}

/* side="right" steps: text is left child, phone is right */
.journey-step[data-side="right"] .journey-text {
  text-align: right;
}

/* ---- Mobile Layout ---- */
.journey-mobile {
  display: none;
  position: relative;
  padding-left: 36px;
  margin-top: 3rem;
}

.journey-mobile-line {
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.journey-mobile-line-fill {
  width: 100%;
  height: 0%;
  background: var(--purple);
  border-radius: 2px;
}

.journey-mobile-steps {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.journey-mobile-step {
  position: relative;
}

.journey-mobile-dot {
  position: absolute;
  left: -31px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(131, 132, 254, 0.2);
  z-index: 2;
}

.journey-mobile-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.journey-mobile-text .journey-num {
  font-size: 0.7rem;
}

.journey-mobile-text h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0.4rem 0 0.5rem;
}

.journey-mobile-text p {
  font-size: 0.9rem;
  color: rgba(233, 234, 255, 0.6);
  line-height: 1.6;
}

.journey-mobile-phone {
  max-width: 200px;
  position: relative;
  transform: rotate(2deg);
}

.journey-mobile-phone::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 10px;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--c-mint);
  border-radius: 36px;
  z-index: 0;
  pointer-events: none;
}

.journey-mobile-phone::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  width: 80%;
  height: 70%;
  background: var(--c-mint-glow);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

.journey-mobile-phone img {
  width: 100%;
  aspect-ratio: 5 / 8;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.16),
    0 4px 14px rgba(131, 132, 254, 0.14);
  display: block;
  position: relative;
  z-index: 1;
}

/* ---- Responsive switch ---- */
@media (max-width: 768px) {
  .journey-desktop {
    display: none;
  }
  .journey-mobile {
    display: block;
  }
  .journey {
    padding: 4rem 1.5rem 3rem;
  }
}
