/* Dock Navigator — Premium Landing */
:root {
  --primary: #32BDEA;
  --primary-d: #1a9fd4;
  --secondary: #FF7E41;
  --sky: #158df7;
  --purple: #4731b6;
  --success: #78C091;
  --dark: #01041b;
  --dark-2: #0a1228;
  --dark-3: #121f3d;
  --light: #f0f4fc;
  --white: #fff;
  --text: #2d3a52;
  --muted: #6b7a94;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 20px;
  --glow: 0 0 60px rgba(50, 189, 234, 0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

body.landing-light-section { /* sections override locally */ }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(1240px, 92vw); margin: 0 auto; }

/* ── Ambient canvas ── */
#ambientCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.page-wrap { position: relative; z-index: 1; }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0;
  z-index: 300;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--purple), var(--primary));
  background-size: 300% 100%;
  animation: progressShine 3s linear infinite;
  box-shadow: 0 0 20px var(--primary);
}
@keyframes progressShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.cursor-glow {
  position: fixed;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50,189,234,0.12) 0%, rgba(255,126,65,0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s;
}
body.mouse-active .cursor-glow { opacity: 1; }

/* ── Nav ── */
.site-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: min(1240px, calc(92vw - 32px));
  padding: 10px 12px 10px 20px;
  border-radius: 100px;
  transition: all 0.5s var(--ease);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(1, 4, 27, 0.08);
  box-shadow: 0 16px 48px rgba(1, 4, 27, 0.08);
}
.site-nav.scrolled {
  background: rgba(1, 4, 27, 0.75);
  backdrop-filter: blur(24px) saturate(1.5);
  border-color: rgba(50, 189, 234, 0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
  top: 12px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  transition: color 0.4s var(--ease);
}
.site-nav.scrolled .brand { color: var(--white); }
.brand img { height: 40px; filter: drop-shadow(0 4px 16px rgba(50,189,234,0.4)); }
.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.brand-name em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(1, 4, 27, 0.72);
  padding: 10px 16px;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.nav-links a:hover {
  color: var(--dark);
  background: rgba(50,189,234,0.12);
}
.site-nav.scrolled .nav-links a {
  color: rgba(255,255,255,0.7);
}
.site-nav.scrolled .nav-links a:hover {
  color: var(--white);
  background: rgba(50,189,234,0.15);
}
.nav-cta {
  padding: 11px 24px !important;
  border-radius: 100px !important;
  font-size: 0.88rem !important;
}
.nav-toggle {
  display: none;
  background: rgba(1, 4, 27, 0.05);
  border: 1px solid rgba(1, 4, 27, 0.12);
  border-radius: 12px;
  color: var(--dark);
  font-size: 1.4rem;
  padding: 8px 11px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.site-nav.scrolled .nav-toggle {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: white;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--sky));
  color: var(--dark);
  box-shadow: 0 8px 32px rgba(50,189,234,0.45), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(50,189,234,0.55);
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  border-color: var(--primary);
  background: rgba(50,189,234,0.12);
}
.btn-glow {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 0 0 2px rgba(50,189,234,0.3), 0 20px 50px rgba(0,0,0,0.4);
}
.btn-glow:hover { box-shadow: 0 0 0 2px var(--primary), 0 24px 60px rgba(50,189,234,0.25); }

