/* BOOKORA — Navy · Orange · White. Mobile-first. */
:root {
  --navy-900: #0a1630;
  --navy-800: #0f1f44;
  --navy-700: #16295a;
  --navy-100: #e8ecf5;
  --orange-500: #f97316;
  --orange-600: #e2620a;
  --orange-100: #fff1e6;
  --white: #ffffff;
  --ink: #0f1f44;
  --muted: #4a5672;
  --line: #e3e7f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 22, 48, 0.08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Plus Jakarta Sans", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--orange-600); }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; margin: 0 0 .5em; color: var(--navy-900); }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--navy-900); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.icon { width: 22px; height: 22px; flex: none; }
.icon-xs { width: 16px; height: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1 var(--font); padding: 14px 22px; border-radius: 999px; border: 0;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn-primary { background: var(--orange-500); color: #fff; box-shadow: 0 8px 20px rgba(249, 115, 22, .3); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-primary[disabled] { background: #c3c9d6; color: #4a5672; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-sm { padding: 10px 16px; font-size: .95rem; }
.btn-lg { padding: 17px 28px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(10,22,48,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--navy-900); color: var(--orange-500); font: 800 1.2rem var(--display); }
.logo-text { font: 800 1.25rem var(--display); letter-spacing: .14em; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
.site-nav { position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
.site-nav.open { display: flex; }
.site-nav a:not(.btn) { color: var(--navy-800); text-decoration: none; font-weight: 500; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.site-nav .btn { margin-top: 12px; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; padding: 0; border: 0; box-shadow: none; background: none; }
  .site-nav a:not(.btn) { border: 0; padding: 4px 0; font-size: .96rem; }
  .site-nav a:not(.btn):hover { color: var(--orange-600); }
  .site-nav .btn { margin-top: 0; }
}

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 0 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, var(--orange-100), transparent 60%), linear-gradient(180deg, #fff, var(--bg-soft)); padding: 40px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 96px; } .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.eyebrow { display: inline-block; background: var(--navy-100); color: var(--navy-800); font-weight: 600; font-size: .85rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.product-name { font-size: .98rem; color: var(--navy-700); border-left: 3px solid var(--orange-500); padding-left: 12px; }
.lead { font-size: 1.1rem; color: var(--muted); }
.checklist { display: grid; gap: 10px; margin: 20px 0 28px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checklist .icon { color: var(--orange-500); margin-top: 2px; }
.checklist.light li { color: #dfe5f3; font-weight: 400; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price-now { font: 800 2.2rem var(--display); color: var(--navy-900); }
.price-mrp { color: var(--muted); font-size: 1.1rem; }
.price-note { width: 100%; font-size: .85rem; color: var(--muted); }
.fine { display: flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); margin-top: 16px; }

/* Book mockup (pure CSS) */
.hero-visual { display: flex; justify-content: center; perspective: 1400px; }
.book { position: relative; width: min(300px, 78vw); aspect-ratio: 3 / 4.2; transform: rotateY(-18deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .4s; }
.book:hover { transform: rotateY(-8deg) rotateX(2deg); }
.book-cover {
  position: absolute; inset: 0; border-radius: 6px 14px 14px 6px; padding: 24px 22px; color: #fff;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900) 70%);
  box-shadow: inset 6px 0 0 rgba(255,255,255,.06), inset 14px 0 18px rgba(0,0,0,.25), 30px 30px 60px rgba(10,22,48,.35);
  display: flex; flex-direction: column; gap: 14px; overflow: hidden;
}
.book-cover::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,.55), transparent 65%); }
.book-top { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; }
.book-brand { font: 800 .85rem var(--display); letter-spacing: .2em; color: var(--orange-500); }
.book-tag { border: 1px solid rgba(255,255,255,.35); padding: 2px 8px; border-radius: 999px; }
.book-days { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.book-days strong { font: 800 3.6rem/1 var(--display); color: var(--orange-500); }
.book-days span { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
.book-title { font: 800 1.3rem/1.15 var(--display); }
.book-sub { font-size: .78rem; color: #c9d2e8; line-height: 1.45; }
.book-foot { margin-top: auto; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb0d4; position: relative; z-index: 1; }
.book-pages { position: absolute; top: 6px; bottom: 6px; right: -14px; width: 16px; background: repeating-linear-gradient(90deg, #fff 0 2px, #e5e8ef 2px 3px); border-radius: 0 4px 4px 0; transform: rotateY(60deg); transform-origin: left; }

/* Cards */
.card-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--orange-100); color: var(--orange-600); margin-bottom: 14px; }

/* Curriculum */
.curriculum-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .curriculum-grid { grid-template-columns: 1fr 320px; align-items: start; } }
.timeline { display: grid; gap: 10px; counter-reset: none; }
.phase details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.phase summary { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 16px 18px; cursor: pointer; list-style: none; }
.phase summary::-webkit-details-marker { display: none; }
.phase summary::after { content: "+"; grid-column: 2; grid-row: 1 / span 2; justify-self: end; font-size: 1.4rem; color: var(--navy-700); }
.phase details[open] summary::after { content: "–"; }
.phase details[open] { border-color: var(--orange-500); box-shadow: 0 0 0 3px var(--orange-100); }
.phase-num { grid-row: 1 / span 2; font: 700 .72rem var(--display); letter-spacing: .08em; text-transform: uppercase; background: var(--navy-900); color: #fff; padding: 8px 10px; border-radius: 8px; }
.phase-title { font-weight: 700; color: var(--navy-900); padding-right: 28px; }
.phase-days { font-size: .85rem; color: var(--orange-600); font-weight: 600; }
.topics { padding: 0 18px 18px 18px; display: grid; gap: 6px; }
.topics li { position: relative; padding-left: 18px; color: var(--muted); }
.topics li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); }
.aside-card { background: var(--navy-900); color: #fff; border-radius: var(--radius); padding: 26px; position: sticky; top: 92px; }
.aside-card h3 { color: #fff; }
.aside-card p { color: #c9d2e8; font-size: .95rem; }
.pill-list { display: grid; gap: 10px; margin-top: 14px; }
.pill-list li { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.06); padding: 10px 12px; border-radius: 10px; font-size: .95rem; }
.pill-list .icon { color: var(--orange-500); }

/* Audience */
.audience-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .audience-grid { grid-template-columns: repeat(4, 1fr); } }
.audience-card { border-radius: var(--radius); padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange-500); }
.audience-card .icon { color: var(--navy-700); width: 28px; height: 28px; margin-bottom: 12px; }
.audience-card p { color: var(--muted); margin: 0; }

/* Details + FAQ */
.split { display: grid; gap: 40px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0; overflow: hidden; }
.details div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.details div:last-child { border-bottom: 0; }
.details dt { font-weight: 600; color: var(--navy-800); font-size: .92rem; }
.details dd { margin: 0; color: var(--muted); font-size: .95rem; }
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq-item summary { padding: 16px 44px 16px 18px; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--orange-600); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 18px 18px; margin: 0; color: var(--muted); }

/* Purchase CTA */
.purchase { background: var(--navy-900); }
.purchase-card { display: grid; gap: 32px; color: #fff; }
@media (min-width: 900px) { .purchase-card { grid-template-columns: 1.3fr .9fr; align-items: center; gap: 56px; } }
.purchase-card h2 { color: #fff; }
.purchase-card > div > p { color: #c9d2e8; }
.purchase-action { background: #fff; border-radius: 18px; padding: 28px; color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.purchase-action .fine { display: block; }

/* Footer */
.site-footer { background: #071025; color: #aab6d3; padding: 48px 0 24px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-mark { background: var(--orange-500); color: #fff; }
.footer-inner { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }
.footer-tag { margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a, .footer-bottom a { color: #dfe5f3; text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--orange-500); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 20px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* Legal / info pages */
.page-hero { background: var(--bg-soft); padding: 48px 0 32px; border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); margin: 0; }
.prose { max-width: 760px; padding: 40px 16px 72px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.notice { background: var(--orange-100); border-left: 4px solid var(--orange-500); padding: 14px 16px; border-radius: 8px; font-size: .93rem; margin: 0 0 24px; }
