/* Federal Benefits Gap - Premium GullStack Treatment */
:root {
  /* Patriotic Palette */
  --navy: #0B1D3A;
  --navy-mid: #132D5E;
  --navy-light: #1B3F7A;
  --navy-dark: #061527;
  --patriot-red: #C41E3A;
  --patriot-red-dark: #9B1830;
  --white: #FFFFFF;
  --off-white: #F4F6FA;
  --star-gold: #D4AF37;
  --text-dark: #1A1F2E;
  --text-mid: #3D4560;
  --text-light: #6B7394;
  --border-glass: rgba(255,255,255,0.18);

  /* Fonts */
  --font-family: 'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', sans-serif;
  --font-size-base: 20px;
  --line-height-base: 1.7;

  /* Spacing & Radius */
  --container-max-width: 1280px;
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(11,29,58,0.06);
  --shadow-glass: 0 8px 32px rgba(11,29,58,0.12), inset 0 1px 0 rgba(255,255,255,0.15);
  --shadow-lift: 0 12px 40px rgba(11,29,58,0.15);
  --shadow-glow-red: 0 0 40px rgba(196,30,58,0.15);
  --shadow-glow-blue: 0 0 40px rgba(19,45,94,0.2);
  --shadow-hero-glow: 0 0 120px rgba(19,45,94,0.3);
}

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

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-dark);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-family);
  font-weight: 400;
  line-height: 1.2;
}

.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--navy);
  line-height: 1.1;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--patriot-red);
  z-index: 1001;
  transition: width 0.1s ease;
}

/* ========== LIQUID GLASS MIXIN ========== */
.glass {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
}

.glass-dark {
  background: rgba(11,29,58,0.65);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-glass);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}

/* Button shimmer effect */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-primary:hover::after {
  left: 200%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--patriot-red), var(--patriot-red-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(196,30,58,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196,30,58,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 20px 44px;
  font-size: 1.15rem;
}

/* ========== STAGGERED FADE-IN ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
  transition-delay: var(--delay, 0s);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Fallback: if JS hasn't run after 2s, show everything */
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
}

/* ========== NAVIGATION - Liquid Glass ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(11,29,58,0.06);
  z-index: 1000;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 4px 24px rgba(11,29,58,0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 94px;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--patriot-red);
}

.nav-links .btn {
  background: linear-gradient(135deg, var(--patriot-red), var(--patriot-red-dark));
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.85rem;
  border: none;
}

.nav-links .btn:hover {
  background: linear-gradient(135deg, var(--patriot-red-dark), var(--patriot-red));
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196,30,58,0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  margin: 3px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== HERO - DARK NAVY WITH ANIMATED GRADIENT ========== */
.hero {
  background: var(--white);
  color: var(--text-dark);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

/* Subtle texture on white hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(11,29,58,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Red accent line at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--patriot-red), var(--star-gold), var(--patriot-red));
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text { max-width: 600px; }

.coming-soon-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.hero-subtitle {
  font-family: var(--font-family);
  font-size: 2rem;
  font-weight: 300;
  color: var(--patriot-red);
  margin-bottom: 1.75rem;
  letter-spacing: 0.2px;
  line-height: 1.4;
}

.hero-tagline {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  color: var(--text-mid);
}

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

.hero-description {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,0.8);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-mockup-img {
  max-width: 120%;
  width: 120%;
  height: auto;
  max-height: 700px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  filter: drop-shadow(0 12px 40px rgba(11,29,58,0.2));
}

.book-mockup-img:hover {
  transform: scale(1.03) translateY(-4px);
}

/* ========== MEDIA BAR (REPLACING RETAILER) ========== */
.media-bar {
  background: var(--off-white);
  color: var(--text-mid);
  padding: 24px 0;
  border-bottom: 1px solid rgba(11,29,58,0.08);
  border-top: 1px solid rgba(11,29,58,0.08);
  position: relative;
  overflow: hidden;
}

.media-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

/* Seamless logo marquee: label stays static, only the duplicated track scrolls.
   Track = 2 identical copies; translateX(-50%) shifts exactly one copy, so the
   loop is seamless (no partial-scroll-then-reset). */
.media-marquee {
  flex: 1 1 340px;
  min-width: 0;
  overflow: hidden;
  /* wider fade zones so logos ease in/out gradually (no abrupt appearance) */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  /* fade the whole ribbon in on first paint so nothing "pops" on load */
  animation: mediaFadeIn 1s ease both;
}
.media-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
@keyframes mediaFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.media-marquee:hover .media-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .media-track { animation: none; }
}

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

.media-label {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  white-space: nowrap;
}

.media-logos {
  display: flex;
  gap: 4rem;
  align-items: center;
  padding-right: 4rem; /* trailing gap = internal gap, so the two copies tile seamlessly */
}

.media-logo {
  height: 36px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%) brightness(0.4);
  transition: all 0.3s ease;
}
.media-logo:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
  transform: scale(1.1);
}
/* KNRS is a dark white-on-navy logo; brightness(0.4) crushes it to an unreadable
   dark block. Desaturate only (keep its own contrast) so the white text stays legible.
   KNRS (dense square) + KSL (detailed) read smaller than Fortune/NewsTalk at 36px,
   so bump their height for readability parity. */
