/* ===========================
   DiagramDidi – style.css
   =========================== */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600;700&family=Caveat:wght@600;700&display=swap');

/* ---- Tokens ---- */
:root {
  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --pink: #EC4899;
  --blue: #3B82F6;
  --ink: #1E1B4B;
  --body: #374151;
  --muted: #6B7280;
  --surface: #F9F8FF;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --grad: linear-gradient(135deg, #7C3AED 0%, #EC4899 50%, #3B82F6 100%);
  --grad-soft: linear-gradient(135deg, #EDE9FE 0%, #FCE7F3 50%, #DBEAFE 100%);
  --shadow-card: 0 4px 24px rgba(124,58,237,0.10);
  --shadow-hover: 0 12px 40px rgba(124,58,237,0.20);
  --radius: 16px;
  --radius-sm: 8px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Utility ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tag {
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-size: 18px;
  color: var(--purple);
  background: #EDE9FE;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 48px;
}
.hidden { display: none !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---- NAV ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--grad);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: white;
  font-weight: 700;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
}
.logo-text span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-weight: 500;
  font-size: 14px;
  color: var(--body);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--purple); background: #EDE9FE; }
.nav-cta { margin-left: 8px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  z-index: 99;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-weight: 500;
  color: var(--body);
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--purple); background: #EDE9FE; }

