/* ===================================================
   Niniola.io — CLEAR AI Transformation Funnel
   Shared Stylesheet — All Pages
   =================================================== */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #D4853A;
  --color-primary-hover: #C07832;
  --color-primary-10: rgba(212, 133, 58, 0.10);
  --color-primary-12: rgba(212, 133, 58, 0.12);
  --color-primary-15: rgba(212, 133, 58, 0.15);
  --color-primary-20: rgba(212, 133, 58, 0.20);
  --color-primary-30: rgba(212, 133, 58, 0.30);

  /* Warm-tinted darks (shifted from cool blue-gray) */
  --color-bg-dark: #0C0E11;
  --color-bg-medium: #111316;
  --color-bg-card: #1A1C20;
  --color-bg-footer: #08090B;
  --color-bg-input: #111316;

  /* Slightly warmer text tones */
  --color-text: #E0E2E6;
  --color-text-muted: #8E929A;
  --color-text-dim: #5E6270;
  --color-text-dimmer: #3E424C;
  --color-white: #F5F5F5;

  --color-green: #4ADE80;
  --color-green-10: rgba(34, 197, 94, 0.1);
  --color-green-20: rgba(34, 197, 94, 0.2);
  --color-green-25: rgba(34, 197, 94, 0.25);

  --color-red: #EF4444;
  --color-red-light: #FCA5A5;

  /* Warmer border tones */
  --color-border: #2A2C32;
  --color-border-subtle: rgba(255, 255, 255, 0.04);
  --color-border-light: rgba(255, 255, 255, 0.06);

  --font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-pill: 100px;

  /* Warm-tinted shadows */
  --shadow-card: 0 2px 20px rgba(12, 10, 8, 0.25);
  --shadow-glow: 0 0 80px rgba(212, 133, 58, 0.08), 0 8px 40px rgba(12, 10, 8, 0.5);
  --shadow-btn-hover: 0 8px 28px rgba(212, 133, 58, 0.30);

  /* Section spacing scale */
  --space-section: clamp(96px, 10vw, 160px);
  --space-section-sm: clamp(64px, 7vw, 96px);

  /* Easing curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Glass properties */
  --glass-bg: rgba(26, 28, 32, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;
}


/* ===================================================
   1. RESET & BASE
   =================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg-dark);
  overflow-x: hidden;
}

/* Noise/grain overlay — subtle physical texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* Skip to content */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 0;
}


/* ===================================================
   2. UTILITY CLASSES
   =================================================== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 720px;
}

.container--wide {
  max-width: 1200px;
}

.text-center { text-align: center; }
.text-orange { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: var(--color-white); }
.text-green { color: var(--color-green); }


/* ===================================================
   3. TYPOGRAPHY
   =================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 40px;
}

.highlight {
  color: var(--color-primary);
}

.pre-headline {
  display: inline-block;
  background: var(--color-primary-12);
  border: 1px solid var(--color-primary-30);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* ===================================================
   4. SCROLL-REVEAL ANIMATIONS
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo),
    filter 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.60s; }
.reveal-delay-6 { transition-delay: 0.72s; }
.reveal-delay-7 { transition-delay: 0.84s; }

/* Stagger children within a container */
.stagger-reveal .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-reveal .reveal:nth-child(2) { transition-delay: 0.15s; }
.stagger-reveal .reveal:nth-child(3) { transition-delay: 0.3s; }
.stagger-reveal .reveal:nth-child(4) { transition-delay: 0.45s; }
.stagger-reveal .reveal:nth-child(5) { transition-delay: 0.6s; }

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 133, 58, 0); }
  50% { box-shadow: 0 0 0 8px rgba(212, 133, 58, 0.08); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 133, 58, 0); }
  50% { box-shadow: 0 0 24px 4px rgba(212, 133, 58, 0.12); }
}

@keyframes shimmerSweep {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}


/* ===================================================
   5. STICKY HEADER / NAVIGATION
   =================================================== */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 1080px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-xl);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.site-header.header-hidden {
  transform: translateX(-50%) translateY(-120%);
  opacity: 0;
}

.site-header.header-scrolled {
  background: rgba(18, 20, 23, 0.92);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: none;
  margin: 0;
}

.header-logo {
  width: 130px;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--color-white);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: var(--border-radius-pill);
  transition: background 0.25s, transform 0.2s var(--ease-spring), box-shadow 0.25s;
}

.header-cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 133, 58, 0.3);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--color-bg-card);
  z-index: 999;
  padding: 80px 28px 40px;
  transition: right 0.35s ease;
  border-left: 1px solid var(--color-border-subtle);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--color-white);
}