/* ── Hero ── */
.video-hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 0;
}
.video-cinema {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.video-cinema::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg, var(--primary), var(--secondary), var(--purple), var(--sky), var(--primary));
  animation: borderSpin 8s linear infinite;
  z-index: 0;
  opacity: 0.35;
}
@keyframes borderSpin { to { transform: rotate(360deg); } }
.video-cinema video {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  object-fit: cover;
  z-index: 1;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(1,4,27,0.95) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(71,49,182,0.35) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(50,189,234,0.2) 0%, transparent 45%),
    linear-gradient(180deg, rgba(1,4,27,0.5) 0%, rgba(1,4,27,0.15) 40%, rgba(1,4,27,0.9) 100%);
}
.hero-spotlight {
  position: absolute;
  width: 800px; height: 800px;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(50,189,234,0.15) 0%, transparent 65%);
  z-index: 2;
  animation: spotlightPulse 6s ease-in-out infinite;
}
@keyframes spotlightPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.video-controls {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 64px;
  padding: 18px 10px;
  border-radius: 24px;
  background: rgba(1, 4, 27, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(50, 189, 234, 0.25);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.video-ctrl-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.video-ctrl-btn:hover, .video-ctrl-btn.active {
  background: rgba(50,189,234,0.25);
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.08);
}
.video-ctrl-line {
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.video-volume-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 80px;
  flex-shrink: 0;
}
.video-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 72px;
  height: 4px;
  margin: 0;
  padding: 0;
  transform: rotate(-90deg);
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  cursor: pointer;
}
.video-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: min(1240px, 92vw);
  margin: 0 auto;
  padding: 160px 0 120px;
}
.hero-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  margin-bottom: 24px;
  border-radius: 100px;
  border: 1px solid rgba(50,189,234,0.5);
  background: rgba(1,4,27,0.6);
  backdrop-filter: blur(20px);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.4s var(--ease);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  animation: togglePulse 3s ease-in-out infinite;
}
@keyframes togglePulse {
  0%, 100% { box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 6px rgba(50,189,234,0.15); }
}
.hero-toggle-btn:hover, .hero-toggle-btn.is-active {
  background: rgba(50,189,234,0.2);
  border-color: var(--primary);
  box-shadow: var(--glow);
}
.hero-panel {
  max-height: 900px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.7s var(--ease), opacity 0.5s ease, transform 0.6s var(--ease);
}
.hero-panel.is-collapsed {
  max-height: 0;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(50,189,234,0.35);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(120,192,145,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(120,192,145,0); }
}
.hero-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--white);
  max-width: 920px;
  margin-bottom: 28px;
}
.hero-headline .highlight {
  position: relative;
  display: inline;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textFlow 4s linear infinite;
}
@keyframes textFlow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--primary), transparent);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Post-hero: ticker on top, stat cards below */
.post-hero-stack {
  position: relative;
  z-index: 30;
  display: flex;
  flex-direction: column;
  background: var(--dark-2);
  padding-bottom: 120px;
}
.ticker-bar {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: var(--dark-2);
  border-top: 1px solid rgba(50,189,234,0.15);
  border-bottom: 1px solid rgba(50,189,234,0.15);
  padding: 18px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 45s linear infinite;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.ticker-inner {
  display: flex;
  gap: 56px;
  flex-shrink: 0;
  padding-right: 56px;
}
.ticker-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.ticker-chip i {
  color: var(--primary);
  font-size: 1.2rem;
  padding: 8px;
  background: rgba(50,189,234,0.12);
  border-radius: 10px;
  animation: iconGlow 3s ease-in-out infinite;
}
.ticker-chip:nth-child(odd) i { animation-delay: -1s; }
@keyframes iconGlow {
  0%, 100% { box-shadow: 0 0 0 transparent; }
  50% { box-shadow: 0 0 16px rgba(50,189,234,0.35); }
}

/* Stats row — directly below ticker */
.stats-float {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  padding: 44px 0 24px;
}
.hero-fade-bridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  z-index: 3;
  background: linear-gradient(180deg, transparent 0%, var(--light) 100%);
  pointer-events: none;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}
.stat-card {
  background-color: rgba(10, 18, 40, 0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(50,189,234,0.28);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  opacity: 0;
}
.stats-row.visible .stat-card.card-visible:nth-child(1) { animation-delay: 0.05s; }
.stats-row.visible .stat-card.card-visible:nth-child(2) { animation-delay: 0.12s; }
.stats-row.visible .stat-card.card-visible:nth-child(3) { animation-delay: 0.19s; }
.stats-row.visible .stat-card.card-visible:nth-child(4) { animation-delay: 0.26s; }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  z-index: 3;
}
.stat-card.premium-card:hover {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-14px) scale(1.04);
  border-color: rgba(50,189,234,0.65);
  box-shadow: 0 28px 70px rgba(50,189,234,0.35), 0 0 0 1px rgba(50,189,234,0.2);
}
.stat-card:hover::before {
  transform: scaleX(1);
  animation: barFlow 2s linear infinite;
}
@keyframes barFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.stat-card i {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  display: block;
  transition: transform 0.5s var(--ease), filter 0.5s;
}
.stat-card:hover i {
  transform: scale(1.2) rotate(-10deg) translateZ(20px);
  filter: drop-shadow(0 8px 16px rgba(50,189,234,0.5));
}
.stat-card:hover h4 {
  transform: translateY(-2px);
  transition: transform 0.4s var(--ease);
}
.stat-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.stat-card p { font-size: 0.82rem; color: var(--muted); }

