/* ==========================================================================
   ELEGANT KAJABI & CLICKFUNNELS RESILIENT DESIGN SYSTEM
   PROJECT: HỆ THỐNG GIẢM CÂN KHÔNG BỎ CUỘC™
   DESIGNER: ANTIGRAVITY (DEEPMIND ADVANCED AGENTIC CODING)
   ========================================================================== */

/* --- 1. IMPORT GOOGLE FONTS (Optimized: Moved to index.html for high-speed preconnect) --- */

/* --- 2. CSS CUSTOM VARIABLES --- */
:root {
  --color-primary: #0F5A47;         /* Emerald Green Thâm Thúy */
  --color-primary-light: #167A62;   /* Emerald Sáng hơn */
  --color-primary-dark: #093427;    /* Emerald Sâu thẳm */
  --color-accent: #E11D48;          /* Coral Rose Năng động, Cuốn hút */
  --color-accent-hover: #BE123C;
  --color-gold: #D97706;            /* Hổ phách/Vàng kim sang trọng */
  --color-bg-light: #FAF9F6;        /* Trắng sữa mềm mại */
  --color-bg-white: #FFFFFF;
  --color-bg-dark: #092C22;         /* Gradient Dark Emerald */
  --color-text-main: #1F2937;       /* Than đậm tối ưu độ tương phản */
  --color-text-muted: #4B5563;      /* Xám phụ đề */
  --color-border: #E5E7EB;          /* Đường viền thanh mảnh */
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-subheading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(15, 90, 71, 0.08), 0 10px 10px -5px rgba(15, 90, 71, 0.04);
  --shadow-gold: 0 0 25px rgba(217, 119, 6, 0.25);
  --shadow-pulse: 0 0 0 0 rgba(225, 29, 72, 0.4);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.65;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

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

/* --- 4. TYPOGRAPHY & HEADINGS --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

h3 {
  font-family: var(--font-subheading);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-family: var(--font-subheading);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

strong {
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* --- 5. COMPONENT: BUTTONS --- */
.btn-coral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: var(--color-bg-white) !important;
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  text-align: center;
  animation: pulse-button 2s infinite;
}

.btn-coral:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(225, 29, 72, 0.45);
}

.btn-coral:active {
  transform: translateY(-1px);
}

@keyframes pulse-button {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(225, 29, 72, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
  }
}

/* --- 6. LAYOUT UTILITIES --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.bg-dark-emerald {
  background: radial-gradient(circle at top, var(--color-primary-light) 0%, var(--color-bg-dark) 100%);
  color: var(--color-bg-white);
}

.bg-dark-emerald h1, .bg-dark-emerald h2, .bg-dark-emerald h3, .bg-dark-emerald strong {
  color: var(--color-bg-white);
}

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

.divider {
  width: 80px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 1.5rem auto;
  border-radius: 99px;
}

/* --- 7. SECTION: TOP BAR BRAND --- */
.top-bar {
  background-color: var(--color-bg-dark);
  color: var(--color-bg-white);
  padding: 1rem 0;
  text-align: center;
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- 8. SECTION: HERO (GIỚI THIỆU) --- */
/* --- 8. SECTION: HERO (GIỚI THIỆU) --- */
.hero-section {
  padding: 2.25rem 0 3.5rem 0; /* Tight, premium above-the-fold spacing */
}

.target-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.22) 0%, rgba(245, 158, 11, 0.12) 100%);
  border: 1.5px solid #FBBF24; /* High-contrast bright gold */
  color: #FEF3C7; /* Brighter gold off-white for perfect legibility */
  font-family: var(--font-subheading);
  font-weight: 800; /* Increased font weight */
  font-size: 0.85rem;
  letter-spacing: 1px;
  line-height: 1.45;
  padding: 0.65rem 1.5rem;
  border-radius: 12px; /* Premium card shape */
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.15);
}

