/* ==========================================================================
   AI REVIEW KIT BETA — DESIGN SYSTEM STYLESHEET
   Style: Warm Editorial & Classic Newsletter (Pro Max Version)
   Typography: Lora (Display) + Inter (Sans) + JetBrains Mono (Mono)
   Colors: Soft Warm Canvas, Crisp Ink, Earthy Rust Accent
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. RESET & VARIABLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Warm Editorial Palette (Goon Style - Premium Contrast) */
  --canvas: #FAF9F5;        /* Soft warm paper canvas */
  --surface: #FFFFFF;       /* Crisp white for cards and surface boxes */
  --surface-story: #F3F1E8; /* Refined warm beige for narrative blocks */
  --ink-primary: #12100E;   /* Deepest warm charcoal black for legibility */
  --ink-secondary: #262320; /* Dark stone brown-grey for text reading */
  --ink-muted: #645F5B;     /* Muted warm grey for badges/small notes */
  --hairline: #E3DFD5;      /* Subtle hairline border lines */
  
  /* Primary Accent & Hover States (Goon Style Deep Red) */
  --accent: #B8232C;        /* Premium deep crimson red for CTAs & focal points */
  --accent-soft: rgba(184, 35, 44, 0.05); /* Warm light tint for backgrounds */
  --accent-soft-hover: rgba(184, 35, 44, 0.1);
  --accent-hover: #981B22;  /* Deepened crimson for hover states */
  
  /* Semantic Colors for Contrast Grid (High Contrast Green/Mint) */
  --yes-bg: #EEF5EE;        /* Soft premium mint green tint */
  --yes-fg: #1E4F35;        /* Deep pine green for rich contrast and AAA legibility */
  --no-bg: #F5F5F4;         /* Soft grey stone background */
  --no-fg: #57534E;         /* Stone grey text for high visibility */

  /* Typography Definition (Goon Style slide-DuyNguyen) */
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter Tight', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Fluid Typography Scale (CLAMP - Strictly Optimized for Mobile & Desktop) */
  --font-size-xs: clamp(12px, 1.8vw, 13px);     /* Badge labels, footnote, micro details */
  --font-size-sm: clamp(14px, 2vw, 15px);       /* Subtext, bullet lists, details, button text */
  --font-size-base: clamp(16px, 2.2vw, 17px);   /* Optimal reading size for core newsletter text */
  --font-size-md: clamp(18px, 2.5vw, 20px);     /* Sub-headers, lede intro text, pullquotes */
  --font-size-lg: clamp(21px, 3vw, 24px);       /* Card titles, component headers, brand size */
  --font-size-xl: clamp(24px, 3.8vw, 32px);     /* Secondary headers (h2) */
  --font-size-xxl: clamp(30px, 5.2vw, 42px);    /* Hero main title (h1) */

  /* Spacing Scale (Standardized breathing room) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Transitions */
  --transition-smooth: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms ease;
  
  /* Shadow Depths */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(28, 25, 23, 0.03), 0 1px 2px rgba(28, 25, 23, 0.02);
  --shadow-lg: 0 12px 24px rgba(180, 82, 48, 0.04), 0 4px 8px rgba(0, 0, 0, 0.02);
}

/* --------------------------------------------------------------------------
   02. BASE HTML STYLES
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: 1.75; /* Perfect breathing room for reading body paragraphs */
  color: var(--ink-secondary);
  background-color: var(--canvas);
  overflow-x: hidden;
  max-width: 100%;
  letter-spacing: -0.005em; /* Optimized letter spacing for Inter Vietnamese */
}

/* Page Containers */
.wrap {
  width: 100%;
  max-width: 720px; /* Golden reading container width for focused articles */
  margin: 0 auto;
  padding: 0 var(--space-lg); /* Margin safe space on mobile */
}

/* Selection State */
::selection {
  background-color: var(--accent-soft-hover);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   03. TYPOGRAPHY & ELEMENTS
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--ink-primary);
  line-height: 1.25;
  text-wrap: balance; /* Prevent single word wrapping on mobile */
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
}

