/* ============================================
   THE LONGEVITY MANUAL — Design System
   Light Trust Premium | Quiet Luxury
   ============================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Palette — Light Trust Theme */
  --bg-primary: #FAFBFD;
  --bg-secondary: #F0F2F7;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F5F7FA;
  --text-primary: #1B2A4A;
  --text-secondary: #5A6A85;
  --text-muted: #8E99A9;
  --accent-emerald: #0D9373;
  --accent-blue: #1D63D1;
  --accent-emerald-glow: rgba(13, 147, 115, 0.18);
  --accent-blue-glow: rgba(29, 99, 209, 0.12);
  --border-subtle: rgba(27, 42, 74, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(27, 42, 74, 0.1);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-hero: clamp(2.8rem, 6vw, 5.5rem);
  --fs-h2: clamp(1.8rem, 3.5vw, 3rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.6rem);
  --fs-body: 1.05rem;
  --fs-small: 0.875rem;
  --lh-tight: 1.1;
  --lh-normal: 1.6;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 80px);
  --container-max: 1100px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.6s;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.section {
  padding: var(--section-pad);
  position: relative;
}

/* ---------- Site Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(250, 251, 253, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 80px);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-header__logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.site-header__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-blue));
  transition: transform 0.2s, box-shadow 0.2s;
}

.site-header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-emerald-glow);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: var(--fs-small);
  font-weight: 500;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.badge svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-emerald);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
}

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

/* Stagger children */
.stagger>.reveal:nth-child(1) {
  transition-delay: 0s;
}

.stagger>.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger>.reveal:nth-child(3) {
  transition-delay: 0.15s;
}

.stagger>.reveal:nth-child(4) {
  transition-delay: 0.2s;
}

.stagger>.reveal:nth-child(5) {
  transition-delay: 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(100px, 12vw, 160px) clamp(20px, 5vw, 80px) clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

/* Background glow orbs */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-emerald-glow) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 70%);
  bottom: -100px;
  left: -150px;
  border-radius: 50%;
  pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -30px);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent-emerald);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -2px;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* Primary CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-family);
  color: #ffffff;
  background: var(--accent-emerald);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--accent-emerald-glow);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary .arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.payment-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.payment-icons span {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.payment-icons img,
.payment-icons svg {
  height: 22px;
  opacity: 0.5;
  transition: opacity 0.3s;
  filter: grayscale(100%) brightness(0.4);
}

.payment-icons img:hover,
.payment-icons svg:hover {
  opacity: 0.8;
}

/* Hero Image / Mockup */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__mockup {
  width: 100%;
  max-width: 480px;
  border-radius: 0;
  animation: heroFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 50px rgba(13, 147, 115, 0.15));
}

@keyframes heroFloat {

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

  50% {
    transform: translateY(-18px);
  }
}

/* ============================================
   AUTHORITY BAR
   ============================================ */
.authority-bar {
  padding: 40px clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.authority-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}

.authority-bar .badge {
  white-space: nowrap;
}

.authority-bar .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ============================================
   STATS / SOCIAL PROOF
   ============================================ */
.stats-section {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 80px);
  background: var(--bg-secondary);
}

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

.stat-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  position: relative;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(13, 147, 115, 0.08);
}

.stat-card__number {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  display: inline;
}

.stat-card__suffix {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  display: inline;
  color: var(--accent-emerald);
  margin-left: 2px;
}

.stat-card__label {
  margin-top: 12px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   PROBLEM / SOLUTION
   ============================================ */
.problem-solution .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.ps-card {
  padding: 48px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.ps-card--problem {
  background: linear-gradient(145deg, #FFF5F5 0%, var(--bg-card) 100%);
  border: 1px solid rgba(220, 60, 60, 0.12);
}

.ps-card--solution {
  background: linear-gradient(145deg, #F0FBF8 0%, var(--bg-card) 100%);
  border: 1px solid rgba(13, 147, 115, 0.12);
}

.ps-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.ps-card--problem .ps-card__icon {
  background: rgba(220, 60, 60, 0.08);
}

.ps-card--solution .ps-card__icon {
  background: rgba(13, 147, 115, 0.08);
}

.ps-card__label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.ps-card--problem .ps-card__label {
  color: #C93B3B;
}

.ps-card--solution .ps-card__label {
  color: var(--accent-emerald);
}

.ps-card__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.ps-card__text {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
  text-align: center;
  overflow: hidden;
}

.video-section .section-header {
  margin-bottom: 48px;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #1B2A4A 0%, #0D1B2A 100%);
  cursor: pointer;
  box-shadow: 0 20px 60px rgba(27, 42, 74, 0.15);
  transition: box-shadow 0.4s, transform 0.4s var(--ease-out);
}

.video-container:hover {
  box-shadow: 0 30px 80px rgba(27, 42, 74, 0.2);
  transform: translateY(-4px);
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-container video.active {
  display: block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(145deg, rgba(13, 147, 115, 0.05) 0%, rgba(29, 99, 209, 0.05) 100%);
}

.video-placeholder__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 30px var(--accent-emerald-glow);
  animation: pulse-glow 3s ease-in-out infinite;
}

.video-placeholder__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-small);
  font-weight: 500;
}

.video-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-weight: 500;
}

.video-caption svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ============================================
   WHAT'S INSIDE — CURIOSITY BULLETS
   ============================================ */
.whats-inside {
  text-align: center;
}

.whats-inside .section-header {
  margin-bottom: 64px;
}

.section-header__eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 16px;
}

.section-header__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-header__subtitle {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.bullets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  text-align: left;
}