.hero-subtitle-question {
  font-family: var(--font-heading);
  font-size: 1.8rem; /* Reduced by 16% for better vertical height and impact */
  color: #FFFFFF;
  margin-bottom: 0.5rem; /* Compressed margin */
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.hero-bridge-statement {
  font-family: var(--font-body);
  font-size: 1.15rem;
  max-width: 550px; /* Compressed width to naturally force two shorter, punchy lines */
  margin: 0 auto 1rem auto;
  opacity: 0.95;
  line-height: 1.55;
  font-weight: 500;
  font-style: italic;
  color: #FEE2E2;
}

/* BEFORE/AFTER Image immediately as main focal point */
.hero-focal-proof-container {
  max-width: 630px; /* Expanded by ~8.6% (was 580px) to dominate above-the-fold */
  margin: 1rem auto 1rem auto; /* Tightened margins */
  border-radius: 24px; /* Increased corner radius for modern soft look */
  overflow: hidden;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.55), 0 0 35px rgba(52, 211, 153, 0.25); /* Deepened, dramatic shadow */
  border: 4px solid rgba(255, 255, 255, 0.98);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-focal-proof-container:hover {
  transform: translateY(-4px) scale(1.01);
}

.hero-focal-proof {
  width: 100%;
  height: auto;
  display: block;
}

/* COMPACT SOCIAL PROOF STRIP DIRECTLY BELOW BEFORE/AFTER IMAGE */
.hero-proof-strip {
  margin: 1rem auto 1.5rem auto; /* Positioned tightly below focal proof */
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.proof-stars {
  color: #FBBF24; /* Brighter gold stars */
  font-size: 1.15rem;
  letter-spacing: 2px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  animation: star-pulse 2s infinite ease-in-out;
}

@keyframes star-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.proof-text-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.88rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.proof-dot {
  color: #34D399; /* Mint green dot divider */
  font-size: 1.1rem;
  font-weight: 800;
}

.hero-title-main {
  font-family: var(--font-subheading);
  font-weight: 800;
  font-size: 1.95rem; /* Reduced by approximately 20% (was 2.45rem) for perfect CRO focus */
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--color-bg-white);
}

.hero-desc-sub {
  font-size: 1.05rem; /* Slightly condensed */
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  opacity: 0.95;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-bullets {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
}

.hero-bullets h3 {
  color: var(--color-bg-white);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.hero-bullets ul {
  list-style: none;
}

.hero-bullets li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  font-size: 1.05rem;
}

.hero-bullets li:last-child {
  margin-bottom: 0;
}

.hero-bullets li .bullet-icon {
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

.hero-no-need {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  background-color: rgba(225, 29, 72, 0.08);
  border: 1px dashed rgba(225, 29, 72, 0.3);
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 2.5rem;
}

.hero-no-need span {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #FDA4AF;
}

.hero-no-need span::before {
  content: '❌';
  margin-right: 0.5rem;
  font-size: 0.85rem;
}

.hero-image-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.main-mockup {
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
  width: 64%; /* Reduced by 20% to make before-after dominate */
  max-width: 280px;
  mix-blend-mode: multiply; /* Blends the white background into dark green naturally */
  opacity: 0.98;
}

.main-mockup:hover {
  transform: translateY(-5px);
}

.before-after-hero {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 25px rgba(0,0,0,0.3);
  border: 3px solid rgba(255, 255, 255, 0.15);
  width: 100%;
}

/* --- HERO BOTTOM GRID & SECONDARY EBOOK SUPPORT --- */
.hero-bottom-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: center;
  max-width: 950px;
  margin: 0 auto 2.5rem auto;
}

.hero-bullets-column {
  width: 100%;
}

.hero-ebook-column {
  width: 100%;
}

.hero-ebook-support {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-ebook-support:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.hero-ebook-secondary {
  max-width: 180px; /* Increased from 110px to showcase the wider, higher-value bundle mockup beautifully */
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.45));
  transition: all 0.3s ease;
}

.hero-ebook-support:hover .hero-ebook-secondary {
  opacity: 1;
  transform: translateY(-3px) scale(1.03);
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.45));
}