h1 {
  font-size: var(--font-size-xxl);
  letter-spacing: -0.02em; /* Tight letter spacing for editorial punch, safe for VN */
}

h2 {
  font-size: var(--font-size-xl);
  letter-spacing: -0.015em;
}

h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--font-size-lg);
}

h1 em, h2 em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
}

p {
  margin-bottom: var(--space-md);
  color: var(--ink-secondary);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
  color: var(--ink-primary);
}

small {
  font-size: var(--font-size-xs);
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   04. FLAT STICKY HEADER (NAVIGATION)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(251, 250, 247, 0.85); /* Frosty cream background */
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  border-bottom: 1px solid var(--hairline);
  transition: transform var(--transition-smooth);
}

.header-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-muted);
}

.nav-cta {
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--canvas);
  background-color: var(--accent);
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(180, 82, 48, 0.15);
}

.nav-cta:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   05. COMPONENT ELEMENTS (BUTTONS & BADGES)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--canvas);
  box-shadow: 0 2px 4px rgba(180, 82, 48, 0.12);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 6px 18px rgba(180, 82, 48, 0.22);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(-0.5px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--font-size-sm);
  border-radius: 10px;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  padding: 6px 16px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background-color: var(--accent-soft);
  margin-bottom: var(--space-lg);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* --------------------------------------------------------------------------
   06. SECTION STRUCTURES
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(48px, 8vw, 96px) 0; /* Fluid vertical breathing space */
  border-top: 1px solid var(--hairline);
}

.section:first-of-type {
  border-top: none;
}

.section-num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.section h2 {
  margin-bottom: var(--space-md);
}

.section-desc {
  font-size: var(--font-size-sm);
  color: var(--ink-muted);
  max-width: 54ch;
  margin-bottom: var(--space-xl);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   07. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(48px, 10vw, 96px) 0 var(--space-2xl);
  text-align: left;
}

.hero h1 {
  margin: var(--space-md) 0;
  max-width: 22ch;
}

