/* ==========================================================================
   MAD MONKEY AI - CINEMATIC SCROLL & LIVE SKY ATMOSPHERE DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,400;0,500;1,400&family=Manrope:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --sky-top: #edf5fc;
  --sky-mid: #f4fafe;
  --sky-bottom: #ffffff;
  
  /* Neutral-only palette — no purple, no pink */
  --accent: #0f172a;          /* strong black for accents */
  --accent-soft: #e2e8f0;     /* light grey for accent backgrounds */
  --blue-primary: #2563eb;
  --green-mint: #10b981;
  --coral-red: #ef4444;

  --text-dark: #0f172a;
  --text-slate: #1e293b;
  --text-muted: #475569;
  
  --glass-bg: rgba(255, 255, 255, 0.18);
  --glass-bg-hover: rgba(255, 255, 255, 0.32);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  --glass-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.14), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  /* scroll-behavior: smooth removed — Lenis handles smooth scrolling */
  background-color: #ffffff;
}

body {
  font-family: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-slate);
  background: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   LIGHT HOST GROTESK THEME (For Leaderboard, Founding Members, Directors,
   Venture Club, and High School-Junior Founders)
   ========================================================================== */
body.host-grotesk-page,
.host-grotesk-page,
.host-grotesk-page * {
  font-family: 'Host Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body.host-grotesk-page {
  font-weight: 300 !important;
  letter-spacing: -0.012em;
}

.host-grotesk-page h1,
.host-grotesk-page h2,
.host-grotesk-page h3,
.host-grotesk-page h4,
.host-grotesk-page h5,
.host-grotesk-page h6 {
  font-weight: 400 !important;
  letter-spacing: -0.025em;
}

.host-grotesk-page p,
.host-grotesk-page li,
.host-grotesk-page a,
.host-grotesk-page span:not(.item-icon):not(.lb-rank-badge):not(.lb-pill-metric):not(.badge-counter),
.host-grotesk-page label,
.host-grotesk-page input,
.host-grotesk-page textarea,
.host-grotesk-page button,
.host-grotesk-page td,
.host-grotesk-page th {
  font-weight: 300;
}

.host-grotesk-page strong,
.host-grotesk-page b,
.host-grotesk-page .fw-bold,
.host-grotesk-page .fw-bolder {
  font-weight: 500 !important;
}

.host-grotesk-page .fw-semibold,
.host-grotesk-page .fw-medium {
  font-weight: 400 !important;
}

.host-grotesk-page .fw-light {
  font-weight: 300 !important;
}

/* ==========================================================================
   LAYER 0 & 1: LIVE CLOUD BACKGROUND VIDEO & VOLUMETRIC SKY ATMOSPHERE
   ========================================================================== */
.sky-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf4fc 0%, #f4fafe 50%, #ffffff 100%);
}

/* Layer 0: Continuous Slow Cloud Video (Behind ALL Content) */
.cloud-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  pointer-events: none;
  filter: brightness(1.18) contrast(1.05);
  z-index: 0;
  transition: opacity 0.6s ease;
}

/* Layer 1: Volumetric Soft Sky Blurs */
.cloud-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.82;
  z-index: 1;
  pointer-events: none;
}

.cloud-1 {
  width: 800px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(240, 248, 255, 0.7) 70%, transparent 100%);
  top: -120px;
  left: -120px;
}

.cloud-2 {
  width: 900px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(243, 232, 255, 0.6) 70%, transparent 100%);
  top: 18%;
  right: -180px;
}

.cloud-3 {
  width: 950px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(235, 245, 255, 0.7) 70%, transparent 100%);
  bottom: -160px;
  left: 8%;
}

.cloud-drift-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.cloud-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cloud-layer-back {
  background: radial-gradient(ellipse at 30% 40%, rgba(255, 255, 255, 0.75) 0%, transparent 60%);
  opacity: 0.8;
}

.cloud-layer-mid {
  background: radial-gradient(ellipse at 70% 30%, rgba(255, 255, 255, 0.85) 0%, transparent 55%);
  opacity: 0.88;
}

.cloud-layer-front {
  background: radial-gradient(ellipse at 50% 60%, rgba(255, 255, 255, 0.95) 0%, transparent 50%);
  opacity: 0.95;
}

/* Hide mobile toggle on desktop */
.mobile-nav-toggle {
  display: none !important;
}

/* ==========================================================================
   LAYER 5: TOP HEADER NAVIGATION (Z-INDEX 1000)
   ========================================================================== */
.top-header-wrapper {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 36px), 1280px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.top-header-wrapper * {
  pointer-events: auto;
}

/* Disappear completely when scrolling down past threshold */
.top-header-wrapper.header-hidden {
  transform: translateX(-50%) translateY(-140px);
  opacity: 0;
  pointer-events: none !important;
}

.top-header-wrapper.header-hidden * {
  pointer-events: none !important;
}

/* Large Logo Outside Glass Header */
.brand-logo-outer {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand-logo-outer:hover {
  transform: scale(1);
}

.brand-logo-img-lg,
.navbar-brand img {
  height: 88px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.10));
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  font-family: 'Host Grotesk', -apple-system, sans-serif;
  color: #000000;
  user-select: none;
}

.logo-text-mad {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #000000;
}

.logo-text-sub {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000000;
  margin-top: 1px;
}

/* Authentic iOS Liquid Glass Header Pill — Fully Transparent, Full Width */
.ios-glass-nav-pill {
  height: 54px;
  flex: 1;                         /* fill all space between logo and download btn */
  display: flex;
  align-items: center;
  justify-content: center;         /* centre nav links inside full-width pill */
  padding: 0 24px;
  border-radius: 9999px;
  /* Fully transparent, iOS 26 Liquid Glass */
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(40px) saturate(180%) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(40px) saturate(180%) brightness(1.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.40) !important;
  box-shadow:
    0 2px 16px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(255, 255, 255, 0.20) !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ios-glass-nav-pill:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.60) !important;
  box-shadow:
    0 4px 28px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.90),
    inset 0 -1px 0 rgba(255, 255, 255, 0.28) !important;
}

