/* Cora Law — Dark Navy + Gold Design System */
:root {
  --navy: #0A0A23;
  --navy-dark: #070718;
  --navy-light: #12123a;
  --gold: #FFD700;
  --gold-dim: rgba(255, 215, 0, 0.3);
  --gold-muted: #b8960c;
  --cream: #f0ece2;
  --white: #ffffff;
  --text: #d4d0c8;
  --text-dim: rgba(255, 255, 255, 0.5);
  --radius: 12px;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy-dark);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Georgia', 'Cormorant Garamond', serif; color: var(--cream); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
h3 { font-size: clamp(20px, 3vw, 28px); margin-bottom: 12px; }

a { color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

img { max-width: 100%; height: auto; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7, 7, 24, 0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.08);
  padding: 16px 0;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 40px; width: 40px; }
.nav-logo span { font-family: Georgia, serif; font-size: 22px; color: var(--gold); font-weight: bold; letter-spacing: 2px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.nav-links a:hover { color: var(--gold); opacity: 1; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.hamburger { display: none; background: none; border: none; color: var(--cream); cursor: pointer; padding: 8px; }

/* BUTTONS */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em; cursor: pointer;
  transition: all 0.3s; border: none; text-align: center;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #e6c200; opacity: 1; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: rgba(255, 215, 0, 0.1); opacity: 1; }
.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* HERO */
.hero {
  position: relative; padding: 160px 0 120px; text-align: center;
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-dark) 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,215,0,0.04) 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block; margin-bottom: 24px; padding: 6px 16px;
  border: 1px solid var(--gold-dim); border-radius: 20px;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p { font-size: 18px; color: var(--text-dim); max-width: 600px; margin: 0 auto 40px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* SECTIONS */
section { padding: 100px 0; }
.section-label {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.section-divider {
  width: 60px; height: 2px; background: var(--gold); margin: 24px auto 0;
}

/* VIDEO EMBED */
.video-embed {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius); border: 1px solid rgba(255, 215, 0, 0.15);
  max-width: 800px; margin: 0 auto;
}
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* CARDS */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--navy-light); border: 1px solid rgba(255, 215, 0, 0.08);
  border-radius: var(--radius); padding: 32px; transition: all 0.3s;
}
.card:hover { border-color: var(--gold-dim); transform: translateY(-4px); }
.card-icon { font-size: 32px; margin-bottom: 16px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-dim); }

/* TOPIC CARDS */
.topic-card {
  background: var(--navy-light); border: 1px solid rgba(255, 215, 0, 0.08);
  border-radius: var(--radius); overflow: hidden; transition: all 0.3s;
}
.topic-card:hover { border-color: var(--gold-dim); transform: translateY(-4px); }
.topic-card-body { padding: 24px; }
.topic-card h3 { font-size: 18px; margin-bottom: 8px; }
.topic-card p { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.topic-tag {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  font-size: 11px; background: rgba(255, 215, 0, 0.1); color: var(--gold);
}

/* PRODUCT CARDS */
.product-card {
  background: var(--navy-light); border: 1px solid rgba(255, 215, 0, 0.08);
  border-radius: var(--radius); padding: 32px; text-align: center;
  transition: all 0.3s;
}
.product-card:hover { border-color: var(--gold-dim); }
.product-price { font-size: 36px; color: var(--gold); font-family: Georgia, serif; margin: 16px 0; }
.product-card h3 { font-size: 20px; }
.product-card p { font-size: 14px; color: var(--text-dim); margin-bottom: 24px; }

/* STATS */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; padding: 60px 0; }
.stat-num { font-family: Georgia, serif; font-size: clamp(32px, 5vw, 48px); color: var(--gold); }
.stat-label { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* EMAIL SIGNUP */
.signup-box {
  background: var(--navy-light); border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--radius); padding: 48px; text-align: center;
  max-width: 600px; margin: 0 auto;
}
.signup-box h3 { margin-bottom: 8px; }
.signup-box p { font-size: 14px; color: var(--text-dim); margin-bottom: 24px; }
.signup-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; }
.signup-form input {
  flex: 1; padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid rgba(255, 215, 0, 0.2); background: var(--navy-dark);
  color: var(--cream); font-size: 14px; outline: none;
}
.signup-form input:focus { border-color: var(--gold); }
.signup-form button { white-space: nowrap; }
.signup-msg { margin-top: 12px; font-size: 13px; display: none; }
.signup-msg.success { color: #4ade80; display: block; }
.signup-msg.error { color: #f87171; display: block; }

/* QUIZ */
.quiz-container { max-width: 700px; margin: 0 auto; }
.quiz-question {
  background: var(--navy-light); border: 1px solid rgba(255, 215, 0, 0.08);
  border-radius: var(--radius); padding: 32px; margin-bottom: 24px;
}
.quiz-question h3 { font-size: 18px; margin-bottom: 16px; }
.quiz-option {
  display: block; padding: 14px 20px; margin-bottom: 8px;
  border: 1px solid rgba(255, 215, 0, 0.15); border-radius: 8px;
  cursor: pointer; transition: all 0.2s; font-size: 14px; color: var(--text);
}
.quiz-option:hover { border-color: var(--gold); background: rgba(255, 215, 0, 0.05); }
.quiz-option.selected { border-color: var(--gold); background: rgba(255, 215, 0, 0.1); color: var(--gold); }
.quiz-option.correct { border-color: #4ade80; background: rgba(74, 222, 128, 0.1); color: #4ade80; }
.quiz-option.wrong { border-color: #f87171; background: rgba(248, 113, 113, 0.1); color: #f87171; }
.quiz-result {
  background: var(--navy-light); border: 1px solid var(--gold);
  border-radius: var(--radius); padding: 48px; text-align: center;
}
.quiz-score { font-size: 64px; color: var(--gold); font-family: Georgia, serif; }
.quiz-score-label { font-size: 14px; color: var(--text-dim); margin-bottom: 24px; }

/* FOOTER */
.footer {
  background: var(--navy-dark); border-top: 1px solid rgba(255, 215, 0, 0.08);
  padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 13px; color: var(--text-dim); margin-top: 12px; line-height: 1.8; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-dim); margin-bottom: 8px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-dim);
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--text-dim); font-size: 14px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--navy-dark);
    padding: 24px; gap: 16px; border-bottom: 1px solid rgba(255, 215, 0, 0.08);
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 120px 0 80px; }
  .signup-form { flex-direction: column; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}
