/* ─── RESET & BASE ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:        #0e0d0b;
  --bg2:       #141210;
  --bg3:       #1c1a16;
  --gold:      #c8973a;
  --gold-lt:   #e8b84b;
  --cream:     #f0e8d8;
  --cream-dim: #b8a98a;
  --white:     #ffffff;
  --text:      #d4c9b4;
  --muted:     #7a6f5e;
  --border:    rgba(200,151,58,.18);
  --red:       #c0392b;
  --green:     #5cb85c;
  --ff-serif:  'Playfair Display', Georgia, serif;
  --ff-display:'DM Serif Display', serif;
  --ff-sans:   'Inter', system-ui, sans-serif;
  --max:       1180px;
  --ease:      cubic-bezier(.4,0,.2,1);
}
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--ff-sans); line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

/* ─── ANNOUNCEMENT BAR ──────────────────────────────────────────────── */
.announcement-bar {
  background: linear-gradient(90deg, #7b4e10 0%, #c8973a 50%, #7b4e10 100%);
  color: #fff; font-size: .82rem; font-family: var(--ff-sans); font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  padding: .55rem 3rem; position: relative; text-align: center;
}
.pulse-dot {
  width: 8px; height: 8px; background: #fff; border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite; flex-shrink: 0;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.4)} }
.close-bar {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 1.2rem;
  cursor: pointer; line-height: 1; padding: .2rem .4rem;
}

/* ─── NAVBAR ────────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  padding: 1.1rem 2rem; transition: all .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(14,13,11,.95); backdrop-filter: blur(12px);
  border-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.nav-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: .75rem; }
.nav-logo { height: 42px; width: auto; display: block; }
.footer-logo-link { display: inline-block; margin-bottom: .6rem; }
.footer-logo { height: 54px; width: auto; display: block; margin: 0 auto; }
.nav-cta {
  background: var(--gold); color: #0e0d0b; font-size: .82rem; font-weight: 700;
  padding: .6rem 1.4rem; border-radius: 2px; letter-spacing: .06em; text-transform: uppercase;
  transition: background .25s, transform .2s;
}
.nav-cta:hover { background: var(--gold-lt); transform: translateY(-1px); }

/* ─── HERO ──────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, #1e1508 0%, #0e0d0b 70%);
  padding: 7rem 2rem 5rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8973a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid {
  max-width: var(--max); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 420px; gap: 5rem; align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(200,151,58,.1); border: 1px solid var(--border);
  color: var(--gold); font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: .35rem .9rem; border-radius: 2px; margin-bottom: 1.8rem;
}
.badge-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 1.5s infinite; }
.hero-title { font-family: var(--ff-display); line-height: .9; color: var(--cream); }
.title-top { display: block; font-size: clamp(2.5rem, 6vw, 5rem); font-style: italic; color: var(--muted); font-size: clamp(1.8rem,4vw,3rem); }
.title-main { display: block; font-size: clamp(3.5rem, 8vw, 7.5rem); color: var(--cream); }
.hero-subtitle {
  font-family: var(--ff-serif); font-style: italic; font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--gold); margin-top: .6rem; letter-spacing: .03em;
}
.hero-divider { width: 60px; height: 2px; background: var(--gold); margin: 1.8rem 0; }
.hero-tagline { font-size: .95rem; color: var(--muted); max-width: 480px; line-height: 1.8; }
.hero-price-block { margin: 2.2rem 0; }
.price-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.price-current { font-family: var(--ff-serif); font-size: 3rem; font-weight: 700; color: var(--cream); }
.price-original { font-size: 1.3rem; color: var(--muted); text-decoration: line-through; }
.price-badge {
  background: #1e3a1e; color: #5cb85c; font-size: .75rem; font-weight: 700;
  padding: .25rem .65rem; border-radius: 2px; letter-spacing: .05em;
}
.price-note { font-size: .78rem; color: var(--muted); margin-top: .5rem; }
.hero-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }

/* ─── BUTTONS ───────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--gold); color: #0e0d0b; font-weight: 700; font-size: .9rem;
  padding: .9rem 2rem; border-radius: 2px; border: none; cursor: pointer;
  letter-spacing: .04em; text-transform: uppercase; transition: all .25s var(--ease);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
  opacity: 0; transition: opacity .25s;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,151,58,.35); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary.large { font-size: 1rem; padding: 1.1rem 2.4rem; }
.btn-ghost {
  color: var(--cream-dim); font-size: .88rem; letter-spacing: .04em;
  border-bottom: 1px solid var(--muted); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

/* ─── BOOK MOCKUP ───────────────────────────────────────────────────── */
.hero-book-col { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.book-3d-wrapper {
  position: relative; transition: transform .1s ease;
  transform: perspective(900px) rotateY(-8deg) rotateX(2deg);
  cursor: pointer;
}
.book-shadow {
  position: absolute; bottom: -20px; left: 10%; right: 10%; height: 30px;
  background: rgba(0,0,0,.5); filter: blur(20px); border-radius: 50%; z-index: 0;
}
.book-cover-img {
  width: 300px; max-width: 100%; border-radius: 4px 10px 10px 4px;
  box-shadow: -8px 4px 20px rgba(0,0,0,.7), 0 20px 60px rgba(0,0,0,.5);
  position: relative; z-index: 1;
}
.book-spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 22px;
  background: linear-gradient(to right, #6b4c10, #a87328);
  border-radius: 4px 0 0 4px; z-index: 2;
  box-shadow: inset -3px 0 8px rgba(0,0,0,.4);
}
.book-meta {
  display: flex; gap: 1.2rem; align-items: center;
  background: var(--bg3); border: 1px solid var(--border);
  padding: .9rem 1.4rem; border-radius: 4px; width: 100%;
}
.meta-item { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.meta-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.meta-value { font-size: .85rem; font-weight: 600; color: var(--cream); }
.meta-divider { width: 1px; height: 30px; background: var(--border); }
.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--muted); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim { 0%,100%{opacity:0;transform:scaleY(0);transform-origin:top} 50%{opacity:1;transform:scaleY(1)} }



/* ─── SYNOPSIS ──────────────────────────────────────────────────────── */
.synopsis-section { padding: 7rem 2rem; }
.section-header {
  display: flex; align-items: center; gap: 1.2rem;
  justify-content: center; margin-bottom: 4rem;
}
.section-line { flex: 1; height: 1px; background: var(--border); max-width: 120px; }
.section-label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.synopsis-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 380px 1fr; gap: 5rem; align-items: start;
  opacity: 0; transform: translateY(30px); transition: all .7s var(--ease);
}
.synopsis-grid.in-view { opacity: 1; transform: none; }
.pull-quote {
  font-family: var(--ff-serif); font-size: 1.6rem; line-height: 1.45;
  color: var(--cream); border-left: 3px solid var(--gold); padding-left: 1.4rem; margin-bottom: 1rem;
}
.quote-attr { font-size: .8rem; color: var(--muted); letter-spacing: .05em; margin-bottom: 2rem; }
.synopsis-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  font-size: .72rem; padding: .3rem .8rem; border: 1px solid var(--border);
  color: var(--cream-dim); border-radius: 2px; letter-spacing: .04em;
  transition: border-color .2s, color .2s;
}
.tag:hover { border-color: var(--gold); color: var(--gold); }
.synopsis-lead { font-family: var(--ff-serif); font-size: 1.2rem; color: var(--cream); line-height: 1.75; margin-bottom: 1.4rem; }
.synopsis-body { font-size: .95rem; color: var(--text); line-height: 1.9; margin-bottom: 1.2rem; }

/* ─── FEATURES STRIP ────────────────────────────────────────────────── */
.features-strip {
  background: linear-gradient(90deg, #13110d, #1a1710, #13110d);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 2rem;
}
.features-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.feature-item { display: flex; align-items: center; gap: .9rem; }
.feature-icon { font-size: 1.5rem; }
.feature-text { display: flex; flex-direction: column; }
.feature-text strong { font-size: .9rem; color: var(--cream); }
.feature-text span { font-size: .75rem; color: var(--muted); }
.feature-sep { width: 1px; height: 40px; background: var(--border); }

/* ─── AUTHOR ────────────────────────────────────────────────────────── */
.author-section { padding: 7rem 2rem; background: var(--bg2); }
.author-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 220px 1fr; gap: 5rem; align-items: center;
  opacity: 0; transform: translateY(30px); transition: all .7s var(--ease);
}
.author-grid.in-view { opacity: 1; transform: none; }
.author-visual { position: relative; display: flex; justify-content: center; }
.author-avatar-ring {
  width: 140px; height: 140px; border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3);
  box-shadow: 0 0 0 8px rgba(200,151,58,.08), 0 0 0 16px rgba(200,151,58,.04);
}
.author-initials { font-family: var(--ff-display); font-size: 2.8rem; color: var(--gold); }
.author-tribal-motif {
  position: absolute; width: 180px; height: 180px; border-radius: 50%;
  border: 1px dashed rgba(200,151,58,.2); top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.section-header.left-aligned { justify-content: flex-start; margin-bottom: 1.2rem; }
.section-line.short { max-width: 40px; }
.author-name { font-family: var(--ff-display); font-size: 2.4rem; color: var(--cream); margin-bottom: 1.2rem; }
.author-bio { font-size: .95rem; color: var(--text); line-height: 1.9; margin-bottom: .8rem; }

/* ─── TESTIMONIALS ──────────────────────────────────────────────────── */
.testimonials-section { padding: 6rem 2rem; }
.testimonials-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 4px;
  padding: 2rem; transition: border-color .3s, transform .3s;
  opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .3s;
}
.testimonial-card.in-view { opacity: 1; transform: none; }
.testimonial-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.testimonial-card.featured { border-color: rgba(200,151,58,.4); background: linear-gradient(135deg, #1e1810, var(--bg3)); }
.testimonial-stars { color: var(--gold); font-size: 1rem; letter-spacing: .15em; margin-bottom: .9rem; }
.testimonial-text { font-family: var(--ff-serif); font-size: 1rem; line-height: 1.75; color: var(--cream); margin-bottom: 1.2rem; }
.testimonial-author { font-size: .75rem; color: var(--muted); letter-spacing: .05em; }

/* ─── PRE-ORDER CTA ─────────────────────────────────────────────────── */
.preorder-section {
  background: linear-gradient(135deg, #120f08 0%, #1e1710 50%, #120f08 100%);
  border-top: 1px solid var(--border); padding: 7rem 2rem; position: relative; overflow: hidden;
}
.preorder-bg-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--ff-display); font-size: clamp(5rem, 16vw, 14rem);
  color: rgba(200,151,58,.04); white-space: nowrap; pointer-events: none; user-select: none;
  letter-spacing: .1em;
}
.preorder-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.preorder-content {
  text-align: center;
  opacity: 0; transform: translateY(30px); transition: all .7s var(--ease);
}
.preorder-content.in-view { opacity: 1; transform: none; }
.preorder-eyebrow { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.preorder-title {
  font-family: var(--ff-display); font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--cream); line-height: 1.2; margin-bottom: 2rem;
}
.preorder-title em { color: var(--gold); }
.preorder-price-block { margin-bottom: 2rem; }
.preorder-price-row { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: .4rem; }
.po-price-current { font-family: var(--ff-serif); font-size: 3.5rem; font-weight: 700; color: var(--cream); }
.po-price-details { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.po-price-original { font-size: 1rem; color: var(--muted); text-decoration: line-through; }
.po-discount-badge { background: #1e3a1e; color: #5cb85c; font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 2px; }
.po-price-sub { font-size: .78rem; color: var(--muted); }
.preorder-perks { list-style: none; text-align: left; display: inline-block; margin-bottom: 2.5rem; }
.preorder-perks li {
  display: flex; align-items: center; gap: .7rem;
  font-size: .9rem; color: var(--text); padding: .45rem 0;
  border-bottom: 1px solid rgba(200,151,58,.08);
}
.preorder-perks li svg { color: var(--gold); flex-shrink: 0; }
.preorder-section .btn-primary { margin: 0 auto; display: flex; width: fit-content; }
.secure-note {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .75rem; color: var(--muted); margin-top: 1rem;
}

/* ─── FOOTER ────────────────────────────────────────────────────────── */
.footer {
  background: #080706; border-top: 1px solid var(--border);
  padding: 3rem 2rem; text-align: center;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-title { font-family: var(--ff-serif); font-size: 1.2rem; color: var(--cream); margin-bottom: .3rem; }
.footer-tagline { font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: .8rem; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: .75rem; color: #4a4030; }

/* ─── MODAL ─────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 999; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--bg3); border: 1px solid var(--gold);
  border-radius: 8px; padding: 3rem 2.5rem; max-width: 420px; width: 90%; text-align: center;
  transform: scale(.9); transition: transform .3s var(--ease);
}
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-icon {
  width: 56px; height: 56px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #0e0d0b; margin: 0 auto 1.4rem; font-weight: 900;
}
.modal-title { font-family: var(--ff-display); font-size: 1.8rem; color: var(--cream); margin-bottom: .8rem; }
.modal-text { font-size: .9rem; color: var(--text); line-height: 1.8; margin-bottom: 1.8rem; }

/* ─── ORDER FORM MODAL ───────────────────────────────────────────────── */
.order-form-box {
  max-width: 580px; width: 95%; padding: 2rem 2.2rem;
  max-height: 92vh; overflow-y: auto; position: relative;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
  text-align: left;
}
.order-form-box::-webkit-scrollbar { width: 5px; }
.order-form-box::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.modal-close-btn {
  position: absolute; top: 1rem; right: 1rem; z-index: 5;
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--muted); font-size: 1.2rem; width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: color .2s, border-color .2s;
}
.modal-close-btn:hover { color: var(--cream); border-color: var(--gold); }

/* ─── PROGRESS BAR ───────────────────────────────────────────────────── */
.form-progress { margin-bottom: 2rem; padding-top: .5rem; }
.progress-track {
  width: 100%; height: 3px; background: var(--bg);
  border-radius: 3px; overflow: hidden; margin-bottom: 1.2rem;
}
.progress-fill {
  height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  border-radius: 3px; transition: width .4s var(--ease);
}
.progress-steps {
  display: flex; justify-content: space-between; position: relative;
}
.progress-step {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  flex: 1;
}
.step-circle {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: var(--muted);
  transition: all .3s var(--ease);
}
.progress-step.active .step-circle {
  border-color: var(--gold); color: var(--gold);
  background: rgba(200,151,58,.1);
  box-shadow: 0 0 0 4px rgba(200,151,58,.12);
}
.progress-step.done .step-circle {
  border-color: var(--gold); background: var(--gold);
  color: #0e0d0b;
}
.step-label {
  font-size: .65rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); transition: color .3s;
}
.progress-step.active .step-label { color: var(--gold); }
.progress-step.done .step-label { color: var(--cream-dim); }

/* ─── FORM STEPS ─────────────────────────────────────────────────────── */
.form-step {
  display: none;
  animation: stepIn .35s var(--ease) both;
}
.form-step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-step-header { text-align: center; margin-bottom: 1.8rem; }
.form-step-icon { font-size: 2rem; margin-bottom: .5rem; }
.form-modal-sub { font-size: .82rem; color: var(--muted); margin-top: .3rem; }

/* ─── INPUT WITH ICON ────────────────────────────────────────────────── */
.input-wrap {
  position: relative; display: flex; align-items: center;
}
.input-icon {
  position: absolute; left: .85rem; color: var(--muted);
  pointer-events: none; z-index: 1; flex-shrink: 0;
}
.input-wrap input {
  padding-left: 2.6rem !important; width: 100%;
}

/* ─── FORM FIELDS ────────────────────────────────────────────────────── */
.form-row { display: grid; gap: 1rem; }
.form-row.two-col   { grid-template-columns: 1fr 1fr; }
.form-row.three-col { grid-template-columns: 1fr 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.form-group label {
  font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cream-dim); font-weight: 600;
}
.req { color: var(--gold); }
.optional { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.form-group input,
.form-group select {
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--cream); font-family: var(--ff-sans); font-size: 1rem;
  padding: .8rem 1rem; border-radius: 6px; outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
  min-height: 48px;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a6f5e' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
  padding-right: 2.5rem;
}
.form-group input::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,151,58,.12); }
.field-err { font-size: .72rem; color: #e05d5d; min-height: .9rem; margin-top: -.1rem; }
.form-group input.invalid,
.form-group select.invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.1); }