.mobile-nav .header-cta {
  display: block;
  text-align: center;
  margin-top: 24px;
  width: 100%;
  padding: 14px;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-nav-overlay.visible {
  opacity: 1;
}


/* ===================================================
   6. HERO SECTIONS
   =================================================== */
.hero {
  padding: var(--space-section) 0;
  padding-top: calc(var(--space-section) + 60px);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(212, 133, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--color-white);
  margin: 0 0 20px;
  letter-spacing: -0.035em;
}

.hero-sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 400px;
  margin: 0 0 28px;
  line-height: 1.65;
}

.hero-media {
  position: relative;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-top: 16px;
}

/* Hero CTA glow pulse */
.hero .btn-cta {
  animation: glowPulse 3s ease-in-out infinite;
}
.hero .btn-cta:hover {
  animation: none;
}

/* Pre-headline float */
.hero .pre-headline {
  animation: float 4s ease-in-out infinite;
}
.hero .pre-headline.reveal:not(.visible) {
  animation: none;
}

/* Nested CTA button icon circle (Button-in-Button) */
.btn-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  margin-left: 4px;
  transition: transform 0.3s var(--ease-spring), background 0.3s;
}

.btn-cta:hover .btn-icon-circle {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.25);
}

.btn-cta:active .btn-icon-circle {
  transform: translateX(2px);
}

/* Pill CTA variant (9999px for Button-in-Button concentric math) */
.btn-cta--pill {
  border-radius: 9999px;
}


/* ===================================================
   7. BUTTONS
   =================================================== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-primary);
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.3s var(--ease-spring),
    box-shadow 0.3s ease;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
}

.btn-cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-btn-hover);
}

.btn-cta:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.btn-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-cta:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--color-primary-20);
}

.btn-cta--full {
  width: 100%;
}

.btn-cta--large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-cta--outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-cta--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-cta--secondary {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

.btn-cta--secondary:hover {
  background: var(--color-border);
  box-shadow: none;
}

/* Spinner */
.btn-cta .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn-cta.loading .spinner {
  display: block;
}

.btn-cta.loading .btn-text {
  display: none;
}

/* Skip / decline link */
.decline-link {
  display: inline-block;
  text-align: center;
  margin-top: 20px;
  font-size: 1rem;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 12px 28px;
  border: 1px solid var(--color-text-dim);
  border-radius: var(--border-radius-sm);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.decline-link:hover {
  color: var(--color-white);
  border-color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.decline-link:active {
  transform: translateY(0) scale(0.98);
}


/* ===================================================
   8. FORM COMPONENTS
   =================================================== */
.form-card {
  max-width: 580px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-primary-15);
  border-radius: var(--border-radius-lg);
  padding: 40px 36px;
  text-align: center;
}

.form-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.form-card .form-sub {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-grid--2col {
  grid-template-columns: 1fr 1fr;
}

.opt-in-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-input,
.opt-in-form input,
.opt-in-form select,
.opt-in-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--color-white);
  background: var(--color-bg-input);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  min-height: 44px;
}

.form-input::placeholder,
.opt-in-form input::placeholder,
.opt-in-form textarea::placeholder {
  color: var(--color-text-dim);
}

.form-input:focus,
.opt-in-form input:focus,
.opt-in-form select:focus,
.opt-in-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-20);
  animation: focusGlow 1.5s ease-in-out infinite;
}

.form-input.error,
.opt-in-form input.error {
  border-color: var(--color-red);
}

.opt-in-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.opt-in-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  font-size: 0.8rem;
  color: var(--color-red);
  margin-top: -8px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}

.form-error.show {
  max-height: 40px;
  opacity: 1;
}

.trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.trust-line svg {
  width: 14px;
  height: 14px;
  fill: var(--color-text-dim);
  flex-shrink: 0;
}


/* ===================================================
   9. CARD COMPONENTS
   =================================================== */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  padding: 28px 24px;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.card:hover {
  border-color: var(--color-primary-30);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--color-primary-15);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.cards-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}


/* ===================================================
   10. STAT BLOCKS
   =================================================== */
.stats-section {
  padding: 60px 0;
  background: var(--color-bg-medium);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 24px;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

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

.stat-source {
  font-size: 0.72rem;
  color: var(--color-text-dim);
  margin-top: 4px;
  font-style: italic;
}


/* ===================================================
   10b. LEARN SECTION (What You'll Discover)
   =================================================== */
.learn-section {
  padding: 80px 0;
}

/* Landing page section spacing overrides */
body[data-page="landing"] .learn-section,
body[data-page="landing"] .about-section,
body[data-page="landing"] .testimonials-section,
body[data-page="landing"] .faq-section {
  padding: var(--space-section) 0;
}

body[data-page="landing"] .stats-section {
  padding: var(--space-section-sm) 0;
}

body[data-page="landing"] #register {
  padding: var(--space-section) 0;
}