/* Sections shared */
.section-block {
  padding: 60px 0;
  position: relative;
}
.section-block.light {
  background: var(--light);
  color: var(--text);
  position: relative;
  z-index: 20;
}
.section-block.dark {
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}
.section-num {
  position: absolute;
  top: 40px;
  right: 5%;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(50,189,234,0.12);
  pointer-events: none;
  user-select: none;
}
.section-block.light .section-num {
  -webkit-text-stroke-color: rgba(1,4,27,0.06);
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 16px;
}
.reveal.visible .section-tag {
  animation: tagSlide 0.8s var(--ease) both;
}
@keyframes tagSlide {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
.reveal.visible .section-heading {
  animation: headingIn 0.9s var(--ease) 0.1s both;
}
@keyframes headingIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.section-block.dark .section-tag { color: var(--primary); }
.section-tag::before {
  content: '';
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}
.section-heading {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.section-block.light .section-heading { color: var(--dark); }
.section-block.dark .section-heading { color: var(--white); }
.section-desc {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
}
.section-block.dark .section-desc { color: rgba(255,255,255,0.65); }
.section-intro { margin-bottom: 64px; }
.section-intro.center { text-align: center; }
.section-intro.center .section-desc { margin: 0 auto; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Stats row: children handle their own animation */
.stats-row.reveal { opacity: 1; transform: none; transition: none; }
.stats-row.reveal:not(.visible) .stat-card:not(.card-visible) { opacity: 0; }
.reveal-left { transform: translateX(-40px); }
.reveal-left.visible { transform: translateX(0); }
.reveal-right { transform: translateX(40px); }
.reveal-right.visible { transform: translateX(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ── Premium card system (hover + scroll) ── */
@keyframes premiumScrollIn {
  0% {
    opacity: 0;
    transform: translateY(56px) scale(0.88) rotateX(14deg);
    filter: blur(12px);
  }
  60% {
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0);
  }
}
.premium-card {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  transform-style: preserve-3d;
  will-change: transform;
}
.premium-card > * {
  position: relative;
  z-index: 2;
}
/* Mouse spotlight */
.premium-card::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  left: var(--mx);
  top: var(--my);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(50, 189, 234, 0.22) 0%, rgba(255, 126, 65, 0.06) 35%, transparent 70%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.premium-card:hover::after {
  opacity: 1;
}
/* Shine sweep — uses box-shadow layer on cards that need ::after for other things */
.premium-card .card-shine-layer {
  display: none;
}
.premium-card {
  background-image: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 60%,
    transparent 100%
  );
  background-size: 250% 100%;
  background-position: 120% 0;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease),
    background-position 0.75s var(--ease);
}
.premium-card:hover {
  background-position: -30% 0;
}
.bento,
.stats-row,
.process-row,
.challenge-panel {
  perspective: 1400px;
}
.premium-card.card-visible {
  animation: premiumScrollIn 0.85s var(--ease) both;
}

/* Challenge hero */
.challenge-hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 140px 0 100px;
  background: linear-gradient(180deg, #f8f6f1 0%, #f3f0ea 45%, #ece7df 100%);
  overflow: hidden;
  scroll-margin-top: 100px;
}
.challenge-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.challenge-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.challenge-hero-glow--left {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -140px;
  background: radial-gradient(circle, rgba(50, 189, 234, 0.22) 0%, transparent 70%);
}
.challenge-hero-glow--right {
  width: 480px;
  height: 480px;
  top: 80px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 126, 65, 0.18) 0%, transparent 70%);
}
.challenge-hero-num {
  -webkit-text-stroke-color: rgba(1, 4, 27, 0.05);
  opacity: 0.9;
}
.challenge-hero-inner {
  position: relative;
  z-index: 2;
}
.challenge-hero-top {
  margin-bottom: 52px;
}
.challenge-eyebrow {
  margin-bottom: 24px;
  color: var(--primary-d);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(50, 189, 234, 0.28);
}
.challenge-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-bottom: 32px;
}
.challenge-heading {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0;
  max-width: 14ch;
}
.challenge-lead {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.75;
  color: rgba(1, 4, 27, 0.62);
  margin: 0;
  padding-top: 10px;
  max-width: 44ch;
}
.challenge-hero-btns { margin-top: 8px; }
.challenge-btn-ghost {
  background: rgba(1, 4, 27, 0.04);
  color: var(--dark);
  border: 1.5px solid rgba(1, 4, 27, 0.14);
  backdrop-filter: blur(12px);
}
.challenge-btn-ghost:hover {
  border-color: var(--primary);
  background: rgba(50, 189, 234, 0.1);
  color: var(--dark);
}
.challenge-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(1, 4, 27, 0.38);
}
.challenge-scroll-indicator .scroll-line {
  background: linear-gradient(180deg, var(--primary-d), transparent);
}