/* ─── PINCODE LOOKUP UI ──────────────────────────────────────────────── */
.pincode-wrap { position: relative; }
.pincode-status {
  position: absolute; right: .85rem; top: 50%; transform: translateY(-50%);
  font-size: .85rem; font-weight: 700; line-height: 1;
}
.pincode-status.success { color: #5cb85c; }
.pincode-status.error   { color: #e05d5d; }
.pincode-status.loading { color: var(--gold); }
.pin-spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid var(--border); border-top-color: var(--gold);
  border-radius: 50%; animation: pinSpin .6s linear infinite;
}
@keyframes pinSpin { to { transform: rotate(360deg); } }

.pincode-result {
  display: none; margin-top: .4rem;
  background: rgba(200,151,58,.08); border: 1px solid rgba(200,151,58,.15);
  border-radius: 6px; padding: .65rem .9rem;
  animation: stepIn .3s var(--ease) both;
}
.pin-found {
  display: flex; align-items: center; gap: .7rem;
}
.pin-found-icon { font-size: 1.2rem; flex-shrink: 0; }
.pin-found-info { display: flex; flex-direction: column; gap: .15rem; }
.pin-found-info strong { font-size: .85rem; color: var(--cream); }
.pin-areas { font-size: .72rem; color: var(--muted); line-height: 1.4; }

/* ─── FORM NAVIGATION ───────────────────────────────────────────────── */
.form-nav-row {
  display: flex; align-items: center; gap: .8rem;
  margin-top: .5rem;
}
.btn-back {
  display: inline-flex; align-items: center; gap: .4rem;
  background: none; border: 1px solid var(--border);
  color: var(--cream-dim); font-size: .85rem; font-weight: 500;
  padding: .75rem 1.2rem; border-radius: 6px; cursor: pointer;
  transition: border-color .2s, color .2s;
  min-height: 48px;
}
.btn-back:hover { border-color: var(--gold); color: var(--gold); }
.btn-primary.full-width { width: 100%; justify-content: center; }

/* ─── REVIEW CARD ────────────────────────────────────────────────────── */
.review-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.2rem 1.4rem; margin-bottom: 1.2rem;
}
.review-section { padding: .4rem 0; }
.review-section-title {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .8rem;
}
.review-edit-btn {
  margin-left: auto; background: none; border: 1px solid var(--border);
  color: var(--cream-dim); font-size: .7rem; padding: .2rem .6rem;
  border-radius: 4px; cursor: pointer; letter-spacing: .04em;
  transition: color .2s, border-color .2s;
}
.review-edit-btn:hover { color: var(--gold); border-color: var(--gold); }
.review-divider { height: 1px; background: var(--border); margin: .6rem 0; }
.review-fields { display: flex; flex-direction: column; gap: .5rem; }
.review-field {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .88rem;
}
.review-label { color: var(--muted); font-size: .78rem; }
.review-value { color: var(--cream); font-weight: 500; text-align: right; max-width: 60%; word-break: break-word; }
.review-address {
  font-size: .88rem; color: var(--cream); line-height: 1.6;
}

