/* ==========================================================================
   AI CHICHA — Lead Magnet Landing Page ("AI VIDEO U PRAKSI")
   Mobile-first, zero-dependency, editorial high-conversion stylesheet
   ========================================================================== */

:root {
  --navy-950: #070F1B;
  --navy-900: #0D1B2A;
  --navy-800: #14263C;
  --navy-700: #1E3552;
  --cyan: #1BB8F0;
  --cyan-soft: rgba(27, 184, 240, 0.14);
  --gold: #FACC15;
  --gold-hover: #EAB308;
  --gold-soft: rgba(250, 204, 21, 0.16);
  --viber: #7360F2;
  --viber-hover: #5E4AE3;
  --paper: #F7F5F0;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #64748B;
  --border: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.12);
  --success: #10B981;
  --danger: #EF4444;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(7, 15, 27, 0.28);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1160px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   TOP BAR (Minimal, distraction-free squeeze header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 15, 27, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand-mark span {
  color: var(--cyan);
}

.brand-tag {
  display: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  text-align: center;
  line-height: 1.25;
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy-950);
  padding: 14px 24px;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.24);
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(250, 204, 21, 0.34);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.875rem;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 11px 18px;
  font-size: 0.9rem;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
  color: #FFFFFF;
}

.btn-viber {
  background: var(--viber);
  color: #FFFFFF;
  padding: 13px 22px;
  font-size: 0.95rem;
  box-shadow: 0 8px 22px rgba(115, 96, 242, 0.28);
}

.btn-viber:hover {
  background: var(--viber-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION (Deep editorial navy matching the physical book cover)
   ========================================================================== */
.hero {
  background:
    radial-gradient(900px 520px at 85% 22%, rgba(27, 184, 240, 0.14), transparent 60%),
    radial-gradient(620px 440px at 12% 88%, rgba(250, 204, 21, 0.08), transparent 65%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 58%, #0F233A 100%);
  color: #FFFFFF;
  padding: 36px 0 56px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid rgba(27, 184, 240, 0.32);
  padding: 7px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.25);
}

.hero h1 {
  font-size: clamp(1.95rem, 5.2vw, 3.15rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.hero h1 .accent {
  color: var(--gold);
}

.hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.14rem);
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 60ch;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #E2E8F0;
  font-size: 0.96rem;
}

.hero-bullets .check {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(27, 184, 240, 0.18);
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Hero visual column (Real 3D book cover) */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.book-stage {
  position: relative;
  width: min(290px, 78vw);
  margin: 0 auto 18px;
}

.book-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: var(--navy-900);
  transition: transform 0.35s ease;
}

.book-frame:hover {
  transform: translateY(-4px);
}

.book-frame img {
  width: 100%;
  display: block;
}

.book-meta-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.meta-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 11px;
  border-radius: 999px;
}

.meta-pill strong {
  color: var(--gold);
}

/* ==========================================================================
   OPT-IN FORM CARD & EMBED SLOT (Ready for Sender.net or any autoresponder)
   ========================================================================== */
.optin-card {
  background: #FFFFFF;
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(250, 204, 21, 0.35);
  border-top: 4px solid var(--gold);
}

.optin-card-header {
  margin-bottom: 14px;
}

.optin-card-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 4px;
}

.optin-card-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* Universal styling for whatever embed form Boris drops into .form-embed-slot */
.form-embed-slot {
  width: 100%;
  min-height: 60px;
}

.form-embed-slot iframe {
  max-width: 100% !important;
  border: 0;
}

.ebook-form {
  display: grid;
  gap: 11px;
}

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

.field-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.field-input:focus {
  border-color: var(--navy-900);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(27, 184, 240, 0.22);
}

.field-input::placeholder {
  color: #94A3B8;
}

.btn-submit {
  width: 100%;
  min-height: 52px;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}


.optin-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
  font-size: 0.8rem;
  color: var(--muted);
}

.optin-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   TRUST / REALITY METRICS BAR
   ========================================================================== */
.metrics-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

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

.metric-item {
  text-align: center;
  padding: 6px 8px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.05rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-val span {
  color: #0284C7;
}

.metric-label {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.35;
}

/* ==========================================================================
   GENERIC SECTION SPACING & HEADERS
   ========================================================================== */
.section {
  padding: 64px 0;
}

.section-white {
  background: var(--surface);
}

.section-paper {
  background: var(--paper);
}

.section-dark {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #FFFFFF;
}

.section-head {
  max-width: 740px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0284C7;
  margin-bottom: 10px;
}

.section-dark .section-kicker {
  color: var(--cyan);
}

.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 14px;
}

.section-dark .section-head h2 {
  color: #FFFFFF;
}

.section-head p {
  font-size: 1.03rem;
  color: var(--ink-soft);
}

.section-dark .section-head p {
  color: #CBD5E1;
}