.nav-links-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}

.nav-links-menu a {
  color: var(--text-slate);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 999px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-links-menu a:hover,
.nav-links-menu a.active {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* CLUBS DROPDOWN ON HOVER & CLICK — SEAMLESS & EFFORTLESS SELECTION */
.dropdown-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Hover bridge: ensures mouse transition between trigger and menu never breaks */
.dropdown-nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -15px;
  right: -15px;
  height: 18px;
  background: transparent;
  pointer-events: auto;
  z-index: 1040;
}

.dropdown-nav-item:hover .dropdown-menu-glass,
.dropdown-nav-item.active-click .dropdown-menu-glass,
.dropdown-nav-item:focus-within .dropdown-menu-glass,
.dropdown-menu-glass.show {
  display: flex !important;
  flex-direction: column !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

.dropdown-menu-glass {
  display: none;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 275px;
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(36px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(36px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 44px rgba(12, 30, 61, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
  padding: 8px !important;
  list-style: none;
  z-index: 1050;
  pointer-events: none;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
}

/* Upward invisible shield to guarantee zero hover drop-off */
.dropdown-menu-glass::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 18px;
  background: transparent;
  pointer-events: auto;
}

.dropdown-menu-glass li {
  margin-bottom: 4px;
  width: 100%;
}

.dropdown-menu-glass li:last-child {
  margin-bottom: 0;
}

.dropdown-menu-glass .dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0c1e3d !important;
  text-decoration: none;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease !important;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.dropdown-menu-glass .dropdown-item:hover,
.dropdown-menu-glass .dropdown-item:focus {
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 4px 14px rgba(12, 30, 61, 0.06);
  color: #1d4ed8 !important;
  outline: none;
}

.dropdown-menu-glass .dropdown-item.active {
  background: rgba(228, 239, 251, 0.85) !important;
  color: #0c1e3d !important;
  font-weight: 700;
}

.dropdown-menu-glass .item-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(234, 242, 252, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu-glass .dropdown-item:hover .item-icon {
  background: #1d4ed8;
  color: #ffffff;
}

.dropdown-menu-glass .item-text-wrap {
  display: flex;
  flex-direction: column;
}

.dropdown-menu-glass .item-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0c1e3d;
  line-height: 1.25;
}

.dropdown-menu-glass .dropdown-item:hover .item-title {
  color: #1d4ed8;
}

.dropdown-menu-glass .item-desc {
  font-size: 0.72rem;
  font-weight: 500;
  color: #627896;
  line-height: 1.25;
  margin-top: 1px;
}

/* White Download App Button (Inspired by Reference Design) */
.glass-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark) !important;
  text-decoration: none;
  border-radius: 9999px;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1), inset 0 1px 2px #ffffff;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  white-space: nowrap;
}

.glass-btn-white:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

/* ==========================================================================
   LAYER 2: MAIN WEBSITE TYPOGRAPHY & THREE-COLUMN STAGE (Z-INDEX 10)
   ========================================================================== */
.scroll-viewport {
  position: relative;
  width: 100vw;
  min-height: 400vh;   /* vh fallback for older browsers */
  min-height: 400dvh;  /* footer follows the final slide without an empty tail */
  z-index: 10;
}

.pinned-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;    /* vh fallback */
  height: 100dvh;   /* dynamic viewport height fix */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.stage-wrapper {
  position: relative;
  width: min(calc(100% - 48px), var(--max-width));
  height: min(85dvh, 860px);
  min-height: min(620px, calc(100dvh - 96px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.stage-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  /* No CSS transition here — GSAP owns opacity & transform for scrub animations */
  z-index: 10;
  will-change: opacity, transform;
}

.stage-panel.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Left Title Container */
.hero-title-container-left {
  width: clamp(250px, 29%, 420px);
  max-width: 420px;
  z-index: 10;
  margin-top: -35px;
}

.hero-title-slim {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: clamp(2.5rem, 4.4vw, 3.8rem);
  font-weight: 500; /* Simple slim font */
  line-height: 1.05;
  color: #0f172a; /* Solid black */
  letter-spacing: -0.025em;
  margin: 0;
}

.hero-title-slim span {
  display: block;
}

/* Hero Right Description Container - Slightly Bigger Font, Adjusted Upwards */
.hero-desc-container-right {
  position: absolute;
  right: 0;
  width: clamp(220px, 21%, 350px);
  max-width: 350px;
  z-index: 10;
  margin-top: 60px;
}

.hero-desc-right-slim {
  font-size: 20px;
  line-height: 1.6;
  color: #334155;
  font-weight: 400;
}

.text-slim-black {
  color: #0f172a !important; /* Slim black */
  font-weight: 500 !important;
}

/* Emphasis text — plain black, no gradient */
.gradient-text {
  color: #0f172a;
  font-weight: 800;
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 300;
  font-style: italic;
}

/* Stage 2: Statement */
.statement-panel {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.wave-orb {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 35% 35%, #e2e8f0, #94a3b8);
  border-radius: 50%;
  margin-bottom: 30px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.12), inset 0 -8px 16px rgba(0,0,0,0.10);
  position: relative;
  animation: orbPulse 4s ease-in-out infinite alternate;
}

.wave-orb::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px dashed rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  animation: orbSpin 12s linear infinite;
}

@keyframes orbPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 24px rgba(0, 0, 0, 0.10); }
  100% { transform: scale(1.08); box-shadow: 0 0 50px rgba(0, 0, 0, 0.16); }
}

@keyframes orbSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.statement-text {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 300;
  line-height: 1.3;
  color: #0f172a;
  letter-spacing: -0.015em;
  font-family: 'Host Grotesk', sans-serif;
}

