/* ==========================================================================
   Zoozoo.in — Design System
   ========================================================================== */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #8b5cf6;
  --primary-50: #eef2ff;
  --primary-100: #e0e7ff;
  --accent-amber: #f59e0b;
  --accent-green: #10b981;
  --accent-pink: #ec4899;
  --accent-teal: #14b8a6;
  --accent-blue: #3b82f6;

  --ink-900: #111827;
  --ink-700: #374151;
  --ink-500: #6b7280;
  --ink-300: #d1d5db;
  --ink-100: #f3f4f6;
  --ink-50: #f9fafb;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(17,24,39,.06);
  --shadow-md: 0 12px 32px rgba(17,24,39,.08);
  --shadow-glow: 0 16px 40px rgba(99,102,241,.25);

  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink-900);
  font-weight: 700;
  letter-spacing: -.02em;
}

p { line-height: 1.7; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--ink-900); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
@media (max-width: 767px) {
  .section { padding: 3.25rem 0; }
  .section-sm { padding: 2.25rem 0; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--primary);
  background: var(--primary-50); border: 1px solid var(--primary-100);
  padding: .4rem .9rem; border-radius: 50px; margin-bottom: 1rem;
}

.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .75rem; }
.section-sub { color: var(--ink-500); font-size: 1.05rem; max-width: 640px; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Buttons ── */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: var(--radius-sm); padding: .7rem 1.4rem; transition: .18s; }
.btn-cta, .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); border: none; color: #fff;
  box-shadow: 0 8px 20px rgba(99,102,241,.35);
}
.btn-cta:hover, .btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(99,102,241,.45); }
.btn-login { background: transparent; border: 1.5px solid var(--ink-300); color: var(--ink-700); }
.btn-login:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-light-2 { background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-light-2:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-lg { padding: .9rem 1.9rem; font-size: 1.02rem; }

/* ── Header / Nav ── */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ink-100); }
.navbar { padding: .85rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .55rem; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; font-size: 1rem;
  box-shadow: 0 6px 16px rgba(99,102,241,.35);
}
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--ink-900); }
.brand-dot { color: var(--primary); }
.brand-logo-img { height: 38px; width: auto; display: block; }
.footer-logo-img { height: 42px; }
.navbar-nav .nav-link { font-weight: 600; color: var(--ink-700); padding: .5rem 1rem; border-radius: 8px; }
.navbar-nav .nav-link:hover { color: var(--primary); }
.navbar-nav .nav-link.active { color: var(--primary); background: var(--primary-50); }
.navbar-toggler { border: none; box-shadow: none !important; font-size: 1.2rem; color: var(--ink-900); }
.nav-cta { margin-top: .5rem; }
@media (min-width: 992px) { .nav-cta { margin-top: 0; } }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 5rem; }
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%; width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,.14) 0%, transparent 70%); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -25%; left: -12%; width: 45vw; height: 45vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(236,72,153,.10) 0%, transparent 70%); pointer-events: none;
}
.hero-title { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; margin-bottom: 1.25rem; }
.hero-sub { font-size: 1.12rem; color: var(--ink-500); max-width: 560px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-trust { display: flex; gap: 1.5rem; flex-wrap: wrap; color: var(--ink-500); font-size: .9rem; }
.hero-trust span { display: flex; align-items: center; gap: .4rem; }
.hero-trust i { color: var(--accent-green); }

.hero-visual { position: relative; }
.hero-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--ink-100);
  padding: 1.75rem; position: relative; z-index: 2;
}
.hero-badge {
  position: absolute; z-index: 3; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .7rem; border: 1px solid var(--ink-100);
}
.hero-badge .ico { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; flex-shrink: 0; }
.hero-badge-1 { top: -1.25rem; left: -1.5rem; }
.hero-badge-2 { bottom: -1.25rem; right: -1.25rem; }
@media (max-width: 991px) { .hero-badge { position: static; margin-top: 1rem; display: inline-flex; } }

.hero-progress-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.hero-progress-row:last-child { margin-bottom: 0; }
.hero-progress-row .subj { width: 92px; font-weight: 600; font-size: .82rem; color: var(--ink-700); flex-shrink: 0; }
.hero-bar-track { flex: 1; height: 8px; border-radius: 6px; background: var(--ink-100); overflow: hidden; }
.hero-bar-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.hero-progress-row .pct { width: 38px; text-align: right; font-size: .78rem; font-weight: 700; color: var(--ink-500); }