.challenge-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(1, 4, 27, 0.12);
  box-shadow: 0 22px 60px rgba(1, 4, 27, 0.06);
}
.challenge-item {
  padding: 42px 38px 38px;
  background: rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(1, 4, 27, 0.10);
  border-bottom: 1px solid rgba(1, 4, 27, 0.10);
  position: relative;
  overflow: hidden;
  opacity: 0;
}
.challenge-item:nth-child(2n) { border-right: 0; }
.challenge-item:nth-child(n+3) { border-bottom: 0; }

.challenge-item.premium-card {
  background-image: none;
}
.challenge-item.premium-card::after {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(50, 189, 234, 0.14) 0%, transparent 70%);
}
.challenge-item.premium-card:hover {
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-12px) scale(1.02);
  box-shadow: 0 32px 80px rgba(1, 4, 27, 0.10);
  z-index: 2;
}
.challenge-panel .challenge-item.reveal { opacity: 1; transform: none; transition: none; }
.challenge-item.card-visible:nth-child(1) { animation-delay: 0.05s; }
.challenge-item.card-visible:nth-child(2) { animation-delay: 0.12s; }
.challenge-item.card-visible:nth-child(3) { animation-delay: 0.19s; }
.challenge-item.card-visible:nth-child(4) { animation-delay: 0.26s; }
.challenge-item:hover .challenge-icon {
  transform: scale(1.1);
  border-color: rgba(50, 189, 234, 0.35);
  color: var(--primary-d);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), color 0.45s var(--ease);
}

.challenge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(1, 4, 27, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.45);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), color 0.45s var(--ease);
}
.challenge-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.25;
}
.challenge-item p {
  color: rgba(1, 4, 27, 0.62);
  font-size: 0.96rem;
  line-height: 1.7;
  max-width: 38ch;
  margin: 0;
}

.pain-icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 22px;
  transition: transform 0.45s var(--ease);
}
.pain-icon.c1 { background: linear-gradient(135deg, rgba(50,189,234,0.2), rgba(50,189,234,0.05)); color: var(--primary-d); }
.pain-icon.c2 { background: linear-gradient(135deg, rgba(255,126,65,0.2), rgba(255,126,65,0.05)); color: var(--secondary); }
.pain-icon.c3 { background: linear-gradient(135deg, rgba(71,49,182,0.2), rgba(71,49,182,0.05)); color: var(--purple); }