/* Stage 3: Built for Simplicity */
.simplicity-right {
  width: min(55%, 720px);
  max-width: 720px;
  z-index: 10;
}

#features .simplicity-right {
  width: 40%;
  max-width: 600px;
  margin-right: auto;
  margin-left: 0;
}

.section-heading {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.section-subtext {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

#download .section-heading {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
}

#download .section-subtext {
  font-size: 1.15rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.glass-card, .feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
}

.glass-card:hover, .feature-card:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: var(--glass-shadow-hover);
}

.feature-icon {
  width: 42px;
  height: 42px;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Stage 4: One Button timeline */
#how-spark-works {
  display: block;
  padding-top: clamp(72px, 10vh, 112px);
}

.finance-left {
  width: min(62%, 980px);
  max-width: 980px;
  margin: 0 auto 0 0;
  z-index: 10;
  text-align: center;
}

.primitive-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  color: #0f172a;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.finance-intro {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  line-height: 1.55;
}

.accordion-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 18px);
  margin-top: clamp(24px, 4vh, 42px);
  text-align: left;
}

.accordion-item-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  min-height: 196px;
  padding: 46px 18px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.accordion-item-glass.active,
.accordion-item-glass:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #0f172a;
  box-shadow: var(--glass-shadow);
}

.accordion-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: clamp(0.82rem, 1.15vw, 1.05rem);
  color: var(--text-dark);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 23, 42, 0.14);
  color: #0f172a;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
}

.accordion-body-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 10px;
  display: block;
}

/* ==========================================================================
   STAGE 5: DOWNLOAD APP, VENTURE CLUB & EMAIL SUBSCRIBE
   ========================================================================== */
#download {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 35;
  pointer-events: auto !important;
}

.future-top {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  text-align: center;
  max-width: 680px;
  width: 100%;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto !important;
  padding: 10px 20px;
}

.action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  width: 100%;
  pointer-events: auto !important;
}

/* Premium Button Styles */
.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 9999px;
  font-family: 'Host Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  pointer-events: auto !important;
}

.glass-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.glass-btn-brand,
.glass-btn-dark {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.22);
}

.glass-btn-brand:hover,
.glass-btn-dark:hover {
  background: #1e293b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.32);
}

.glass-btn-white-pill {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.glass-btn-white-pill:hover {
  background: #f8fafc !important;
  color: #000000 !important;
  border-color: rgba(15, 23, 42, 0.3) !important;
}

/* Last Slide Email Subscription Box */
.download-subscribe-box {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  pointer-events: auto !important;
}

.subscribe-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.subscribe-input-form {
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 9999px;
  padding: 5px 6px 5px 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  pointer-events: auto !important;
}

.subscribe-input-form:focus-within {
  border-color: #000000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}

.subscribe-input-field {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  font-family: inherit;
  color: #0f172a;
  min-width: 120px;
}

.subscribe-input-field::placeholder {
  color: #94a3b8;
}

.btn-simple-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 10px 22px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-simple-black:hover {
  background: #27272a !important;
  transform: scale(1.02);
}

/* ==========================================================================
   LAYER 3: BIGGER PROMINENT 3D PHONE CONTAINER (TOP EDGE STARTS BELOW GLASS HEADER)
   ========================================================================== */
.phone-perspective-container {
  position: absolute;
  left: 50%;
  top: 54%; /* Starts cleanly below glass header pill */
  transform: translate(-50%, -50%);
  width: clamp(240px, 21.2vw, 305px);
  height: clamp(472px, 41.7vw, 600px);
  z-index: 20;
  perspective: 1200px;
  pointer-events: none;
}

.section-phone-widget {
  position: absolute;
  z-index: 26;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 172px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  color: #0f172a;
  will-change: transform, opacity;
  pointer-events: none;
}

.section-phone-widget i { font-size: 1.1rem; }
.section-phone-widget span { display: flex; flex-direction: column; gap: 2px; }
.section-phone-widget strong { font-size: 0.74rem; }
.section-phone-widget small { color: #475569; font-size: 0.62rem; }
.widget-discover-crew { top: 16%; left: -145px; }
.widget-discover-sparks { top: 51%; left: -155px; }
.widget-profile-match { top: 30%; right: -175px; }

/* New Phone Photo Overlay (Hand holding phone) */
.phone-photo-overlay-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 112vh;
  aspect-ratio: 580 / 678;
  transform: translate(-50%, -38%);
  pointer-events: none;
  z-index: 22;
  user-select: none;
  will-change: opacity, transform;
}

.new-phone-photo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 25px 50px rgba(15, 23, 42, 0.22));
}

/* Calibrated over the six cards in the photo so their surface matches the iOS header glass. */
.ios-widget-glass {
  position: absolute;
  z-index: 1;
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.05),
    inset 0 1px 2px rgba(255, 255, 255, 0.62),
    inset 0 -1px 1px rgba(255, 255, 255, 0.10);
  pointer-events: none;
}

.ios-widget-project { top: 9%; left: 2%; width: 24%; height: 13%; }
.ios-widget-builder { top: 12%; left: 75%; width: 24%; height: 12%; }
.ios-widget-shield { top: 29%; left: 2%; width: 24%; height: 10%; }
.ios-widget-spark { top: 38%; left: 78%; width: 21%; height: 8%; }
.ios-widget-rewards { top: 48%; left: 2%; width: 24%; height: 8%; }
.ios-widget-venture { top: 66%; left: 2%; width: 20%; height: 8%; }