.ebook-caption {
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  margin-bottom: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- 9. SECTION: TRUST BAR (BAO CHỨNG ĐỘ TIN CẬY) --- */
.trust-bar {
  background-color: var(--color-primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
}

.trust-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  color: var(--color-bg-light);
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.95rem;
}

.trust-item span.icon {
  font-size: 1.4rem;
  margin-right: 0.75rem;
}

/* --- 10. SECTION: VIDEO TESTIMONIALS (AUTO PLAY LOOP) --- */
.video-testimonials-section {
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
}

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

.video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  box-shadow: var(--shadow-md);
  background-color: #000;
  border: 1px solid var(--color-border);
}

.testimonial-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 100%);
}

.unmute-badge {
  background-color: rgba(225, 29, 72, 0.9);
  color: var(--color-bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  align-self: flex-start;
  font-family: var(--font-subheading);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.unmute-badge.playing {
  background-color: rgba(16, 185, 129, 0.9);
}

.video-play-btn {
  width: 50px;
  height: 50px;
  background-color: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
  margin-top: 2rem;
}

.video-play-btn::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--color-accent);
  margin-left: 4px;
}

.video-desc {
  color: var(--color-bg-white);
}

.video-desc h4 {
  color: var(--color-bg-white);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.video-desc p {
  font-size: 0.8rem;
  margin-bottom: 0;
  opacity: 0.85;
}

/* --- 11. SECTION: CƠ CHẾ 3 KHÔNG 4 TRỤ --- */
.mechanism-section {
  background-color: var(--color-bg-light);
}

.mechanism-intro-box {
  background-color: var(--color-bg-white);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  margin-top: 3rem;
  border: 1px solid var(--color-border);
}

.three-khong-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}

.khong-card {
  background-color: #FEF2F2;
  border: 1px solid #FEE2E2;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.khong-card:hover {
  transform: translateY(-5px);
}

.khong-badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-bg-white);
  font-family: var(--font-subheading);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.khong-card h3 {
  color: #991B1B;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.four-tru-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary-dark);
  margin-bottom: 2.5rem;
}

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

.tru-card {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.tru-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.tru-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.tru-icon {
  font-size: 2.2rem;
  margin-right: 1rem;
}

.tru-header h3 {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
}

.tru-bullets {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tru-bullets li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.tru-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: bold;
}

.tru-result-badge {
  background-color: rgba(16, 185, 129, 0.1);
  border-left: 4px solid #10B981;
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-primary-dark);
}

.mechanism-single-diagram {
  max-width: 850px;
  margin: 4rem auto 0 auto;
}

.mechanism-img-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--color-bg-white);
}

/* --- 12. SECTION: RESULTS (90 NGÀY SAU) --- */
.results-section {
  background-color: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.results-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}

.results-image-wrapper {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--color-bg-white);
  transition: transform 0.3s ease;
}

.results-image-wrapper:hover {
  transform: translateY(-5px);
}

.results-content-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.outcome-item {
  background: var(--color-bg-white);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 90, 71, 0.05);
  transition: all 0.3s ease;
}

.outcome-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 90, 71, 0.15);
  transform: translateX(5px);
}

.outcome-item-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.outcome-icon {
  font-size: 1.5rem;
}

.outcome-item h3 {
  font-family: var(--font-subheading);
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
}

.outcome-item p {
  color: var(--color-text-dark);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* --- OUTCOME SCANNABLE LISTS & TICK MARKS --- */
.outcome-scannable-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.outcome-scannable-list li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.chk-item {
  color: #10B981; /* Vibrant mint green check */
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(16, 185, 129, 0.12);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-top: 2px;
}

/* --- 13. SECTION: PRICING & CHỐT ĐƠN (SẢN PHẨM) --- */
.pricing-section {
  position: relative;
}

.pricing-bundle-showcase {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,0.15);
}

.pricing-cards-container {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

.pricing-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-text-main);
  display: flex;
  flex-direction: column;
}

.pricing-card h2, .pricing-card h3, .pricing-card h4, .pricing-card strong {
  color: var(--color-primary-dark);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Gói được highlight (Gói Lộ Trình Hoàn Chỉnh) */
.pricing-card.popular-highlight {
  border: 3px solid var(--color-gold);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF9 100%);
  transform: scale(1.10);
  z-index: 10;
  animation: gold-pulse-border 3s infinite;
}