/* ─── ORDER SUMMARY ──────────────────────────────────────────────────── */
.form-summary {
  background: var(--bg); border: 1px solid var(--border); border-radius: 6px;
  padding: 1rem 1.2rem; margin: .5rem 0 1.4rem;
}
.form-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--text); padding: .4rem 0;
  border-bottom: 1px solid rgba(200,151,58,.07);
}
.form-summary-row:last-child { border-bottom: none; }
.form-summary-row.total {
  font-weight: 700; color: var(--cream); font-size: 1.05rem;
  padding-top: .55rem; margin-top: .2rem; border-top: 1px solid var(--border);
}
.free-tag { color: #5cb85c; font-weight: 700; font-size: .78rem; }

/* ─── COUPON CODE SECTION ────────────────────────────────────────────── */
.coupon-wrapper {
  margin-bottom: 1.4rem;
  background: linear-gradient(135deg, rgba(200,151,58,.06), rgba(200,151,58,.02));
  border: 1px dashed rgba(200,151,58,.35);
  border-radius: 8px;
  padding: 1.2rem 1.3rem;
  position: relative;
  overflow: hidden;
}
.coupon-wrapper::before {
  content: '';
  position: absolute; top: 50%; left: -6px;
  width: 12px; height: 12px;
  background: var(--bg3); border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 1px rgba(200,151,58,.35);
}
.coupon-wrapper::after {
  content: '';
  position: absolute; top: 50%; right: -6px;
  width: 12px; height: 12px;
  background: var(--bg3); border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 1px rgba(200,151,58,.35);
}
.coupon-header {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .85rem;
}
.coupon-header-icon {
  font-size: 1.3rem; line-height: 1;
}
.coupon-header-text {
  font-family: var(--ff-sans); font-size: .82rem;
  font-weight: 600; color: var(--gold);
  letter-spacing: .04em; text-transform: uppercase;
}

/* Keep toggle for backward compat but hide it */
.coupon-toggle { display: none; }
.coupon-toggle-arrow { display: none; }

.coupon-section {
  /* Always visible now */
  max-height: none; overflow: visible; opacity: 1;
  margin-top: 0;
}

.coupon-input-row {
  display: flex; align-items: center; gap: .5rem;
}
.coupon-input-wrap {
  flex: 1; position: relative;
}
.coupon-input {
  width: 100%;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--cream); font-family: var(--ff-sans); font-size: .95rem;
  padding: .75rem 1rem; border-radius: 6px; outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  text-transform: uppercase; letter-spacing: .08em;
  min-height: 48px;
}
.coupon-input::placeholder {
  color: var(--muted); text-transform: none; letter-spacing: 0;
  font-size: .88rem;
}
.coupon-input:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,151,58,.12);
}
.coupon-input.input-error {
  border-color: #e05d5d; box-shadow: 0 0 0 3px rgba(224,93,93,.1);
}
.coupon-input.input-success {
  border-color: #5cb85c; box-shadow: 0 0 0 3px rgba(92,184,92,.1);
}