/* ── Logo strip ── */
.trust-strip { padding: 1.5rem 0; border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.trust-strip .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); font-weight: 600; }
.trust-strip .items { display: flex; gap: 2.25rem; flex-wrap: wrap; align-items: center; color: var(--ink-500); font-weight: 600; }
.trust-strip .items i { color: var(--primary); margin-right: .4rem; }

/* ── How it works ── */
.flow-wrap { display: flex; align-items: stretch; gap: 1rem; flex-wrap: wrap; }
.flow-card {
  flex: 1 1 220px; background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm); position: relative; transition: .2s;
}
.flow-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.flow-num {
  position: absolute; top: -14px; left: 1.5rem; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; font-weight: 800;
  font-family: var(--font-head); font-size: .85rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(99,102,241,.4);
}
.flow-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; margin: .5rem 0 1.1rem; }
.flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--ink-300); font-size: 1.3rem; flex: 0 0 auto; }
@media (max-width: 991px) { .flow-arrow { display: none; } }

/* ── Feature / subject cards ── */
.feature-card {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-md); padding: 1.75rem;
  height: 100%; box-shadow: var(--shadow-sm); transition: .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-100); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; margin-bottom: 1.1rem; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.feature-card p { color: var(--ink-500); font-size: .93rem; margin: 0; }

.subject-card {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-md); padding: 1.5rem;
  text-align: center; height: 100%; box-shadow: var(--shadow-sm); transition: .2s;
}
.subject-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.subject-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; margin: 0 auto 1rem; }
.subject-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.subject-card p { color: var(--ink-500); font-size: .85rem; margin: 0; }

