/* ============================================================
   Vishav Book Publication — Theme stylesheet
   Glassmorphism landing page (pure CSS, no Tailwind).
   ============================================================ */

:root {
  --radius: 1rem;
  --background: oklch(0.985 0.012 90);
  --foreground: oklch(0.18 0.03 250);
  --card: #ffffff;
  --muted: oklch(0.94 0.015 90);
  --muted-foreground: oklch(0.45 0.02 250);
  --secondary: oklch(0.96 0.02 90);
  --accent: oklch(0.93 0.04 145);
  --gold: oklch(0.78 0.13 78);
  --gold-foreground: oklch(0.2 0.04 60);
  --ink: oklch(0.16 0.025 250);
  --cream: oklch(0.985 0.012 90);
  --success: oklch(0.55 0.12 150);
  --success-foreground: oklch(0.985 0.012 90);
  --border: oklch(0.9 0.015 90);
  --font-display: "Fraunces","Playfair Display",Georgia,serif;
  --font-sans: "Inter",ui-sans-serif,system-ui,sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
em { font-style: italic; font-weight: 500; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 6rem 1rem; }
.center { text-align: center; }
.center-row { justify-content: center; }
.text-gold { color: var(--gold); }
.i-gold { color: var(--gold); }
.i-success { color: var(--success); }
.i-inline { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; margin-left: 2px; fill: currentColor; }
svg.icon, svg { flex: none; }

/* ===== Glass ===== */
.glass {
  position: relative;
  background: color-mix(in oklab, var(--cream) 55%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid color-mix(in oklab, var(--cream) 70%, transparent);
  box-shadow:
    inset 0 1px 0 0 rgba(255,255,255,0.6),
    0 20px 50px -20px rgba(40,40,80,0.25);
  overflow: hidden;
}
.glass-dark {
  position: relative;
  background: color-mix(in oklab, var(--ink) 55%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1px 0 0 rgba(255,255,255,0.12),
    0 20px 50px -20px rgba(0,0,0,0.5);
  overflow: hidden;
  color: var(--cream);
}
.glass-shine::after {
  content: "";
  position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  pointer-events: none;
  animation: glass-shine 5s ease-in-out infinite;
}
@keyframes glass-shine {
  0% { transform: translateX(-120%) skewX(-15deg); }
  60%, 100% { transform: translateX(220%) skewX(-15deg); }
}
@keyframes blob-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.08); }
  66% { transform: translate(-20px,25px) scale(0.95); }
}
.blob { position: absolute; border-radius: 9999px; filter: blur(60px); pointer-events: none; z-index: 0; animation: blob-drift 18s ease-in-out infinite; }
@keyframes float-y { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }
.animate-float { animation: float-y 6s ease-in-out infinite; }

/* ===== TopBar ===== */
.topbar { background: var(--ink); color: var(--cream); font-size: 12px; }
.topbar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: .5rem 1rem; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .35rem; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 14px; height: 14px; }