/* Solution */
.solution-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 50%, rgba(50,189,234,0.12), transparent),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(71,49,182,0.15), transparent),
    radial-gradient(ellipse 30% 50% at 60% 80%, rgba(255,126,65,0.08), transparent);
  animation: auroraShift 12s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  0% { filter: hue-rotate(0deg); opacity: 0.8; }
  100% { filter: hue-rotate(15deg); opacity: 1; }
}
.check-rows { list-style: none; margin-top: 32px; display: grid; gap: 18px; }
.check-rows li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s var(--ease);
}
.check-rows li:hover {
  background: rgba(50,189,234,0.08);
  border-color: rgba(50,189,234,0.2);
  transform: translateX(8px);
}
.check-rows i { color: var(--primary); font-size: 1.35rem; flex-shrink: 0; margin-top: 2px; }

.app-preview {
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(50,189,234,0.25);
  border-radius: 32px;
  padding: 28px;
  backdrop-filter: blur(24px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: previewFloat 7s ease-in-out infinite;
}
@keyframes previewFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.preview-dots { display: flex; gap: 8px; }
.preview-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.preview-dots span:first-child { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }
.preview-map {
  height: 220px;
  border-radius: 20px;
  background: linear-gradient(160deg, #1a2d4d, #0d1528);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(50,189,234,0.2);
}
.preview-map .grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(50,189,234,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50,189,234,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.preview-pin {
  position: absolute;
  top: 40%; left: 58%;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  color: var(--dark);
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: 14px 14px 14px 4px;
  box-shadow: var(--glow);
  z-index: 2;
  animation: pinHop 2.5s ease infinite;
}
@keyframes pinHop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.pin-wave {
  position: absolute;
  top: 48%; left: 62%;
  width: 50px; height: 50px;
  margin: -25px 0 0 -25px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  animation: waveOut 2s ease-out infinite;
}
@keyframes waveOut {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
.preview-route {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.preview-route path {
  fill: none;
  stroke: rgba(50,189,234,0.6);
  stroke-width: 3;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: routeDraw 4s ease forwards infinite;
}
@keyframes routeDraw {
  to { stroke-dashoffset: 0; }
}
.preview-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.05);
}
.preview-item i { color: var(--success); }

/* Platform bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.bento-cell {
  grid-column: span 6;
  background-color: var(--white);
  border-radius: 28px;
  padding: 36px;
  border: 1px solid rgba(50,189,234,0.1);
  box-shadow: 0 16px 50px rgba(1,4,27,0.06);
  position: relative;
  overflow: hidden;
  opacity: 0;
}
.bento-cell:nth-child(1) { grid-column: span 7; }
.bento-cell:nth-child(2) { grid-column: span 5; }
.bento-cell:nth-child(3) { grid-column: span 5; }
.bento-cell:nth-child(4) { grid-column: span 7; }
.bento-cell::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(50,189,234,0.15), transparent 70%);
  transition: transform 0.5s var(--ease);
  z-index: 1;
}
.bento-cell.premium-card:hover {
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-14px) scale(1.02);
  box-shadow: 0 32px 80px rgba(50,189,234,0.2), 0 0 0 1px rgba(50,189,234,0.12);
  border-color: rgba(50,189,234,0.35);
}
.bento-cell.reveal.visible.card-visible.d1 { animation-delay: 0.06s; }
.bento-cell.reveal.visible.card-visible.d2 { animation-delay: 0.14s; }
.bento-cell.reveal.visible.card-visible.d3 { animation-delay: 0.22s; }
.bento .bento-cell.reveal { opacity: 1; transform: none; transition: none; }
.bento-cell:hover::before { transform: scale(1.8); }
.bento-cell:hover .bento-icon {
  transform: scale(1.15) rotate(-6deg);
  transition: transform 0.45s var(--ease);
}
.bento-icon {
  width: 58px; height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  transition: transform 0.45s var(--ease);
}
.bento-cell h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.bento-cell p { color: var(--muted); position: relative; z-index: 1; }

/* Steps */
.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.process-connector {
  position: absolute;
  top: 52px;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--purple));
  opacity: 0.3;
}
.process-connector-fill {
  height: 100%;
  width: 0;
  background: inherit;
  filter: brightness(1.3);
  transition: width 1.4s var(--ease);
}
.process-row.visible .process-connector-fill { width: 100%; }
.process-step {
  background-color: var(--white);
  border-radius: 28px;
  padding: 44px 32px 36px;
  text-align: center;
  border: 1px solid rgba(50,189,234,0.12);
  box-shadow: 0 20px 50px rgba(1,4,27,0.06);
  position: relative;
  z-index: 1;
  opacity: 0;
}
.process-step.premium-card:hover {
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-16px) scale(1.03);
  box-shadow: 0 36px 80px rgba(50,189,234,0.2), 0 0 0 1px rgba(50,189,234,0.12);
  border-color: rgba(50,189,234,0.3);
}
.process-row.visible .process-step.card-visible:nth-child(2) { animation-delay: 0.06s; }
.process-row.visible .process-step.card-visible:nth-child(3) { animation-delay: 0.16s; }
.process-row.visible .process-step.card-visible:nth-child(4) { animation-delay: 0.26s; }
.process-row .process-step.reveal { opacity: 1; transform: none; transition: none; }
.process-step:hover .process-ring {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(50,189,234,0.6);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.process-ring {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark);
  box-shadow: var(--glow);
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.process-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(50,189,234,0.3);
  animation: ringSpin 8s linear infinite;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
.process-step h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.process-step p { color: var(--muted); font-size: 0.95rem; }

/* How it works (4-step panel like reference) */
.how-works-section .section-intro {
  text-align: left;
  margin-bottom: 38px;
}
.how-works-section .section-tag {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(1, 4, 27, 0.55);
  background: transparent;
  border: 0;
  padding: 0;
}
.how-works-section .section-heading {
  margin-top: 12px;
  margin-bottom: 0;
  max-width: 820px;
}

.how-works-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(1,4,27,0.12);
  box-shadow: 0 22px 60px rgba(1,4,27,0.08);
}
.how-works-item {
  padding: 38px 32px 34px;
  background: rgba(255,255,255,0.25);
  border-left: 1px solid rgba(1,4,27,0.10);
  opacity: 0;
}
.how-works-item:first-child { border-left: 0; }