/* Eyebrow pill badge — reusable */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-10);
  border: 1px solid var(--color-primary-20);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--border-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

/* Bento grid layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.bento-card--lg {
  grid-column: span 3;
}

.bento-card:not(.bento-card--lg) {
  grid-column: span 2;
}

/* Double-bezel card architecture */
.bento-card {
  background: var(--color-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 4px;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.4s;
}

.bento-card-inner {
  background: linear-gradient(145deg, rgba(255,255,255,0.02), transparent);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: calc(var(--border-radius-lg) - 4px);
  padding: 32px 28px;
  height: 100%;
}

.bento-card:hover {
  border-color: var(--color-primary-20);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(12, 10, 8, 0.35), 0 0 0 1px var(--color-primary-10);
}

.bento-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.bento-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.bento-card--lg .bento-card-inner {
  padding: 40px 36px;
}

.bento-card--lg h4 {
  font-size: 1.25rem;
}

/* Stats section */
.stats-section {
  padding: var(--space-section-sm) 0;
  background: var(--color-bg-medium);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

/* Stat cards — double-bezel */
.stat-card {
  background: var(--color-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 3px;
  text-align: center;
}

.stat-card-inner {
  background: linear-gradient(145deg, rgba(255,255,255,0.015), transparent);
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: calc(var(--border-radius-lg) - 3px);
  padding: 32px 20px;
}

.stat-card .stat-number {
  font-variant-numeric: tabular-nums;
}


/* ===================================================
   11. CHECK LIST (Who this is for)
   =================================================== */
.check-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: 10px;
  padding: 18px 20px;
  transition: border-color 0.3s;
}

.check-item:hover {
  border-color: var(--color-primary-20);
}

.check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--color-primary-12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check-text {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.5;
}

.check-text strong {
  color: var(--color-white);
  font-weight: 600;
}


/* ===================================================
   12. ABOUT THE HOST
   =================================================== */
.about-section {
  padding: 80px 0;
  background: var(--color-bg-dark);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 780px;
  margin: 0 auto;
}

/* Asymmetric about grid (landing page) */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-photo {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 3px solid var(--color-primary-30);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-photo .placeholder-initials {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-primary);
  user-select: none;
}

.about-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.about-text .about-role {
  font-size: 0.88rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-10);
  border: 1px solid var(--color-primary-20);
  transition: background 0.2s;
}

.social-links a:hover {
  background: var(--color-primary-20);
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
}

.credibility-markers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 133, 58, 0.08);
  border: 1px solid rgba(212, 133, 58, 0.18);
  border-radius: var(--border-radius-pill);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
}

.cred-badge svg {
  width: 13px;
  height: 13px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ===================================================
   13. TESTIMONIALS
   =================================================== */
.testimonials-section {
  padding: 80px 0;
  background: var(--color-bg-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  padding: 28px 24px;
}

.testimonial-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-medium);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-white);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--color-text-dim);
}

.testimonial-context {
  font-size: 0.74rem;
  color: var(--color-text-dim);
  opacity: 0.7;
  margin-top: 2px;
}


/* ===================================================
   14. FAQ ACCORDION
   =================================================== */
.faq-section {
  padding: 80px 0;
  background: var(--color-bg-medium);
}

.faq-list {
  max-width: 680px;
  margin: 40px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--color-text-dim);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 0 20px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ===================================================
   15. VIDEO EMBED PLACEHOLDER
   =================================================== */
.video-embed-placeholder {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 0 80px rgba(212, 133, 58, 0.12), 0 8px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--color-primary-20);
}

.video-embed-placeholder .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(212, 133, 58, 0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, opacity 0.3s ease;
  cursor: pointer;
  animation: breathe 2.5s ease-in-out infinite;
  z-index: 2;
}

.video-embed-placeholder:hover .play-icon,
.video-embed-placeholder .play-icon:hover {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 50px rgba(212, 133, 58, 0.6);
  animation: none;
}

.video-embed-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.video-embed-placeholder .play-icon svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  fill: var(--color-white);
}

.video-embed-placeholder .video-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.82rem;
  color: var(--color-text-dim);
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  transition: opacity 0.3s ease;
  z-index: 2;
}

.video-section {
  padding: 32px 0;
  max-width: 1080px;
  margin: 0 auto;
}