.phone-3d-body {
  width: 100%;
  height: 100%;
  background: #0f172a;
  border-radius: 46px;
  padding: 8px;
  box-shadow: 
    0 25px 60px -15px rgba(15, 23, 42, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 0 0 3px #1e293b;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.notch-camera {
  width: 9px;
  height: 9px;
  background: #111827;
  border-radius: 50%;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: 'Host Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 300;
}

.phone-screen * {
  font-family: 'Host Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.app-screen-layer {
  position: absolute;
  inset: 0;
  padding: 48px 16px 18px 16px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  opacity: 0;
  /* No CSS transition — GSAP controls opacity for smooth scrub */
  pointer-events: none;
  will-change: opacity;
}

.app-screen-layer.active {
  opacity: 1;
  pointer-events: auto;
}

/* Full-bleed photo screen — image fills phone screen, fully visible (no crop) */
.app-screen-photo {
  padding: 0 !important;
  background: #f8fafc !important;
  overflow: hidden;
}

.phone-ui-widget {
  position: absolute;
  z-index: 3;
  max-width: 74%;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.78);
  color: #0f172a;
  font-size: 0.62rem;
  line-height: 1.25;
  backdrop-filter: blur(12px) saturate(165%);
  -webkit-backdrop-filter: blur(12px) saturate(165%);
  pointer-events: none;
}

.phone-ui-widget strong,
.phone-ui-widget span {
  display: block;
}

.phone-ui-widget strong {
  font-size: 0.68rem;
  font-weight: 800;
}

.phone-ui-widget span {
  color: #334155;
  margin-top: 2px;
}

.discover-widget-online { top: 16%; right: 5%; }
.discover-widget-saved { bottom: 19%; left: 5%; }
.profile-widget-brief { top: 18%; left: 5%; }
.profile-widget-match { bottom: 20%; right: 5%; }

.app-screen-photo img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center top;
  display: block;
  padding: 0;
  transform: none;
}

/* Specific resize for One Button section photo */
#screenEarning img {
  padding: 0;
  transform: none;
}

/* Exact Stage 1 Phone App UI (Replicating Reference Design Image) */
.app-screen-layer#screenDashboard {
  padding: 32px 10px 52px 10px;
  overflow-y: auto;
  background: #f8fafc;
}

.app-screen-layer#screenDashboard::-webkit-scrollbar {
  display: none;
}

.spark-screen-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.icon-btn-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #0f172a;
  cursor: pointer;
}

.spark-brand-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.04em;
}

.topbar-right-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.spark-header-section {
  margin-bottom: 8px;
  text-align: left;
}

.spark-main-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.spark-subtitle {
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 500;
}

.spark-tab-pill-box {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 8px;
}

.tab-pill-option {
  flex: 1;
  text-align: center;
  padding: 4px 0;
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  border-radius: 9px;
  transition: all 0.2s ease;
}

.tab-pill-option.active {
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.spark-input-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.input-prompt-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.prompt-placeholder {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}

.spark-action-buttons-row {
  display: flex;
  gap: 6px;
}

.btn-spark-sub {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.62rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  color: #0f172a;
}

.spark-feed-post-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
  text-align: left;
}

.post-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.post-avatar-box {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1e1b4b;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-user-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: #0f172a;
}

.post-user-sub {
  font-size: 0.56rem;
  color: #94a3b8;
}

.post-category-tag {
  display: inline-block;
  font-size: 0.52rem;
  font-weight: 700;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 1px 5px;
  margin-bottom: 4px;
}

.post-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3px;
}

.post-desc {
  font-size: 0.6rem;
  color: #475569;
  line-height: 1.38;
  margin-bottom: 6px;
}

.post-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.tag-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.54rem;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px;
}

.post-stats-row {
  display: flex;
  gap: 8px;
  font-size: 0.54rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 6px;
}

.post-preview-sketch {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 8px;
}

.sketch-header {
  display: flex;
  gap: 3px;
  margin-bottom: 4px;
}

.dot-red, .dot-yellow, .dot-green {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.sketch-body-title {
  font-size: 0.58rem;
  font-weight: 700;
  color: #0f172a;
}

/* Bottom Navigation Bar inside Phone */
.spark-bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 46px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
  z-index: 50;
}

.nav-item-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #94a3b8;
  font-size: 0.5rem;
  font-weight: 700;
}

.nav-item-bottom i {
  font-size: 0.85rem;
}

.nav-item-bottom.active {
  color: #0284c7;
}

.nav-fab-center {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-top: -14px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.user-welcome-label {
  font-size: 0.66rem;
  color: var(--text-muted);
}

.user-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.balance-card-mini {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 16px;
  padding: 14px;
  color: #ffffff;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
}

.balance-label {
  font-size: 0.7rem;
  opacity: 0.9;
}

.balance-amount {
  font-size: 1.28rem;
  font-weight: 800;
  margin-top: 2px;
}

.quick-actions-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.action-pill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.action-circle-icon {
  width: 38px;
  height: 38px;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.action-label-sm {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-slate);
  text-align: center;
}

.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.tx-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tx-icon-box {
  width: 30px;
  height: 30px;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.tx-name {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-dark);
}

.tx-time {
  font-size: 0.62rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LAYER 4: FLOATING INSIGHT CARDS (STRICTLY OUTSIDE PHONE FRAME - ZERO SCREEN COVERAGE)
   ========================================================================== */
.floating-stat-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.15); /* Translucent glass */
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  padding: 10px 14px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  will-change: transform, opacity;
  pointer-events: none;
  max-width: 200px;
}

/* Keep each unique widget outside the text columns around the phone. */
.badge-btc-perf { top: 28%; left: -230px; }
.badge-visitors-coral { top: 62%; left: -230px; }
.badge-donut-chart { top: 22%; right: -230px; left: auto; flex-direction: column; align-items: flex-start; min-width: 165px; padding: 10px 12px; }
.badge-tx-limit { bottom: 7%; right: -230px; left: auto; }

.badge-title-sm {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sparkline-svg { width: 48px; height: 25px; overflow: visible; }
.donut-chart-container { display: flex; align-items: center; gap: 12px; width: 100%; }
.donut-svg { width: 56px; height: 56px; transform: rotate(-90deg); }
.donut-legend { display: flex; flex-direction: column; gap: 4px; font-size: 0.68rem; color: var(--text-muted); font-weight: 600; }
.legend-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend-color-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }

/* ==========================================================================
   FOOTER & ECOSYSTEM
   ========================================================================== */
.footer-section {
  position: relative;
  z-index: 30;
  width: 100%;
  margin-top: -8px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  padding: 60px 0 30px 0;
  overflow: hidden;
}

.footer-container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.social-links-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 50px;
}

.social-link-item {
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.25s ease;
}

.social-link-item:hover {
  color: #000000;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #000000;
}

.newsletter-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  width: min(260px, 100%);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 4px 6px 4px 18px;
  box-shadow: var(--glass-shadow);
}

.newsletter-input-wrapper input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.86rem;
  color: var(--text-dark);
  width: 100%;
  min-height: 34px;
}

.newsletter-subscribe-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.watermark-logo {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(6rem, 16vw, 18rem);
  font-weight: 900;
  color: rgba(0, 0, 0, 0.07);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE — SMALL DESKTOP (1024px – 1199px)
   ========================================================================== */
@media (min-width: 1024px) and (max-width: 1199px) {
  /* Scale badges to fit comfortably without clipping */
  .floating-stat-badge {
    transform: scale(0.85);
    max-width: 175px;
  }
  .badge-btc-perf { top: 28%; left: -175px; }
  .badge-visitors-coral { top: 62%; left: -175px; }
  .badge-tx-limit { bottom: 7%; right: -175px; left: auto; }
  .badge-donut-chart { top: 22%; right: -175px; left: auto; }

  .hero-title-slim { font-size: clamp(2.1rem, 3.8vw, 3rem); }
  .hero-title-container-left { max-width: 330px; }
  .hero-desc-container-right { right: 0; left: auto; width: 22%; }
  .simplicity-right, .finance-left { max-width: 680px; }
  #features .simplicity-right { width: 40%; max-width: 390px; }
  #how-spark-works { padding-top: 64px; }
  .finance-left { width: 38%; margin-left: 0; }
  .accordion-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .accordion-item-glass { min-height: 174px; padding: 42px 14px 16px; }
}

/* ==========================================================================
   RESPONSIVE — TABLET & SMALL LAPTOPS (768px – 1024px)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Header: keep single row, no stacking, comfortable readable sizing */
  .top-header-wrapper {
    flex-direction: row;
    width: min(calc(100% - 16px), 1024px);
    gap: clamp(4px, 1vw, 8px);
    top: 10px;
    padding: 0 4px;
  }
  .brand-logo-img-lg {
    height: clamp(34px, 4vw, 42px);
  }
  .ios-glass-nav-pill {
    height: 42px;
    padding: 0 clamp(6px, 1vw, 10px);
    flex: 1;
    min-width: 0;
    max-width: fit-content;
  }
  .nav-links-menu {
    gap: clamp(2px, 0.5vw, 6px);
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
  }
  .nav-links-menu a,
  .nav-links-menu .dropdown-toggle {
    font-size: clamp(0.72rem, 1vw, 0.82rem);
    padding: 5px clamp(5px, 0.75vw, 9px);
    white-space: nowrap;
    letter-spacing: -0.01em;
  }
  .glass-btn-white {
    padding: 7px clamp(10px, 1.2vw, 16px);
    font-size: clamp(0.76rem, 1vw, 0.84rem);
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Stage wrapper: tablet dynamic height, spacing and margins */
  .stage-wrapper {
    width: min(calc(100% - 36px), 1020px);
    height: min(88dvh, 800px);
    min-height: 580px;
    padding: 0 8px;
  }

  /* Phone & Photo overlay: dynamically proportioned for tablet viewport matching desktop */
  .phone-perspective-container {
    width: clamp(230px, 25vw, 280px);
    height: clamp(450px, 49vw, 550px);
    top: 52%;
  }
  .phone-photo-overlay-wrap {
    height: clamp(520px, 76dvh, 670px) !important;
    max-width: 86vw !important;
    transform: translate(-50%, -38%) !important;
  }

  /* Hero Content areas — proportional widths preventing text/phone collisions */
  .hero-title-container-left {
    width: clamp(210px, 28%, 290px);
    max-width: 290px;
    margin-top: 0;
  }
  .hero-title-slim {
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    line-height: 1.12;
  }
  .hero-desc-container-right {
    position: absolute;
    right: 0;
    left: auto;
    width: clamp(190px, 25%, 260px);
    max-width: 260px;
    margin-top: 15px;
  }
  .hero-desc-right-slim {
    font-size: clamp(0.85rem, 1.3vw, 0.98rem);
    line-height: 1.55;
  }

  /* Statement text */
  .statement-text {
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    max-width: 780px;
    text-align: center;
    line-height: 1.25;
  }

  /* Campuses on tablet */
  .campus-track-wrap {
    width: min(100%, 1000px);
  }
  .campus-heading {
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    margin-bottom: 22px;
  }
  .campus-card {
    width: clamp(230px, 26vw, 310px);
    min-height: 92px;
    padding: 12px 16px;
  }
  .campus-card img {
    width: 64px;
    height: 64px;
  }
  .campus-card span {
    font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  }

  /* Features & How Spark Works on Tablet: generous readable cards matching desktop */
  #features .simplicity-right {
    width: clamp(290px, 44%, 430px);
    max-width: 430px;
    margin-left: 0;
    margin-right: auto;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .glass-card, .feature-card {
    padding: 13px 12px;
    border-radius: 14px;
  }
  .feature-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  .feature-title {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 3px;
  }
  .feature-desc {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  /* How Spark Works: 2x2 grid matching desktop layout */
  #how-spark-works {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 36px;
  }
  .finance-left {
    width: clamp(290px, 44%, 430px);
    max-width: 430px;
    margin-left: 0;
    margin-right: auto;
  }
  .primitive-kicker {
    font-size: 0.72rem;
    margin-bottom: 6px;
  }
  .finance-intro {
    font-size: 0.86rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  .accordion-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
  }
  .accordion-item-glass {
    min-height: 144px;
    padding: 34px 12px 12px;
    border-radius: 14px;
    position: relative;
  }
  .step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }
  .accordion-header-row {
    font-size: 0.8rem;
    font-weight: 700;
  }
  .accordion-body-text {
    font-size: 0.74rem;
    line-height: 1.4;
    margin-top: 5px;
  }

  /* Stage 5 Download */
  #download .section-heading {
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    line-height: 1.15;
  }
  #download .section-subtext {
    font-size: 0.95rem;
  }
  .action-row {
    gap: 14px;
    margin-top: 20px;
  }
  .download-subscribe-box {
    max-width: 420px;
    margin-top: 20px;
  }

  /* Footer */
  .footer-content-grid { grid-template-columns: 1fr 1fr; }

  /* Reduce GPU-heavy effects on tablet */
  .ios-glass-nav-pill {
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  }
}