.how-works-item.premium-card {
  transform-style: flat;
  background-image: none;
}
.how-works-item.premium-card::after { display: none; }
.how-works-item.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 70px rgba(1,4,27,0.10);
  border-color: rgba(50,189,234,0.22);
}

.how-works-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(1, 4, 27, 0.38);
  margin-bottom: 18px;
}
.how-works-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
}
.how-works-item p {
  color: rgba(1, 4, 27, 0.62);
  font-size: 0.96rem;
  line-height: 1.7;
  max-width: 30ch;
}

/* Stagger */
.how-works-item.card-visible:nth-child(1) { animation-delay: 0.05s; }
.how-works-item.card-visible:nth-child(2) { animation-delay: 0.12s; }
.how-works-item.card-visible:nth-child(3) { animation-delay: 0.19s; }
.how-works-item.card-visible:nth-child(4) { animation-delay: 0.26s; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.about-text p {
  font-size: 1.08rem;
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.75;
}
.about-text strong { color: var(--dark); font-weight: 800; }
.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 18px 24px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(50,189,234,0.2);
  box-shadow: 0 16px 40px rgba(1,4,27,0.08);
  transition: transform 0.35s var(--ease);
}
.founder-badge:hover { transform: scale(1.03); }
.founder-av {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}
.founder-badge strong { display: block; font-family: 'Outfit', sans-serif; color: var(--dark); }
.founder-badge small { color: var(--muted); font-size: 0.88rem; }