/* ===== Nav ===== */
.site-nav { position: sticky; top: 0; z-index: 40; border-radius: 0; border-left: 0; border-right: 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand-logo { display: inline-grid; place-items: center; height: 44px; width: 44px; border-radius: 12px; background: var(--ink); color: var(--cream); }
.brand-logo svg { width: 20px; height: 20px; }
.brand-name { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.brand-meta { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-foreground); }
.primary-nav { display: none; gap: 2rem; font-size: .9rem; font-weight: 500; }
.primary-nav a { color: rgba(20,20,40,.8); }
.primary-nav a:hover { color: var(--foreground); }
@media (min-width: 768px) { .primary-nav { display: inline-flex; } }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.4rem; border-radius: 9999px; font-size: .9rem; font-weight: 600; transition: all .2s ease; border: 0; cursor: pointer; }
.btn-lg { padding: 1rem 2rem; }
.btn svg { width: 16px; height: 16px; }
.btn-ink { background: var(--ink); color: var(--cream); box-shadow: 0 12px 24px -10px rgba(20,20,60,.4); }
.btn-ink:hover { background: oklch(0.22 0.025 250); }
.btn-gold { background: var(--gold); color: var(--gold-foreground); box-shadow: 0 12px 24px -10px rgba(200,140,30,.4); }
.btn-gold:hover { filter: brightness(.96); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: rgba(245,245,235,.9); }
.btn-outline-cream { color: var(--cream); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, oklch(0.95 0.05 90), transparent 60%),
    radial-gradient(circle at 80% 60%, oklch(0.94 0.04 145), transparent 55%);
}
.blob-1 { top: -6rem; left: -5rem; width: 20rem; height: 20rem; background: color-mix(in oklab, var(--gold) 35%, transparent); }
.blob-2 { top: 10rem; right: 0; width: 24rem; height: 24rem; background: color-mix(in oklab, var(--accent) 50%, transparent); animation-delay: -6s; }
.hero-grid { display: grid; gap: 3rem; align-items: center; padding: 5rem 1rem; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; padding: 7rem 1rem; } }
.display { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 600; line-height: 1.05; margin-top: 1.5rem; text-wrap: balance; }
.lead { font-size: 1.05rem; color: var(--muted-foreground); margin-top: 1.5rem; max-width: 36rem; }
.badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem; border-radius: 9999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border: 1px solid; }
.badge-success { color: var(--success); background: color-mix(in oklab, var(--success) 10%, transparent); border-color: color-mix(in oklab, var(--success) 30%, transparent); }
.badge-success .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--success); }
.badge-gold { color: var(--gold); background: color-mix(in oklab, var(--gold) 10%, transparent); border-color: color-mix(in oklab, var(--gold) 30%, transparent); }
.pills { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 9999px; font-size: 12px; font-weight: 500; color: rgba(20,20,40,.8); }
.pill svg { width: 14px; height: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .stats { gap: 1rem; } }
.stat { border-radius: 1rem; padding: 1rem; }
.stat-ink { background: var(--ink); color: var(--cream); }
.stat-success { background: var(--success); color: var(--success-foreground); }
.stat-gold { background: var(--gold); color: var(--gold-foreground); }
.stat-v { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.stat-l { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; margin-top: .25rem; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
/* Hero art */
.hero-art { position: relative; aspect-ratio: 4/5; width: 100%; }
.card-tilt-1 { position: absolute; right: 0; top: 0; height: 78%; width: 88%; border-radius: 1.5rem; transform: rotate(3deg); }
.card-tilt-1 img { height: 100%; width: 100%; object-fit: cover; }
.chip { position: absolute; left: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .75rem; border-radius: 9999px; font-size: 11px; font-weight: 600; }
.chip svg { width: 12px; height: 12px; }
.chip-dark { background: rgba(20,20,40,.9); color: var(--cream); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.chip-star { position: absolute; right: 1rem; top: 1rem; display: grid; place-items: center; height: 40px; width: 40px; border-radius: 9999px; background: var(--gold); color: var(--gold-foreground); }
.chip-star svg { width: 18px; height: 18px; fill: currentColor; }
.card-tilt-2 { position: absolute; bottom: 0; left: 0; height: 58%; width: 70%; border-radius: 1.5rem; transform: rotate(-3deg); }
.card-tilt-2 img { height: 100%; width: 100%; object-fit: cover; }
.card-floating { position: absolute; bottom: -1rem; right: .5rem; display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-radius: 1rem; }
.ic-bubble { display: grid; place-items: center; height: 36px; width: 36px; border-radius: .75rem; background: color-mix(in oklab, var(--success) 15%, transparent); color: var(--success); }
.ic-bubble-dark { background: var(--ink); color: var(--cream); height: 48px; width: 48px; border-radius: 1rem; transition: background .2s ease; }
.feature:hover .ic-bubble-dark { background: var(--gold); color: var(--gold-foreground); }
.sm-title { display: block; font-size: 14px; font-weight: 600; }
.sm-sub { display: block; font-size: 12px; color: var(--muted-foreground); }

/* ===== Marquee ===== */
.marquee { overflow: hidden; background: var(--ink); color: var(--cream); padding: 1.25rem 0; border-top: 1px solid rgba(0,0,0,.3); border-bottom: 1px solid rgba(0,0,0,.3); }
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: marquee 35s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: .75rem; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.marquee-track svg { width: 14px; height: 14px; fill: currentColor; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ===== Eyebrow & headings ===== */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: var(--gold); }
.eyebrow span { width: 32px; height: 1px; background: var(--gold); }
.section h2, .features h2, .pricing h2, .faq h2, .final-cta h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; margin-top: 1rem; text-wrap: balance; }
.center-narrow { max-width: 38rem; margin: 0 auto; text-align: center; }
.center-narrow p { color: var(--muted-foreground); margin-top: 1rem; }
.center-dark p { color: rgba(245,245,235,.7); }

/* ===== About ===== */
.about-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-art { position: relative; }
.img-frame { overflow: hidden; border-radius: 1.5rem; border: 1px solid var(--border); box-shadow: 0 20px 50px -20px rgba(40,40,80,.3); }
.cert { position: absolute; right: -1rem; bottom: -2rem; width: 11rem; transform: rotate(6deg); border-radius: 1rem; padding: .75rem; }
.cert img { height: 7rem; width: 100%; object-fit: cover; border-radius: .75rem; }
.cert p { text-align: center; font-size: 12px; font-weight: 600; margin: .5rem 0 0; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: .75rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; color: rgba(20,20,40,.85); }
.checklist .tick { display: grid; place-items: center; height: 20px; width: 20px; border-radius: 9999px; background: color-mix(in oklab, var(--success) 15%, transparent); color: var(--success); margin-top: 2px; }
.checklist .tick svg { width: 12px; height: 12px; }
.mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 2rem; }
@media (min-width: 640px) { .mini-stats { grid-template-columns: repeat(4, 1fr); } }
.mini { padding: 1rem; border-radius: 1rem; text-align: center; }
.mini .v { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.mini .l { font-size: 12px; color: var(--muted-foreground); }

/* ===== Features ===== */
.features { position: relative; overflow: hidden; background: color-mix(in oklab, var(--secondary) 60%, transparent); padding: 6rem 1rem; }
.blob-feature { top: -2rem; left: 33%; width: 18rem; height: 18rem; background: color-mix(in oklab, var(--gold) 25%, transparent); }
.feature-grid { position: relative; display: grid; gap: 1.25rem; margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3,1fr); } }
.feature { padding: 1.75rem; border-radius: 1.5rem; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 25px 60px -25px rgba(40,40,80,.4); }
.feature h3 { font-size: 1.2rem; font-weight: 600; margin-top: 1.25rem; }
.feature p { font-size: 14px; color: var(--muted-foreground); margin-top: .5rem; }