.coupon-apply-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: #0e0d0b; font-family: var(--ff-sans);
  font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: .75rem 1.4rem; border-radius: 6px;
  border: none; cursor: pointer; white-space: nowrap;
  min-height: 48px; min-width: 90px;
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.coupon-apply-btn:hover:not(:disabled) {
  background: var(--gold-lt); transform: translateY(-1px);
}
.coupon-apply-btn:disabled {
  opacity: .7; cursor: not-allowed;
}

.coupon-spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid rgba(14,13,11,.3); border-top-color: #0e0d0b;
  border-radius: 50%; animation: pinSpin .6s linear infinite;
}

.coupon-error {
  display: none; font-size: .78rem; color: #e05d5d;
  margin-top: .55rem; padding-left: .1rem;
  animation: stepIn .25s var(--ease) both;
}

.coupon-success {
  display: none; align-items: center; justify-content: space-between;
  background: rgba(92,184,92,.1); border: 1px solid rgba(92,184,92,.25);
  border-radius: 6px; padding: .7rem .9rem; margin-top: .6rem;
  animation: stepIn .3s var(--ease) both;
}
.coupon-success-info {
  display: flex; align-items: center; gap: .5rem;
  color: #5cb85c; font-size: .85rem; font-weight: 600;
}
.coupon-success-info svg { flex-shrink: 0; }