/* ---- HERO ---- */
.hero {
  background: var(--grad-soft);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(236,72,153,0.10) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid #DDD6FE;
  border-radius: 50px;
  padding: 6px 16px 6px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--purple);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--purple);
}
.stat-label { font-size: 12px; color: var(--muted); font-weight: 500; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notes-mockup {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-hover);
  max-width: 380px;
  width: 100%;
  position: relative;
}
.notes-mockup::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--grad);
  border-radius: 22px;
  z-index: -1;
}
.notes-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px dashed #EDE9FE;
}
.notes-dot { width: 10px; height: 10px; border-radius: 50%; }
.nd1 { background: #EC4899; }
.nd2 { background: #7C3AED; }
.nd3 { background: #3B82F6; }
.notes-title {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.note-line {
  height: 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  background: var(--border);
}
.note-line-purple { background: linear-gradient(90deg, #EDE9FE, #DDD6FE); width: 80%; }
.note-line-pink { background: linear-gradient(90deg, #FCE7F3, #FBCFE8); width: 65%; }
.note-line-blue { background: linear-gradient(90deg, #DBEAFE, #BFDBFE); width: 90%; }
.note-line-short { width: 50%; }
.note-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.note-box {
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 14px;
  font-weight: 700;
}
.nb1 { background: #EDE9FE; color: var(--purple); }
.nb2 { background: #FCE7F3; color: var(--pink); }
.nb3 { background: #DBEAFE; color: var(--blue); }
.nb4 { background: #D1FAE5; color: #059669; }
.float-badge {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-card);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fb1 { top: -16px; right: -16px; color: var(--purple); border: 1px solid #EDE9FE; }
.fb2 { bottom: -16px; left: -16px; color: var(--pink); border: 1px solid #FCE7F3; }

/* ---- BENEFITS ---- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: white;
  transition: all 0.3s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #DDD6FE;
}
.benefit-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}
.bi-purple { background: #EDE9FE; }
.bi-pink { background: #FCE7F3; }
.bi-blue { background: #DBEAFE; }
.bi-green { background: #D1FAE5; }
.benefit-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
}
.benefit-desc { font-size: 14px; color: var(--muted); }

/* ---- CATEGORIES ---- */
.categories-bg { background: var(--grad-soft); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #DDD6FE;
}
.cat-emoji {
  font-size: 36px;
  width: 60px; height: 60px;
  background: var(--grad-soft);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cat-name { font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.cat-count { font-size: 13px; color: var(--purple); font-weight: 600; }

/* ---- PRODUCT CARDS ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #DDD6FE;
}
.product-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}
.product-desc { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.feat-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  background: #EDE9FE;
  color: var(--purple);
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #FAFAFA;
}
.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--purple);
}
.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--purple);
}
.price-mrp {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
  margin-left: 6px;
}
.price-off {
  font-size: 12px;
  color: #059669;
  font-weight: 600;
  margin-top: 2px;
}
.product-price-block { min-width: 0; }
.product-actions { flex-shrink: 0; }
.price-tag { font-size: 12px; color: var(--muted); font-weight: 500; }
.popular-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--grad);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

/* ---- TESTIMONIALS ---- */
.testimonials-bg { background: var(--grad-soft); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.testi-card:hover { box-shadow: var(--shadow-hover); }
.testi-stars { color: #F59E0B; font-size: 18px; margin-bottom: 14px; }
.testi-text { font-size: 15px; color: var(--body); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Caveat', cursive;
  font-size: 20px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.testi-exam { font-size: 12px; color: var(--muted); }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-align: left;
  transition: background 0.2s;
  gap: 16px;
}
.faq-q:hover { background: #F9F8FF; }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #EDE9FE;
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ---- FINAL CTA ---- */
.cta-section {
  background: var(--grad);
  padding: 80px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: rgba(255,255,255,0.05);
  transform: skewX(-15deg);
}
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 16px;
}
.cta-section p { font-size: 17px; opacity: 0.9; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: white;
  color: var(--purple);
  font-weight: 700;
}
.btn-white:hover {
  background: #F5F3FF;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }

/* ---- FOOTER ---- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-icon {
  width: 36px; height: 36px;
  background: var(--grad);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: white;
  font-weight: 700;
}
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 900;
  color: white;
}
.footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background 0.2s;
}
.social-btn:hover { background: var(--purple); }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--purple-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-bottom-links a:hover { color: white; }

/* ---- PAGE BANNER ---- */
.page-banner {
  background: var(--grad-soft);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 12px;
}
.page-banner p { font-size: 17px; color: var(--muted); }

/* ---- STORE PAGE ---- */
.store-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: white;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

/* ---- PRODUCT DETAIL ---- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: sticky;
  top: 88px;
}
.product-cover-inner {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Caveat', cursive;
  font-size: 24px;
  font-weight: 700;
  color: white;
}
.product-detail-name {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 12px;
}
.product-detail-price {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--purple);
  margin-bottom: 20px;
}
.included-list { margin-bottom: 24px; }
.included-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.check-icon {
  width: 24px; height: 24px;
  background: #D1FAE5;
  color: #059669;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.topic-tag {
  background: var(--grad-soft);
  color: var(--purple);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

/* ---- FREE PDF ---- */
.free-pdf-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.form-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--body);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
  background: white;
}
.form-input:focus, .form-select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.success-msg {
  text-align: center;
  padding: 32px;
  display: none;
}
.success-msg.show { display: block; }
.success-icon { font-size: 48px; margin-bottom: 16px; }
.success-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 900; color: var(--ink); margin-bottom: 12px; }
.success-links { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  background: var(--grad);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: white;
  font-family: 'Caveat', cursive;
}
.about-visual-big { font-size: 80px; }
.about-visual-text { font-size: 28px; font-weight: 700; margin-top: 12px; }
.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 20px;
}
.about-content p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.value-item {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--grad-soft);
  border-left: 3px solid var(--purple);
}
.value-title { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.value-desc { font-size: 13px; color: var(--muted); }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 16px;
}
.contact-info p { color: var(--muted); margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  transition: all 0.2s;
}
.contact-item:hover { border-color: #DDD6FE; background: #FAFEFF; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.ci-ig { background: #FCE7F3; }
.ci-tg { background: #DBEAFE; }
.ci-sp { background: #EDE9FE; }
.contact-label { font-weight: 700; font-size: 14px; color: var(--ink); }
.contact-val { font-size: 13px; color: var(--purple); font-weight: 500; }

/* ---- POLICY PAGES ---- */
.policy-content {
  max-width: 780px;
  margin: 0 auto;
}
.policy-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 12px;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.policy-content ul { margin: 12px 0 16px 20px; }
.policy-content li { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 6px; list-style: disc; }
.policy-date { font-size: 13px; color: var(--muted); margin-bottom: 32px; padding: 10px 16px; background: var(--grad-soft); border-radius: 6px; }

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .notes-mockup { max-width: 320px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .free-pdf-section { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-cover { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .hero-stats { gap: 16px; }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .form-card { padding: 24px; }

  /* Product card footer: stack price above buttons */
  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .product-actions {
    display: flex;
    gap: 8px;
    width: 100%;
  }
  .product-actions .btn {
    flex: 1;
    justify-content: center;
  }
  .product-price { font-size: 20px; }

}

/* ---- Page toggle system ---- */
.page { display: none; }
.page.active { display: block; }

/* ---- SECURE PAYMENT PAGE ---- */
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid #DDD6FE;
  color: var(--purple);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(124,58,237,0.08);
}
.pay-method {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--body);
}
.security-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 22px;
}
.security-badge span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

/* ---- GEO Hidden Content (AI readable, visually hidden) ---- */
.geo-content {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:40px 0;align-items:start;}
.product-detail-sticky{position:sticky;top:90px;}
.back-link{display:inline-flex;align-items:center;gap:6px;color:var(--purple);font-weight:600;font-size:14px;margin-bottom:20px;text-decoration:none;}
.pd-badge{display:inline-block;background:var(--grad);color:white;font-size:12px;font-weight:700;padding:5px 14px;border-radius:50px;margin-bottom:12px;}
.pd-title{font-family:'Playfair Display',serif;font-size:clamp(22px,3vw,30px);font-weight:900;color:var(--ink);line-height:1.3;margin-bottom:16px;}
.pd-rating{display:flex;align-items:center;gap:8px;margin-bottom:16px;}
.pd-stars{color:#F59E0B;font-size:18px;}
.pd-rating-text{font-size:14px;color:var(--muted);}
.pd-price-row{display:flex;align-items:center;gap:12px;margin-bottom:20px;}
.pd-price{font-family:'Playfair Display',serif;font-size:36px;font-weight:900;color:var(--purple);}
.pd-mrp{font-size:18px;color:var(--muted);text-decoration:line-through;}
.pd-off{background:#FEF3C7;color:#92400E;font-size:13px;font-weight:700;padding:4px 10px;border-radius:50px;}
.pd-buy-btn,.pd-secondary-btn{width:100%;justify-content:center;margin-bottom:10px;}
.pd-guarantee{display:flex;align-items:center;gap:10px;background:#F0FDF4;border:1px solid #BBF7D0;border-radius:10px;padding:12px 16px;font-size:14px;color:#166534;margin-bottom:16px;}
.pd-divider{border:none;border-top:1px solid var(--border);margin:16px 0;}
.pd-stats{display:flex;gap:20px;justify-content:center;margin-bottom:8px;}
.pd-stat{text-align:center;}
.pd-stat-num{font-family:'Playfair Display',serif;font-size:22px;font-weight:900;color:var(--purple);}
.pd-stat-label{font-size:12px;color:var(--muted);margin-top:2px;}
.pd-section-title{font-size:14px;font-weight:700;color:var(--ink);margin-bottom:12px;}
.pd-includes{display:flex;flex-direction:column;gap:8px;margin-bottom:8px;}
.pd-include-item{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--muted);}
.check-circle{color:var(--success);font-weight:700;flex-shrink:0;}
.pd-topics{display:flex;flex-wrap:wrap;gap:8px;}
.topic-chip{background:#EDE9FE;color:var(--purple);font-size:12px;font-weight:600;padding:5px 12px;border-radius:50px;}
.breadcrumb-inner{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);padding:12px 0;}
.breadcrumb-inner a{color:var(--purple);}
/* Store */
.store-filter{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:32px;}
.filter-btn{padding:8px 20px;border-radius:50px;border:1.5px solid var(--border);background:white;color:var(--muted);font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;font-family:inherit;}
.filter-btn:hover,.filter-btn.active{background:var(--purple);border-color:var(--purple);color:white;}
/* Forms */
.free-pdf-section{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start;}
.form-card{background:white;border:1px solid var(--border);border-radius:20px;padding:32px;box-shadow:0 4px 24px rgba(0,0,0,.06);}
.form-input,.form-select{width:100%;padding:12px 16px;border:1.5px solid var(--border);border-radius:10px;font-size:15px;font-family:inherit;outline:none;transition:border .2s;background:white;color:var(--ink);}
.form-input:focus,.form-select:focus{border-color:var(--purple);box-shadow:0 0 0 3px rgba(124,58,237,.1);}
.success-msg{display:none;text-align:center;padding:32px 20px;}
.success-msg.show{display:block;}
.success-icon{font-size:56px;margin-bottom:16px;}
.success-title{font-family:'Playfair Display',serif;font-size:28px;font-weight:900;color:var(--ink);margin-bottom:12px;}
.success-links{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:16px;}
/* About & Contact */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;}
.about-visual{background:var(--grad);border-radius:24px;padding:48px 32px;text-align:center;color:white;}
.values-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px;}
.value-item{background:var(--grad-soft);border-radius:12px;padding:16px;}
.value-title{font-weight:700;color:var(--ink);margin-bottom:4px;}
.value-desc{font-size:13px;color:var(--muted);}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start;}
.contact-item{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid var(--border);border-radius:12px;margin-bottom:12px;text-decoration:none;color:inherit;transition:all .2s;}
.contact-item:hover{border-color:var(--purple);background:#EDE9FE;}
.contact-icon{width:48px;height:48px;background:#EDE9FE;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;}
.contact-label{font-size:12px;color:var(--muted);margin-bottom:2px;}
.contact-val{font-size:15px;font-weight:600;color:var(--ink);}
/* Policy */
.policy-content{max-width:800px;margin:0 auto;}
.policy-content h2{font-family:'Playfair Display',serif;font-size:22px;font-weight:900;color:var(--ink);margin:28px 0 12px;}
.policy-content p,.policy-content li{color:var(--muted);font-size:15px;line-height:1.8;margin-bottom:10px;}
.policy-content ul{padding-left:20px;}
.policy-content a{color:var(--purple);}
.policy-date{font-size:13px;color:var(--muted);margin-bottom:24px;}
/* Quiz */
.quiz-section{padding:80px 0;background:linear-gradient(135deg,#1E1B4B 0%,#2D1B69 50%,#1E1B4B 100%);position:relative;overflow:hidden;}
.quiz-container{max-width:720px;margin:0 auto;position:relative;z-index:1;padding:0 20px;}
.quiz-header{text-align:center;margin-bottom:36px;}
.quiz-tag{display:inline-block;background:rgba(124,58,237,.3);border:1px solid rgba(167,139,250,.4);color:#A78BFA;font-size:13px;font-weight:700;padding:6px 16px;border-radius:50px;margin-bottom:14px;text-transform:uppercase;}
.quiz-title{font-family:'Playfair Display',serif;font-size:clamp(26px,3.5vw,38px);font-weight:900;color:white;margin-bottom:10px;}
.quiz-sub{color:rgba(255,255,255,.6);font-size:16px;}
.quiz-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:32px;backdrop-filter:blur(10px);}
.quiz-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap;gap:10px;}
.quiz-cat-badge{font-size:12px;font-weight:700;padding:5px 14px;border-radius:50px;background:rgba(124,58,237,.3);color:#C4B5FD;border:1px solid rgba(124,58,237,.4);}
.quiz-counter{font-size:13px;color:rgba(255,255,255,.5);font-weight:600;}
.quiz-timer{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#FCD34D;}
.quiz-timer-bar{height:4px;background:rgba(255,255,255,.1);border-radius:2px;margin-bottom:24px;overflow:hidden;}
.quiz-timer-fill{height:100%;background:linear-gradient(90deg,#7C3AED,#EC4899);border-radius:2px;transition:width 1s linear;}
.quiz-question{font-size:18px;font-weight:600;color:white;line-height:1.6;margin-bottom:28px;}
.quiz-options{display:flex;flex-direction:column;gap:12px;}
.quiz-option{display:flex;align-items:center;gap:14px;padding:14px 18px;background:rgba(255,255,255,.06);border:1.5px solid rgba(255,255,255,.12);border-radius:12px;cursor:pointer;transition:all .2s;color:rgba(255,255,255,.85);font-size:15px;font-weight:500;text-align:left;width:100%;font-family:'Inter',sans-serif;}
.quiz-option:hover:not(:disabled){background:rgba(124,58,237,.2);border-color:rgba(124,58,237,.5);color:white;transform:translateX(4px);}
.quiz-option.correct{background:rgba(5,150,105,.2);border-color:#10B981;color:#6EE7B7;}
.quiz-option.wrong{background:rgba(239,68,68,.15);border-color:#EF4444;color:#FCA5A5;}
.quiz-option:disabled{cursor:not-allowed;}
.option-letter{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0;transition:all .2s;}
.quiz-option.correct .option-letter{background:#10B981;color:white;}
.quiz-option.wrong .option-letter{background:#EF4444;color:white;}
.quiz-explanation{display:none;margin-top:16px;padding:14px 18px;background:rgba(255,255,255,.05);border-left:3px solid #A78BFA;border-radius:0 10px 10px 0;font-size:14px;color:rgba(255,255,255,.75);line-height:1.7;}
.quiz-explanation.show{display:block;}
.quiz-explanation strong{color:#A78BFA;}
.quiz-footer{display:flex;align-items:center;justify-content:space-between;margin-top:24px;gap:12px;flex-wrap:wrap;}
.quiz-score-mini{font-size:13px;color:rgba(255,255,255,.5);}
.quiz-next-btn{background:var(--grad);color:white;border:none;padding:12px 28px;border-radius:50px;font-weight:700;font-size:14px;cursor:pointer;font-family:'Inter',sans-serif;transition:all .2s;display:none;}
.quiz-next-btn.show{display:inline-flex;align-items:center;gap:6px;}
.quiz-result{display:none;text-align:center;padding:16px 0;}
.quiz-result.show{display:block;}
.result-emoji{font-size:64px;margin-bottom:16px;}
.result-score{font-family:'Playfair Display',serif;font-size:48px;font-weight:900;color:white;margin-bottom:8px;}
.result-msg{color:rgba(255,255,255,.7);font-size:16px;margin-bottom:28px;}
.result-bar-wrap{background:rgba(255,255,255,.1);border-radius:8px;height:12px;margin:16px 0 28px;overflow:hidden;}
.result-bar-fill{height:100%;background:var(--grad);border-radius:8px;transition:width 1s ease;}
.quiz-topic-btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
.quiz-topic-btn{padding:8px 18px;border-radius:50px;border:1.5px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);color:rgba(255,255,255,.8);font-size:13px;font-weight:600;cursor:pointer;transition:all .2s;font-family:'Inter',sans-serif;}
.quiz-topic-btn:hover,.quiz-topic-btn.active{background:var(--purple);border-color:var(--purple);color:white;}
/* Responsive */
@media(max-width:768px){
  .product-detail-layout{grid-template-columns:1fr;gap:24px;}
  .product-detail-sticky{position:static;}
  .about-grid,.contact-grid,.free-pdf-section{grid-template-columns:1fr;gap:32px;}
  .values-grid{grid-template-columns:1fr;}
  .quiz-card{padding:20px;}
  .quiz-question{font-size:16px;}
  .quiz-option{padding:12px 14px;font-size:14px;}
}