.media-logo[src*="knrs-2"] {
  height: 48px;
  filter: grayscale(100%);
  opacity: 0.72;
}
.media-logo[src*="ksl"] {
  height: 42px;
}

/* ========== WHAT YOU'LL LEARN - Photo Background + Glass Cards ========== */
.what-youll-learn {
  padding: 64px 0;
  background: var(--off-white);
  position: relative;
}

.what-youll-learn .section-title {
  color: var(--navy);
}

.section-title--gold {
  color: var(--star-gold) !important;
}

.more-emphasis {
  font-family: var(--font-display);
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--star-gold);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

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

.card {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
}

/* Background images per card */
.card--fers { background-image: url('/assets/images/cards/fers-pension.jpg'); }
.card--tsp { background-image: url('/assets/images/cards/tsp-investing.jpg'); }
.card--fegli { background-image: url('/assets/images/cards/fegli-insurance.jpg'); }
.card--fehb { background-image: url('/assets/images/cards/fehb-health.jpg'); }
.card--ss { background-image: url('/assets/images/cards/social-security.jpg'); }
.card--gap { background-image: url('/assets/images/cards/benefits-gap.jpg'); }

/* Dark overlay */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,29,58,0.6) 0%, rgba(11,29,58,0.85) 100%);
  z-index: 1;
  transition: background 0.4s ease;
}

.card:hover::before {
  background: linear-gradient(180deg, rgba(11,29,58,0.5) 0%, rgba(11,29,58,0.75) 100%);
}

/* Glass inner panel */
.card-glass {
  position: relative;
  z-index: 2;
  padding: 2.25rem;
  height: 100%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px) saturate(1.4);
  -webkit-backdrop-filter: blur(8px) saturate(1.4);
  border-bottom: 3px solid rgba(212,175,55,0.4);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(11,29,58,0.25);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--star-gold);
  margin-bottom: 1.25rem;
  transition: color 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.card:hover .card-icon {
  color: var(--white);
}

.card h3 {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.card p {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-size: 1.05rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ========== IMAGE BREAK - CAPITOL PARALLAX ========== */
.image-break {
  min-height: 40vh;
  background: linear-gradient(rgba(11,29,58,0.8), rgba(11,29,58,0.6)),
              url('/assets/images/capitol-break.jpg') center/cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--white);
  text-align: center;
}

/* Mobile fallback for background-attachment: fixed */
@media (max-width: 768px) {
  .image-break {
    background-attachment: scroll;
  }
}

.image-break-content {
  max-width: 600px;
  padding: 0 24px;
  z-index: 1;
  position: relative;
}

.image-break-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ========== BOOK FOR YOU - NAVY WITH STARS AND GLASS CARDS ========== */
.book-for-you {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  position: relative;
}

/* Star pattern background */
.book-for-you::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.15) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
  background-size: 100px 100px, 150px 150px, 80px 80px;
  pointer-events: none;
}

.book-for-you .section-title {
  color: var(--white);
}

.checklist {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.checklist-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.3);
}

.check-icon {
  color: var(--star-gold);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.checklist-item span {
  font-family: var(--font-body);
  font-size: 1.35rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.6;
}

/* ========== TESTIMONIAL SECTION - GLASS MORPHISM ========== */
.testimonials {
  padding: 40px 0;
  background: linear-gradient(rgba(11,29,58,0.75), rgba(11,29,58,0.8)),
              url('/assets/images/american-flag.jpg') center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

.testimonial-star {
  color: var(--star-gold);
  font-size: 1rem;
}

.testimonial-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.testimonial-author {
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

/* ========== AUTHOR SECTION - ENHANCED PRESENCE ========== */
.about-author {
  padding: 64px 0;
  background: linear-gradient(135deg, #f8fafc 0%, var(--off-white) 100%);
  position: relative;
}

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

.author-text h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.author-text h3 {
  font-family: var(--font-family);
  font-size: 1.8rem;
  color: var(--patriot-red);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.author-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.author-badge {
  background: var(--star-gold);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
}

.author-text p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 2rem;
}

.author-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.stat-number {
  font-family: var(--font-family);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

/* keep the counter number and its "+" on one line (e.g. "1,000+") */
.stat-value {
  display: flex;
  align-items: baseline;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.stat-badge {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy-mid);
  text-decoration: none;
  font-family: var(--font-family);
  font-weight: 600;
  transition: color 0.3s ease;
}

.linkedin-link:hover {
  color: var(--patriot-red);
}

.author-image {
  display: flex;
  justify-content: center;
}

.author-image img {
  border: 4px solid var(--star-gold) !important;
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3) !important;
  transition: transform 0.3s ease !important;
}

.author-image img:hover {
  transform: scale(1.02) !important;
}

/* ========== MID-SECTION CTA ========== */
.mid-cta {
  padding: 0;
  background: linear-gradient(135deg, var(--patriot-red), var(--patriot-red-dark));
  text-align: center;
}

.mid-cta-content {
  display: flex;
  justify-content: center;
}

.mid-cta .btn {
  display: block;
  width: 100%;
  border-radius: 0;
  padding: 1.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: transparent;
  box-shadow: none;
}

.mid-cta .btn:hover {
  background: rgba(255,255,255,0.1);
  transform: none;
  box-shadow: none;
}

.mid-cta .container {
  max-width: 100%;
  padding: 0;
}

/* ========== FREE CHAPTER CTA - Glass on Dark ========== */
.free-chapter-cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  color: var(--white);
  padding: 64px 0;
  position: relative;
}

.free-chapter-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--patriot-red), var(--star-gold), var(--patriot-red));
}

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