.video-section--hero {
  max-width: 100%;
  padding: 24px 0;
}


/* ===================================================
   16. PRODUCT CARDS (Digital Products)
   =================================================== */
.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-primary-20);
  border-radius: var(--border-radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover), var(--color-primary));
}

.product-card--highlighted {
  border-color: var(--color-primary);
  animation: subtlePulse 2s ease-in-out infinite;
}

.product-badge {
  display: inline-block;
  background: var(--color-primary-10);
  border: 1px solid var(--color-primary-20);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--border-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.product-description {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-features {
  margin-bottom: 24px;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}

.product-feature .check-icon {
  width: 20px;
  height: 20px;
}

.product-feature .check-icon svg {
  width: 11px;
  height: 11px;
}

.product-feature span {
  font-size: 0.88rem;
  color: #CBD5E1;
  line-height: 1.5;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.product-price {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.product-price-original {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dim);
  text-decoration: line-through;
}

.product-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.product-buttons .btn-cta {
  flex: 1;
}

.product-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--color-text-dim);
}

.product-guarantee svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-text-dim);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Post-purchase state */
.product-card--purchased .product-pre-purchase {
  display: none;
}

.product-post-purchase {
  display: none;
}

.product-card--purchased .product-post-purchase {
  display: block;
  animation: countUp 0.5s ease forwards;
}

.purchase-success {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 16px;
}

.purchase-success svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-green);
  fill: none;
  stroke-width: 2.5;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--color-green-10);
  border: 1px solid var(--color-green-20);
  border-radius: var(--border-radius-sm);
  color: var(--color-green);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 10px;
  transition: background 0.2s, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideUp 0.4s ease both;
}

.download-link:nth-child(1) { animation-delay: 0.1s; }
.download-link:nth-child(2) { animation-delay: 0.2s; }
.download-link:nth-child(3) { animation-delay: 0.3s; }

.download-link:hover {
  background: var(--color-green-20);
  transform: translateY(-2px);
}

.email-confirm {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-top: 8px;
}


/* ===================================================
   17. WEBINAR RESOURCE BAR
   =================================================== */
.webinar-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}

.webinar-main {
  min-width: 0;
}

.resource-bar {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
}

.resource-bar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.resource-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.resource-item:last-child {
  border-bottom: none;
}

.resource-item h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 6px;
}

.resource-item p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.resource-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.resource-price .free {
  color: var(--color-green);
}

.resource-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resource-btn {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}

.resource-btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.resource-btn--primary:hover {
  background: var(--color-primary-hover);
}

.resource-btn--secondary {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.resource-btn--secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.resource-btn--free {
  background: var(--color-green-10);
  color: var(--color-green);
  border: 1px solid var(--color-green-20);
}

.resource-btn--free:hover {
  background: var(--color-green-20);
}

/* Mobile resource drawer */
.resource-drawer-toggle {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-primary-20);
  padding: 14px 24px;
  text-align: center;
  cursor: pointer;
}

.resource-drawer-toggle span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
}

.resource-drawer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 901;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-primary-20);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  max-height: 70vh;
  overflow-y: auto;
  padding: 24px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.resource-drawer.open {
  transform: translateY(0);
}

.resource-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-text-dim);
  font-family: var(--font-family);
  font-size: 0.85rem;
}


/* ===================================================
   18. CONSULTING OFFERS (Two-column)
   =================================================== */
.consulting-section {
  padding: 80px 0;
  background: var(--color-bg-medium);
}

.consulting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.consulting-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  padding: 36px 32px;
  position: relative;
}

.consulting-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.consulting-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.consulting-card > p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.consulting-deliverables {
  margin-bottom: 28px;
}

.consulting-deliverable {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.consulting-deliverable:last-child {
  border-bottom: none;
}

.consulting-deliverable .check-icon {
  width: 22px;
  height: 22px;
}

.consulting-deliverable span {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.5;
}

.consulting-price {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.consulting-price strong {
  font-size: 1.5rem;
  color: var(--color-white);
  font-weight: 900;
}

.consulting-note {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  margin-top: 16px;
  font-style: italic;
}


/* ===================================================
   19. GUARANTEE BOX
   =================================================== */
.guarantee-box {
  background: var(--color-green-10);
  border: 1px solid var(--color-green-20);
  border-radius: var(--border-radius-md);
  padding: 24px 28px;
  margin: 32px 0;
}

.guarantee-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 8px;
}

.guarantee-box p {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.6;
}


/* ===================================================
   20. CONFIRMATION SECTION
   =================================================== */
.confirm-header {
  padding: 120px 0 40px;
  text-align: center;
  background: var(--color-bg-dark);
  position: relative;
}

.confirm-header::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(212, 133, 58, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.confirm-header .container {
  position: relative;
  z-index: 1;
}

.confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-green-10);
  border: 1px solid var(--color-green-25);
  color: var(--color-green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  animation: bounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.confirm-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.confirm-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.confirm-sub {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto 24px;
  line-height: 1.6;
}


/* ===================================================
   21. COUNTDOWN TIMER
   =================================================== */
.countdown-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.countdown-label {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  font-weight: 500;
}

.countdown-timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.04em;
}

.countdown-timer .sep {
  opacity: 0.5;
  color: var(--color-primary);
}


/* ===================================================
   22. URGENCY ELEMENTS
   =================================================== */
.urgency-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--color-red-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 24px;
}

