/* ============ Reset & Tokens ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #612DC2;
  --purple-deep: #46208F;
  --green: #29E98E;
  --green-soft: #70FF7C;
  --yellow: #FFFE70;
  --ink: #14101F;
  --cream: #FFF8EA;
  --white: #FEFEFE;
  --radius: 14px;
  --border: 3px solid var(--ink);
  --shadow-hard: 6px 6px 0 var(--ink);
  --font-display: "Baloo Da 2", "Hind Siliguri", sans-serif;
  --font-body: "Hind Siliguri", "Baloo Da 2", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

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

.center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--purple);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 16px;
}

.section-lead { max-width: 640px; margin: 0 auto 40px; color: rgba(20,16,31,0.72); font-size: 1.05rem; }
section h2 { margin-bottom: 14px; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }

/* ============ Halftone texture ============ */
.halftone {
  background-image: radial-gradient(rgba(255,255,255,0.35) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
}

.halftone-dark {
  background-image: radial-gradient(rgba(20,16,31,0.10) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: 3px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--ink); }

.btn-primary { background: var(--green); color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-whatsapp { background: #25D366; color: #06280F; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand { display: flex; align-items: baseline; gap: 4px; font-family: var(--font-display); }
.brand-practical { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.brand-khata { font-weight: 800; font-size: 1.15rem; color: var(--purple); }

.header-price { display: none; font-family: var(--font-mono); font-weight: 600; }
@media (min-width: 640px) { .header-price { display: inline; } }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--purple);
  color: var(--white);
  padding: 56px 0 76px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  margin-bottom: 18px;
}

.hero-lead {
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.price-burst {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  background: var(--yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-8deg);
  text-align: center;
  flex-shrink: 0;
}

.price-burst .was { font-size: 0.68rem; text-decoration: line-through; opacity: 0.75; }
.price-burst .now { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.price-burst .now sup { font-size: 0.85rem; }
.price-burst .off { font-size: 0.62rem; font-weight: 700; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
}
.trust-row span { display: flex; align-items: center; gap: 6px; }

/* ---- Cover art ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.cover-frame {
  position: relative;
  width: min(300px, 78vw);
}

.cover-frame img {
  width: 100%;
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 10px 10px 0 var(--purple-deep);
}

.cover-badge {
  position: absolute;
  top: -18px;
  right: -22px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--ink);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  line-height: 1.15;
  transform: rotate(10deg);
}

/* ============ For You / Benefits ============ */
.forwhom { padding: 72px 0; }

.forwhom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

@media (max-width: 700px) { .forwhom-grid { grid-template-columns: 1fr; } }

.forwhom-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-hard);
}

.forwhom-icon { font-size: 1.4rem; flex-shrink: 0; }
.forwhom-item p { font-size: 1rem; }
.forwhom-item strong { display: block; margin-bottom: 2px; }

/* ============ Proof slider ============ */
.proof { padding: 64px 0 44px; }

.proof-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 14px calc(50% - 150px) 22px;
  scrollbar-width: none;
}
.proof-track::-webkit-scrollbar { display: none; }

.proof-card {
  scroll-snap-align: center;
  flex: 0 0 300px;
  position: relative;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.proof-card:nth-child(odd) { background: var(--yellow); }
.proof-card:nth-child(even) { background: var(--green-soft); }

.proof-card img {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
}

.proof-stamp {
  position: absolute;
  top: -12px;
  right: -10px;
  background: var(--purple);
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.68rem;
  padding: 4px 12px;
  white-space: nowrap;
  transform: rotate(6deg);
}

.proof-card .amount { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--ink); }
.proof-card .tag { font-size: 0.82rem; font-weight: 600; color: rgba(20,16,31,0.7); }

.proof-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.proof-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  padding: 0;
}
.proof-dot.active { background: var(--purple); }

.proof-note { font-size: 0.8rem; color: rgba(20,16,31,0.55); max-width: 560px; margin: 0 auto; }

/* ============ TOC — notebook/khata styling ============ */
.toc {
  padding: 76px 0 88px;
  background:
    linear-gradient(rgba(20,16,31,0.09) 1px, transparent 1px);
  background-size: 100% 44px;
  position: relative;
}

.toc::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(50% - 400px);
  width: 2px;
  background: rgba(226, 19, 110, 0.35);
}

@media (max-width: 900px) { .toc::before { left: 24px; } }

.toc-list {
  max-width: 800px;
  margin: 0 auto;
}

.toc-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 11px 4px 11px 28px;
}

.toc-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  flex-shrink: 0;
  width: 34px;
}

.toc-item h3 { font-size: 1.02rem; font-weight: 600; display: inline; }
.toc-item .pages { font-family: var(--font-mono); font-size: 0.8rem; color: rgba(20,16,31,0.55); white-space: nowrap; margin-left: auto; padding-left: 12px; }

/* ============ Author ============ */
.author {
  padding: 64px 0;
}

.author-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 32px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.author-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
}

.author-card h3 { margin-bottom: 8px; font-size: 1.1rem; }

@media (max-width: 560px) {
  .author-card { flex-direction: column; align-items: center; text-align: center; }
}

/* ============ Payment ============ */
.payment {
  padding: 72px 0 88px;
  background: var(--purple);
  color: var(--white);
}

.payment .eyebrow { background: var(--green); color: var(--ink); }
.payment h2 { color: var(--white); }
.payment .section-lead { color: rgba(255,255,255,0.8); }

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 44px 0 40px;
}

@media (max-width: 900px) {
  .receipt-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

.receipt {
  background: var(--cream);
  color: var(--ink);
  border: var(--border);
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: var(--shadow-hard);
}

.receipt-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 5px 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  color: var(--white);
  margin-bottom: 16px;
}

.receipt-bkash .receipt-badge { background: #E2136E; }
.receipt-nagad .receipt-badge { background: #EC6608; }
.receipt-rocket .receipt-badge { background: #8C3494; }

.receipt-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(20,16,31,0.6); margin-bottom: 4px; }

.receipt-number {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px dashed rgba(20,16,31,0.25);
}

.copy-btn {
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  font-family: var(--font-body);
}
.copy-btn:hover { background: var(--ink); color: var(--cream); }
.copy-btn.copied { background: var(--green); color: var(--ink); border-color: var(--ink); }

.receipt-type { font-size: 0.85rem; color: rgba(20,16,31,0.7); }
.receipt-type strong { color: var(--ink); }

.steps {
  max-width: 640px;
  margin: 0 auto 44px;
  display: grid;
  gap: 16px;
}

.step { display: flex; gap: 16px; align-items: flex-start; }

.step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.step p { color: rgba(255,255,255,0.9); }
.step strong { color: var(--white); }

.payment-cta { text-align: center; }
.payment-note { margin-top: 16px; font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* ============ FAQ ============ */
.faq { padding: 72px 0 88px; }

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border: var(--border);
  border-radius: 10px;
  margin-bottom: 14px;
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}

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

.faq-icon { flex-shrink: 0; font-size: 1.1rem; color: var(--purple); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { padding: 0 20px 18px; color: rgba(20,16,31,0.75); }

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 32px 0;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a { color: var(--green-soft); }

/* ============ Sticky mobile bar ============ */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--white);
  border-top: 3px solid var(--ink);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-bar .now { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.sticky-bar .was { font-size: 0.72rem; color: rgba(20,16,31,0.6); text-decoration: line-through; display: block; }

@media (min-width: 900px) { .sticky-bar { display: none; } }
@media (max-width: 899px) { body.has-sticky-bar { padding-bottom: 78px; } }
