/* ── MissC Academy — Shared Styles ── */
:root {
  --purple: #8b5cf6;
  --purple-dark: #7c3aed;
  --purple-light: #a78bfa;
  --purple-muted: #ede9fe;
  --gold: #ec4899;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f9f7ff;
  --border: #e5e7eb;
  --radius: 980px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    ::selection { background: #8b5cf6; color: #fff; }
    ::-moz-selection { background: #8b5cf6; color: #fff; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 5%, rgba(139,92,246,0.08), transparent 40%),
    radial-gradient(circle at 92% 90%, rgba(244,196,48,0.07), transparent 45%),
    var(--bg);
  background-attachment: fixed;
}

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

@keyframes heroFadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-animate-1 { animation: heroFadeUp 0.9s ease forwards; }
.hero-animate-2 { animation: heroFadeUp 0.9s 0.2s ease both; }
.hero-animate-3 { animation: heroFadeUp 0.9s 0.4s ease both; }

@keyframes shine { to { background-position: 200% center; } }
.soon-badge {
  display: inline-block; font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, #fff8dc 40%, var(--gold) 60%, #fff 80%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: shine 2s linear infinite; margin-left: 6px; vertical-align: middle;
}

@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes ringPulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes wave { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1a1a2e; color: #fff; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  z-index: 9999; font-size: 0.875rem; flex-wrap: wrap; transition: opacity 0.3s;
}
#cookie-banner p { flex: 1; min-width: 240px; }
#cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { padding: 8px 18px; border-radius: 8px; border: none; cursor: pointer; font-size: 0.875rem; font-weight: 600; }
.cookie-accept { background: var(--purple); color: #fff; }
.cookie-decline { background: transparent; border: 1px solid #fff; color: #fff; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.68) 100%);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  border-bottom: 1px solid var(--border); padding: 0 5%;
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--purple); flex-shrink: 0; transition: transform 0.3s; }
.logo:hover .logo-img { transform: scale(1.08); }
.logo-text { font-weight: 700; font-size: 1.1rem; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; padding: 6px 14px; border-radius: 8px; transition: all 0.2s; display: flex; align-items: center; }
.nav-links a:hover, .nav-links a.active { color: var(--purple); background: var(--purple-muted); }
.nav-cta { background: var(--purple) !important; color: #fff !important; padding: 8px 18px !important; border-radius: 980px !important; }
.nav-cta:hover { background: var(--purple-dark) !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(139,92,246,0.3) !important; }
.nav-cta.active { background: var(--purple-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple); color: #fff;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s; box-shadow: 0 4px 20px rgba(139,92,246,0.3);
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(139,92,246,0.45); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,0.24) 0%, rgba(255,255,255,0.1) 100%);
  color: #fff;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4); cursor: pointer; transition: all 0.25s;
  backdrop-filter: blur(10px) saturate(160%); -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-secondary:hover { background: linear-gradient(135deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.16) 100%); transform: translateY(-2px); }

/* ── FOOTER ──
   Only privacy/terms use the bare `footer`/`.footer-copy` here (with their
   own page-level override for the current simple flex layout) — courses/
   ebook use their own inline-styled .mini-footer instead. */
footer { background: #0d0d1a; color: rgba(255,255,255,0.65); padding: 64px 5% 32px; }
.footer-copy { font-size: 0.78rem; }

/* ── SECTION BASE ── */
section { padding: 80px 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--purple); margin-bottom: 12px; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.2; color: var(--text); margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; }

/* ── LEGAL PAGE STYLES ── */
.legal-hero { background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%); padding: 80px 5% 60px; text-align: center; }
.legal-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 12px; }
.legal-hero p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.legal-body { max-width: 780px; margin: 0 auto; padding: 60px 5%; }
.legal-body h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; color: var(--text); margin: 40px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text); margin: 22px 0 10px; }
.legal-body p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 14px; }
.legal-body ul { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 14px; padding-left: 20px; }
.legal-body ul li { margin-bottom: 6px; }
.legal-body a { color: var(--purple); }
.legal-updated { display: inline-block; background: var(--purple-muted); color: var(--purple); font-size: 0.8rem; font-weight: 600; padding: 4px 12px; border-radius: 99px; margin-bottom: 32px; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 5%; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .legal-body { padding: 40px 5%; }
}