.bullet-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.4s, transform 0.4s var(--ease-out), background 0.4s;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.bullet-card:hover {
  border-color: rgba(13, 147, 115, 0.25);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.bullet-card__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffffff;
}

.bullet-card__title {
  font-weight: 600;
  margin-bottom: 6px;
}

.bullet-card__desc {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  text-align: center;
  background: var(--bg-secondary);
}

.testimonials-section .section-header {
  margin-bottom: 56px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.testimonial-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13, 147, 115, 0.08);
}

.testimonial-card__stars {
  color: #F5A623;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  flex-grow: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================
   VALUE STACK — BONUS SECTION
   ============================================ */
.value-stack {
  text-align: center;
}

.value-stack .section-header {
  margin-bottom: 56px;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.bonus-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.bonus-card:hover {
  border-color: rgba(13, 147, 115, 0.2);
  transform: translateY(-4px);
}

.bonus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-blue));
  opacity: 0;
  transition: opacity 0.4s;
}

.bonus-card:hover::before {
  opacity: 1;
}

.bonus-card__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(0, 212, 170, 0.1);
  color: var(--accent-emerald);
  margin-bottom: 20px;
}

.bonus-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bonus-card__desc {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.7;
}

.bonus-card__value {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.bonus-card__value strong {
  color: var(--text-primary);
}

/* Value totals */
.value-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.value-total__old {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.value-total__new {
  font-size: 2.4rem;
  font-weight: 800;
}

.value-total__label {
  color: var(--text-secondary);
  font-size: var(--fs-small);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(13, 147, 115, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

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

.final-cta__box {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.final-cta__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -1px;
}

.final-cta__subtitle {
  color: var(--text-secondary);
  max-width: 440px;
}

/* Guarantee badge */
.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  background: rgba(13, 147, 115, 0.06);
  border: 1px solid rgba(13, 147, 115, 0.15);
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin-top: 8px;
}

.guarantee-badge svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ============================================
   STICKY FOOTER
   ============================================ */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px clamp(20px, 5vw, 40px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--border-subtle);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.sticky-footer.visible {
  transform: translateY(0);
}

.sticky-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sticky-footer__text {
  font-weight: 600;
  font-size: 0.95rem;
}

.sticky-footer__text span {
  color: var(--text-secondary);
  font-weight: 400;
  margin-left: 8px;
  font-size: var(--fs-small);
}

.btn-sticky {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-family);
  color: #ffffff;
  background: var(--accent-emerald);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.btn-sticky:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--accent-emerald-glow);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 40px clamp(20px, 5vw, 80px) 100px;
  border-top: 1px solid var(--border-subtle);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__brand {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__links a {
  font-size: var(--fs-small);
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--text-primary);
}

/* ============================================
   EMAIL POPUP MODAL
   ============================================ */
.email-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 42, 74, 0.4);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
  padding: 20px;
}

.email-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.email-popup {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 100px rgba(27, 42, 74, 0.2);
  overflow: hidden;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.5s var(--ease-out);
}

.email-popup-overlay.active .email-popup {
  transform: translateY(0) scale(1);
}

/* Decorative top gradient bar */
.email-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-blue));
}

.email-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: background 0.3s, color 0.3s;
  z-index: 2;
}

.email-popup__close:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.email-popup__content {
  padding: 48px 40px 40px;
  text-align: center;
}

.email-popup__icon {
  font-size: 3rem;
  margin-bottom: 16px;
  animation: bounceIn 0.6s var(--ease-out);
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

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

.email-popup__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.email-popup__subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.email-popup__subtitle strong {
  font-size: 1.15rem;
  font-weight: 800;
}

.email-popup__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.email-popup__input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.email-popup__input:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 4px var(--accent-emerald-glow);
}

.email-popup__input::placeholder {
  color: var(--text-muted);
}

.email-popup__submit {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
}

.email-popup__privacy {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Success state */
.email-popup__success {
  display: none;
  text-align: center;
}

.email-popup__success.active {
  display: block;
  animation: fadeInUp 0.5s var(--ease-out);
}

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

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

.email-popup__success-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.email-popup__success h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.promo-code-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(13, 147, 115, 0.06);
  border: 2px dashed rgba(13, 147, 115, 0.3);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.promo-code {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--accent-emerald);
}

.promo-code-copy {
  padding: 6px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-card);
  font-size: var(--fs-small);
  font-weight: 600;
  font-family: var(--font-family);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.promo-code-copy:hover {
  background: var(--accent-emerald);
  color: white;
  border-color: var(--accent-emerald);
}

.email-popup__success-text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    align-items: center;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .hero__cta-group {
    align-items: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__mockup {
    max-width: 340px;
  }

  .problem-solution .container {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 600px) {
  .hero__title {
    letter-spacing: -1px;
  }

  .authority-bar .container {
    flex-direction: column;
    gap: 16px;
  }

  .ps-card {
    padding: 32px;
  }

  .final-cta__box {
    padding: 40px 24px;
  }

  .sticky-footer .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }

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

  .stat-card {
    padding: 24px 16px;
  }

  .email-popup__content {
    padding: 40px 24px 32px;
  }

  .email-popup__title {
    font-size: 1.3rem;
  }

  .video-container {
    border-radius: var(--radius);
  }
}

/* ============================================
   MICRO-ANIMATION UTILITIES
   ============================================ */
@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px var(--accent-emerald-glow);
  }

  50% {
    box-shadow: 0 0 40px var(--accent-emerald-glow);
  }
}

.glow-pulse {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Grain overlay for texture — subtle on light */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  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");
}