.urgency-text .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-red);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}


/* ===================================================
   23. APPLICATION FORM (High-Ticket)
   =================================================== */
.application-section {
  padding: 80px 0;
  background: var(--color-bg-dark);
}

.application-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-primary-15);
  border-radius: var(--border-radius-lg);
  padding: 48px 40px;
}

.application-form h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.application-form .form-sub {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--color-bg-input);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: border-color 0.2s;
}

.radio-option:hover {
  border-color: var(--color-primary-30);
}

.radio-option input[type="radio"] {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
}

.radio-option label {
  font-size: 0.92rem;
  color: var(--color-text);
  cursor: pointer;
}

/* Post-submit confirmation */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  width: 64px;
  height: 64px;
  background: var(--color-green-10);
  border: 2px solid var(--color-green-20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success .success-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-green);
  fill: none;
  stroke-width: 2.5;
}

.form-success h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}


/* ===================================================
   24. DELIVERABLES GRID
   =================================================== */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.deliverable-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  padding: 24px 20px;
  text-align: center;
}

.deliverable-card .card-icon {
  margin: 0 auto 14px;
}

.deliverable-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.deliverable-card p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}


/* ===================================================
   25. LOGO BAR
   =================================================== */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
  opacity: 0.5;
}

.logo-bar img {
  height: 28px;
  width: auto;
  filter: grayscale(100%) brightness(1.5);
}


/* ===================================================
   26. FOOTER
   =================================================== */
.site-footer {
  padding: 48px 0 32px;
  background: var(--color-bg-footer);
  border-top: 1px solid var(--color-border-subtle);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  width: 120px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--color-primary-10);
}

.footer-social svg {
  width: 14px;
  height: 14px;
  fill: var(--color-text-dim);
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--color-text-dimmer);
  line-height: 1.7;
  max-width: 800px;
}

.footer-disclaimer p {
  margin-bottom: 12px;
}

.footer-copyright {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.78rem;
  color: var(--color-text-dimmer);
  text-align: center;
}


/* ===================================================
   27. PAGE-SPECIFIC SECTIONS
   =================================================== */

/* --- Thank You page --- */
.promo-section {
  padding: 60px 0;
  background: var(--color-bg-medium);
}

.promo-wrapper {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* Let video break out of narrow promo wrapper */
.promo-wrapper .video-embed-placeholder {
  width: calc(100% + 200px);
  margin-left: -100px;
  margin-right: -100px;
}

@media (max-width: 768px) {
  .promo-wrapper .video-embed-placeholder {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* --- Downsell page --- */
.downsell-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: var(--color-bg-dark);
  position: relative;
}

.downsell-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(212, 133, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.downsell-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 48px auto 0;
}

/* --- Webinar page specific --- */
.webinar-hero {
  padding: 100px 0 40px;
  text-align: center;
  background: var(--color-bg-dark);
}

.webinar-video-section {
  padding: 0 0 40px;
  background: var(--color-bg-dark);
}

.webinar-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--color-bg-card);
  border-radius: var(--border-radius-sm);
}

.webinar-progress-label {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  font-weight: 500;
  white-space: nowrap;
}

.webinar-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.webinar-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}


/* ===================================================
   28. FINAL CTA SECTION
   =================================================== */
.final-cta {
  padding: 80px 0;
  background: var(--color-bg-medium);
  text-align: center;
  position: relative;
}

.final-cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(212, 133, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.final-option {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  padding: 28px 24px;
  text-align: center;
}

.final-option h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.final-option p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}


/* ===================================================
   FAQ EDITORIAL SPLIT
   =================================================== */
.faq-editorial-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-top: 56px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-nav {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
}

