@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700&family=Syne:wght@500;700;800&display=swap');

:root {
  --bg-dark: #020509;
  --bg-dark-alt: #0a0f1a;
  --bg-panel: rgba(17, 24, 39, 0.4);
  --bg-panel-solid: #111827;
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  /* Increased contrast from #a3c2e0 */
  --text-dim: #94a3b8;
  --accent-blue: #3b82f6;
  --accent-cyan: #38bdf8;
  --accent-mint: #10b981;
  --accent-warm: #f59e0b;
  --accent-pink: #ec4899;
  --accent-violet: #8b5cf6;

  --font-head: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 40px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  --max-width: 1200px;

  /* Transition tokens */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.15s;
  --duration-base: 0.3s;
  --duration-slow: 0.5s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ACCESSIBILITY */
.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--accent-blue);
  color: #fff;
  padding: 12px 24px;
  z-index: 10000;
  font-weight: bold;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

@media (prefers-reduced-motion: reduce) {

  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* FOCUS-VISIBLE (Keyboard Accessibility) */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.btn:focus-visible,
.nav-pill-btn:focus-visible,
.desktop-nav a:focus-visible,
.brand.nav-pill:focus-visible {
  border-radius: 9999px;
}

.faq-item summary:focus-visible {
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

input[type="range"]:focus-visible {
  outline: none;
}

input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px var(--accent-cyan), 0 0 15px rgba(16, 185, 129, 0.6);
}

input[type="range"]:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px var(--accent-cyan), 0 0 15px rgba(16, 185, 129, 0.6);
}

/* UTILITIES */
.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-cyan {
  color: var(--accent-cyan);
}

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

.text-blue {
  color: var(--accent-blue);
}

.text-warm {
  color: var(--accent-warm);
}

.section-alt {
  background-color: var(--bg-dark-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.kicker {
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  letter-spacing: -0.05em;
  /* Fixed tight kerning */
  line-height: 1;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 65ch;
  font-weight: 400;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  min-height: 48px;
  /* Touch target size */
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg-dark);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Active press states */
.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.nav-pill-btn:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* GLASS PANELS */
.glass-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* EFFECTS */
.noise-overlay {
  position: fixed;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
  opacity: 0.05;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

.bg-grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* HEADER & NAV */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding-top: 1.5rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  padding-top: 1rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}

.nav-pill {
  background: rgba(30, 30, 35, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand.nav-pill {
  padding: 0.5rem 1.4rem;
}

.brand-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: 0.04em;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.desktop-nav.nav-pill {
  padding: 0.25rem;
  gap: 0.25rem;
}

.desktop-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--duration-base) var(--ease-out);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  display: inline-block;
  margin: 0;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-pill-btn {
  border-radius: 9999px;
  background: rgba(30, 30, 35, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all var(--duration-base) var(--ease-out);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.nav-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 1002;
}

.mobile-menu-toggle.nav-pill {
  background: rgba(30, 30, 35, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out);
}

/* Hamburger → X morph */
[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

[aria-expanded="true"] .hamburger-line:nth-child(2) {
  transform: scaleX(0);
  opacity: 0;
}

[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 1001;
  /* Fixed z-index issue */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  width: 100%;
  padding: 0 2rem;
}

.mobile-nav-link {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

.mobile-nav-overlay.is-active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-overlay.is-active .mobile-nav-link:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-nav-overlay.is-active .mobile-nav-link:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-nav-overlay.is-active .mobile-nav-link:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-nav-overlay.is-active .mobile-nav-link:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-nav-overlay.is-active .mobile-nav-menu .btn {
  opacity: 0;
  animation: fadeInUp 0.3s var(--ease-out) 0.5s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* INTRO SECTION */
.intro-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
  z-index: 10;
}

.intro-bg-effect {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.intro-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}

.intro-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.scroll-indicator span {
  font-family: var(--font-head);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  margin-top: 8px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(10px);
    opacity: 0.2;
  }
}

/* LOOP ENTRANCE (inside pinned intro) */
.loop-entrance-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-color: var(--bg-dark);
  opacity: 0;
}

.loop-entrance-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: none;
}

.loop-entrance-bg-1 {
  opacity: 1;
}

.loop-entrance-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-dark-alt) 0%, transparent 15%, transparent 85%, var(--bg-dark-alt) 100%),
    linear-gradient(90deg, rgba(10, 15, 26, 0.7) 0%, transparent 40%, transparent 60%, rgba(10, 15, 26, 0.7) 100%);
  z-index: 1;
}