.coupon-remove {
  background: none; border: none; color: #e05d5d;
  font-size: 1.3rem; cursor: pointer; padding: .2rem .4rem;
  line-height: 1; border-radius: 4px;
  transition: background .2s, color .2s;
  display: flex; align-items: center; justify-content: center;
  min-width: 32px; min-height: 32px;
}
.coupon-remove:hover {
  background: rgba(224,93,93,.12); color: #ff6b6b;
}

/* ─── DISCOUNT ROW IN SUMMARY ────────────────────────────────────────── */
.discount-row { display: none; }
.discount-row span:first-child { color: #5cb85c; }
.discount-amount {
  color: #5cb85c !important; font-weight: 600;
}

.price-struck {
  text-decoration: line-through; color: var(--muted); font-size: .85rem;
  margin-right: .4rem;
}

/* ─── RESPONSIVE — TABLET ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; padding-top: 2rem; }
  .hero-book-col { order: -1; }
  .book-cover-img { width: 220px; }
  .synopsis-section { padding: 5rem 1.5rem; }
  .synopsis-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .author-section { padding: 5rem 1.5rem; }
  .author-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .author-visual { justify-content: center; }
  .section-header.left-aligned { justify-content: center; }
  .testimonials-section { padding: 4rem 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .features-inner { gap: 1rem; }
  .feature-sep { display: none; }
  .hero { padding: 6rem 1.5rem 4rem; }
  .preorder-section { padding: 5rem 1.5rem; }
}

/* ─── RESPONSIVE — MOBILE ────────────────────────────────────────────── */
@media (max-width: 640px) {
  html { font-size: 15px; }

  /* ── Announcement bar ── */
  .announcement-bar { font-size: .75rem; padding: .5rem 2.5rem .5rem 1rem; gap: .5rem; }
  .announcement-bar p { text-align: left; }
  .close-bar { right: .5rem; padding: .3rem .5rem; min-width: 32px; min-height: 32px; }

  /* ── Navbar ── */
  .navbar { padding: .9rem 1rem; }
  .brand-text { font-size: .9rem; }
  .nav-cta { font-size: .72rem; padding: .55rem 1rem; min-height: 44px; display: inline-flex; align-items: center; }

  /* ── Hero ── */
  .hero { padding: 5rem 1.2rem 3rem; min-height: auto; }
  .hero-grid { gap: 2rem; }
  .hero-badge { font-size: .68rem; padding: .3rem .7rem; margin-bottom: 1.2rem; }
  .title-top { font-size: clamp(1.4rem, 5vw, 2rem) !important; }
  .title-main { font-size: clamp(2.6rem, 12vw, 4rem) !important; }
  .hero-subtitle { font-size: clamp(1rem, 3vw, 1.3rem); }
  .hero-divider { margin: 1.2rem 0; }
  .hero-tagline { font-size: .85rem; }
  .price-current { font-size: 2.4rem; }
  .price-original { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .8rem; }
  .hero-actions .btn-primary { justify-content: center; min-height: 52px; font-size: .9rem; }
  .hero-actions .btn-ghost { text-align: center; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .book-cover-img { width: 180px; }
  .book-meta { padding: .7rem 1rem; gap: .8rem; flex-wrap: wrap; }
  .scroll-indicator { display: none; }

  /* ── Synopsis ── */
  .synopsis-section { padding: 4rem 1.2rem; }
  .section-header { margin-bottom: 2.5rem; gap: .8rem; }
  .section-line { max-width: 60px; }
  .pull-quote { font-size: 1.3rem; padding-left: 1rem; }
  .synopsis-lead { font-size: 1.05rem; }
  .synopsis-body { font-size: .92rem; line-height: 1.85; }
  .synopsis-tags { gap: .4rem; flex-wrap: wrap; }
  .tag { font-size: .7rem; padding: .35rem .65rem; }

  /* ── Features strip ── */
  .features-strip { padding: 1.2rem .8rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .features-strip::-webkit-scrollbar { display: none; }
  .features-inner { flex-wrap: nowrap; gap: 1.2rem; justify-content: flex-start; min-width: max-content; padding: 0 .4rem; }
  .feature-item { white-space: nowrap; gap: .5rem; }
  .feature-icon { font-size: 1.2rem; }
  .feature-text strong { font-size: .78rem; }
  .feature-text span { font-size: .68rem; }

  /* ── Author ── */
  .author-section { padding: 4rem 1.2rem; }
  .author-name { font-size: 1.8rem; }
  .author-avatar-ring { width: 110px; height: 110px; }
  .author-initials { font-size: 2.2rem; }
  .author-tribal-motif { width: 145px; height: 145px; }
  .author-bio { font-size: .9rem; line-height: 1.8; }

  /* ── Testimonials ── */
  .testimonials-section { padding: 3.5rem 1.2rem; }
  .testimonial-card { padding: 1.5rem; }
  .testimonial-text { font-size: .92rem; }

  /* ── Pre-order CTA ── */
  .preorder-section { padding: 4rem 1.2rem; }
  .preorder-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .po-price-current { font-size: 2.8rem; }
  .preorder-perks { width: 100%; }
  .preorder-perks li { font-size: .85rem; padding: .5rem 0; }
  .btn-primary.large { min-height: 52px; font-size: .9rem; width: 100%; justify-content: center; }

  /* ── Footer ── */
  .footer { padding: 2rem 1.2rem; }
  .footer-links { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
  .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }

  /* ── Modal — Bottom Sheet on Mobile ── */
  .modal-overlay { align-items: flex-end; }
  .modal-box {
    border-radius: 16px 16px 0 0; max-width: 100%; width: 100%;
    padding: 2rem 1.5rem; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
  .order-form-box {
    max-width: 100%; width: 100%; padding: 1.5rem 1.2rem;
    padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
    max-height: 94vh;
    border-radius: 16px 16px 0 0;
  }
  .modal-close-btn { top: .8rem; right: .8rem; width: 34px; height: 34px; }
  .form-row.two-col,
  .form-row.three-col { grid-template-columns: 1fr; }

  /* ── Progress steps ── */
  .step-circle { width: 30px; height: 30px; font-size: .72rem; }
  .step-label { font-size: .62rem; }
  .form-progress { margin-bottom: 1.5rem; }

  /* ── Touch-friendly inputs (44px min tap target) ── */
  .form-group input,
  .form-group select { font-size: 1rem; padding: .85rem 1rem; min-height: 50px; }
  .input-wrap input { padding-left: 2.6rem !important; }
  .form-group label { font-size: .74rem; }
  .form-group { margin-bottom: .7rem; }

  /* ── Nav row ── */
  .form-nav-row { flex-direction: column-reverse; gap: .6rem; }
  .form-nav-row .btn-back { width: 100%; justify-content: center; min-height: 48px; }
  .form-nav-row .btn-primary { width: 100%; min-height: 52px; }

  /* ── Review ── */
  .review-card { padding: 1rem; }
  .review-field { flex-direction: column; align-items: flex-start; gap: .15rem; }
  .review-value { text-align: left; max-width: 100%; }
  .review-edit-btn { min-height: 32px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }

  /* ── Summary ── */
  .form-summary-row { font-size: .82rem; padding: .5rem 0; }
  .form-summary-row.total { font-size: .95rem; }

  /* ── Coupon ── */
  .coupon-wrapper { padding: 1rem; }
  .coupon-wrapper::before,
  .coupon-wrapper::after { width: 10px; height: 10px; left: -5px; }
  .coupon-wrapper::after { left: auto; right: -5px; }
  .coupon-header { margin-bottom: .7rem; }
  .coupon-header-icon { font-size: 1.1rem; }
  .coupon-header-text { font-size: .76rem; }
  .coupon-input-row { flex-direction: column; gap: .5rem; }
  .coupon-apply-btn { width: 100%; min-height: 48px; }
  .coupon-input { min-height: 48px; font-size: .95rem; }
  .coupon-success { padding: .6rem .8rem; }
  .coupon-success-info { font-size: .8rem; }
  .coupon-remove { min-width: 36px; min-height: 36px; }
}

/* ─── RESPONSIVE — VERY SMALL SCREENS ────────────────────────────────── */
@media (max-width: 380px) {
  html { font-size: 14px; }
  .hero { padding: 4.5rem 1rem 2.5rem; }
  .title-main { font-size: clamp(2.2rem, 14vw, 3.5rem) !important; }
  .hero-badge { font-size: .62rem; }
  .price-current { font-size: 2rem; }
  .preorder-title { font-size: 1.5rem; }
  .po-price-current { font-size: 2.2rem; }
  .order-form-box { padding: 1.2rem 1rem; }
  .coupon-wrapper { padding: .85rem; }
  .coupon-input { font-size: .9rem; }
}

/* ─── iOS / SAFE AREA ────────────────────────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
  .order-form-box { padding-bottom: calc(1.2rem + env(safe-area-inset-bottom)); }
}

/* ─── HINDI EDITION PROMO BANNER (on index.html) ────────────────────── */
.hindi-promo-banner {
  background: linear-gradient(135deg, #0f0806 0%, #1c1008 40%, #1a0e06 70%, #0f0806 100%);
  border-top: 1px solid rgba(230,126,34,.25);
  border-bottom: 1px solid rgba(230,126,34,.25);
  padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
}
.hindi-promo-banner::before {
  content: 'हिंदी';
  position: absolute; right: -1rem; top: 50%; transform: translateY(-50%);
  font-family: 'Noto Sans Devanagari', serif;
  font-size: 8rem; color: rgba(230,126,34,.04);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.hindi-promo-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.hindi-promo-flag {
  font-size: 2.5rem; flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(230,126,34,.3));
}
.hindi-promo-text { flex: 1; min-width: 220px; }
.hindi-promo-label {
  display: inline-block; background: rgba(230,126,34,.15);
  color: #e67e22; font-size: .65rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .15rem .6rem; border-radius: 2px; margin-bottom: .5rem;
  border: 1px solid rgba(230,126,34,.25);
}
.hindi-promo-title {
  font-family: var(--ff-display); font-size: 1.5rem;
  color: var(--cream); line-height: 1.3; margin-bottom: .4rem;
}
.hindi-promo-desc {
  font-size: .87rem; color: var(--muted); line-height: 1.6;
}
.hindi-promo-desc em { color: var(--cream-dim); font-style: italic; }
.hindi-promo-price-col {
  display: flex; flex-direction: column; align-items: flex-end; gap: .8rem;
  flex-shrink: 0;
}
.hindi-promo-price {
  display: flex; align-items: baseline; gap: .6rem;
}
.hindi-promo-offer {
  font-family: var(--ff-serif); font-size: 2.4rem; font-weight: 700; color: var(--cream); line-height: 1;
}
.hindi-promo-mrp {
  font-size: .95rem; color: var(--muted); text-decoration: line-through;
}
.hindi-promo-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, #e67e22, #f39c12);
  color: #1a0800; font-weight: 800; font-size: .82rem;
  padding: .75rem 1.6rem; border-radius: 2px;
  letter-spacing: .05em; text-transform: uppercase;
  transition: all .25s var(--ease); white-space: nowrap;
  box-shadow: 0 4px 16px rgba(230,126,34,.3);
}
.hindi-promo-btn:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,126,34,.45);
}
@media (max-width: 760px) {
  .hindi-promo-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .hindi-promo-price-col { align-items: flex-start; flex-direction: row; align-items: center; gap: 1.2rem; }
  .hindi-promo-title { font-size: 1.25rem; }
  .hindi-promo-offer { font-size: 2rem; }
  .hindi-promo-banner { padding: 2rem 1.2rem; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