.faq-nav-item {
  background: none;
  border: none;
  border-left: 2px solid var(--color-border-subtle);
  padding: 12px 20px;
  text-align: left;
  font-family: var(--font-family);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-dim);
  cursor: pointer;
  transition: color 0.3s var(--ease-smooth), border-color 0.3s, background 0.3s;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.faq-nav-item:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.02);
}

.faq-nav-item.active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  background: var(--color-primary-10);
  font-weight: 600;
}

.faq-answers {
  min-height: 200px;
}

.faq-answer-block {
  display: none;
}

.faq-answer-block.active {
  display: block;
  animation: faqFadeIn 0.4s var(--ease-out-expo);
}

.faq-answer-block h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.faq-answer-block p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ===================================================
   FORM DOUBLE-BEZEL (Landing page scoped)
   =================================================== */
body[data-page="landing"] .form-card {
  max-width: 560px;
  background: var(--color-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-xl);
  padding: 6px;
  box-shadow: 0 24px 80px rgba(12, 10, 8, 0.4);
}


/* ===================================================
   RESPONSIVE — Mobile First Breakpoints
   =================================================== */

/* <= 1024px */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .about-content {
    gap: 36px;
  }

  .consulting-grid {
    gap: 20px;
  }

  .deliverables-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .webinar-layout {
    grid-template-columns: 1fr 300px;
    gap: 24px;
  }

  /* Bento grid — 1024px */
  /* hero-grid removed — no longer used */

  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .bento-card--lg {
    grid-column: span 2;
  }

  .bento-card:not(.bento-card--lg) {
    grid-column: span 2;
  }

  .bento-card:not(.bento-card--lg):last-child {
    grid-column: 2 / 4;
  }
}