.cta-content h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-content p {
  font-family: var(--font-body);
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.email-form {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.form-fields {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.form-fields input {
  flex: 1;
  padding: 20px 24px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 18px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-fields input::placeholder {
  color: rgba(255,255,255,0.45);
}

.form-fields input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
}

.form-submit {
  margin-bottom: 1.5rem;
  width: auto;
  padding: 18px 40px !important;
  font-size: 1.1rem !important;
}

.form-trust-signals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.trust-signal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-count {
  font-weight: 600;
  color: var(--star-gold);
}

.trust-unsubscribe {
  font-style: italic;
}

/* ========== FAQ - ENHANCED ACCORDION ========== */
.faq {
  padding: 64px 0;
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(11,29,58,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.3s ease, border-left 0.3s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--patriot-red);
}

.faq-item summary {
  padding: 1.5rem 1.75rem;
  background: var(--off-white);
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--navy);
  transition: background 0.3s ease, color 0.3s ease;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--patriot-red);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: rgba(11,29,58,0.04);
}

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

.faq-item[open] .faq-answer {
  max-height: 500px;
  padding: 1.25rem 1.5rem;
}

.faq-answer p {
  font-family: var(--font-body);
  color: var(--text-mid);
  line-height: 1.8;
  margin: 0;
  font-size: 1.1rem;
}

/* ========== FOOTER LINKS BAR ========== */
.footer-links-bar {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.footer-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease, color 0.3s ease;
  gap: 0.5rem;
}

.footer-link-card:last-child {
  border-right: none;
}

.footer-link-card:hover {
  background: rgba(255,255,255,0.04);
  color: var(--white);
}

.footer-link-logo {
  height: 40px;
  width: auto;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.footer-link-card:hover .footer-link-logo {
  opacity: 1;
}

.footer-link-icon {
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.footer-link-card:hover .footer-link-icon {
  color: var(--white);
}

.footer-link-title {
  font-family: var(--font-family);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.footer-link-label {
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.footer-link-arrow {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.4);
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-link-card:hover .footer-link-arrow {
  transform: translateX(4px);
  color: rgba(255,255,255,0.8);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 24px 0;
}

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

.footer-bottom p {
  font-family: var(--font-body);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.disclaimer {
  font-family: var(--font-body);
  font-size: 0.8rem;
  opacity: 0.6;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========== SCROLL-TRIGGERED NUMBER COUNTER ========== */
.counting {
  animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.stat-number-fallback {
  display: none;
}

/* No JS fallback for counter */
noscript .stat-number-fallback {
  display: inline;
}

noscript .counter {
  display: none;
}

/* ========== GOLD STAR DIVIDER ========== */
.gold-star-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  background: var(--off-white);
  gap: 1rem;
}

.gold-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--star-gold), transparent);
}

.gold-stars {
  color: var(--star-gold);
  font-size: 1.1rem;
  letter-spacing: 0.35rem;
  text-shadow: 0 1px 4px rgba(212,175,55,0.3);
}

/* ========== MOBILE STICKY CTA BAR ========== */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--patriot-red), var(--patriot-red-dark));
  padding: 1rem;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  display: none;
}

.mobile-cta-bar .btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== SECTION SPACING IMPROVEMENTS ========== */
.what-youll-learn,
.book-for-you,
.testimonials,
.about-author,
.faq {
  margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-links { 
    display: none; 
  }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 94px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 999;
  }
  
  .nav-toggle { display: flex; }
  
  .mobile-cta-bar { display: block; }

  .hero { padding: 110px 0 70px; }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-text { max-width: 100%; }
  .book-mockup-img { max-width: 100%; width: 100%; max-height: 500px; }
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .card h3 { font-size: 1.3rem; }

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

  .author-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-badges { justify-content: center; }
  .author-stats { justify-content: center; }
  .form-fields { flex-direction: column; }
  
  .hero-cta-buttons { flex-direction: column; }

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

  .footer-link-card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 2rem;
  }

  .footer-link-card:last-child {
    border-bottom: none;
  }

  .media-content {
    animation-duration: 20s;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1.15rem; }
  .section-title { font-size: 1.75rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .card { padding: 1.5rem; }
  .testimonial-card { padding: 1.5rem; }
  .email-form { padding: 1.25rem; }
}
/* Anchor targets clear the fixed nav on native (cross-page) jumps */
#what-youll-learn, #about-mike, #free-chapter { scroll-margin-top: 100px; }