.loop-entrance-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  padding-top: 20vh;
}

.loop-entrance-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  width: 50%;
  flex-shrink: 0;
  margin-bottom: 0;
}

.loop-entrance-steps {
  width: 50%;
  position: relative;
  min-height: 40vh;
}

.loop-entrance-step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
}

.loop-entrance-step h3 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.loop-entrance-step p {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: #fff;
  line-height: 1.6;
  max-width: 500px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  filter: blur(80px);
  z-index: -1;
  animation: pulse-mesh 15s ease-in-out infinite alternate;
}

@keyframes pulse-mesh {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.hero-organic {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 750px;
  padding-right: 2rem;
  background: radial-gradient(circle at left, rgba(2, 5, 9, 0.4) 0%, transparent 60%);
  border-radius: 24px;
}

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

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--accent-pink) 30%, var(--accent-violet) 70%, var(--accent-cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.hero-desc {
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-badge-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-mint);
}

.trust-badge-item .stars {
  color: var(--accent-warm);
  letter-spacing: 1px;
}

/* CSS PHONE MOCKUP */
.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  perspective: 1500px;
  width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.css-phone {
  width: 320px;
  height: 650px;
  border-radius: 40px;
  background: #000;
  border: 12px solid #1a1a1a;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 0 2px #333;
  position: relative;
  overflow: hidden;
  transform: rotateY(-20deg) rotateX(15deg) translateZ(0);
  transform-style: preserve-3d;
  z-index: 2;
}

.css-phone.interactive-3d {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.css-phone.interactive-3d:hover {
  transform: rotateY(-10deg) rotateX(5deg) translateZ(30px);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #1a1a1a;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 10;
}

.phone-screen {
  background: linear-gradient(180deg, #0a0f1a 0%, #020509 100%);
  height: 100%;
  width: 100%;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 0 5px;
}

.phone-balance-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 20px;
}

.phone-balance {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.phone-chart {
  height: 100px;
  width: 100%;
  margin: 20px 0;
}

.chart-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawLine 3s ease forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.phone-alert {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.phone-alert.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.alert-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.phone-alert.success .alert-icon {
  background: var(--accent-mint);
  color: #000;
}

.alert-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.alert-text strong {
  color: #fff;
}

.alert-text span {
  color: var(--text-muted);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  animation: float-complex 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.25);
  top: -10%;
  right: -10%;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(236, 72, 153, 0.2);
  bottom: -20%;
  left: -20%;
  animation-delay: -6s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(6, 182, 212, 0.2);
  top: 40%;
  left: 20%;
  animation-duration: 15s;
}

@keyframes float-complex {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, -20px) scale(1.1);
  }

  100% {
    transform: translate(-20px, 40px) scale(0.9);
  }
}

/* PROOF SECTION (MARQUEE) */
.proof-section {
  padding: 4rem 0;
  overflow: hidden;
}

.proof-label {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  color: var(--text-dim);
  font-weight: 700;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

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

.bank-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
  margin: 0 3rem;
  display: inline-flex;
  align-items: center;
}

.bank-logo img {
  height: 48px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.bank-logo:hover {
  color: #fff;
}

.bank-logo:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* STATS SECTION */
.stats-section {
  padding: 6rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 500;
}

/* THE LOOP (SCROLL-JACKED) */
.loop-section {
  padding: 8rem 0;
  position: relative;
  background-color: var(--bg-dark);
}

/* Loop background image crossfade */
.loop-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.loop-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s var(--ease-smooth), transform 6s var(--ease-smooth);
  will-change: opacity, transform;
}

.loop-bg-img.is-active {
  opacity: 0.2;
  transform: scale(1);
}

.loop-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-dark-alt) 0%, transparent 15%, transparent 85%, var(--bg-dark-alt) 100%),
    linear-gradient(90deg, rgba(10, 15, 26, 0.7) 0%, transparent 40%, transparent 60%, rgba(10, 15, 26, 0.7) 100%);
  z-index: 1;
}

.loop-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}