/* ── Icon color variants ── */
.bg-v1 { background: linear-gradient(135deg,#6366f1,#8b5cf6); }
.bg-v2 { background: linear-gradient(135deg,#3b82f6,#06b6d4); }
.bg-v3 { background: linear-gradient(135deg,#10b981,#14b8a6); }
.bg-v4 { background: linear-gradient(135deg,#f59e0b,#f97316); }
.bg-v5 { background: linear-gradient(135deg,#ec4899,#f472b6); }
.bg-v6 { background: linear-gradient(135deg,#8b5cf6,#a855f7); }
.bg-v7 { background: linear-gradient(135deg,#14b8a6,#0ea5e9); }
.bg-v8 { background: linear-gradient(135deg,#ef4444,#f59e0b); }
.bg-v9 { background: linear-gradient(135deg,#6366f1,#3b82f6); }
.bg-v10{ background: linear-gradient(135deg,#f97316,#eab308); }

/* ── Sample exam table ── */
.exam-table-card { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.exam-table { width: 100%; border-collapse: collapse; }
.exam-table th { background: var(--ink-50); text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; color: var(--ink-500); padding: .9rem 1.25rem; text-align: left; }
.exam-table td { padding: .85rem 1.25rem; border-top: 1px solid var(--ink-100); font-weight: 600; color: var(--ink-700); }
.exam-table tr.total-row td { background: var(--primary-50); font-weight: 800; color: var(--primary-dark); }
.exam-table td.num, .exam-table th.num { text-align: right; }
.exam-stat { text-align: center; padding: 1.25rem 1rem; }
.exam-stat .val { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--primary); }
.exam-stat .lbl { color: var(--ink-500); font-size: .82rem; }

/* ── Pricing ── */
.pricing-card {
  background: linear-gradient(180deg,#fff,#fbfbff); border: 2px solid var(--primary-100); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-glow); max-width: 460px; margin: 0 auto; position: relative;
}
.pricing-price { font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; color: var(--ink-900); line-height: 1; }
.pricing-price small { font-size: 1rem; font-weight: 600; color: var(--ink-500); }
.pricing-list { list-style: none; padding: 0; margin: 1.75rem 0; }
.pricing-list li { display: flex; align-items: flex-start; gap: .7rem; padding: .55rem 0; font-weight: 500; color: var(--ink-700); }
.pricing-list i { color: var(--accent-green); margin-top: .2rem; }

/* ── Testimonial-style parent quote / progress mock ── */
.stat-pill { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm); }
.stat-pill .num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--primary); }
.stat-pill .lbl { color: var(--ink-500); font-size: .82rem; }

/* ── CTA band ── */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: var(--radius-lg); padding: 3.5rem 2.5rem; color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.15), transparent 50%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }

/* ── Accordion (FAQ) ── */
.accordion-item { border: 1px solid var(--ink-100); border-radius: var(--radius-sm) !important; margin-bottom: .75rem; overflow: hidden; }
.accordion-button { font-family: var(--font-head); font-weight: 600; color: var(--ink-900); }
.accordion-button:not(.collapsed) { color: var(--primary); background: var(--primary-50); }
.accordion-button:focus { box-shadow: none; }
.accordion-button::after { flex-shrink: 0; }

/* ── Forms (login/register/contact) ── */
.auth-wrap { min-height: calc(100vh - 350px); display: flex; align-items: center; padding: 3rem 0; }
.auth-card { max-width: 440px; margin: 0 auto; width: 100%; background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2.5rem; }
.auth-card-wide { max-width: 680px; }
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-section-title { font-size: 1.05rem; font-weight: 700; color: var(--ink-800, #1f2937); margin-bottom: 1rem; }
.weakness-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.weakness-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border: 1px solid var(--ink-100); border-radius: 999px; cursor: pointer; font-size: .9rem; transition: .15s; }
.weakness-chip input { accent-color: var(--accent-indigo, #4f46e5); }
.weakness-chip:has(input:checked) { background: var(--accent-indigo, #4f46e5); border-color: var(--accent-indigo, #4f46e5); color: #fff; }

.payment-badge { width: 56px; height: 56px; margin: 0 auto .85rem; border-radius: 50%; background: linear-gradient(135deg,#10b981,#14b8a6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.payment-amount-box { background: linear-gradient(135deg, var(--accent-indigo, #4f46e5), #a855f7); color: #fff; border-radius: 14px; padding: 1.25rem; text-align: center; margin: 1rem 0; }
.payment-amount-box .amount { font-size: 2rem; font-weight: 800; }
.upi-id-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--ink-50, #f8f9fd); border: 1px solid var(--ink-100); border-radius: 10px; padding: .75rem 1rem; }

.approved-confetti { position: relative; width: 90px; height: 90px; margin: 0 auto; }
.approved-badge { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg,#10b981,#14b8a6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 8px 24px rgba(16,185,129,.35); animation: approvedPop .5s cubic-bezier(.34,1.56,.64,1); }
.approved-confetti span { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-radius: 2px; opacity: 0; animation: approvedConfetti 1.1s ease-out .1s forwards; }
.approved-confetti span:nth-child(1) { background: #f59e0b; transform: rotate(0deg); animation-delay: .05s; }
.approved-confetti span:nth-child(2) { background: #4f46e5; transform: rotate(60deg); animation-delay: .12s; }
.approved-confetti span:nth-child(3) { background: #ef4444; transform: rotate(120deg); animation-delay: .08s; }
.approved-confetti span:nth-child(4) { background: #14b8a6; transform: rotate(180deg); animation-delay: .18s; }
.approved-confetti span:nth-child(5) { background: #a855f7; transform: rotate(240deg); animation-delay: .1s; }
.approved-confetti span:nth-child(6) { background: #22c55e; transform: rotate(300deg); animation-delay: .15s; }
@keyframes approvedPop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes approvedConfetti {
  0%   { opacity: 1; transform: rotate(var(--r,0deg)) translate(0,0) scale(1); }
  100% { opacity: 0; transform: rotate(var(--r,0deg)) translate(0,-55px) scale(.4); }
}
.approved-confetti span:nth-child(1) { --r: 0deg; }
.approved-confetti span:nth-child(2) { --r: 60deg; }
.approved-confetti span:nth-child(3) { --r: 120deg; }
.approved-confetti span:nth-child(4) { --r: 180deg; }
.approved-confetti span:nth-child(5) { --r: 240deg; }
.approved-confetti span:nth-child(6) { --r: 300deg; }
.form-label { font-weight: 600; color: var(--ink-700); font-size: .9rem; }
.form-control { border-radius: var(--radius-sm); border: 1.5px solid var(--ink-300); padding: .65rem .9rem; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }

/* ── Footer ── */
.site-footer { background: var(--ink-900); color: var(--ink-300); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.25rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 767px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.site-footer .brand-text { color: #fff; }
.footer-tagline { color: var(--ink-500); margin-top: .75rem; font-size: .9rem; max-width: 260px; }
.footer-col h6 { color: #fff; font-family: var(--font-head); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: var(--ink-300); font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.5rem; font-size: .82rem; color: var(--ink-500); }

/* ── Reveal-on-scroll (subtle) ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Generic page header (About / legal pages) ── */
.page-hero { padding: 3.5rem 0 2.5rem; background: linear-gradient(180deg, var(--primary-50), #fff); text-align: center; }
.page-hero h1 { margin-bottom: .5rem; }
.legal-content h2 { font-size: 1.2rem; margin-top: 2rem; }
.legal-content p, .legal-content li { color: var(--ink-700); }
