/* Shared styles for Quizmeister marketing/content pages.
   Mirrors the landing page theme so content pages feel native. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple-deep:   #1a0a2e;
  --purple-mid:    #2d1060;
  --purple-light:  #5b2fa0;
  --accent-green:  #4ade80;
  --accent-yellow: #fbbf24;
  --accent-orange: #fb923c;
  --accent-blue:   #60a5fa;
  --accent-pink:   #f472b6;
  --text:          #f0e8ff;
  --text-muted:    #b8a8d8;
  --card-bg:       rgba(45, 16, 96, 0.45);
  --card-border:   rgba(139, 92, 246, 0.3);
  --radius:        16px;
}

html { scroll-behavior: smooth; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--purple-deep);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, #5b2fa055 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 60%,  #3b1a6033 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%,  #2d106044 0%, transparent 60%),
    linear-gradient(175deg, #2d1060 0%, #1a0a2e 40%, #0d0520 100%);
  pointer-events: none;
}
.page-wrap { position: relative; z-index: 1; }

/* ─── Nav ─── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  max-width: 1000px; margin: 0 auto; padding: 18px 20px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 18px; }
.nav-brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff !important; padding: 9px 16px; border-radius: 10px;
  box-shadow: 0 4px 18px rgba(109,40,217,0.45);
}

/* ─── Layout ─── */
.container { max-width: 760px; margin: 0 auto; padding: 24px 20px 8px; }
.page-head { text-align: center; padding: 32px 20px 8px; }
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-yellow);
  background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.3);
  border-radius: 50px; padding: 4px 12px; margin-bottom: 14px;
}
h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; line-height: 1.12; margin-bottom: 14px; }
h2 { font-size: clamp(21px, 3.5vw, 28px); font-weight: 800; margin: 32px 0 12px; }
h3 { font-size: 18px; font-weight: 700; margin: 22px 0 8px; }
.lede { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-muted); max-width: 620px; margin: 0 auto; }
.prose p { margin: 12px 0; color: #e6dcff; }
.prose ul, .prose ol { margin: 12px 0 12px 22px; color: #e6dcff; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent-blue); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.muted { color: var(--text-muted); }

/* ─── Cards ─── */
.card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 20px 22px; backdrop-filter: blur(6px);
  margin: 14px 0;
}
.grid { display: grid; gap: 14px; }
@media (min-width: 620px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } }

/* ─── Pricing ─── */
.price-card {
  background: linear-gradient(160deg, rgba(60,30,110,0.85), rgba(30,10,60,0.9));
  border: 1px solid rgba(139,92,246,0.45);
  border-radius: 20px; padding: 28px 24px; text-align: center;
  box-shadow: 0 0 60px rgba(91,47,160,0.3);
  max-width: 460px; margin: 20px auto;
}
.price-amount { font-size: 44px; font-weight: 800; }
.price-amount span { font-size: 16px; color: var(--text-muted); font-weight: 600; }
.price-list { list-style: none; margin: 18px 0; padding: 0; text-align: left; }
.price-list li { padding: 7px 0; border-bottom: 1px solid rgba(139,92,246,0.18); }
.price-list li::before { content: "✓ "; color: var(--accent-green); font-weight: 800; }

/* ─── Buttons ─── */
.btn {
  display: inline-block; background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 12px; box-shadow: 0 4px 20px rgba(109,40,217,0.5);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(109,40,217,0.65); }
.btn.ghost { background: transparent; border: 1px solid rgba(139,92,246,0.5); box-shadow: none; }
.cta-row { text-align: center; margin: 28px 0; }

/* ─── FAQ (details) ─── */
.faq-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; color: var(--accent-yellow); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 10px; color: var(--text-muted); }

/* ─── Footer ─── */
.footer { margin-top: 40px; padding: 32px 20px; text-align: center; border-top: 1px solid rgba(139,92,246,0.2); }
.footer-logo { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.footer-links { margin: 10px 0; font-size: 13px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--accent-blue); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer .small { font-size: 12px; color: var(--text-muted); }

/* ─── Divider ─── */
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(139,92,246,0.3), transparent); margin: 8px 20px; max-width: 760px; margin-left: auto; margin-right: auto; }