/* <= 768px */
@media (max-width: 768px) {
  :root {
    --space-section: 64px;
    --space-section-sm: 48px;
  }

  /* Disable blur reveal on mobile for perf */
  .reveal {
    filter: none;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-media {
    order: -1;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .hero-meta {
    justify-content: center;
  }

  /* Bento → single column */
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card--lg,
  .bento-card:not(.bento-card--lg) {
    grid-column: span 1;
  }

  /* About grid → stack */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  /* FAQ editorial split → stack */
  .faq-editorial-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .faq-nav-item {
    border-left: none;
    border-bottom: 2px solid var(--color-border-subtle);
    border-radius: var(--border-radius-sm);
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .faq-nav-item.active {
    border-bottom-color: var(--color-primary);
  }

  /* Floating nav → mobile pill */
  .site-header {
    top: 8px;
    width: calc(100% - 24px);
    border-radius: var(--border-radius-lg);
  }

  .hero {
    padding: 100px 0 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

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

  .stat-number {
    font-size: 2.25rem;
  }

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

  .cards-grid--3col {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-photo {
    width: 140px;
    height: 140px;
  }

  .credibility-markers {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

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

  .form-card {
    padding: 28px 20px;
  }

  .form-grid--2col {
    grid-template-columns: 1fr;
  }

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

  .consulting-card {
    padding: 28px 24px;
  }

  .deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .final-options {
    grid-template-columns: 1fr;
  }

  .downsell-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  /* Mobile nav */
  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav-overlay {
    display: block;
  }

  /* Webinar layout — stack */
  .webinar-layout {
    grid-template-columns: 1fr;
  }

  .resource-bar {
    display: none;
  }

  .resource-drawer-toggle {
    display: block;
  }

  .resource-drawer {
    display: block;
  }

  .confirm-header h1 {
    font-size: 1.85rem;
  }

  .application-form {
    padding: 32px 24px;
  }

  .product-buttons {
    flex-direction: column;
  }
}

/* <= 480px */
@media (max-width: 480px) {
  :root {
    --space-section: 48px;
    --space-section-sm: 36px;
  }

  .btn-icon-circle {
    display: none;
  }

  .hero {
    padding: 80px 0 24px;
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .hero-sub {
    font-size: 0.92rem;
  }

  .pre-headline {
    font-size: 0.7rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

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

  .stat-item {
    padding: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .check-item {
    padding: 14px 16px;
  }

  .card {
    padding: 22px 18px;
  }

  .product-card {
    padding: 24px 20px;
  }

  .about-photo {
    width: 110px;
    height: 110px;
  }

  .about-photo .placeholder-initials {
    font-size: 2.2rem;
  }

  .confirm-header {
    padding: 80px 0 28px;
  }

  .confirm-header h1 {
    font-size: 1.45rem;
  }

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

  .application-form {
    padding: 28px 18px;
  }

  .product-price {
    font-size: 1.75rem;
  }
}

/* <= 375px */
@media (max-width: 375px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 72px 0 20px;
  }

  .hero h1 {
    font-size: 1.35rem;
  }

  .hero-sub {
    font-size: 0.85rem;
  }

  .header-logo {
    width: 100px;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.82rem;
  }

  .check-item {
    padding: 12px 14px;
    gap: 10px;
  }

  .check-text {
    font-size: 0.85rem;
  }

  .card {
    padding: 18px 16px;
  }

  .card h4 {
    font-size: 0.95rem;
  }

  .card p {
    font-size: 0.82rem;
  }

  .form-card {
    padding: 22px 16px;
  }

  .form-card h3 {
    font-size: 1.15rem;
  }

  .btn-cta {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .confirm-header h1 {
    font-size: 1.3rem;
  }

  .product-card {
    padding: 20px 16px;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .application-form {
    padding: 22px 16px;
  }
}

/* <= 320px */
@media (max-width: 320px) {
  .hero h1 {
    font-size: 1.2rem;
  }

  .btn-cta {
    padding: 12px 20px;
    font-size: 0.88rem;
  }
}


/* ===================================================
   BOOKING CALENDAR & SCHEDULING COMPONENTS
   =================================================== */
.verify-spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(212,133,58,0.3);
  border-top-color: #D4853A;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

.booking-calendar {
  max-width: 640px;
  margin: 32px auto 0;
  text-align: left;
}
.booking-step-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* Calendar header */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.calendar-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
}
.calendar-nav {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-text-muted);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  font-family: inherit;
  font-size: 1rem;
}
.calendar-nav:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.calendar-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Calendar grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 24px;
}
.calendar-day-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-dim);
  padding: 8px 0;
  text-transform: uppercase;
}
.calendar-day {
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  background: none;
  font-family: inherit;
}
.calendar-day:hover:not(.calendar-day--disabled):not(.calendar-day--empty) {
  background: rgba(212,133,58,0.1);
  border-color: rgba(212,133,58,0.3);
  color: var(--color-white);
}
.calendar-day--today {
  border-color: rgba(212,133,58,0.3);
  color: var(--color-white);
}
.calendar-day--selected {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  border-color: var(--color-primary) !important;
}
.calendar-day--disabled {
  opacity: 0.2;
  cursor: not-allowed;
}
.calendar-day--empty {
  visibility: hidden;
  cursor: default;
}

/* Time slots */
.time-slots-section { display: none; }
.time-slots-section.visible { display: block; }
.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.time-slot {
  padding: 12px 16px;
  background: var(--color-bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-family: inherit;
}
.time-slot:hover:not(.time-slot--disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.time-slot--selected {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-white) !important;
}
.time-slot--disabled {
  opacity: 0.2;
  cursor: not-allowed;
}
.timezone-note {
  font-size: 0.78rem;
  color: var(--color-text-dim);
  margin-top: -16px;
  margin-bottom: 24px;
}

/* Booking form */
.booking-form-section { display: none; }
.booking-form-section.visible { display: block; }
.booking-summary {
  background: rgba(212,133,58,0.08);
  border: 1px solid rgba(212,133,58,0.2);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--color-text);
  margin-bottom: 24px;
}
.booking-summary strong {
  color: var(--color-primary);
}
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.booking-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 4px;
  display: block;
}
.booking-form input,
.booking-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.booking-form input:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.booking-form textarea {
  min-height: 100px;
  resize: vertical;
}
.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.15s;
  width: 100%;
}
.btn-book:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}
.btn-book:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Booking confirmation */
.booking-confirmed { display: none; text-align: center; }
.booking-confirmed.visible { display: block; }
.booking-confirmed .confirm-icon {
  width: 64px; height: 64px;
  background: rgba(74,222,128,0.1);
  border: 2px solid rgba(74,222,128,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.booking-confirmed .confirm-icon svg {
  width: 28px; height: 28px;
  stroke: #4ADE80; stroke-width: 3;
  fill: none;
}
.ics-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: 8px;
  color: #4ADE80;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  margin-top: 16px;
  font-family: inherit;
}
.ics-download:hover {
  background: rgba(74,222,128,0.15);
}

/* Booking calendar responsive */
@media (max-width: 768px) {
  .time-slots { grid-template-columns: repeat(2, 1fr); }
  .booking-calendar { margin: 24px auto 0; }
}
@media (max-width: 480px) {
  .time-slots { grid-template-columns: 1fr; }
}


/* ===================================================
   UI/UX UPGRADE — New Keyframes
   =================================================== */

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.08); }
  70% { transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes shimmer {
  0% { left: -50%; }
  100% { left: 150%; }
}

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

@keyframes confettiBurst {
  0% { opacity: 1; transform: scale(0); }
  50% { opacity: 0.8; }
  100% { opacity: 0; transform: scale(1); }
}

@keyframes focusGlow {
  0%, 100% { box-shadow: 0 0 0 3px var(--color-primary-20); }
  50% { box-shadow: 0 0 0 5px var(--color-primary-15); }
}


/* ===================================================
   UI/UX UPGRADE — Scroll Progress Bar
   =================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #F5A623);
  z-index: 10000;
  transition: width 0.1s linear;
  pointer-events: none;
}


/* ===================================================
   UI/UX UPGRADE — Staggered Section Entrances
   =================================================== */

/* Cards grid stagger */
.cards-grid .card:nth-child(1) { transition-delay: 0s; }
.cards-grid .card:nth-child(2) { transition-delay: 0.08s; }
.cards-grid .card:nth-child(3) { transition-delay: 0.16s; }
.cards-grid .card:nth-child(4) { transition-delay: 0.24s; }
.cards-grid .card:nth-child(5) { transition-delay: 0.32s; }
.cards-grid .card:nth-child(6) { transition-delay: 0.40s; }

/* Stat blocks stagger */
.stats .stat-item:nth-child(1) { transition-delay: 0s; }
.stats .stat-item:nth-child(2) { transition-delay: 0.1s; }
.stats .stat-item:nth-child(3) { transition-delay: 0.2s; }

/* Testimonial cards stagger */
.testimonials-grid .testimonial-card:nth-child(1) { transition-delay: 0s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 0.2s; }

/* FAQ items stagger */
.faq-list .faq-item:nth-child(1) { transition-delay: 0s; }
.faq-list .faq-item:nth-child(2) { transition-delay: 0.08s; }
.faq-list .faq-item:nth-child(3) { transition-delay: 0.16s; }
.faq-list .faq-item:nth-child(4) { transition-delay: 0.24s; }
.faq-list .faq-item:nth-child(5) { transition-delay: 0.32s; }
.faq-list .faq-item:nth-child(6) { transition-delay: 0.40s; }
.faq-list .faq-item:nth-child(7) { transition-delay: 0.48s; }


/* ===================================================
   UI/UX UPGRADE — Form Shake on Invalid Submit
   =================================================== */

.form-card.shake {
  animation: shake 0.3s ease;
}

/* focusGlow merged into the primary :focus rule above (line ~659) */


/* ===================================================
   UI/UX UPGRADE — Success Page Enhancements
   =================================================== */

/* Checkmark SVG draw animation */
.purchase-success svg,
.confirm-badge svg {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.6s ease 0.3s forwards;
}

/* Confirm header entrance */
.confirm-header h1 {
  animation: slideUp 0.6s ease 0.2s both;
}

.confirm-sub {
  animation: slideUp 0.6s ease 0.35s both;
}

/* CSS confetti burst behind success badge */
.confirm-badge {
  position: relative;
}

.confirm-badge::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-green-20) 0%, transparent 70%);
  animation: confettiBurst 0.8s ease 0.2s both;
  pointer-events: none;
  z-index: -1;
}