.pricing-card.popular-highlight:hover {
  transform: scale(1.11) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--color-accent) 0%, #F43F5E 100%);
  color: var(--color-bg-white);
  font-family: var(--font-subheading);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 0.5rem 1.5rem;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(225,29,72,0.3);
  animation: shine-badge 3s infinite;
}

@keyframes shine-badge {
  0% { opacity: 0.9; }
  50% { opacity: 1; box-shadow: 0 4px 20px rgba(225,29,72,0.6); }
  100% { opacity: 0.9; }
}

.package-header {
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.package-badge {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.package-title {
  font-family: var(--font-subheading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.package-price {
  font-family: var(--font-subheading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent) !important;
}

.package-price-sub {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.package-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
  min-height: 50px;
}

.package-benefits {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.package-benefits li {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  text-align: left;
}

.package-benefits li::before {
  content: '✓';
  color: #10B981;
  font-weight: bold;
  margin-right: 0.5rem;
}

.package-benefits li.not-included {
  color: #9CA3AF;
}

.package-benefits li.not-included::before {
  content: '✕';
  color: #EF4444;
}

.package-fits-for {
  background-color: var(--color-bg-light);
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.85rem;
  border: 1px solid var(--color-border);
}

.pricing-card.popular-highlight .package-fits-for {
  background-color: #FEFBF6;
  border-color: #FDE8E8;
}

.pricing-card .btn-coral {
  width: 100%;
  margin-top: 1.5rem;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
}

/* --- 14. SECTION: WHY 80% CHOOSE THE 599K PLAN --- */
.why-80-section {
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
}

.why-80-content-box {
  background-color: #FAFBF9;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.why-80-desc-p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
}

/* Bảng so sánh tính năng cực kỳ thẩm mỹ */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--color-bg-white);
  font-size: 0.95rem;
}

.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  background-color: var(--color-primary-dark);
  color: var(--color-bg-white);
  font-family: var(--font-subheading);
  font-weight: 700;
}

.comparison-table th:first-child {
  width: 40%;
}

.comparison-table th:not(:first-child) {
  text-align: center;
  width: 20%;
}

.comparison-table td:not(:first-child) {
  text-align: center;
  font-size: 1.1rem;
}

.comparison-table tr:hover {
  background-color: var(--color-bg-light);
}

.comparison-table td.highlight-col, .comparison-table th.highlight-col {
  background-color: rgba(15, 90, 71, 0.04);
  font-weight: bold;
}

.comparison-table tr:hover td.highlight-col {
  background-color: rgba(15, 90, 71, 0.06);
}

/* --- 15. SECTION: VÒNG LẶP ĐAU ĐỚN (LOOP) --- */
.story-editorial-section {
  background-color: var(--color-bg-light);
}

.editorial-layout {
  max-width: 800px;
  margin: 0 auto;
}

.editorial-card {
  background-color: var(--color-bg-white);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.editorial-quote {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-style: italic;
  color: var(--color-primary-dark);
  border-left: 4px solid var(--color-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  line-height: 1.4;
}

.editorial-img-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 2.5rem 0;
}

/* --- 16. SECTION: STORY TÁC GIẢ (HẠNH HEALTHY) --- */
.story-section {
  background-color: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* --- 17. SECTION: ĐỐI TƯỢNG PHÙ HỢP & KHÔNG PHÙ HỢP --- */
.qualification-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.qualification-card {
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
}

.qualification-card.fit-card {
  border-left: 6px solid #10B981;
}

.qualification-card.nofit-card {
  border-left: 6px solid #EF4444;
}

.qualification-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.qualification-card.fit-card h3 {
  color: #065F46;
}

.qualification-card.nofit-card h3 {
  color: #991B1B;
}

.qualification-list {
  list-style: none;
}

.qualification-list li {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.qualification-card.fit-card .qualification-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: bold;
  font-size: 1.1rem;
}

.qualification-card.nofit-card .qualification-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #EF4444;
  font-weight: bold;
  font-size: 1.1rem;
}

/* --- 18. SECTION: 3 CON ĐƯỜNG SO SÁNH --- */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.path-card {
  background-color: var(--color-bg-white);
  border: 2px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.path-card.inactive-path-1 {
  border-color: #D1D5DB;
  background-color: #F9FAFB;
}

.path-card.inactive-path-2 {
  border-color: #FCA5A5;
  background-color: #FFFDFD;
}

.path-card.active-path-emerald {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-lg);
  background-color: #FFF;
  transform: scale(1.03);
}

.path-header {
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.path-badge {
  display: inline-block;
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 0.5rem;
}

.path-card.inactive-path-1 .path-badge {
  background-color: #E5E7EB;
  color: #4B5563;
}

.path-card.inactive-path-2 .path-badge {
  background-color: #FEE2E2;
  color: #EF4444;
}

.path-card.active-path-emerald .path-badge {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
}

.path-title {
  font-family: var(--font-subheading);
  font-size: 1.15rem;
  font-weight: 700;
}

.path-bullets {
  list-style: none;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.path-bullets li {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.path-card.inactive-path-1 .path-bullets li::before,
.path-card.inactive-path-2 .path-bullets li::before {
  content: '❌';
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

.path-card.active-path-emerald .path-bullets li::before {
  content: '✅';
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

.path-footer-p {
  font-weight: 700;
  text-align: center;
  font-size: 0.95rem;
  border-top: 1px dashed var(--color-border);
  padding-top: 1rem;
}

.path-card.inactive-path-1 .path-footer-p { color: #6B7280; }
.path-card.inactive-path-2 .path-footer-p { color: #EF4444; }
.path-card.active-path-emerald .path-footer-p { color: var(--color-primary); }

/* --- 19. SECTION: MODULE CHI TIẾT --- */
.modules-container {
  max-width: 800px;
  margin: 3rem auto 0 auto;
}

.module-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.module-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.module-tag {
  background-color: rgba(15, 90, 71, 0.1);
  color: var(--color-primary);
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 1rem;
  border-radius: 99px;
}

.module-value-badge {
  color: #991B1B;
  font-family: var(--font-subheading);
  font-weight: bold;
  font-size: 0.95rem;
}

.module-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
}

.module-desc {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
}

.module-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.module-column ul {
  list-style: none;
}

.module-column li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}

.module-column li::before {
  content: '✅';
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

.module-attachment {
  background-color: #F0FDF4;
  border: 1px dashed #BBF7D0;
  border-radius: 12px;
  padding: 1.25rem;
}

.module-attachment h4 {
  color: #166534;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.module-attachment ul {
  list-style: none;
}

.module-attachment li {
  font-size: 0.85rem;
  color: #14532D;
  margin-bottom: 0.5rem;
  display: flex;
}

.module-attachment li::before {
  content: '📌';
  margin-right: 0.5rem;
}

/* --- 20. SECTION: BONUS QUÀ TẶNG --- */
.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.bonus-card {
  background-color: var(--color-bg-white);
  border: 2px dashed #E1DCD0;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.bonus-tag {
  position: absolute;
  top: -12px;
  left: 2rem;
  background-color: var(--color-accent);
  color: var(--color-bg-white);
  font-family: var(--font-subheading);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 1rem;
  border-radius: 4px;
}

.bonus-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.bonus-meta h3 {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
}

.bonus-value {
  color: #B91C1C;
  font-weight: 700;
  font-family: var(--font-subheading);
}

.bonus-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* --- 21. SECTION: FAQ CÂU HỎI THƯỜNG GẶP --- */
.faqs-container {
  max-width: 800px;
  margin: 3rem auto 0 auto;
}

.faq-item {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--color-bg-white);
  user-select: none;
}

.faq-header:hover {
  background-color: var(--color-bg-light);
}

.faq-header h3 {
  font-size: 1.1rem;
  font-family: var(--font-subheading);
  color: var(--color-primary-dark);
  margin-bottom: 0;
}

.faq-icon {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-primary-light);
  transition: transform 0.3s ease;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background-color: #FCFBF9;
}

.faq-content {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* --- 22. SECTION: CAM KẾT KHÔNG RỦI RO --- */
.guarantee-box {
  background: radial-gradient(circle at center, var(--color-bg-white) 0%, #FFFDF9 100%);
  border: 3px solid var(--color-gold);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: var(--shadow-gold), var(--shadow-lg);
  max-width: 850px;
  margin: 4rem auto 0 auto;
  position: relative;
}

.guarantee-seal-overlay {
  position: absolute;
  top: -40px;
  right: 2rem;
  width: 100px;
  height: 100px;
}

.guarantee-seal-circle {
  width: 100%;
  height: 100%;
  background-color: #B91C1C;
  color: var(--color-bg-white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-subheading);
  font-weight: 800;
  font-size: 0.65rem;
  text-align: center;
  border: 4px dashed var(--color-bg-white);
  box-shadow: 0 10px 15px rgba(185,28,28,0.3);
  transform: rotate(-10deg);
}

.guarantee-box h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: #991B1B;
  margin-bottom: 1.5rem;
}

/* --- 23. SECTION: DIRECT CHECKOUT (ĐĂNG KÝ & CHUYỂN KHOẢN) --- */
.direct-checkout-section {
  scroll-margin-top: 80px;
}

.checkout-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background-color: var(--color-bg-white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 3.5rem;
  margin-top: 3rem;
  border: 2px solid var(--color-primary);
}

.checkout-form-column {
  border-right: 1px solid var(--color-border);
  padding-right: 2.5rem;
}

.checkout-form-group {
  margin-bottom: 1.5rem;
}

.checkout-form-group label {
  display: block;
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.checkout-form-group input[type="text"],
.checkout-form-group input[type="email"],
.checkout-form-group input[type="tel"] {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  border: 2px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-main);
  transition: all 0.3s ease;
}

.checkout-form-group input:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(22, 122, 98, 0.15);
}

/* Gói lựa chọn radio button trong form */
.package-selector-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.package-radio-container {
  display: flex;
  align-items: center;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.package-radio-container input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
  margin-right: 1rem;
  cursor: pointer;
}

.package-radio-info {
  flex-grow: 1;
}

.package-radio-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: var(--color-primary-dark);
}

.package-radio-info p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.package-radio-price {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-accent);
}

/* Khi radio được chọn */
.package-radio-container:has(input:checked) {
  border-color: var(--color-primary);
  background-color: rgba(15, 90, 71, 0.04);
}

.package-radio-container.highlighted-radio:has(input:checked) {
  border-color: var(--color-gold);
  background-color: #FFFDF9;
  box-shadow: 0 0 15px rgba(217,119,6,0.1);
}

.package-radio-container.highlighted-radio .radio-badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  background-color: var(--color-gold);
  color: var(--color-bg-white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* Custom file upload field */
.upload-proof-wrapper {
  margin-top: 1.5rem;
}

.file-input-hidden {
  display: none !important;
}

.proof-upload-btn-label {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-border);
  background-color: #FAFBF9;
  padding: 1rem;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-light);
  transition: all 0.3s ease;
}

.proof-upload-btn-label:hover {
  background-color: rgba(22, 122, 98, 0.05);
  border-color: var(--color-primary-light);
}

.proof-preview-container {
  display: none;
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  max-width: 150px;
  aspect-ratio: 1;
}

.proof-preview-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-form-column .btn-coral {
  width: 100%;
  border-radius: 12px;
  padding: 1.1rem;
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

/* Cột thông tin tài khoản & mã QR */
.checkout-payment-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-left: 1rem;
}

.payment-card-box {
  width: 100%;
  background-color: #FAFBF9;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  padding: 2rem;
  text-align: center;
}

.payment-card-box h3 {
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}

.bank-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

.bank-detail-row strong {
  color: var(--color-primary-dark);
}

.qr-code-wrapper {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-image-container {
  background-color: var(--color-bg-white);
  padding: 1rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.qr-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-hint-p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  max-width: 250px;
}

.payment-security-logos {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  opacity: 0.7;
}

.payment-security-logos span {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
}

/* --- 24. STICKY MOBILE CTA BAR (Bottom float) --- */
.mobile-sticky-cta {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  height: 75px;
  background-color: rgba(9, 52, 39, 0.95); /* Deep glassmorphic green base */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.35);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sticky-cta.active {
  bottom: 0;
}

.sticky-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sticky-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.2px;
}

.sticky-price {
  font-family: var(--font-subheading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #FBBF24; /* High-contrast gold highlighted price tag */
}

.mobile-sticky-cta .btn-coral {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(225,29,72,0.25);
  margin-top: 0 !important;
}

/* --- 25. EXIT-INTENT LEAD CAPTURE POPUP --- */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 1rem;
}

.exit-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.exit-popup-content-box {
  background-color: var(--color-bg-white);
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.exit-popup-overlay.active .exit-popup-content-box {
  transform: scale(1);
}

.close-exit-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.7rem;
  font-weight: bold;
  color: #9CA3AF;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s ease;
  z-index: 10;
}

.close-exit-btn:hover {
  color: var(--color-accent);
}

.popup-header-banner {
  background-color: var(--color-primary-dark);
  color: var(--color-bg-white);
  padding: 2.25rem 2rem;
  text-align: center;
  position: relative;
}

.popup-gift-emoji {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  animation: gift-bounce 2s infinite;
}

@keyframes gift-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1) rotate(5deg); }
}

.popup-header-banner h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-bg-white);
  line-height: 1.3;
}