/* ==========================================================================
   PROBLEM SECTION + REAL VISUAL PROOF
   ========================================================================== */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 36px;
}

.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.pain-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #FEF2F2;
  color: #DC2626;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.pain-card h3 {
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 10px;
}

.pain-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.visual-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.proof-figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.proof-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.proof-caption {
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
}

.proof-caption strong {
  color: var(--navy-950);
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.translation-callout {
  margin-top: 24px;
  padding: 18px 22px;
  background: #FFFFFF;
  border-left: 4px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
  font-size: 0.97rem;
  color: var(--navy-900);
}

/* ==========================================================================
   4 READER PROFILES (Interactive Tabs from Page 4 of the E-book)
   ========================================================================== */
.profile-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.profile-tab {
  appearance: none;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-tab:hover {
  border-color: #94A3B8;
  color: var(--navy-950);
}

.profile-tab.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(13, 27, 42, 0.18);
}

.profile-tab .tab-num {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

.profile-tab.is-active .tab-num {
  background: var(--gold);
  color: var(--navy-950);
}

.profile-panel {
  display: none;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.profile-panel.is-active {
  display: grid;
  grid-template-columns: 1fr;
}

.profile-content {
  padding: 26px 22px;
}

.profile-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: #0369A1;
  background: #E0F2FE;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.profile-content h3 {
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  color: var(--navy-950);
  margin-bottom: 14px;
}

.profile-detail-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}

.profile-detail {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
}

.profile-detail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 4px;
}

.profile-detail p {
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0;
}

.profile-media {
  background: var(--navy-900);
  display: flex;
  align-items: center;
}

.profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

/* ==========================================================================
   INSIDE THE E-BOOK (12 Chapters + Upwork Bonus + Cost Comparison)
   ========================================================================== */
.modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.module-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-900);
  background: var(--gold-soft);
  border: 1px solid rgba(234, 179, 8, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.module-card h3 {
  font-size: 1.16rem;
  color: var(--navy-950);
  margin-bottom: 12px;
}

.chapter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.chapter-list li {
  display: flex;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--ink-soft);
  align-items: flex-start;
}

.ch-num {
  flex: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  color: #0284C7;
  margin-top: 2px;
}

/* Highlighted Upwork Bonus Box */
.bonus-box {
  background: linear-gradient(135deg, var(--navy-900) 0%, #132A45 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  box-shadow: var(--shadow-lg);
  margin-bottom: 42px;
}

.bonus-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.bonus-pill {
  background: var(--gold);
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}

.bonus-box h3 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  color: #FFFFFF;
  margin-bottom: 10px;
}

.bonus-box > p {
  color: #CBD5E1;
  max-width: 68ch;
  margin-bottom: 18px;
}

.bonus-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 20px;
}

.bonus-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.94rem;
  color: #E2E8F0;
}

.bonus-points li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 800;
}

/* Comparison table from Chapter 2 */
.comparison-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-head {
  padding: 24px 22px 18px;
  border-bottom: 1px solid var(--border);
}

.comparison-head h3 {
  font-size: 1.25rem;
  color: var(--navy-950);
  margin-bottom: 6px;
}

.comparison-head p {
  font-size: 0.94rem;
  color: var(--muted);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 0.93rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
  background: #F8FAFC;
  color: var(--navy-900);
}

.compare-table th.col-ai,
.compare-table td.col-ai {
  background: #F0F9FF;
  color: var(--navy-950);
  font-weight: 600;
}

.compare-table thead th.col-ai {
  background: var(--navy-900);
  color: var(--gold);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   PHOTOREALISM & STUDENT PROOF SECTION
   ========================================================================== */
.photo-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.photo-trio-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--navy-800);
}

.photo-trio-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.photo-trio-cap {
  padding: 8px 10px;
  font-size: 0.78rem;
  color: #CBD5E1;
  text-align: center;
  line-height: 1.3;
}

.demo-links-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}

.video-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #F8FAFC;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.video-chip:hover {
  background: rgba(27, 184, 240, 0.18);
  border-color: var(--cyan);
}

.video-chip .play-dot {
  color: var(--gold);
}

.students-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.student-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.student-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--navy-950);
}

.student-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

.student-thumb:hover img {
  transform: scale(1.03);
}

.play-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(7, 15, 27, 0.86);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.83rem;
}

.play-badge span {
  color: var(--gold);
}

.student-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.student-role {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 6px;
}

.student-body h3 {
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.student-body p {
  font-size: 0.93rem;
  color: #CBD5E1;
  margin-bottom: 14px;
}

.student-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.student-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   AUTHOR SECTION (Placed lower on page per brand guidelines)
   ========================================================================== */
.author-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
}

.author-photo {
  background: var(--navy-900);
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  min-height: 260px;
}

.author-body {
  padding: 28px 22px;
}