/* ===================================================
   UI/UX UPGRADE — Link Underline Animations
   =================================================== */

/* Content links (inside paragraphs, not nav or buttons) */
.section-content a:not(.btn-cta):not(.decline-link):not(.download-link),
.confirm-sub a,
.form-card a {
  text-decoration: none;
  background-image: linear-gradient(var(--color-primary), var(--color-primary));
  background-size: 0% 1px;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: background-size 0.25s ease;
}

.section-content a:not(.btn-cta):not(.decline-link):not(.download-link):hover,
.confirm-sub a:hover,
.form-card a:hover {
  background-size: 100% 1px;
}


/* ===================================================
   UI/UX UPGRADE — Enhanced Focus Rings (global)
   =================================================== */

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}


/* ===================================================
   UI/UX UPGRADE — Mobile Touch Enhancements
   =================================================== */

@media (hover: none) and (pointer: coarse) {
  .btn-cta:active {
    transform: translateY(0) scale(0.96);
    transition-duration: 0.08s;
  }

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

  .decline-link:active {
    transform: scale(0.97);
  }

  .download-link:active {
    transform: scale(0.97);
  }

  /* Remove hover effects that feel sticky on touch */
  .card:hover {
    transform: none;
    box-shadow: none;
  }

  .btn-cta:hover {
    transform: none;
  }
}


/* ===================================================
   UI/UX UPGRADE — Reduced Motion Accessibility
   =================================================== */

@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;
  }

  .scroll-progress {
    display: none;
  }

  .video-embed-placeholder::after {
    display: none;
  }
}