.popup-form-body {
  padding: 2rem;
}

.popup-form-body p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
}

.popup-form-body .btn-coral {
  width: 100%;
  border-radius: 8px;
  padding: 0.9rem;
  font-size: 1rem;
  margin-top: 1rem;
}

/* --- 26. FOOTER BRAND --- */
.site-footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h4 {
  color: var(--color-bg-white);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE DESIGN) - MOBILE FIRST ADAPTATION
   ========================================================================== */

/* --- THIẾT BỊ LỚN (TABLET & DESKTOP > 768px) --- */
@media (min-width: 768px) {
  /* Di động ẩn, Desktop hiện */
  .mobile-only { display: none !important; }
}

/* --- THIẾT BỊ DI ĐỘNG (MOBILE < 1024px) --- */
@media (max-width: 1024px) {
  .pricing-cards-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .pricing-card.popular-highlight {
    transform: scale(1.03); /* Phóng nhẹ vừa phải trên Mobile */
    order: -1; /* Đưa Gói Lộ Trình Hoàn Chỉnh lên đầu danh sách di động để tiếp cận trước */
  }
  
  .pricing-card.popular-highlight:hover {
    transform: scale(1.04);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-image-stack {
    order: -1; /* Đưa Mockup sách lên trên để kích thích tò mò thị giác trên điện thoại */
  }
  
  .three-khong-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .four-tru-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .results-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .qualification-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .paths-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .path-card.active-path-emerald {
    transform: scale(1.02);
  }
  
  .bonuses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .checkout-grid-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  
  .checkout-form-column {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-right: 0;
    padding-bottom: 2.5rem;
  }
  
  .checkout-payment-column {
    padding-left: 0;
    padding-top: 2rem;
  }
  
  .module-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .module-card {
    padding: 1.75rem;
  }
  
  .editorial-card {
    padding: 2rem;
  }
  
  .editorial-quote {
    font-size: 1.35rem;
  }
  
  /* Tạo trải nghiệm vuốt trượt ngang video trên mobile */
  .video-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .video-card {
    flex: 0 0 260px; /* Định hình chiều rộng cứng cho mỗi thẻ video */
    scroll-snap-align: center;
    aspect-ratio: 9 / 16;
  }
}

/* --- THIẾT BỊ DI ĐỘNG CỰC NHỎ (SMALL MOBILE < 480px) --- */
@media (max-width: 480px) {
  html {
    font-size: 14px; /* Thu nhỏ nhẹ toàn bộ phông nền hệ thống */
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-no-need {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .trust-flex {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 1rem;
  }
  
  .guarantee-box {
    padding: 2rem 1.5rem;
  }
  
  .guarantee-seal-overlay {
    top: -50px;
    right: 50%;
    transform: translateX(50%) scale(0.8);
  }
}


/* --- HERO TRUST ROW & PILLS --- */
.hero-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem auto 2.25rem auto;
  max-width: 950px;
}

.trust-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 0.55rem 1.35rem;
  border-radius: 12px; /* Premium smooth card shape */
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
}

.trust-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(251, 191, 36, 0.4); /* Highlight with subtle gold glow */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.trust-pill .check-icon {
  color: #34D399; /* Vibrant mint green check */
  font-weight: 800;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(52, 211, 153, 0.12);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(52, 211, 153, 0.25);
}


/* --- RESULTS VERTICAL CONTAINER & EMOTIONAL QUOTE --- */
.results-container-vertical {
  width: 100%;
  margin: 0 auto;
}

.results-image-wrapper-full {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--color-bg-white);
  margin-bottom: 2.5rem;
  transition: transform 0.3s ease;
}