.loop-sticky {
  position: sticky;
  top: 20vh;
  width: 50%;
}

.loop-sticky h2 {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.loop-visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-top: 2rem;
}

.loop-svg {
  width: 100%;
  height: auto;
}

.loop-progress {
  transition: stroke-dashoffset 0.5s ease;
  animation: organic-pulse 4s ease-in-out infinite alternate;
}

@keyframes organic-pulse {
  0% {
    filter: url(#glow-heavy) drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
  }

  100% {
    filter: url(#glow-heavy) drop-shadow(0 0 25px rgba(56, 189, 248, 0.7));
    transform: scale(1.02);
    transform-origin: center;
  }
}

.track-rotate-slow {
  transform-origin: center;
  animation: spin 30s linear infinite;
}

.track-rotate-fast {
  transform-origin: center;
  animation: spin-reverse 20s linear infinite;
}

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

@keyframes spin-reverse {
  100% {
    transform: rotate(-360deg);
  }
}

.node {
  transition: all 0.5s ease;
  transform-origin: center;
}

.node-1 {
  transform-origin: 200px 40px;
}

.node-2 {
  transform-origin: 360px 200px;
}

.node-3 {
  transform-origin: 200px 360px;
}

.node-4 {
  transform-origin: 40px 200px;
}

.loop-content {
  width: 50%;
  padding-bottom: 30vh;
}

.loop-step {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.loop-step h3,
.loop-step p {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.loop-step.dimmed {
  opacity: 0.2;
  transform: scale(0.95);
}

/* AI COACH SHOWCASE */
.ai-coach-section {
  padding: 8rem 0;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-list {
  list-style: none;
  margin-top: 2rem;
}

.feature-list li {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1.1rem;
}

.check-icon {
  color: var(--accent-mint);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.image-glow-container {
  position: relative;
  border-radius: var(--radius-md);
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-glow-container::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.2), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.rich-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

.chat-ui {
  padding: 1.5rem;
  width: 100%;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-mint);
  border-radius: 50%;
  margin-left: 0.5rem;
}

.chat-bubble {
  padding: 1rem;
  border-radius: 16px;
  margin-bottom: 1rem;
  max-width: 85%;
  font-size: 0.95rem;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out);
}

.chat-bubble:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.chat-bubble.bot {
  background: rgba(255, 255, 255, 0.05);
  border-bottom-left-radius: 4px;
}

.chat-bubble.user {
  background: var(--accent-blue);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.chat-bubble.success {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--accent-mint);
}

/* HORIZONTAL SCROLL FEATURES */
.horizontal-scroll-section {
  padding: 8rem 0;
  overflow: hidden;
}

.horizontal-container-wrapper {
  width: 100%;
}

.horizontal-container {
  display: flex;
  width: 300vw;
  gap: 2rem;
  padding: 0 2rem;
}

.horizontal-panel {
  width: 100vw;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-visual {
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  mix-blend-mode: screen;
}

.feature-svg {
  width: 200px;
  height: 200px;
}

.panel-content {
  padding: 3rem;
}

/* BENTO GRID */
.bento-section {
  padding: 8rem 0;
  overflow: hidden;
}

.bento-section-title {
  display: inline-block;
}

.text-gradient-shimmer {
  background: linear-gradient(110deg, #ffffff 10%, #ec4899 35%, #8b5cf6 60%, #38bdf8 85%, #ffffff 100%);
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: txt-shimmer 6s linear infinite;
  display: inline-block;
  position: relative;
}

.text-gradient-shimmer::after {
  content: "Master your money.";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(16px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.bento-section.is-visible .text-gradient-shimmer::after {
  opacity: 0.6;
}

@keyframes txt-shimmer {
  to {
    background-position: 200% center;
  }
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  grid-auto-flow: dense;
}

.bento-item {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-slow) var(--ease-smooth), box-shadow var(--duration-slow) var(--ease-smooth);
  /* Added border for glow containment, replaced the hard-coded one in .glass-panel */
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-panel);
}

.bento-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.bento-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 40px -10px rgba(139, 92, 246, 0.2),
    /* Subtle theme glow */
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: rgba(17, 24, 39, 0.5);
  /* Slightly darker on hover to make elements pop */
}

.bento-item:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.bento-cursor-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
      rgba(255, 255, 255, 0.06),
      transparent 40%);
}

.bento-item:hover .bento-cursor-glow {
  opacity: 1;
}

.bento-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.bento-item:hover h3 {
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.bento-item p {
  font-size: 0.95rem;
  margin: 0;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.bento-item:hover p {
  color: var(--text-main);
}

.bento-large {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 400px;
}

.bento-tall {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 400px;
}

.bento-small {
  grid-column: span 4;
  grid-row: span 1;
  min-height: 250px;
}

.bento-wide {
  grid-column: span 8;
  grid-row: span 1;
  min-height: 250px;
}

.bento-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 50%);
  z-index: 0;
  transition: opacity 0.5s ease, filter 0.5s ease;
  opacity: 0.7;
}

.bento-item:hover .bento-bg-gradient {
  opacity: 1;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1) 40%, transparent 80%);
  filter: blur(20px);
}

/* Bento background image */
.bento-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.bento-has-bg:hover .bento-bg-image {
  opacity: 0.45;
}

.bento-has-bg .bento-text-content h3,
.bento-has-bg .bento-text-content p {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.bento-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.bento-img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  opacity: 0.9;
}

.bento-content {
  position: relative;
  z-index: 2;
}

.bento-icon {
  width: 48px;
  height: 48px;
  margin-bottom: auto;
  position: relative;
  z-index: 2;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 2;
}

.bento-text-content {
  max-width: 60%;
}

.highlight-border {
  border: 1px solid var(--accent-cyan);
  box-shadow: inset 0 0 30px rgba(56, 189, 248, 0.1);
}

.radar-animation {
  width: 80px;
  height: 80px;
  position: relative;
}

.radar-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  animation: radar 2s infinite ease-out;
}