.mission-panel {
  background: linear-gradient(160deg, var(--dark-2) 0%, #1a1045 60%, var(--purple) 140%);
  border-radius: 32px;
  padding: 44px 38px;
  border: 1px solid rgba(50,189,234,0.25);
  box-shadow: 0 40px 90px rgba(71,49,182,0.3);
  position: sticky;
  top: 110px;
}
.mission-panel h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.35;
  margin-bottom: 28px;
}
.mission-list { list-style: none; display: grid; gap: 16px; }
.mission-list li {
  display: flex;
  gap: 14px;
  color: rgba(255,255,255,0.85);
  font-size: 0.98rem;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mission-panel.visible .mission-list li { opacity: 1; transform: translateY(0); }
.mission-panel.visible .mission-list li:nth-child(1) { transition-delay: 0.05s; }
.mission-panel.visible .mission-list li:nth-child(2) { transition-delay: 0.1s; }
.mission-panel.visible .mission-list li:nth-child(3) { transition-delay: 0.15s; }
.mission-panel.visible .mission-list li:nth-child(4) { transition-delay: 0.2s; }
.mission-panel.visible .mission-list li:nth-child(5) { transition-delay: 0.25s; }
.mission-list li:last-child { border-bottom: none; padding-bottom: 0; }
.mission-list i { color: var(--primary); font-size: 1.1rem; margin-top: 3px; }
.mission-quote {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Book a demo form */
.demo-section {
  padding-top: 80px;
  background: #f3f0ea;
  scroll-margin-top: 110px;
}
.demo-intro {
  text-align: left;
  margin-bottom: 36px;
  max-width: 720px;
}
.demo-intro .section-tag {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(1, 4, 27, 0.55);
  background: transparent;
  border: 0;
  padding: 0;
}
.demo-intro .section-heading {
  margin-top: 12px;
  margin-bottom: 14px;
}
.demo-intro .section-desc {
  margin: 0;
  max-width: 620px;
}
.demo-form {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 55% 70% at 100% 100%, rgba(255, 126, 65, 0.22), transparent 60%),
    linear-gradient(160deg, #0b0f1f 0%, #12182c 55%, #0d1224 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(1, 4, 27, 0.28);
  overflow: hidden;
}
.demo-form::before {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 126, 65, 0.35) 0%, transparent 70%);
  pointer-events: none;
}
.demo-alert {
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
}
.demo-alert-success {
  background: rgba(120, 192, 145, 0.16);
  border: 1px solid rgba(120, 192, 145, 0.35);
  color: #d8f5e2;
}
.demo-alert-error {
  background: rgba(255, 126, 65, 0.14);
  border: 1px solid rgba(255, 126, 65, 0.35);
  color: #ffe8dc;
}
.demo-form-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 24px;
}
.demo-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-field-full {
  grid-column: 1 / -1;
}
.demo-field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}
.demo-field input,
.demo-field textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font: inherit;
  line-height: 1.5;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.demo-field textarea {
  resize: vertical;
  min-height: 148px;
}
.demo-field input::placeholder,
.demo-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}
.demo-field input:focus,
.demo-field textarea:focus {
  outline: none;
  border-color: rgba(255, 126, 65, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 126, 65, 0.14);
}
.demo-field input.is-invalid,
.demo-field textarea.is-invalid {
  border-color: rgba(255, 126, 65, 0.75);
}
.demo-field-error {
  font-size: 0.82rem;
  color: #ffb89a;
}
.demo-form-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 8px;
}
.demo-form-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 34ch;
  margin: 0;
}
.demo-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 0;
  border-radius: 100px;
  background: var(--secondary);
  color: var(--dark);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 14px 40px rgba(255, 126, 65, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.demo-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255, 126, 65, 0.45);
  background: #ff8f57;
}
.demo-submit-btn i {
  font-size: 1.1rem;
}

/* Quote banner */
.quote-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-banner.reveal.visible .quote-text {
  animation: quoteIn 1s var(--ease) both;
}
@keyframes quoteIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.quote-banner::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Outfit', sans-serif;
  font-size: 20rem;
  font-weight: 900;
  color: rgba(50,189,234,0.04);
  line-height: 1;
}
.quote-text {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}
.quote-sub { color: rgba(255,255,255,0.5); font-size: 1rem; position: relative; z-index: 1; }