.results-image-wrapper-full:hover {
  transform: translateY(-3px);
}

.results-image-wrapper-full img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

.results-emotional-quote {
  background: linear-gradient(135deg, #FFFDF9 0%, #FFF9F2 100%);
  border: 2px solid var(--color-gold);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  margin: 2.5rem auto;
  max-width: 850px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.results-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(217, 119, 6, 0.2);
  padding-bottom: 1.25rem;
}

.metric-tag {
  background-color: var(--color-accent);
  color: white;
  font-family: var(--font-subheading);
  font-weight: 800;
  padding: 0.45rem 1.5rem;
  border-radius: 99px;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
  letter-spacing: 0.5px;
}

.metric-bullet {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-style: italic;
  color: var(--color-primary-dark);
  line-height: 1.45;
  margin: 0;
  font-weight: 700;
}

.results-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
  margin-top: 3rem;
}

.results-cards-grid .outcome-item {
  background: var(--color-bg-white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 90, 71, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.results-cards-grid .outcome-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 90, 71, 0.15);
}


@keyframes gold-pulse-border {
  0% {
    box-shadow: 0 15px 35px rgba(217, 119, 6, 0.15), 0 0 0 0 rgba(217, 119, 6, 0.4);
  }
  70% {
    box-shadow: 0 15px 35px rgba(217, 119, 6, 0.15), 0 0 0 12px rgba(217, 119, 6, 0);
  }
  100% {
    box-shadow: 0 15px 35px rgba(217, 119, 6, 0.15), 0 0 0 0 rgba(217, 119, 6, 0);
  }
}