/* ===== Process ===== */
.process-grid { display: grid; gap: 1.5rem; margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(3,1fr); } }
.step { border-radius: 1.5rem; }
.step-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-n { position: absolute; right: 1rem; top: 1rem; display: grid; place-items: center; height: 56px; width: 56px; border-radius: 1rem; background: var(--gold); color: var(--gold-foreground); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; box-shadow: 0 10px 25px -10px rgba(200,140,30,.5); }
.step-body { padding: 1.75rem; }
.step-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.step-body h3 { font-size: 1.5rem; font-weight: 600; margin-top: .5rem; }
.step-body p { color: var(--muted-foreground); margin-top: .75rem; font-size: 14px; }

/* ===== Pricing ===== */
.pricing { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); padding: 6rem 1rem; }
.blob-p1 { top: 5rem; left: -5rem; width: 20rem; height: 20rem; background: color-mix(in oklab, var(--gold) 25%, transparent); }
.blob-p2 { bottom: 2rem; right: 0; width: 24rem; height: 24rem; background: color-mix(in oklab, var(--success) 18%, transparent); animation-delay: -8s; }
.pricing .eyebrow { color: var(--gold); }
.pricing-grid { position: relative; display: grid; gap: 1.5rem; margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3,1fr); } }
.plan { padding: 2rem; border-radius: 1.5rem; position: relative; }
.plan.is-popular { border-color: color-mix(in oklab, var(--gold) 60%, transparent); box-shadow: 0 30px 60px -30px rgba(200,140,30,.4); }
@media (min-width: 768px) { .plan.is-popular { transform: translateY(-1rem); } }
.popular-tag { position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--gold-foreground); padding: .25rem 1rem; border-radius: 9999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.plan-name { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.plan-price { margin-top: .75rem; display: flex; align-items: baseline; gap: .5rem; }
.plan-price .amt { font-family: var(--font-display); font-size: 3rem; font-weight: 600; }
.plan-price .per { font-size: 14px; color: rgba(245,245,235,.6); }
.plan-sub { font-size: 14px; color: rgba(245,245,235,.6); margin-top: .25rem; }
.plan-feats { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-direction: column; gap: .75rem; font-size: 14px; }
.plan-feats li { display: flex; gap: .6rem; align-items: flex-start; }
.plan-feats svg { width: 16px; height: 16px; margin-top: 2px; }
.plan-deposit { margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; border-radius: .75rem; border: 1px solid rgba(245,245,235,.1); background: rgba(245,245,235,.04); font-size: 12px; }
.plan-deposit span:last-child { font-weight: 600; }
.plan .btn { margin-top: 1.5rem; width: 100%; justify-content: center; }
.pricing-bullets { margin-top: 3rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; font-size: 12px; font-weight: 500; color: rgba(245,245,235,.7); }
.pricing-bullets span { display: inline-flex; align-items: center; gap: .5rem; }
.pricing-bullets svg { width: 14px; height: 14px; }

/* ===== Reviews ===== */
.review-grid { display: grid; gap: 1.25rem; margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .review-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .review-grid { grid-template-columns: repeat(3,1fr); } }
.review { padding: 1.75rem; border-radius: 1.5rem; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.review blockquote { margin: 1rem 0 0; font-family: var(--font-display); font-size: 1.05rem; font-style: italic; line-height: 1.55; color: rgba(20,20,40,.9); }
.review figcaption { margin-top: 1.5rem; display: flex; align-items: center; gap: .75rem; }
.review figcaption img { width: 44px; height: 44px; border-radius: 9999px; object-fit: cover; box-shadow: 0 0 0 2px color-mix(in oklab, var(--gold) 40%, transparent); }
.rev-name { display: block; font-size: 14px; font-weight: 600; }
.rev-meta { display: block; font-size: 12px; color: var(--muted-foreground); }

/* ===== FAQ ===== */
.faq { background: color-mix(in oklab, var(--secondary) 60%, transparent); padding: 6rem 1rem; }
.faq-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 1fr 1.4fr; } }
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item { border-radius: 1rem; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .toggle { display: grid; place-items: center; height: 32px; width: 32px; border-radius: 9999px; background: var(--ink); color: var(--cream); }
.faq-item .toggle svg { width: 14px; height: 14px; }
.faq-item[open] .toggle svg path:last-child { display: none; } /* plus -> minus visual hint */
.faq-a { padding: 0 1.5rem 1.5rem; font-size: 14px; color: var(--muted-foreground); }

/* ===== Final CTA ===== */
.final-cta { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); padding: 6rem 1rem; }
.final-bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 30% 30%, oklch(0.45 0.12 78 / 0.25), transparent 60%),
    radial-gradient(circle at 75% 70%, oklch(0.45 0.12 145 / 0.18), transparent 55%);
}
.blob-cta { top: 33%; left: 50%; transform: translateX(-50%); width: 20rem; height: 20rem; background: color-mix(in oklab, var(--gold) 25%, transparent); }
.final-cta .container { position: relative; max-width: 64rem; }
.final-cta h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-top: 1.5rem; }
.final-cta p { color: rgba(245,245,235,.75); max-width: 36rem; margin: 1.25rem auto 0; }
.cta-stats { margin: 3rem auto 0; display: grid; gap: .75rem; grid-template-columns: repeat(2,1fr); max-width: 48rem; }
@media (min-width: 640px) { .cta-stats { grid-template-columns: repeat(4,1fr); } }
.cta-stat { padding: 1rem; border-radius: 1rem; text-align: center; }
.cta-stat .v { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--gold); }
.cta-stat .l { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(245,245,235,.7); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--background); padding: 3rem 1rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; } }
.footer-nav { display: flex; gap: 1.5rem; font-size: 14px; color: var(--muted-foreground); }
.footer-nav a:hover { color: var(--foreground); }