/* ==========================================================================
   RESPONSIVE — MOBILE (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
  /* Prevent any horizontal overflow from absolutely-positioned elements */
  html, body { overflow-x: clip; width: 100%; }

  .section-phone-widget { display: none; }

  .footer-section { margin-top: 0; }

  /* ── Header: compact single row — logo & menu on leftmost, download button on right ── */
  .top-header-wrapper {
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: min(calc(100% - 16px), 1280px) !important;
    top: max(8px, env(safe-area-inset-top)) !important;
    gap: 8px !important;
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .brand-logo-outer {
    flex-shrink: 0;
    margin-right: 0 !important;
  }
  .brand-logo-img-lg { height: 42px; }
  
  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 13px;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 9999px;
    color: #0c1e3d;
    font-weight: 700;
    font-size: 0.84rem;
    box-shadow: 0 4px 16px rgba(12, 30, 61, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    cursor: pointer;
    white-space: nowrap;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .top-header-wrapper .glass-btn-white {
    margin-left: auto !important;
  }

  /* Main Dropdown Container: Aligned to the leftmost, accommodates main menu + clubs to the right */
  .ios-glass-nav-pill {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 8px !important;
    right: auto !important;
    width: auto !important;
    max-width: calc(100vw - 16px) !important;
    height: auto !important;
    min-height: fit-content !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: none !important;
    opacity: 0;
    visibility: hidden;
    overflow: visible !important;
    z-index: 1050;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-6px);
  }

  .ios-glass-nav-pill.show-mobile {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  /* Column 1: Main Header Vertical Dropdown in Glassmorphism */
  .nav-links-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: clamp(140px, 44vw, 168px) !important;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    border-radius: 22px !important;
    padding: 8px !important;
    box-shadow: 0 20px 50px rgba(12, 30, 61, 0.16), 0 4px 14px rgba(12, 30, 61, 0.05), inset 0 1px 2px rgba(255, 255, 255, 0.95) !important;
    list-style: none !important;
    margin: 0 !important;
    position: relative !important;
    overflow: visible !important;
  }

  .nav-links-menu li {
    width: 100% !important;
  }

  /* All page items vertically placed in glassmorphism */
  .nav-links-menu li a,
  .nav-links-menu .dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 8px 11px !important;
    border-radius: 13px !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: #0c1e3d !important;
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 8px rgba(12, 30, 61, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }

  .nav-links-menu li a:hover,
  .nav-links-menu li a:focus,
  .nav-links-menu li a.active,
  .nav-links-menu .dropdown-nav-item:hover .dropdown-toggle,
  .nav-links-menu .dropdown-nav-item.active .dropdown-toggle,
  .nav-links-menu .dropdown-nav-item.active-click .dropdown-toggle {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(186, 214, 245, 0.95) !important;
    color: #1d4ed8 !important;
    box-shadow: 0 4px 16px rgba(29, 78, 216, 0.12), inset 0 1px 1px #fff !important;
    font-weight: 600 !important;
  }

  .dropdown-nav-item {
    width: 100% !important;
    position: relative !important;
  }

  /* Hover Bridge between Clubs and right dropdown */
  .nav-links-menu .dropdown-nav-item::after {
    content: '';
    position: absolute;
    top: -4px;
    bottom: -4px;
    right: -12px;
    width: 16px;
    background: transparent;
    pointer-events: auto;
    z-index: 1055;
  }

  /* Column 2: Clubs Vertical Dropdown APPEARS JUST RIGHT TO CLUBS ONLY ON HOVER */
  .dropdown-menu-glass {
    position: absolute !important;
    left: calc(100% + 8px) !important;
    top: 0 !important;
    right: auto !important;
    width: clamp(155px, 47vw, 185px) !important;
    min-width: 0 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    flex-direction: column !important;
    gap: 6px !important;
    transform: translateX(-4px) !important;
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s !important;
    background: rgba(234, 243, 254, 0.9) !important;
    backdrop-filter: blur(36px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(36px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 20px 50px rgba(12, 30, 61, 0.14), inset 0 1px 2px rgba(255, 255, 255, 0.95) !important;
    margin: 0 !important;
    border-radius: 20px !important;
    padding: 7px !important;
    box-sizing: border-box !important;
    list-style: none !important;
    z-index: 1060 !important;
  }

  /* Show ONLY when hovered upon the Clubs text (or focus / active-click for tap) */
  .nav-links-menu .dropdown-nav-item:hover .dropdown-menu-glass,
  .nav-links-menu .dropdown-nav-item:focus-within .dropdown-menu-glass,
  .nav-links-menu .dropdown-nav-item.active-click .dropdown-menu-glass {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
  }

  .dropdown-menu-glass li {
    width: 100% !important;
  }

  /* Dropdown items inside vertical Clubs dropdown in Glassmorphism */
  .dropdown-menu-glass .dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 8px rgba(12, 30, 61, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    color: #0c1e3d !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  .dropdown-menu-glass .dropdown-item:hover,
  .dropdown-menu-glass .dropdown-item:focus,
  .dropdown-menu-glass .dropdown-item.active {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(186, 214, 245, 0.95) !important;
    box-shadow: 0 4px 16px rgba(29, 78, 216, 0.12), inset 0 1px 1px #fff !important;
    color: #1d4ed8 !important;
    transform: translateY(-1px);
  }

  .dropdown-menu-glass .item-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 9px !important;
    background: rgba(234, 242, 252, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    color: #1d4ed8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 0.85rem !important;
  }

  .dropdown-menu-glass .item-text-wrap {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
  }

  .dropdown-menu-glass .item-title {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #0c1e3d !important;
    white-space: normal !important;
  }

  .dropdown-menu-glass .item-desc {
    font-size: 0.65rem !important;
    color: #627896 !important;
    line-height: 1.2 !important;
    margin-top: 1px !important;
    white-space: normal !important;
  }
  .glass-btn-white {
    margin-left: auto;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* ── Scroll-viewport: natural content height on mobile ── */
  .scroll-viewport { min-height: auto !important; height: auto !important; }

  /* ── Pinned stage: UN-PIN on mobile ── */
  .pinned-stage {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 76px; /* clear the fixed header */
    overflow: visible;
  }

  /* ── Portrait layout: text, cloud video, and actions without a device mockup ── */
  .phone-perspective-container {
    display: none !important;
  }

  .cloud-video-bg { opacity: 0.82; }

  /* ── Floating Insight Badges: visible orbiting mobile phone mockup ── */
  .floating-stat-badge {
    display: flex !important;
    opacity: 1 !important;
    position: absolute !important;
    padding: 6px 10px !important;
    gap: 7px !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
    z-index: 25 !important;
  }
  .floating-stat-badge i { font-size: 1.1rem !important; }
  .floating-stat-badge .fw-bold { font-size: 0.72rem !important; }
  .floating-stat-badge .text-muted { font-size: 0.58rem !important; }
  .floating-stat-badge .text-success { font-size: 0.58rem !important; }

  /* Brain Rot Meter / Screen Time Shield: Top-Left of Phone */
  .badge-btc-perf {
    top: 22% !important;
    left: -12px !important;
    max-width: 145px !important;
  }

  /* What to Spark Widget: Lower-Left of Phone */
  .badge-exchange-rate {
    top: 58% !important;
    left: -12px !important;
    max-width: 145px !important;
  }

  /* Spark Project Card: Upper-Left of Phone */
  .badge-visitors-green {
    top: 3% !important;
    left: -8px !important;
    max-width: 150px !important;
  }

  /* Builder Crew: Upper-Left of Phone */
  .badge-donut-chart {
    top: 75% !important;
    left: -8px !important;
    right: auto !important;
    max-width: 145px !important;
  }

  /* Secondary badges hidden on mobile to keep layout clean & uncluttered */
  .badge-visitors-coral,
  .badge-tx-limit {
    display: none !important;
  }

  /* ── Stage wrapper: natural-height stacked column ── */
  .stage-wrapper {
    position: relative;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 12px 20px 40px 20px;
  }

  /* ── Stage panels: block layout, stacked vertically ── */
  .stage-panel {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: center !important;
    padding: 32px 0 !important;
    pointer-events: auto !important;
  }

  .campus-panel { align-items: flex-start; overflow: hidden; }
  .campus-track-wrap { width: 100%; padding: 18px 0; }
  .campus-heading { margin-bottom: 22px; font-size: 0.95rem; }
  .campus-card { width: 260px; min-height: 112px; padding: 16px 18px; }
  .campus-card img { width: 70px; height: 70px; }
  .campus-track { gap: 10px; animation-duration: 22s; }

  /* Hero */
  .hero-title-container-left { max-width: 100%; margin: 0 0 18px 0; text-align: center; }
  .hero-title-slim { font-size: clamp(1.9rem, 8vw, 2.6rem); text-align: center; }
  .hero-desc-container-right { position: relative; left: auto; width: auto; max-width: 100%; margin: 0; text-align: center; }
  .hero-desc-right-slim { text-align: center; }

  /* Statement */
  .statement-panel {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }
  .statement-text { font-size: clamp(1.5rem, 6vw, 2rem); text-align: center; }

  /* Features */
  #features .simplicity-right { width: 100%; max-width: 100%; text-align: center; margin: 0 auto; }
  .section-heading { font-size: clamp(1.7rem, 7vw, 2.2rem); text-align: center; }
  .section-subtext { text-align: center; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; text-align: center; } /* Keep cards centered for consistency */
  .feature-icon { margin: 0 auto 14px auto; }

  /* How Spark Works */
  .finance-left { width: 100%; max-width: 100%; text-align: center; }
  .finance-intro { text-align: center; }
  .primitive-kicker { text-align: center; justify-content: center; display: flex; }
  #how-spark-works { padding-top: 0; }
  .accordion-list { grid-template-columns: 1fr; width: 100%; margin-top: 28px; }
  .accordion-item-glass { min-height: 0; padding: 38px 16px 16px; }

  /* Stage 5: Download App & Subscribe */
  #download {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    padding: 36px 0 20px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .future-top {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    text-align: center !important;
    max-width: 100% !important;
    padding: 0 !important;
    align-items: stretch !important;
  }

  .action-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-top: 20px !important;
  }

  .action-row .glass-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
  }

  .action-row .store-download-button {
    width: 100%;
    min-width: 0;
    padding: 14px 20px;
  }

  .download-subscribe-box {
    margin-top: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .subscribe-input-form {
    width: 100% !important;
  }

  /* ── GPU savings: reduce backdrop-filter blur depth on mobile ── */
  .ios-glass-nav-pill {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }
  .glass-card, .feature-card {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
  .accordion-item-glass {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
  .footer-section {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  /* Footer */
  .social-links-bar {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
    padding-bottom: 24px;
    margin-bottom: 32px;
  }
  .footer-content-grid { grid-template-columns: 1fr; gap: 24px; }
  .watermark-logo { font-size: clamp(3.5rem, 14vw, 7rem); }
}

.campus-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

.campus-track-wrap {
  width: min(100%, 1180px);
  text-align: center;
}

.campus-heading {
  margin-bottom: 28px;
  color: #0f172a;
  font-family: 'Host Grotesk', sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0;
}

.campus-heading strong { font-weight: 800; }

.campus-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: campusMarquee 34s linear infinite;
}

.campus-track-reverse {
  margin-top: 14px;
  animation-name: campusMarqueeReverse;
  animation-duration: 34s;
}

.campus-track:hover { animation-play-state: paused; }

.campus-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: clamp(280px, 23vw, 390px);
  min-height: 132px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07), inset 0 1px 2px rgba(255, 255, 255, 0.85);
  color: rgba(15, 23, 42, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}

.campus-card img { width: clamp(76px, 6vw, 100px); height: clamp(76px, 6vw, 100px); object-fit: contain; opacity: 0.9; mix-blend-mode: multiply; }
.campus-card span { font-size: clamp(0.98rem, 1.25vw, 1.2rem); font-weight: 700; line-height: 1.25; white-space: normal; color: #0f172a; }

.campus-wordmark { flex-direction: column; gap: 3px; }
.campus-wordmark .campus-mark { font-size: 1.1rem; letter-spacing: 0.08em; }

@keyframes campusMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.store-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  padding: 13px 24px;
  border: 1px solid #0f172a;
  border-radius: 12px;
  background: #0f172a;
  color: #ffffff;
  font-family: 'Host Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
  transition: transform 0.25s ease, background 0.25s ease;
}

.store-download-button:hover { background: #000000; color: #ffffff; transform: translateY(-2px); }
.store-download-button img { width: 20px; height: 20px; object-fit: contain; }

.download-note {
  margin-top: 20px;
  padding: 9px 20px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  color: rgba(15, 23, 42, 0.7);
  font-size: 0.86rem;
}

@keyframes campusMarqueeReverse {
  from { transform: translateX(-25%); }
  to { transform: translateX(0); }
}

/* ==========================================================================
   BUILT FOR SIMPLICITY THEME — DARK BLUE TYPOGRAPHY & LIGHT BLUE CARDS
   (Inspired by Payno Fintech Design)
   ========================================================================== */
:root {
  --simplicity-navy: #0c1e3d;
  --simplicity-navy-sub: #162b4d;
  --simplicity-slate: #485c7b;
  --simplicity-muted: #627896;
  --simplicity-card-bg: rgba(243, 247, 253, 0.88);
  --simplicity-card-solid: #f3f7fd;
  --simplicity-card-border: rgba(215, 230, 248, 0.85);
  --simplicity-card-border-hover: rgba(186, 214, 245, 0.95);
  --simplicity-card-shadow: 0 4px 20px rgba(12, 30, 61, 0.04), 0 1px 3px rgba(12, 30, 61, 0.02);
  --simplicity-badge-bg: #e4effb;
  --simplicity-badge-text: #1e40af;
}

.simplicity-page-bg {
  background: #f6f9fc !important;
  color: var(--simplicity-navy);
  font-family: 'Plus Jakarta Sans', 'Host Grotesk', -apple-system, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.simplicity-main-wrapper {
  width: min(calc(100% - 32px), 1140px);
  margin: 0 auto;
  padding-top: clamp(88px, 10vw, 116px);
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.simplicity-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--simplicity-card-bg);
  border: 1px solid var(--simplicity-card-border);
  border-radius: 9999px;
  padding: 7px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--simplicity-navy);
  box-shadow: 0 2px 8px rgba(12, 30, 61, 0.03);
  margin-bottom: 18px;
}

.simplicity-pill-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
}

.simplicity-h1 {
  color: var(--simplicity-navy) !important;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-align: center;
  margin: 0 auto 12px;
  max-width: 680px;
}

.simplicity-h1 em, .simplicity-h1 .italic {
  font-style: italic;
  color: var(--simplicity-navy);
}

.simplicity-h2-sub {
  color: var(--simplicity-navy) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 auto 10px;
}

.simplicity-lead-text {
  color: var(--simplicity-slate) !important;
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
  line-height: 1.6;
  text-align: center;
  max-width: 580px;
  margin: 0 auto 28px;
}

/* Stat Cards Grid */
.simplicity-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 920px;
  margin: 12px auto 32px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .simplicity-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .simplicity-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.simplicity-stat-card {
  background: var(--simplicity-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--simplicity-card-border);
  border-radius: 20px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--simplicity-card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.simplicity-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--simplicity-card-border-hover);
  box-shadow: 0 8px 26px rgba(12, 30, 61, 0.07);
}

.simplicity-stat-val {
  color: var(--simplicity-navy);
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.simplicity-stat-lbl {
  color: var(--simplicity-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  line-height: 1.25;
}

/* General Light Blue Card */
.simplicity-card {
  background: var(--simplicity-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--simplicity-card-border);
  border-radius: 22px;
  box-shadow: var(--simplicity-card-shadow);
  transition: all 0.25s ease;
}

.simplicity-card:hover {
  transform: translateY(-2px);
  border-color: var(--simplicity-card-border-hover);
  box-shadow: 0 10px 30px rgba(12, 30, 61, 0.07);
}

/* Toggle Pill Container */
.simplicity-toggle-pill {
  background: rgba(240, 245, 252, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--simplicity-card-border);
  border-radius: 9999px;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 10px rgba(12, 30, 61, 0.03);
}

.simplicity-toggle-btn {
  border: none;
  background: transparent;
  color: var(--simplicity-slate);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.simplicity-toggle-btn.active {
  background: var(--simplicity-navy);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(12, 30, 61, 0.2);
}

/* Cloud Background Animation */
.simplicity-cloud-drift {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
