/* ============================================
   AI FOR TEACHERS · LANDING PAGE  ·  styles.css
   Hostinger-friendly static site · no build step
   ============================================ */

:root {
  --c-primary: #4338ca;
  --c-primary-dark: #3730a3;
  --c-primary-light: #6366f1;
  --c-accent: #f59e0b;
  --c-accent2: #fbbf24;
  --c-pink: #ec4899;
  --c-green: #10b981;
  --c-dark: #0f172a;
  --c-text: #1e293b;
  --c-muted: #64748b;
  --c-line: #e2e8f0;
  --c-bg: #ffffff;
  --c-bg-soft: #f8fafc;
  --c-bg-section: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 10px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 40px -12px rgba(0,0,0,.10);
  --shadow-xl: 0 30px 60px -18px rgba(67,56,202,.30);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --t: all .25s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width:100%; height:auto; display:block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width:100%; max-width: 1200px; margin:0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 12px 22px; border-radius: var(--radius);
  font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: var(--t);
  text-decoration: none !important; white-space: nowrap; font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg,#4338ca,#6366f1);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(67,56,202,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(67,56,202,.4); }
.btn-primary:disabled { opacity:.6; cursor: not-allowed; }
.btn-ghost { background: #fff; color: var(--c-primary) !important; border-color: var(--c-primary); }
.btn-ghost:hover { background: var(--c-primary); color:#fff !important; }
.btn-secondary { background: var(--c-bg-soft); color: var(--c-dark); border:1px solid var(--c-line); }
.btn-secondary:hover { background: var(--c-bg-section); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-xl { padding: 20px 40px; font-size: 19px; border-radius: 14px; }

/* ===== Top bar ===== */
.topbar {
  background: linear-gradient(90deg,#4338ca,#6366f1);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
}
.topbar-badge { display:block; letter-spacing: .3px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
  padding: 14px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 20px; color: var(--c-dark);
  text-decoration: none;
}
.logo-mark { font-size: 26px; }
.nav-links { display:flex; gap: 28px; list-style:none; margin:0; padding:0; align-items:center; }
.nav-links a { color: var(--c-text); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--c-primary); text-decoration: none; }
.nav-toggle {
  display: none;
  background: none; border: 0; font-size: 28px;
  cursor: pointer; color: var(--c-dark);
}

/* ===== HERO ===== */
.hero {
  padding: 70px 0 80px;
  background: linear-gradient(180deg,#fafbff 0%,#ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content:'';
  position: absolute; top:-200px; right:-200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,.15) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  padding: 8px 16px;
  background: #eef2ff;
  color: var(--c-primary);
  border-radius: 100px;
  font-weight: 600; font-size: 13px;
  margin-bottom: 20px;
}
.hero-h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-dark);
  margin: 0 0 20px;
}
.grad-text {
  background: linear-gradient(135deg,var(--c-primary),var(--c-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--c-muted);
  margin: 0 0 32px;
  max-width: 580px;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
  list-style: none; margin: 0 0 18px; padding: 0;
  font-size: 14px; color: var(--c-muted);
}
.hero-trust li { display:flex; align-items:center; gap:6px; font-weight:600; }
.chk {
  display: inline-flex; align-items:center; justify-content:center;
  width: 20px; height: 20px;
  background: var(--c-green); color:#fff; border-radius:50%;
  font-size: 12px; font-weight: 700;
}
.hero-rating {
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  font-size: 15px;
}
.hero-rating .stars { color: #fbbf24; font-size: 18px; letter-spacing: 1px; }
.sep { color: var(--c-muted); }

/* HERO VISUAL */
.hero-visual { position: relative; display: flex; justify-content:center; align-items:center; }
.hero-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  display: block;
}
.book {
  position: relative;
  width: 280px; height: 380px;
  perspective: 1000px;
  margin: 20px auto;
}
.book-spine {
  position: absolute; left: 0; top: 0;
  width: 14px; height: 100%;
  background: linear-gradient(180deg,#4338ca,#1e1b4b);
  border-radius: 4px 0 0 4px;
  transform: translateZ(8px);
}
.book-back {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,#1e293b,#0f172a);
  border-radius: 4px 14px 14px 4px;
  transform: rotateY(8deg) translateZ(-12px);
  box-shadow: var(--shadow-xl);
}
.book-cover {
  position: relative; width: 100%; height: 100%;
  background: linear-gradient(135deg,#4338ca 0%,#6366f1 50%,#ec4899 100%);
  border-radius: 4px 14px 14px 4px;
  padding: 28px 22px;
  color: #fff;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateZ(0);
}
.book-tag {
  background: rgba(255,255,255,.95);
  color: var(--c-primary);
  font-weight: 800; font-size: 10px;
  padding: 4px 10px; border-radius: 100px;
  align-self: flex-start; letter-spacing: 1px;
}
.book-robot { font-size: 56px; margin: 12px 0 6px; }
.book-t1 { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.book-t2 {
  font-size: 30px; font-weight: 900;
  letter-spacing: -0.02em; line-height: 1;
  background: linear-gradient(180deg,#fff 0%, #ffe6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.book-t3 { margin-top: 6px; font-size: 14px; font-weight: 600; line-height: 1.3; opacity: .95; }
.book-stat {
  margin-top: auto;
  background: rgba(255,255,255,.15);
  padding: 10px 12px; border-radius: 10px;
  font-size: 14px;
}
.book-stat b { font-size: 18px; }
.book-author { font-size: 11px; font-weight: 600; margin-top: 8px; opacity: .85; }

.float-card {
  position:absolute;
  background:#fff;
  padding: 10px 14px; border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  animation: float 4s ease-in-out infinite;
}
.fc-1 { top: 8%; left: -10%; animation-delay: 0s; }
.fc-2 { top: 50%; right: -18%; animation-delay: 1.2s; }
.fc-3 { bottom: 8%; left: -8%; animation-delay: 2.4s; }
.fc-ico { font-size: 22px; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== Ribbon ===== */
.ribbon {
  background: linear-gradient(90deg,#1e293b,#4338ca,#ec4899,#4338ca,#1e293b);
  color: #fff;
  padding: 12px 0;
  overflow: hidden;
}
.ribbon-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
}
.ribbon-track span { font-weight: 600; font-size: 14px; padding: 0 22px; }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Sections / general ===== */
.section { padding: 80px 0; }
.section-grey { background: var(--c-bg-section); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: #fef3c7;
  color: #92400e;
  border-radius: 100px;
  font-weight: 700; font-size: 13px;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.section-h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800; color: var(--c-dark);
  margin: 0 0 14px; letter-spacing: -0.02em; line-height: 1.2;
}
.section-sub {
  font-size: 17px;
  color: var(--c-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* ===== Benefits ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.bcard {
  background: #fff;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  transition: var(--t);
}
.bcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.bico {
  width: 56px; height: 56px;
  background: linear-gradient(135deg,#eef2ff,#fce7f3);
  border-radius: 16px;
  display: flex; align-items:center; justify-content:center;
  font-size: 30px;
  margin-bottom: 18px;
}
.bcard h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; color: var(--c-dark); }
.bcard p { color: var(--c-muted); margin: 0; }

/* Chapter list */
.chapter-list {
  background: linear-gradient(135deg,#fef3c7 0%,#fed7aa 100%);
  padding: 36px;
  border-radius: var(--radius-xl);
  margin-bottom: 30px;
}
.cl-title { font-size: 22px; font-weight: 800; color: var(--c-dark); margin: 0 0 20px; }
.chapters {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.chapters li {
  background: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600; color: var(--c-text);
}
.chn {
  background: var(--c-primary);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex; align-items:center; justify-content:center;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.chapters li:nth-child(13) .chn { background: var(--c-pink); }
.chapters li:nth-child(14) .chn { background: var(--c-green); }
.chn-r { flex: 1; }
.chp { color: var(--c-muted); font-size: 12px; }

.bonus-row {
  background: linear-gradient(135deg,#ecfdf5 0%, #d1fae5 100%);
  padding: 28px;
  border-radius: var(--radius-lg);
  text-align: center;
}
.bonus-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--c-green);
  color: #fff;
  border-radius: 100px;
  font-weight: 800; font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.bonus-items {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.bonus-item {
  background: #fff;
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 600; color: var(--c-dark); font-size: 14px;
}

/* ===== Sample prompt card ===== */
.section-prompt { background: var(--c-bg-soft); }
.prompt-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 2px solid var(--c-primary);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.prompt-header {
  background: linear-gradient(135deg,#4338ca,#6366f1);
  color: #fff;
  padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.prompt-label {
  font-weight: 800; font-size: 13px; letter-spacing: 1px;
}
.prompt-icon { font-size: 24px; }
.prompt-body { padding: 28px; }
.prompt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
}
.prompt-row:last-child { border-bottom: 0; }
.prompt-col.full { grid-column: 1/-1; }
.prompt-h3 {
  display: inline-block;
  font-weight: 800; font-size: 13px; letter-spacing: .5px;
  color: var(--c-primary);
  margin-bottom: 6px;
}
.prompt-col p { margin: 0; font-size: 14px; color: var(--c-text); line-height: 1.6; }
.prompt-code {
  background: linear-gradient(135deg,#fef3c7,#fed7aa);
  border: 2px dashed #f59e0b;
  padding: 16px 18px;
  border-radius: 10px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #422006;
  line-height: 1.7;
  margin-top: 6px;
}
.prompt-list {
  margin: 6px 0 0 0;
  padding-left: 0;
  list-style: none;
}
.prompt-list li {
  padding: 4px 0;
  font-size: 13.5px; color: var(--c-text);
}
.prompt-tip-row { padding-top: 20px; }
.prompt-tip {
  margin: 0;
  background: #ecfdf5;
  border-left: 4px solid var(--c-green);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: #065f46;
  width: 100%;
}

/* ===== Flipbook wrapper ===== */
.flipbook-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}
.flipbook-wrap iframe {
  width: 100%; height: 620px; border: 0;
  border-radius: var(--radius);
  background: var(--c-bg-soft);
}

/* ===== Why grid ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.whycard {
  background: #fff;
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.whycard-pink { background: linear-gradient(135deg,#fdf2f8,#ede9fe); }
.why-emoji { font-size: 50px; margin-bottom: 14px; display:block; }
.whycard h3 {
  font-size: 24px; font-weight: 800; color: var(--c-dark);
  margin: 0 0 22px;
}
.why-list {
  list-style: none; padding: 0; margin: 0;
}
.why-list li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--c-line);
  color: var(--c-text);
  line-height: 1.6;
}
.why-list li:last-child { border-bottom: 0; }
.why-list b {
  display: block; color: var(--c-primary);
  font-size: 15px; margin-bottom: 3px;
}
.why-list-pink b { color: var(--c-pink); }
.insight-box {
  margin-top: 22px;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  border-left: 4px solid var(--c-pink);
  font-size: 15px;
}

.banner-stmt {
  background: linear-gradient(135deg,#4338ca,#ec4899);
  color: #fff;
  padding: 30px;
  border-radius: var(--radius-xl);
  display: flex; align-items: center; gap: 24px;
  font-size: 18px;
}
.banner-stmt span { font-size: 36px; flex-shrink: 0; }
.banner-stmt p { margin: 0; }

/* ===== Pricing ===== */
.section-pricing { background: linear-gradient(180deg, #fff, #fafbff); }
.pricing-card {
  background: #fff;
  border: 2px solid var(--c-primary);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 580px;
  margin: 0 auto;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.pricing-tag {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent); color: #fff;
  padding: 7px 18px; border-radius: 100px;
  font-weight: 800; font-size: 12px; letter-spacing: 1px;
}
.pricing-name {
  font-size: 24px; font-weight: 800; text-align: center;
  color: var(--c-dark); margin: 0 0 20px;
}
.pricing-row {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  margin-bottom: 6px;
}
.pricing-old { color: var(--c-muted); font-size: 16px; }
.pricing-save {
  background: #fef3c7; color: #92400e;
  padding: 4px 10px; border-radius: 100px;
  font-weight: 700; font-size: 13px;
}
.pricing-now {
  text-align: center; margin-bottom: 26px;
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
  flex-wrap: wrap;
}
.pricing-cur { font-size: 30px; color: var(--c-muted); font-weight: 700; }
.pricing-amt {
  font-size: 64px; font-weight: 900; color: var(--c-primary);
  line-height: 1; letter-spacing: -0.03em;
}
.pricing-once {
  font-size: 14px; color: var(--c-muted);
  flex-basis: 100%; text-align: center; margin-top: -2px;
}
.includes {
  list-style: none; padding: 0; margin: 24px 0;
}
.includes li {
  padding: 9px 0; font-size: 15px; color: var(--c-text);
}
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 18px;
}
.form-grid label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--c-text);
}
.form-grid input {
  padding: 13px 14px;
  font-size: 15px;
  border: 2px solid var(--c-line);
  border-radius: var(--radius);
  font-family: inherit;
  outline: none;
  transition: var(--t);
}
.form-grid input:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
.full { grid-column: 1/-1; }
.secure-row {
  display: flex; justify-content: space-between;
  margin-top: 12px; font-size: 13px; color: var(--c-muted);
  flex-wrap: wrap; gap: 10px;
}
.price-bar {
  text-align: center; margin-top: 16px;
  font-size: 13px; color: var(--c-muted);
}

.guarantee {
  background: linear-gradient(135deg,#ecfdf5,#d1fae5);
  padding: 24px;
  border-radius: var(--radius-lg);
  display: flex; gap: 20px; align-items: center;
  max-width: 580px; margin: 24px auto 0;
}
.guar-ico { font-size: 40px; flex-shrink: 0; }
.guarantee strong { font-size: 17px; color: var(--c-dark); }
.guarantee p { margin: 4px 0 0; color: var(--c-muted); font-size: 13.5px; }

/* ===== More prompts grid ===== */
.prompt-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.ptile {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 20px 18px;
  transition: var(--t);
}
.ptile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c-primary); }
.pn {
  display: inline-block;
  background: linear-gradient(135deg,#4338ca,#6366f1);
  color: #fff;
  padding: 3px 9px; border-radius: 100px;
  font-size: 11px; font-weight: 800;
  margin-bottom: 8px;
}
.ptile h4 { margin: 0 0 6px; font-size: 16px; color: var(--c-dark); }
.ptile p { margin: 0; font-size: 13px; color: var(--c-muted); }
.see-more { text-align: center; margin-top: 24px; font-weight: 700; color: var(--c-primary); }

/* ===== Reviews ===== */
.rating-block {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  margin-top: 14px; font-size: 16px; flex-wrap: wrap;
}
.stars-big { color: #fbbf24; font-size: 26px; letter-spacing: 3px; }

.reviews-wrap { position: relative; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.review-card {
  background: #fff;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  transition: var(--t);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.review-stars { color: #fbbf24; margin-bottom: 10px; font-size: 16px; }
.review-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--c-text);
  margin: 0 0 16px;
  font-style: italic;
}
.reviewer {
  display: flex; align-items: center; gap: 12px;
}
.reviewer-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg,#4338ca,#ec4899);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.reviewer b { font-size: 14px; color: var(--c-dark); display: block; }
.reviewer small { color: var(--c-muted); font-size: 12.5px; }

.rev-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--c-line);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  color: var(--c-primary);
  box-shadow: var(--shadow);
  display: none;
}
.rev-prev { left: -22px; }
.rev-next { right: -22px; }

.rev-dots {
  display: flex; justify-content: center; gap: 6px; margin-top: 18px;
}
.rev-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-line);
  border: 0; padding: 0;
  cursor: pointer; transition: var(--t);
}
.rev-dots button.active { background: var(--c-primary); width: 24px; border-radius: 100px; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px; font-weight: 700;
  color: var(--c-dark);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
  transition: var(--t);
}
.faq-q:hover { background: var(--c-bg-soft); }
.faq-toggle { font-size: 22px; color: var(--c-primary); transition: var(--t); flex-shrink: 0; margin-left: 16px; }
.faq-q[aria-expanded="true"] .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}
.faq-a.open { max-height: 600px; padding-bottom: 20px; }
.faq-a p { margin: 0; color: var(--c-muted); font-size: 15px; line-height: 1.7; }

/* ===== Final CTA ===== */
.final-cta {
  background: linear-gradient(135deg,#4338ca 0%,#6366f1 50%,#ec4899 100%);
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800; margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.final-cta p { font-size: 17px; margin-bottom: 28px; opacity: .95; }
.final-cta .btn-primary {
  background: #fff !important;
  color: var(--c-primary) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.fcta-emoji { font-size: 28px; margin-top: 24px; }

/* ===== Footer ===== */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer h4 { color: #fff; font-size: 16px; margin: 0 0 16px; font-weight: 700; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: #fff; }
.footer-tag { margin: 16px 0 6px; font-size: 15px; }
.footer-line { margin: 0 0 8px; font-size: 14.5px; }
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #1e293b;
  font-size: 13px;
  color: #94a3b8;
}
.footer-bottom p { margin: 6px 0; }

/* ===== WhatsApp floating ===== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #25d366;
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.5);
  z-index: 90;
  transition: var(--t);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 100px; right: 24px;
  background: var(--c-dark);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600; font-size: 14px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  max-width: 320px;
}
.toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast.success { background: var(--c-green); }
.toast.error { background: #ef4444; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .flipbook-wrap iframe { height: 540px; }
  .prompt-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav { padding: 12px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 4px;
    padding: 14px 22px;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 0; }

  .hero { padding: 50px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  .hero-visual { order: -1; max-width: 280px; margin: 0 auto; }
  .book { width: 220px; height: 300px; }
  .book-robot { font-size: 48px; }
  .book-t1, .book-t2 { font-size: 24px; }

  .section { padding: 60px 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 20px; }
  .banner-stmt { flex-direction: column; text-align: center; gap: 14px; padding: 24px; font-size: 16px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .flipbook-wrap iframe { height: 480px; }
  .prompt-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .prompt-tiles { grid-template-columns: 1fr 1fr; }
  .rev-arrow { display: flex; align-items: center; justify-content: center; }
  .fc-1 { left: -2%; top: -5%; }
  .fc-2 { right: -2%; }
  .fc-3 { left: 5%; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .topbar { font-size: 11px; padding: 7px 12px; }
  .hero-h1 { font-size: 28px; }
  .hero-sub { font-size: 16px; }
  .hero-cta .btn { width: 100%; }
  .section-h2 { font-size: 26px; }
  .pricing-card { padding: 26px 18px; }
  .pricing-amt { font-size: 52px; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { padding: 8px 12px; font-size: 11px; }
  .fc-ico { font-size: 18px; }
  .prompt-tiles { grid-template-columns: 1fr; }
  .banner-stmt { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .ribbon-track { animation: none; }
}