.radar-ring.delay {
  animation-delay: 1s;
}

.radar-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

@keyframes radar {
  0% {
    transform: scale(0.1);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* CALCULATOR */
.calculator-section {
  padding: 8rem 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.calc-ui {
  padding: 3rem;
}

.calc-ui label {
  font-weight: 700;
  color: #e2e8f0;
  /* High contrast */
  display: block;
}

.calc-value {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 1rem 0;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent-mint);
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 1rem 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-mint);
  cursor: pointer;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
}

input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(0.95);
  box-shadow: 0 0 25px rgba(16, 185, 129, 1);
}

input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-mint);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

input[type="range"]:hover::-moz-range-thumb {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
}

input[type="range"]:active::-moz-range-thumb {
  transform: scale(0.95);
  box-shadow: 0 0 25px rgba(16, 185, 129, 1);
}

.calc-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.calc-result-label {
  color: #e2e8f0;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.calc-future-value {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-mint);
  line-height: 1;
  margin-bottom: 1rem;
}

.calc-disclaimer {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0;
}

/* COMPARISON ARENA */
.comparison-section {
  padding: 10rem 0;
  position: relative;
  background: var(--bg-dark);
  z-index: 1;
  overflow: hidden;
}

.comp-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.06) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

.comp-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
}

.mb-xl {
  margin-bottom: 4rem;
}

.comp-table-wrapper {
  overflow-x: auto;
  padding: 2rem 1rem;
  margin: 0 -1rem;
  /* Allows shadow and glow to extend without clipping during scroll */
}

.comp-table {
  min-width: 900px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  background: rgba(17, 24, 39, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  /* Clips corners */
}

.comp-header,
.comp-row {
  display: contents;
}

.comp-row .comp-cell {
  transition: background 0.3s ease, opacity 0.4s ease, transform 0.4s ease;
}

.comp-cell {
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
  transition: background 0.3s ease;
}

.comp-row:hover .comp-cell {
  background: rgba(255, 255, 255, 0.04);
}

.comp-row:hover .comp-cell.label {
  color: #ffffff;
}

.comp-row:hover .highlight-cell {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.15) 100%);
  border-left: 2px solid;
  border-image: linear-gradient(180deg, var(--accent-violet), var(--accent-pink)) 1;
}

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