/* Offer */
.offer-panel {
  background: linear-gradient(145deg, var(--white) 0%, #f8faff 100%);
  border-radius: 36px;
  padding: 56px;
  border: 1px solid rgba(50,189,234,0.15);
  box-shadow: 0 32px 80px rgba(1,4,27,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.offer-panel::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  bottom: -200px; right: -100px;
  background: radial-gradient(circle, rgba(255,126,65,0.1), transparent 70%);
}
.price-box {
  padding: 32px;
  border-radius: 24px;
  background-color: var(--white);
  border: 2px solid rgba(50,189,234,0.15);
  position: relative;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
}
.price-box.premium-card:hover {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-10px) scale(1.04);
  border-color: var(--primary);
  box-shadow: 0 28px 60px rgba(50,189,234,0.25), 0 0 0 1px rgba(50,189,234,0.15);
}
.price-box.reveal.visible.card-visible.d1 { animation-delay: 0.1s; }
.price-box.reveal.visible.card-visible.d2 { animation-delay: 0.22s; }
.price-box.featured {
  border-color: var(--primary);
  background-color: rgba(50, 189, 234, 0.06);
}
.price-box:hover .price-value {
  transform: scale(1.05);
  transition: transform 0.45s var(--ease);
}
.price-value { transition: transform 0.45s var(--ease); }
.price-label { font-size: 0.9rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.price-value {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.price-value small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-note { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
.offer-list { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.offer-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  color: var(--text);
}
.offer-list i { color: var(--primary); font-size: 1.2rem; }

/* CTA */
.cta-block {
  padding: 100px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(50,189,234,0.25), transparent),
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(71,49,182,0.2), transparent),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}
.cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.cta-desc {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 2;
}

/* Footer */
.site-footer {
  background: #00040f;
  padding: 48px 0;
  border-top: 1px solid rgba(50,189,234,0.12);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img { height: 36px; }
.footer-brand span {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
}
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.88rem; }

/* Mobile */
@media (max-width: 1024px) {
  .site-nav { width: calc(100% - 24px); border-radius: 20px; top: 12px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 12px);
    left: 0; right: 0;
    background: rgba(1,4,27,0.95);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(50,189,234,0.2);
  }
  .nav-toggle { display: block; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats-float { padding: 32px 0 18px; }
  .post-hero-stack { padding-bottom: 108px; }
  .how-works-panel { grid-template-columns: repeat(2, 1fr); }
  .how-works-item { border-left: 0; }
  .how-works-item:nth-child(2n) { border-left: 1px solid rgba(1,4,27,0.10); }
  .how-works-item:nth-child(n+3) { border-top: 1px solid rgba(1,4,27,0.10); }
  .challenge-hero { padding: 120px 0 88px; min-height: auto; }
  .challenge-heading { max-width: none; }
  .challenge-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .challenge-lead { padding-top: 0; max-width: none; }
  .challenge-scroll-indicator { display: none; }
  .challenge-panel { grid-template-columns: 1fr; }
  .challenge-item { border-right: 0 !important; }
  .challenge-item + .challenge-item { border-top: 1px solid rgba(1, 4, 27, 0.10); }
  .challenge-item:nth-child(n+3) { border-bottom: 0; }
  .demo-form-grid { grid-template-columns: 1fr; }
  .demo-form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .demo-submit-btn { width: 100%; }
  .pain-grid, .solution-wrap, .bento, .process-row, .about-grid, .offer-panel {
    grid-template-columns: 1fr;
  }
  .bento-cell, .bento-cell:nth-child(n) { grid-column: span 1; }
  .process-connector { display: none; }
  .mission-panel { position: static; }
  .video-controls {
    right: 12px;
    top: auto;
    bottom: 100px;
    transform: none;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: calc(100vw - 24px);
    padding: 12px 14px;
    gap: 8px;
  }
  .video-volume-box {
    width: auto;
    height: auto;
    padding: 0 4px;
  }
  .video-volume {
    transform: none;
    width: 72px;
  }
  .video-ctrl-line {
    width: 1px;
    height: 28px;
  }
  .cursor-glow { display: none; }
}
@media (max-width: 576px) {
  .section-block { padding: 80px 0; }
  .offer-panel { padding: 28px; }
  .hero-headline { font-size: 2.2rem; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-card { padding: 24px 18px; }
  .how-works-panel { grid-template-columns: 1fr; }
  .how-works-item { padding: 32px 22px 28px; border-left: 0 !important; }
  .how-works-item + .how-works-item { border-top: 1px solid rgba(1,4,27,0.10); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.15ms !important;
  }
  .premium-card { transform: none !important; }
  .premium-card::after { display: none; }
}