.lede {
  font-size: var(--font-size-md);
  color: var(--ink-secondary);
  max-width: 52ch;
  margin-bottom: var(--space-xl);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-note {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   08. STORY & PULLQUOTES
   -------------------------------------------------------------------------- */
.story {
  border-left: 3px solid var(--accent);
  padding: var(--space-lg) var(--space-xl);
  background-color: var(--surface-story);
  border-radius: 4px 12px 12px 4px;
  margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow-sm);
}

.story p {
  font-size: var(--font-size-sm);
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.story p:last-child {
  margin-bottom: 0;
}

.story strong {
  color: var(--ink-primary);
}

.story-highlight {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  margin: var(--space-lg) 0;
  text-align: center;
  line-height: 1.3;
}

/* Pullquote (Editorial style) */
.pullquote {
  border-top: 1px dashed var(--hairline);
  border-bottom: 1px dashed var(--hairline);
  padding: var(--space-xl) 0;
  margin: var(--space-2xl) 0;
}

.pullquote p {
  font-family: var(--font-display);
  font-size: var(--font-size-md);
  font-style: italic;
  line-height: 1.65;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.pullquote cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: var(--font-size-xs);
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   09. STATS CARDS
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.stat {
  background-color: var(--surface);
  border: 1px solid var(--hairline);
  padding: var(--space-lg);
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.stat:hover {
  border-color: var(--accent);
}

.stat-num {
  font-family: var(--font-display);
  font-size: var(--font-size-xxl);
  line-height: 1.1;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--ink-secondary);
  line-height: 1.4;
}

.stat-label small {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: var(--space-xs);
}

/* --------------------------------------------------------------------------
   10. FRAMEWORK GRID
   -------------------------------------------------------------------------- */
.fw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.fw-card {
  background-color: var(--surface);
  border: 1px solid var(--hairline);
  padding: var(--space-lg);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.fw-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* The crucial 4th Layer (Judgement) visual emphasis */
.fw-card[data-layer="4"] {
  background-color: var(--accent-soft);
  border: 1px dashed var(--accent);
}

.fw-card[data-layer="4"]:hover {
  background-color: rgba(180, 82, 48, 0.08);
  box-shadow: var(--shadow-lg);
}

.fw-num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.fw-name {
  font-family: var(--font-sans);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.3;
  margin-bottom: 2px;
}

.fw-vn {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

.fw-desc {
  font-size: var(--font-size-sm);
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.fw-review {
  font-size: var(--font-size-sm);
  color: var(--ink-muted);
  border-top: 1px dashed var(--hairline);
  padding-top: var(--space-md);
  font-style: italic;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. TIMELINE & DELIVERABLES
   -------------------------------------------------------------------------- */
.tl {
  position: relative;
  margin-bottom: var(--space-2xl);
  padding-left: var(--space-md);
}

/* Timeline vertical line */
.tl::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background-color: var(--hairline);
}

.tl-item {
  position: relative;
  padding: var(--space-md) 0 var(--space-md) 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tl-day {
  position: absolute;
  left: 0;
  top: 19px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--accent);
  background-color: var(--accent-soft);
  border: 1px solid var(--hairline);
  padding: 2px 10px;
  border-radius: 99px;
  z-index: 5;
  white-space: nowrap;
}

.tl-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.4;
  font-family: var(--font-sans);
}

.tl-sub {
  font-size: var(--font-size-sm);
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Deliverables Grid */
.dels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.del {
  background-color: var(--surface);
  border: 1px solid var(--hairline);
  padding: var(--space-lg);
  border-radius: 12px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.del:hover {
  border-color: var(--accent);
}

.del-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background-color: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: var(--font-size-md);
  font-weight: 700;
}

.del-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.del strong {
  font-size: var(--font-size-sm);
  color: var(--ink-primary);
  line-height: 1.4;
}

.del p {
  font-size: var(--font-size-xs);
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. FIT & NOT FIT (CONTRAST PAIR)
   -------------------------------------------------------------------------- */
.fit-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.fit-col {
  background-color: var(--surface);
  border: 1px solid var(--hairline);
  padding: var(--space-xl);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.fit-col:hover {
  border-color: var(--hairline);
}

.fit-col--yes {
  background-color: var(--yes-bg);
  border-color: rgba(35, 88, 60, 0.15);
}

.fit-col--yes:hover {
  border-color: rgba(35, 88, 60, 0.3);
}

.fit-h {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--ink-primary);
}

.fit-col--yes .fit-h {
  color: var(--yes-fg);
}

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

.fit-list li {
  font-size: var(--font-size-sm);
  color: var(--ink-secondary);
  padding: 10px 0;
  line-height: 1.6;
  border-top: 1px solid rgba(28, 25, 23, 0.05);
}

.fit-col--yes .fit-list li {
  color: var(--ink-secondary);
  border-top-color: rgba(35, 88, 60, 0.08);
}

.fit-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.fit-list li:last-child {
  padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   13. AUTHOR CREDIBILITY SECTION
   -------------------------------------------------------------------------- */
.author-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--font-size-base);
  color: var(--canvas);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.3;
}

.author-title {
  font-size: var(--font-size-sm);
  color: var(--ink-secondary);
  line-height: 1.4;
  margin-top: 2px;
}

.author-ctx {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Credibility proof points list */
.proofs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--space-xl);
}

.proof {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: var(--space-md) var(--space-lg);
  background-color: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.proof-icon {
  flex-shrink: 0;
  font-size: var(--font-size-base);
  line-height: 1;
}

.proof-desc {
  font-size: var(--font-size-sm);
  color: var(--ink-secondary);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   14. PREMIUM PRICING CARD
   -------------------------------------------------------------------------- */
.pricing-card {
  border: 2px solid var(--accent);
  border-radius: 16px;
  overflow: hidden;
  margin: var(--space-xl) auto var(--space-lg);
  background-color: var(--surface);
  box-shadow: var(--shadow-lg);
  max-width: 480px; /* Centered compact layout */
  text-align: center;
  transition: transform var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-2px);
}

.pricing-head {
  padding: var(--space-xl) var(--space-lg);
  background-color: var(--accent-soft);
  border-bottom: 1px solid var(--hairline);
}

.pricing-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: rgba(180, 82, 48, 0.1);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
  font-weight: 600;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 8px;
}

.pricing-amount small {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  color: var(--ink-secondary);
  margin-left: 2px;
  font-weight: 600;
}

.pricing-period {
  font-size: var(--font-size-sm);
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.pricing-future {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.pricing-body {
  padding: var(--space-xl);
  text-align: left;
}

.pricing-body h3 {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.pricing-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.pricing-body li {
  font-size: var(--font-size-sm);
  color: var(--ink-secondary);
  padding: 12px 0 12px 32px;
  border-top: 1px solid var(--hairline);
  position: relative;
  line-height: 1.6;
}

.pricing-body li:first-child {
  border-top: none;
}

/* Beautiful inline premium checkmark */
.pricing-body li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 15px;
  width: 14px;
  height: 10px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.pricing-cta {
  padding: 0 var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.slots {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.slots-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--yes-fg);
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.disclaimer {
  font-size: var(--font-size-xs);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 48ch;
  margin: var(--space-md) auto 0;
  text-align: center;
}

/* --------------------------------------------------------------------------
   15. ACCORDION FAQ SECTION
   -------------------------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--hairline);
}

.faq-q {
  padding: var(--space-lg) 0;
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--ink-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  font-family: var(--font-sans);
  transition: color var(--transition-fast);
}

/* Remove default triangle */
.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-muted);
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
}

.faq-item[open] .faq-q {
  color: var(--accent);
}

.faq-item[open] .faq-q::after {
  content: '−';
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-q:hover {
  color: var(--accent);
}

.faq-a {
  font-size: var(--font-size-sm);
  color: var(--ink-secondary);
  line-height: 1.7;
  padding-bottom: var(--space-lg);
  padding-right: var(--space-xl);
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: var(--space-2xl) 0;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

footer .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   17. FLOATING MOBILE CTA BAR
   -------------------------------------------------------------------------- */
.float-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-top: 1px solid var(--hairline);
  padding: 12px var(--space-lg);
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); /* Safe spacing for iOS */
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
}

.float-bar.on {
  transform: translateY(0);
}

.float-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.float-text {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--ink-secondary);
  letter-spacing: 0.02em;
  font-weight: 500;
}

.float-btn {
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  background-color: var(--accent);
  color: var(--canvas);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.float-btn:hover {
  background-color: var(--accent-hover);
}

/* --------------------------------------------------------------------------
   18. INTERACTION & ANIMATION EFFECTS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   19. COMPREHENSIVE RESPONSIVE STYLING (Mobile-First Polish)
   -------------------------------------------------------------------------- */

/* Tablet & Smaller Devices */
@media (max-width: 768px) {
  :root {
    /* Slightly compact vertical spacing for mobile */
    --space-3xl: 48px;
    --space-4xl: 64px;
  }
  
  .wrap {
    padding: 0 var(--space-lg); /* Maintain strong 24px margins */
  }

  .site-header {
    background-color: rgba(250, 249, 245, 0.9);
  }

  .hero {
    padding: var(--space-2xl) 0 var(--space-xl);
  }

  /* Single Column Stack Layouts */
  .stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .fw-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .dels {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .fit-pair {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Reduce padding of cards on Tablet to improve content width */
  .fw-card {
    padding: 20px;
  }

  .del {
    padding: 16px 20px;
  }

  .fit-col {
    padding: var(--space-lg) var(--space-lg);
  }

  .pricing-body {
    padding: var(--space-lg);
  }

  .story {
    padding: var(--space-md) var(--space-lg);
  }

  .proof {
    padding: var(--space-md) var(--space-md);
  }

  /* Timeline stacked styling - lifted to 768px for clean tablet vertical layout */
  .tl {
    padding-left: 0;
  }
  
  .tl::before {
    display: none; /* Remove line as timeline items stack differently */
  }

  .tl-item {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--hairline);
    align-items: flex-start;
  }

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

  .tl-day {
    position: static;
    transform: none;
    display: inline-flex;
    margin-bottom: var(--space-sm);
    padding: 2px 8px;
    font-size: 11px;
  }

  .tl-title {
    font-size: var(--font-size-sm);
  }

  /* Compact float bar for mobile screens */
  .float-text {
    display: none; /* Hide text to avoid cramming CTA on mobile viewport */
  }

  .float-inner {
    justify-content: center;
  }

  .float-btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: var(--font-size-base);
  }

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

/* Medium Mobile Screen sizes (568px down) */
@media (max-width: 568px) {
  .wrap {
    padding: 0 var(--space-lg); /* Keep 24px padding for breathing room */
  }
}

/* Small Mobile Screen sizes (480px down) - Strict Padding & Spacing Polish */
@media (max-width: 480px) {
  :root {
    --space-lg: 16px;
    --space-xl: 24px;
    --space-2xl: 32px;
    --space-3xl: 48px;
  }

  .wrap {
    padding: 0 16px; /* Tighten layout margin for tiny screens */
  }

  /* Aggressive padding reduction for compact premium reading container */
  .fw-card {
    padding: 16px;
  }

  .del {
    padding: 16px;
    gap: 12px;
  }

  .fit-col {
    padding: 18px 16px;
  }

  .pricing-body {
    padding: 20px 16px;
  }

  .pricing-body li {
    padding: 10px 0 10px 24px; /* Give text more breathing room horizontally */
  }

  .pricing-body li::before {
    left: 0;
    top: 13px; /* Align checkmark perfectly with condensed line-height */
  }

  .story {
    padding: 16px;
  }

  .proof {
    padding: 12px 14px;
  }

  /* Make sure author profile doesn't stack-cram */
  .author-row {
    gap: 12px;
  }

  .avatar {
    width: 52px;
    height: 52px;
    font-size: 14px;
  }
}

/* Smallest Screens (320px - 400px) - Anti-Cramming */
@media (max-width: 400px) {
  .wrap {
    padding: 0 var(--space-md); /* Tighten to 16px only on extremely narrow screen */
  }

  .site-header {
    border-bottom: 1px solid var(--hairline);
  }
  
  .header-inner {
    padding: 10px var(--space-md);
  }

  .brand {
    font-size: var(--font-size-base);
  }
  
  .brand em {
    display: none; /* Hide subtitle to protect layout */
  }

  .nav-cta {
    padding: 6px 12px;
    font-size: var(--font-size-xs);
  }

  /* Shrink hero action widths */
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    width: 100%;
  }

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

/* Micro Devices (360px down) - Super tight layout margins */
@media (max-width: 360px) {
  .header-inner {
    padding: 8px 10px;
  }
  
  .brand {
    font-size: 15px;
  }

  .nav-cta {
    padding: 5px 10px;
    font-size: 11px;
  }

  .float-bar {
    padding: 10px 12px;
  }
}

/* --------------------------------------------------------------------------
   20. ACCESSIBILITY & UTILITIES
   -------------------------------------------------------------------------- */
/* Click targets size recommendation */
@media (pointer: coarse) {
  .btn, .nav-cta, .float-btn {
    min-height: 44px;
  }
  .faq-q {
    min-height: 48px;
  }
}

/* Reduced Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pricing-card, .fw-card {
    transition: none;
  }
  .pricing-card:hover, .fw-card:hover {
    transform: none;
  }
  .eyebrow .dot, .slots-dot {
    animation: none;
  }
}

/* Editorial Figure & Image Additions for Old Version */
.editorial-figure {
  margin: var(--space-xl) 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none; /* Bỏ viền hairline cứng thô */
  padding: 0;   /* Cho ảnh tràn phẳng */
  background-color: transparent;
  border-radius: 0;
}

.hero-img {
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.04)); /* Đổ bóng mịn màng */
}

.figure-caption {
  font-family: var(--font-sans);
  font-size: var(--font-size-xs);
  color: var(--ink-muted);
  margin-top: var(--space-md);
  text-align: center;
  font-style: italic;
}

.avatar {
  overflow: hidden;
  position: relative;
  border-radius: 50%;
  border: 2px solid var(--canvas); /* Viền kem nhẹ bảo vệ */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