.comp-cell.empty {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Column Text Styles */
.col-title {
  font-family: var(--font-head);
  font-weight: 600;
  color: #a1a1aa;
  font-size: 1.1rem;
}

.comp-cell.label {
  font-weight: 600;
  color: #f4f4f5;
  font-size: 1.1rem;
}

.comp-cell.dimmed {
  color: #71717a;
}

/* Whistl Highlight Column */
.highlight-header {
  justify-content: center;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  border-left: 1px solid rgba(139, 92, 246, 0.2);
  border-right: 1px solid rgba(59, 130, 246, 0.2);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
  position: relative;
}

.highlight-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #3b82f6);
}

.whistl-badge {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
  letter-spacing: 0.5px;
}

.highlight-cell {
  justify-content: center;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.08) 100%);
  font-weight: 700;
  text-align: center;
  border-left: 1px solid rgba(139, 92, 246, 0.2);
  border-right: 1px solid rgba(59, 130, 246, 0.2);
}

/* Hover effects shouldn't override the highlight cell's gradient heavily */
.comp-row:hover .highlight-cell {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.12) 100%);
}

.comp-row:last-child .highlight-cell {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.15) 100%);
}

/* TESTIMONIALS */
.testimonials-section {
  padding: 8rem 0;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.test-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.test-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(139, 92, 246, 0.1);
}

.test-card:hover .author-avatar {
  background: rgba(139, 92, 246, 0.3);
  transition: background var(--duration-base) var(--ease-out);
}

.test-card .stars {
  color: var(--accent-warm);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.test-card p {
  color: var(--text-main);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: bold;
  font-size: 1.2rem;
}

.author-info strong {
  display: block;
  color: #fff;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* TRUST FORTRESS */
.trust-section {
  padding: 8rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.trust-visual {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  padding: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glow-bg {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--accent-mint);
  filter: blur(80px);
  opacity: 0.2;
  border-radius: 50%;
}

.trust-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 250px;
}

.badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: #fff;
}

.trust-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* TRUST SECTION */
.trust-section {
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}

.trust-glow {
  position: absolute;
  top: 50%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.trust-left {
  position: sticky;
  top: 8rem;
}

.trust-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-align: left;
}

.trust-title .overflow-hidden {
  justify-content: flex-start;
}

.trust-desc {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.trust-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trust-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.4s var(--ease-smooth);
}

.trust-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(139, 92, 246, 0.2);
  transform: translateX(4px);
}

.trust-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

.trust-card-icon svg {
  width: 22px;
  height: 22px;
}

.trust-card-body h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.trust-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* FAQ */
.faq-section {
  padding: 8rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.faq-item summary {
  padding: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: #fff;
  min-height: 48px;
  /* Touch target */
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-smooth);
  padding: 0 1.5rem;
}

details[open]>.faq-content {
  grid-template-rows: 1fr;
  padding-bottom: 1.5rem;
}

.faq-content>p {
  overflow: hidden;
  min-height: 0;
}

.faq-item summary .icon {
  transition: transform var(--duration-base) var(--ease-out);
  display: inline-block;
}

details[open]>summary .icon {
  transform: rotate(45deg);
}

/* CTA SECTION */
.cta-section {
  padding: 4rem 0 8rem;
}

.cta-box {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #031529 0%, #0c2b4e 50%, #1e6ce2 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--duration-slow) var(--ease-smooth), box-shadow var(--duration-slow) var(--ease-smooth);
}

.cta-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(30, 108, 226, 0.25), 0 0 60px rgba(59, 130, 246, 0.15);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
  opacity: 0.15;
  mix-blend-mode: overlay;
}

.cta-content-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-actions {
  margin-top: 2.5rem;
}

/* WAITLIST FORM */
.waitlist-form {
  margin-top: 2.5rem;
}

.waitlist-input-group {
  display: flex;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px;
  transition: all 0.3s ease;
}

.waitlist-input {
  flex: 1;
  padding: 0.5rem 1.25rem;
  border: none;
  background: transparent !important;
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
}

/* Fix browser autofill background */
.waitlist-input:-webkit-autofill,
.waitlist-input:-webkit-autofill:hover,
.waitlist-input:-webkit-autofill:focus,
.waitlist-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #091a30 inset !important;
  -webkit-text-fill-color: #fff !important;
  border-radius: 100px;
}