.author-body h2 {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  color: var(--navy-950);
  margin-bottom: 14px;
}

.author-body p {
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.author-quote {
  margin: 18px 0 0;
  padding: 14px 18px;
  background: var(--paper);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-950);
  font-size: 1rem;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 19px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-950);
  cursor: pointer;
}

.faq-icon {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--navy-900);
  color: var(--gold);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ==========================================================================
   BOTTOM OPT-IN CTA SECTION + SECONDARY VIBER STRIP
   ========================================================================== */
.final-cta-wrap {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.final-cta-wrap h2 {
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  color: #FFFFFF;
  margin-bottom: 14px;
}

.final-cta-wrap > p {
  font-size: 1.05rem;
  color: #CBD5E1;
  margin-bottom: 28px;
}

.final-cta-wrap .optin-card {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.viber-strip {
  margin-top: 40px;
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(115, 96, 242, 0.36);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.viber-strip p {
  margin: 0;
  color: #E2E8F0;
  font-size: 0.95rem;
  max-width: 54ch;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: #94A3B8;
  border-top: 1px solid var(--border-dark);
  padding: 36px 0 92px;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

.footer-links a {
  color: #CBD5E1;
}

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

/* ==========================================================================
   MODAL (Real Table of Contents preview)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 15, 27, 0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: #F8FAFC;
}

.modal-header h3 {
  font-size: 1rem;
  color: var(--navy-950);
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  overflow-y: auto;
  padding: 16px;
  background: #F1F5F9;
}

.modal-body img {
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.modal-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: #FFFFFF;
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   MOBILE STICKY CTA BAR
   ========================================================================== */
.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 15, 27, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(250, 204, 21, 0.3);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.mobile-sticky-cta.is-visible {
  transform: translateY(0);
}

.mobile-sticky-cta .btn {
  width: 100%;
  min-height: 46px;
  font-size: 0.95rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Desktop)
   ========================================================================== */
@media (min-width: 640px) {
  .brand-tag {
    display: inline-block;
  }

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

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

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

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

@media (min-width: 900px) {
  .hero {
    padding: 58px 0 76px;
  }

  .hero-grid {
    grid-template-columns: 1.18fr 0.82fr;
    gap: 48px;
  }

  .book-stage {
    width: 100%;
    max-width: 390px;
  }

  .section {
    padding: 86px 0;
  }

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

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

  .profile-panel.is-active {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .profile-content {
    padding: 36px 34px;
  }

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

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

  .author-card {
    grid-template-columns: 0.88fr 1.12fr;
  }

  .author-body {
    padding: 40px 38px;
  }

  .viber-strip {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 24px 28px;
  }

  .site-footer {
    padding-bottom: 42px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .mobile-sticky-cta {
    display: none;
  }
}

/* Connected signup form and small-screen safeguards. */
.ebook-form { display: grid; gap: 13px; }
.form-row-grid > div, .hero-copy, .hero-visual { min-width: 0; }
.field-label { display: block; margin-bottom: 5px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
select.field-input { appearance: auto; padding-right: 12px; }
.form-consent { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.form-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #087A9C; }
.form-consent a { text-decoration: underline; text-underline-offset: 2px; }
.form-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-message { margin: 0; padding: 11px 12px; border-radius: 8px; color: #7F1D1D; background: #FEF2F2; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.form-message[hidden] { display: none; }
.form-message[data-state="loading"] { color: #164E63; background: #ECFEFF; }
.btn:disabled { cursor: wait; opacity: .75; }
.optin-card { scroll-margin-top: 90px; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #0284C7; outline-offset: 3px; }
.modal-close { flex: 0 0 38px; min-height: 38px; }
@media (max-width: 380px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .header-inner { gap: 8px; }
  .brand-mark { font-size: 1rem; gap: 4px; }
  .site-header .btn-sm { padding-left: 11px; padding-right: 11px; font-size: .8rem; }
  .btn-submit { padding-left: 12px; padding-right: 12px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* TikTok UGC: fourth desktop proof card; a complete 9:6 frame after Vesna on mobile. */
.tiktok-ugc-card { min-width: 0; text-decoration: none; }
.tiktok-ugc-desktop { display: none; }
.tiktok-ugc-mobile { display: block; margin-top: 20px; }
.tiktok-ugc-media { display: block; position: relative; width: 100%; aspect-ratio: 9 / 16; background: var(--navy-950); }
.tiktok-ugc-media img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.tiktok-ugc-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding-left: 3px; border-radius: 50%; color: #FFFFFF; background: rgba(7,15,27,.78); border: 1px solid rgba(255,255,255,.65); font-size: 20px; line-height: 1; pointer-events: none; }
.tiktok-ugc-caption { display: block; }
.tiktok-ugc-caption strong, .tiktok-ugc-caption > span { display: block; }
.tiktok-ugc-caption strong { color: #FFFFFF; margin-bottom: 6px; }
@media (min-width: 900px) {
  .photo-trio { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiktok-ugc-desktop { display: block; }
  .tiktok-ugc-mobile { display: none; }
  .tiktok-ugc-desktop .tiktok-ugc-media { aspect-ratio: 3 / 4; }
}

/* Motion example: an ordered proof sequence with a portrait video preview. */
.visual-proof-grid--motion { grid-template-columns: minmax(0, 1fr); max-width: 940px; margin-inline: auto; }
.motion-proof { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px 20px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #FFFFFF; box-shadow: var(--shadow-md); }
.motion-proof-copy { min-width: 0; }
.motion-proof-copy h3 { margin-bottom: 16px; color: var(--navy-950); font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.motion-proof-copy p { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.motion-preview { display: block; width: 100%; max-width: 300px; justify-self: center; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--navy-950); box-shadow: var(--shadow-md); cursor: pointer; font-family: var(--font-display); }
.motion-preview-image { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; background: var(--navy-950); }
.motion-preview-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.motion-preview-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; padding-left: 4px; border-radius: 50%; background: rgba(7,15,27,.82); border: 2px solid rgba(255,255,255,.85); color: #FFFFFF; font-size: 26px; line-height: 1; pointer-events: none; }
.motion-preview-cta { display: block; padding: 14px 12px; color: var(--navy-950); background: var(--gold); font-size: 15px; font-weight: 800; line-height: 1.35; text-align: center; }
.motion-preview:hover .motion-preview-cta { background: var(--gold-hover); }
@media (min-width: 760px) {
  .visual-proof-grid--motion > .proof-figure { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; }
  .visual-proof-grid--motion > .proof-figure .proof-caption { display: flex; flex-direction: column; justify-content: center; height: 100%; border-top: 0; border-left: 1px solid var(--border); padding: 22px; }
  .motion-proof { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 36px; padding: 32px; }
}

/* The player is created only on click and removed when the dialog closes. */
.motion-video-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: rgba(7,15,27,.92); overflow: auto; overscroll-behavior: contain; }
.motion-video-modal[hidden] { display: none; }
.motion-video-dialog { position: relative; width: min(100%, calc((100vh - 112px) * .5625)); width: min(100%, calc((100dvh - 112px) * .5625)); max-width: 450px; padding-top: 48px; }
.motion-video-close { position: absolute; top: 0; right: 0; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: #FFFFFF; color: var(--navy-950); cursor: pointer; font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.motion-video-player { position: relative; width: 100%; aspect-ratio: 9 / 16; background: #000000; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 70px rgba(0,0,0,.5); }
.motion-video-player iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
body.motion-video-open .mobile-sticky-cta { visibility: hidden; }

/* Silent looping preview with an accessible sound button above the player. */
.motion-preview-wrap { position: relative; width: 100%; max-width: 300px; justify-self: center; border-radius: 14px; overflow: hidden; background: var(--navy-950); box-shadow: var(--shadow-md); }
.motion-preview-wrap .motion-preview { position: relative; z-index: 2; max-width: none; background: transparent; box-shadow: none; }
.motion-preview-wrap .motion-preview-image { background: transparent; }
.motion-preview-player { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 9 / 16; border: 0; pointer-events: none; }
.motion-preview-wrap.is-preview-playing .motion-preview-image img { opacity: 0; }
.motion-preview-wrap .motion-preview-play { padding-left: 2px; }
.motion-preview-wrap .motion-preview-play svg { display: block; }
.motion-preview-wrap:focus-within { outline: 3px solid var(--cyan); outline-offset: 4px; }
.motion-preview-wrap .motion-preview-cta { font-size: 15px; }

/* Two visible arrows guide readers to their profile, on desktop and mobile. */
.profile-choice-prompt { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; margin: -8px auto 20px; }
.profile-choice-prompt p { flex: 1; margin: 0; color: var(--navy-950); font-family: var(--font-display); font-size: clamp(16px, 2vw, 20px); font-weight: 600; line-height: 1.45; text-align: center; }
.profile-choice-prompt strong { font-weight: 800; }
.profile-choice-arrow { flex: 0 0 auto; color: #F4BD00; filter: drop-shadow(0 2px 0 rgba(8,24,41,.14)); }
.pain-card p + p { margin-top: 16px; }
@media (max-width: 480px) {
  .profile-choice-prompt { gap: 10px; margin-top: -16px; margin-bottom: 16px; }
  .profile-choice-arrow { width: 26px; height: 40px; }
}

/* Phone fields keep the calling code editable independently of residence. */
.phone-row-grid { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; }
.phone-row-grid > div { min-width: 0; }
.phone-note { margin: 7px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
@media (max-width: 380px) {
  .phone-row-grid { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
}
