/*
Theme Name: Vishav Book Publication
Theme URI: https://vishavbook.in
Author: Vishav Book Publication
Description: Landing page theme for Vishav Book Publication — handwriting work from home. Navy, blue and gold palette with scroll animations and Telegram CTAs.
Version: 1.0.0
License: GPLv2 or later
Text Domain: vishav-book
*/

:root {
  --navy: #131f38;
  --navy-deep: #0d1728;
  --blue: #2f5fa8;
  --blue-soft: #6f93cc;
  --gold: #d5b471;
  --mint: #3aa889;
  --bg: #f4f6fa;
  --secondary: #e7ecf5;
  --card: #ffffff;
  --muted: #6a7488;
  --border: #dfe4ee;
  --radius: 1rem;
  --shadow-soft: 0 20px 50px -25px rgba(19, 31, 56, 0.4);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}
h1, h2, h3, .display { font-family: "Space Grotesk", system-ui, sans-serif; letter-spacing: -0.02em; margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--blue); }
.eyebrow.gold { color: var(--gold); }
h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 14px; }
.lead { color: var(--muted); margin-top: 14px; max-width: 620px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 15px 28px; font-weight: 700; font-size: 14px; transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }

/* top bar + header */
.topbar { background: var(--navy); color: #fff; font-size: 11px; letter-spacing: .04em; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 44px; height: 44px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.brand strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 17px; }
.brand span { display: block; font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.main-nav { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.main-nav a { color: var(--muted); }
.main-nav a:hover { color: var(--blue); }

/* hero */
.hero { display: grid; gap: 24px; grid-template-columns: 1.15fr 1fr; padding: 40px 0; }
.hero-card { background: var(--secondary); border-radius: 28px; padding: 48px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--blue); }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); text-transform: uppercase; line-height: .96; margin-top: 24px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.chip { background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 12px; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-side { display: grid; gap: 24px; }
.hero-img { position: relative; border-radius: 28px; overflow: hidden; }
.hero-img img { height: 380px; width: 100%; object-fit: cover; transition: transform .7s ease; }
.hero-img:hover img { transform: scale(1.05); }
.badge { position: absolute; top: 16px; left: 16px; background: var(--navy); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 11px; font-weight: 700; }
.star-badge { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 999px; background: var(--gold); color: var(--navy); display: grid; place-items: center; animation: float 6s ease-in-out infinite; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat { border-radius: 28px; padding: 26px; color: #fff; }
.stat.navy { background: var(--navy); }
.stat.blue { background: linear-gradient(135deg, var(--blue), var(--blue-soft)); }
.stat b { font-family: "Space Grotesk", sans-serif; font-size: 30px; display: block; }
.stat span { font-size: 11px; letter-spacing: .18em; opacity: .78; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 48px; }
.trio .box { background: var(--secondary); border-radius: 28px; padding: 28px; display: flex; align-items: center; gap: 16px; }
.trio .gold { background: var(--gold); border-radius: 28px; padding: 28px; }
.trio img { border-radius: 28px; height: 100%; min-height: 180px; object-fit: cover; }

/* marquee */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 40px; white-space: nowrap; width: max-content; animation: marquee 28s linear infinite; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.marquee-track span { opacity: .82; }

/* grids */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card { background: var(--card); border-radius: 28px; padding: 28px; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.card .ico { width: 48px; height: 48px; border-radius: 16px; background: var(--secondary); color: var(--blue); display: grid; place-items: center; font-size: 20px; }
.card h3 { margin-top: 18px; font-size: 18px; }
.card p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.bg-secondary { background: var(--secondary); }
.about-media { position: relative; }
.about-media > img { border-radius: 28px; }
.cert { position: absolute; right: 20px; bottom: -32px; width: 176px; background: #fff; padding: 12px; border-radius: 20px; box-shadow: var(--shadow-soft); }
.cert img { height: 128px; object-fit: cover; border-radius: 14px; }
.cert p { text-align: center; font-size: 11px; font-weight: 700; margin: 8px 0 0; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { display: flex; gap: 12px; font-size: 14px; margin-bottom: 12px; }
.ticks li:before { content: "✓"; color: var(--mint); font-weight: 700; }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.mini-stats div { background: var(--secondary); border-radius: 18px; padding: 16px; text-align: center; }
.mini-stats b { font-family: "Space Grotesk", sans-serif; display: block; font-size: 20px; }
.mini-stats span { font-size: 11px; color: var(--muted); }

/* steps */
.step { background: #fff; border-radius: 28px; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.step .media { position: relative; }
.step .media img { height: 208px; width: 100%; object-fit: cover; }
.step .num { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 999px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.step .body { padding: 28px; }
.step .body p.k { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--blue); }
.center { text-align: center; margin-top: 40px; }

/* pricing */
.pricing { background: var(--navy); color: #fff; }
.pricing .lead { color: rgba(255,255,255,.75); }
.plan { border-radius: 28px; padding: 32px; position: relative; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.plan.popular { background: #fff; color: var(--navy); box-shadow: none; }
.plan .tag { position: absolute; top: -12px; right: 24px; background: var(--gold); color: var(--navy); border-radius: 999px; padding: 5px 12px; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.plan .price { font-family: "Space Grotesk", sans-serif; font-size: 38px; font-weight: 700; margin-top: 12px; }
.plan .price small { font-size: 15px; opacity: .6; font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 24px 0; font-size: 14px; }
.plan ul li { display: flex; gap: 12px; margin-bottom: 12px; }
.plan ul li:before { content: "✓"; color: var(--gold); font-weight: 700; }
.plan.popular ul li:before { color: var(--mint); }
.plan .deposit { display: flex; justify-content: space-between; background: rgba(0,0,0,.12); border-radius: 16px; padding: 12px 16px; font-size: 14px; }
.plan .btn { width: 100%; justify-content: center; margin-top: 24px; }
.assurance { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 40px; font-size: 12px; opacity: .8; }

/* testimonials */
.quote { background: #fff; border-radius: 28px; padding: 28px; transition: transform .35s ease, box-shadow .35s ease; }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.quote .stars { color: var(--gold); letter-spacing: 2px; }
.quote blockquote { margin: 16px 0 0; font-size: 14px; }
.who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.who img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.who b { font-size: 14px; display: block; }
.who span { font-size: 12px; color: var(--muted); }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
details summary { cursor: pointer; font-family: "Space Grotesk", sans-serif; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
details summary::-webkit-details-marker { display: none; }
details summary:after { content: "+"; color: var(--muted); }
details[open] summary:after { content: "–"; }
details p { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

/* cta + footer */
.cta { background: var(--navy); color: #fff; border-radius: 32px; padding: 64px; }
.cta h2 { font-size: clamp(30px, 4.4vw, 46px); }
.cta p { color: rgba(255,255,255,.75); max-width: 620px; }
.cta-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 32px; }
.cta-stats b { font-family: "Space Grotesk", sans-serif; font-size: 24px; display: block; }
.cta-stats span { font-size: 11px; letter-spacing: .18em; opacity: .7; }
.site-footer { background: #fff; border-top: 1px solid var(--border); padding: 40px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }

/* animations */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero, .two-col, .trio, .cards, .stat-grid, .faq-grid, .mini-stats, .cta-stats { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .hero-card, .cta { padding: 32px; }
  .section { padding: 64px 0; }
}