/* --- MOBILE RESPONSIVE QA UPGRADES --- */
@media (max-width: 1024px) {
  .results-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    max-width: 500px;
    margin: 3rem auto 0 auto;
  }
  
  .hero-bottom-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    max-width: 500px !important;
    margin: 0 auto 2rem auto !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 100px !important; /* Ensure content is never covered by Sticky CTA */
  }
  
  .results-image-wrapper-full {
    width: calc(100% + 2.5rem) !important;
    margin-left: -1.25rem !important;
    margin-right: -1.25rem !important;
    border-radius: 0 !important;
    border: none !important;
    margin-bottom: 1.5rem !important;
  }
  
  .results-emotional-quote {
    padding: 1.5rem 1.25rem !important;
    border-radius: 16px !important;
    margin: 1.5rem auto !important;
  }
  
  .quote-text {
    font-size: 1.45rem !important;
  }
  
  .metric-tag {
    font-size: 1rem !important;
    padding: 0.35rem 1rem !important;
  }
  
  .metric-bullet {
    font-size: 0.95rem !important;
  }
  
  /* Mobile responsive overrides for the social proof strip */
  .hero-proof-strip {
    margin: 0.75rem auto 1.25rem auto !important;
    gap: 0.25rem !important;
  }
  
  .proof-stars {
    font-size: 1rem !important;
  }
  
  .proof-text-row {
    font-size: 0.78rem !important;
    gap: 0.4rem !important;
    padding: 0 0.5rem;
    line-height: 1.4;
  }
}
