/* ═══════════════════════════════════════════════
   StudyKit — Shared Stylesheet
   Colors: navy #14306b | blue #1f5fbf | amber #f2a516 | green #16834a
   ═══════════════════════════════════════════════ */

:root {
  --navy:   #14306b;
  --blue:   #1f5fbf;
  --amber:  #f2a516;
  --green:  #16834a;
  --bg:     #f5f7fc;
  --white:  #ffffff;
  --text:   #1a1a2e;
  --muted:  #5c6370;
  --border: #dce3f0;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans Devanagari', 'Mukta', sans-serif;
  font-display: swap;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(24px, 5vw, 42px); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(20px, 3.5vw, 32px); font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(16px, 2.5vw, 22px); font-weight: 600; }
p  { font-size: clamp(15px, 2vw, 17px); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--blue);
  background: #e8eef9;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ── LAYOUT ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 16px; }
.text-center { text-align: center; }
.sub { color: var(--muted); font-size: 15px; max-width: 520px; margin: 10px auto 0; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy);
  padding: 0 16px;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-logo {
  font-size: 20px; font-weight: 800; color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--amber); }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--white); }
.nav-btn {
  background: var(--amber); color: var(--navy) !important;
  font-weight: 700 !important; font-size: 14px !important;
  padding: 8px 18px; border-radius: 8px;
  min-height: 44px; display: flex; align-items: center;
}
@media (max-width: 600px) {
  .nav-links a:not(.nav-btn) { display: none; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700; border-radius: var(--radius);
  min-height: 48px; padding: 12px 24px; cursor: pointer;
  font-size: 16px; border: none; transition: opacity 0.15s;
  font-family: inherit;
}
.btn:hover { opacity: 0.88; }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-blue    { background: var(--blue);  color: var(--white); }
.btn-green   { background: var(--green); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-lg { font-size: 18px; padding: 16px 32px; min-height: 56px; }
.btn-full { width: 100%; }

/* ── CARDS ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(31,95,191,0.1); }
.card-icon { font-size: 28px; margin-bottom: 14px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p  { font-size: 14px; color: var(--muted); }

/* ── BADGE ── */
.badge {
  display: inline-block; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
.badge-green  { background: #d4f0e0; color: var(--green); }
.badge-amber  { background: #fdf0d0; color: #a06000; }
.badge-muted  { background: #e8eaed; color: var(--muted); }

/* ── PRICE BOX ── */
.price-box {
  background: linear-gradient(135deg, #e8eef9, #f5f7fc);
  border: 2px solid var(--blue);
  border-radius: 16px; padding: 32px 24px; text-align: center;
}
.price-main { font-size: 48px; font-weight: 800; color: var(--navy); line-height: 1; }
.price-sub  { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ── FAQ ACCORDION ── */
.faq-item {
  border-bottom: 1px solid var(--border); padding: 0;
}
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--text);
  padding: 16px 0; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; min-height: 44px;
}
.faq-q::after { content: '+'; font-size: 22px; color: var(--blue); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { font-size: 14px; color: var(--muted); line-height: 1.7; padding-bottom: 16px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── BANNER ── */
.banner {
  background: var(--amber); color: var(--navy);
  text-align: center; padding: 10px 16px;
  font-size: 14px; font-weight: 700; line-height: 1.4;
}

/* ── STICKY BUY BAR (mobile) ── */
.sticky-buy {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--navy); padding: 10px 16px;
  display: none;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}
@media (max-width: 768px) { .sticky-buy { display: flex; gap: 12px; align-items: center; } }
.sticky-buy-price { color: var(--amber); font-weight: 800; font-size: 20px; white-space: nowrap; }
.sticky-buy .btn { flex: 1; }

/* ── FOOTER ── */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.7);
  padding: 40px 16px 24px; font-size: 13px;
}
.footer-top {
  display: flex; flex-wrap: wrap; gap: 32px; margin-bottom: 28px;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.footer-logo span { color: var(--amber); }
.footer-links { flex: 2; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 13px; }
.footer-links a:hover { color: var(--white); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 0 0 20px; }
.footer-disclaimer {
  font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6;
  max-width: 780px; margin-bottom: 16px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3d7c 100%);
  color: var(--white); padding: 56px 16px 64px;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero h1 em { color: var(--amber); font-style: normal; }
.hero-sub { font-size: 16px; opacity: 0.88; margin-bottom: 28px; max-width: 560px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── SECTION DIVIDERS ── */
.bg-light { background: var(--bg); }
.bg-navy  { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .sub { color: rgba(255,255,255,0.75); }

/* ── CHECKLIST ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checklist li::before { content: '✅'; flex-shrink: 0; }

/* ── PROBLEM CARDS ── */
.problem-card {
  background: #fff4f4; border: 1px solid #fcd9d9;
  border-radius: var(--radius); padding: 20px;
}
.problem-icon { font-size: 28px; margin-bottom: 10px; }

/* ── PREVIEW GALLERY ── */
.preview-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.preview-img {
  border-radius: 10px; overflow: hidden; border: 1px solid var(--border);
  position: relative;
}
.preview-img img { width: 100%; display: block; }
.preview-blur {
  position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.95));
}

/* ── POLICY PAGES ── */
.policy-content { max-width: 760px; margin: 0 auto; padding: 48px 16px; }
.policy-content h1 { font-size: 28px; margin-bottom: 8px; }
.policy-content .updated { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.policy-content h2 { font-size: 20px; margin: 28px 0 10px; }
.policy-content p, .policy-content li { font-size: 15px; color: #333; margin-bottom: 10px; line-height: 1.7; }
.policy-content ul { padding-left: 20px; }

/* ── 404 ── */
.not-found { text-align: center; padding: 80px 16px; }
.not-found-num { font-size: 96px; font-weight: 800; color: var(--border); line-height: 1; }

/* ── PRODUCT CARD (home) ── */
.product-card {
  border-radius: 16px; overflow: hidden;
  border: 2px solid var(--border); transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 8px 32px rgba(31,95,191,0.12); }
.product-card-body { padding: 24px; }
.product-card-footer { background: var(--bg); padding: 16px 24px; border-top: 1px solid var(--border); }
.coming-soon { opacity: 0.55; pointer-events: none; }

/* ── UTILITIES ── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-24 { margin-bottom: 24px; }
.gap-8  { gap: 8px; }
.flex   { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }

@media (max-width: 480px) {
  section { padding: 40px 16px; }
  .hero { padding: 40px 16px 56px; }
  .price-main { font-size: 40px; }
}