.waitlist-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.waitlist-input-group:focus-within {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.waitlist-input-group .btn {
  margin: 0;
  border-radius: 100px;
  padding: 0.8rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  min-height: 48px;
}

.waitlist-privacy {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.waitlist-success p {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2.5rem;
}

@media (max-width: 480px) {
  .waitlist-input-group {
    flex-direction: column;
    border-radius: 20px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .waitlist-input {
    width: 100%;
    padding: 0.8rem 1rem;
    min-height: 50px;
  }

  .waitlist-input-group .btn {
    width: 100%;
    border-radius: 14px;
    margin-top: 4px;
  }
}

/* FOOTER */
.site-footer {
  background: var(--bg-panel-solid);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.abn-text {
  font-size: 0.85rem !important;
  color: var(--text-dim) !important;
  margin-top: 0.5rem !important;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  color: #fff;
  font-family: var(--font-head);
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 14px 0;
  /* 44px touch target fix */
  transition: color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
  line-height: 1;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.badge-hiring {
  background: var(--accent-mint);
  color: var(--bg-dark);
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 700;
  margin-left: 8px;
}

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

.footer-copy p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.footer-copy .disclaimer {
  font-size: 0.8rem;
  color: #64748b;
}

.footer-badges {
  display: flex;
  gap: 1.5rem;
}

.footer-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
}

/* NEW HERO IMAGE CONTAINER */
.hero-product-container {
  width: 320px;
  height: 650px;
  border-radius: 40px;
  border: 10px solid #111;
  background: #000;
  box-shadow:
    -20px 40px 80px rgba(0, 0, 0, 0.8),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  transform: rotateY(-20deg) rotateX(15deg) translateZ(0);
  transform-style: preserve-3d;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
}

.hero-product-container.interactive-3d:hover {
  transform: rotateY(-10deg) rotateX(5deg) translateZ(40px) scale(1.05);
  box-shadow: -30px 60px 100px rgba(0, 0, 0, 0.9), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.hero-img-cropped {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.glass-glare {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  pointer-events: none;
  animation: glare 8s infinite;
}

@keyframes glare {

  0%,
  60% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

/* BACKGROUND ANALYTICS */
.bento-section.relative {
  position: relative;
}

.background-analytics {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 800px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-5deg);
}

.background-analytics img {
  width: 100%;
  height: auto;
  filter: blur(2px) sepia(100%) hue-rotate(180deg) saturate(200%);
  mix-blend-mode: screen;
}

/* RESPONSIVE */
@media (max-width: 992px) {

  .hero-grid,
  .loop-container,
  .ai-grid,
  .calc-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .loop-sticky {
    position: relative;
    width: 100%;
    top: 0;
    margin-bottom: 2rem;
  }

  .loop-content {
    width: 100%;
    padding-bottom: 0;
  }

  .loop-step {
    min-height: 30vh;
  }

  .bento-large,
  .bento-tall,
  .bento-small,
  .bento-wide {
    grid-column: span 12;
    grid-row: auto;
    min-height: auto;
  }

  .horizontal-container {
    width: 100%;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .horizontal-panel {
    width: 85vw;
    flex-shrink: 0;
    scroll-snap-align: center;
    margin-right: 1rem;
  }

  .test-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .horizontal-scroll-section,
  .bento-section,
  .calculator-section,
  .testimonials-section,
  .faq-section {
    padding: 5rem 0;
  }

  .comparison-section {
    padding: 6rem 0;
  }

  .trust-section {
    padding: 6rem 0;
  }

  .cta-section {
    padding: 3rem 0 5rem;
  }

  .panel-visual {
    height: 250px;
  }

  .comp-table {
    min-width: 0;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  }

  .comp-cell {
    padding: 1.25rem 1rem;
    font-size: 0.9rem;
  }

  .comp-cell.label {
    font-size: 0.95rem;
  }

  .col-title {
    font-size: 0.9rem;
  }

  .whistl-badge {
    font-size: 1rem;
    padding: 0.4rem 1rem;
  }
}

@media (max-width: 768px) {

  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-cta {
    flex-direction: column;
  }

  .w-full-mobile {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .badges-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Spacing reductions */
  .horizontal-scroll-section,
  .bento-section,
  .calculator-section,
  .testimonials-section,
  .comparison-section {
    padding: 4rem 0;
  }

  .trust-section {
    padding: 5rem 0;
  }

  .faq-section {
    padding: 4rem 0;
  }

  .site-footer {
    padding: 3rem 0 1.5rem;
  }

  .cta-box {
    padding: 3rem 1.5rem;
  }

  .bento-item {
    padding: 1.5rem;
  }

  .test-card {
    padding: 1.5rem;
  }

  .trust-card {
    padding: 1.5rem;
  }

  .panel-visual {
    height: 200px;
  }

  .panel-content {
    padding: 2rem 1.5rem;
  }

  .loop-step {
    min-height: 20vh;
  }

  .loop-entrance-content {
    flex-direction: column;
    gap: 2rem;
    padding-top: 15vh;
  }

  .loop-entrance-title {
    width: 100%;
  }

  .loop-entrance-steps {
    width: 100%;
  }

  /* Trust grid mobile */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .trust-left {
    position: static;
  }

  .trust-title {
    text-align: left;
  }

  /* Horizontal panels -- stack vertically on phones */
  .horizontal-container {
    width: 100%;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
    overflow-x: visible;
  }

  .horizontal-panel {
    width: 100%;
    flex-shrink: 1;
    scroll-snap-align: none;
    margin-right: 0;
  }

  .horizontal-container-wrapper {
    overflow-x: visible;
  }

  /* Comparison table -- further reduce */
  .comp-table {
    min-width: 0;
  }

  .comp-cell {
    padding: 1rem 0.75rem;
    font-size: 0.85rem;
  }

  .col-title {
    font-size: 0.8rem;
  }

  .whistl-badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.8rem;
  }
}

@media (max-width: 480px) {

  /* Small phone overrides */
  .horizontal-scroll-section,
  .bento-section,
  .calculator-section,
  .testimonials-section,
  .faq-section,
  .comparison-section,
  .trust-section {
    padding: 3rem 0;
  }

  .cta-section {
    padding: 2rem 0 3rem;
  }

  .cta-box {
    padding: 2rem 1rem;
    border-radius: var(--radius-md);
  }

  .bento-item {
    padding: 1.25rem;
  }

  .loop-step {
    min-height: auto;
    padding: 1.5rem 0;
  }

  .comp-table {
    min-width: 0;
  }

  .comp-table-wrapper {
    margin: 0;
  }

  .comp-cell {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }

  .btn-large {
    width: 100%;
  }

  .panel-visual {
    height: 180px;
  }

  .panel-content {
    padding: 1.5rem 1rem;
  }

  .panel-content h3 {
    font-size: 1.25rem;
  }

  .site-footer {
    padding: 2rem 0 1rem;
  }

  .footer-grid {
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .calc-ui {
    padding: 1.5rem;
  }

  .trust-card {
    padding: 1.25rem;
    gap: 1rem;
  }
}

/* --- BENTO CSS GRAPHICS --- */

.bento-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(139, 92, 246, 0.1) 40%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: pulse-ambient 8s ease-in-out infinite alternate;
}

@keyframes pulse-ambient {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

.bento-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: 180px;
  position: relative;
  z-index: 1;
}

.bento-visual-tall {
  min-height: 240px;
  align-items: flex-start;
  padding-top: 20px;
}

/* Health Score Ring */
.health-score-ring {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-item:hover .health-score-ring {
  transform: scale(1.05);
}

.health-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.health-progress-ring {
  /* Animation handled by GSAP ScrollTrigger */
  transition: stroke 0.3s ease, filter 0.3s ease;
}

.health-score-value {
  position: relative;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.health-score-value .score-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.health-score-value .score-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Weekly Plan Bars */
.weekly-plan-bars {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 10px;
}

.plan-bar-item {
  width: 100%;
}

.plan-bar-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.plan-category {
  color: var(--text-main);
}

.plan-amount {
  color: var(--text-dim);
}

.plan-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.plan-bar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0%;
  animation: slideInBar 1.5s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
  animation-delay: 0.2s;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@keyframes slideInBar {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }

  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.pulse-warning {
  animation: slideInBar 1.5s cubic-bezier(0.1, 0.8, 0.2, 1) forwards, pulseWarning 2s ease-in-out infinite alternate !important;
}

@keyframes pulseWarning {
  0% {
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
    opacity: 0.9;
  }

  100% {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.8);
    opacity: 1;
  }
}