/* ================================================
   HolocaustCourse.com — Main Stylesheet
   ================================================ */

/* === VARIABLES === */
:root {
  --ink: #171717;
  --deep: #0d1b2a;
  --navy: #162a47;
  --slate: #2d3a4a;
  --warm: #4a4440;
  --stone: #6b6560;
  --sand: #a89f95;
  --parch: #f4f0ea;
  --cream: #faf8f4;
  --white: #ffffff;
  --gold: #b8963e;
  --gold-l: #d4b56a;
  --accent: #8b0000;
  --success: #1a7a3a;
  --success-bg: #e8f5ec;
  --error: #b91c1c;
  --error-bg: #fef2f2;
  --hd: 'Libre Baskerville', Georgia, serif;
  --bd: 'Outfit', 'Segoe UI', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--bd); color: var(--ink);
  background: var(--cream); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }

/* === NAV === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184, 150, 62, 0.25);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 2rem;
}
.nav-logo {
  font-family: var(--hd); font-size: 1.15rem; font-weight: 700;
  color: var(--cream); text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a {
  color: var(--sand); text-decoration: none; font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  background: var(--gold) !important; color: var(--deep) !important;
  padding: 0.4rem 1rem !important; border-radius: 3px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-l) !important; }
.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.5rem;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--cream); margin: 5px 0; transition: 0.3s;
}

/* === BUTTONS === */
.btn {
  display: inline-block; padding: 0.8rem 1.8rem; font-size: 0.82rem;
  font-weight: 600; text-decoration: none; border-radius: 3px;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: all 0.3s; font-family: var(--bd); cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--deep); border: 2px solid var(--gold); }
.btn-gold:hover { background: var(--gold-l); border-color: var(--gold-l); }
.btn-outline { background: transparent; color: var(--cream); border: 2px solid rgba(244,240,234,0.35); }
.btn-outline:hover { border-color: var(--cream); }
.btn-dark { background: var(--navy); color: var(--cream); border: 2px solid var(--navy); }
.btn-dark:hover { background: var(--slate); border-color: var(--slate); }

/* === LAYOUT === */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.67rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--hd); font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700; color: var(--deep); line-height: 1.25; margin-bottom: 1rem;
}
.section-intro {
  font-size: 1rem; color: var(--warm); max-width: 680px;
  line-height: 1.85; margin-bottom: 3rem;
}

/* === HERO === */
.hero {
  min-height: 100vh; background: var(--deep);
  background-image:
    radial-gradient(ellipse at 15% 60%, rgba(184,150,62,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 25%, rgba(139,0,0,0.05) 0%, transparent 45%),
    linear-gradient(175deg, #0d1b2a 0%, #091420 50%, #0a0a0a 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 2rem 5rem; position: relative;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px; background: linear-gradient(transparent, var(--cream));
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-eyebrow {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.8rem;
  display: inline-block; border: 1px solid rgba(184,150,62,0.3);
  padding: 0.35rem 1.1rem; border-radius: 2px;
}
.hero h1 {
  font-family: var(--hd); font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700; color: var(--cream); line-height: 1.2; margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--gold-l); }
.hero-sub {
  font-size: 1.05rem; color: var(--sand); line-height: 1.85;
  max-width: 640px; margin: 0 auto 2.5rem; font-weight: 300;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 1.5rem; font-size: 0.8rem; color: var(--stone); font-style: italic; }

/* === PRICING === */
.pricing { background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; }
.tier {
  border: 1px solid #e0dcd6; border-radius: 6px; padding: 2.2rem 1.8rem;
  position: relative; background: var(--cream); transition: transform 0.3s, box-shadow 0.3s;
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.tier-featured { border: 2px solid var(--gold); background: var(--white); transform: scale(1.03); }
.tier-featured:hover { transform: scale(1.03) translateY(-4px); }
.tier-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--deep); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; padding: 0.25rem 0.9rem; border-radius: 2px;
}
.tier-name { font-family: var(--hd); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.tier-audience { font-size: 0.8rem; color: var(--stone); margin-bottom: 1.3rem; font-style: italic; }
.tier-price { font-family: var(--hd); font-size: 2.6rem; font-weight: 700; color: var(--deep); line-height: 1; margin-bottom: 0.25rem; }
.tier-price-note { font-size: 0.78rem; color: var(--stone); margin-bottom: 1.5rem; }
.tier-divider { width: 40px; height: 2px; background: var(--gold); margin: 0 0 1.3rem; }
.tier ul { list-style: none; margin-bottom: 1.8rem; }
.tier li { font-size: 0.87rem; color: var(--warm); padding: 0.35rem 0 0.35rem 1.3rem; position: relative; line-height: 1.6; }
.tier li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.tier .btn { width: 100%; text-align: center; }

/* === INCLUDED CARDS === */
.included { background: var(--parch); }
.included-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.inc-card { background: var(--white); border-radius: 4px; padding: 1.6rem; border-top: 3px solid var(--gold); }
.inc-card h3 { font-family: var(--hd); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.inc-card p { font-size: 0.85rem; color: var(--warm); line-height: 1.7; }

/* === COMPLIANCE === */
.compliance { background: var(--white); }
.comp-flex { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
.comp-stat { text-align: center; padding: 2rem; background: var(--deep); border-radius: 6px; }
.comp-num { font-family: var(--hd); font-size: 4.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.comp-label { font-size: 0.92rem; color: var(--sand); margin-top: 0.5rem; line-height: 1.5; }
.state-grid { column-count: 3; column-gap: 1.5rem; font-size: 0.83rem; color: var(--warm); line-height: 2.2; }
.state-grid strong { color: var(--navy); font-weight: 600; }

/* === TESTIMONIALS === */
.test-section { background: var(--deep); }
.test-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.test-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(184,150,62,0.15); border-radius: 4px; padding: 1.8rem; }
.test-card blockquote { font-family: var(--hd); font-size: 0.92rem; font-style: italic; color: var(--parch); line-height: 1.8; margin-bottom: 0.8rem; }
.test-card cite { font-family: var(--bd); font-style: normal; font-size: 0.75rem; color: var(--sand); }

/* === SURVIVOR === */
.survivor { background: var(--ink); text-align: center; padding: 5rem 2rem; }
.survivor blockquote { font-family: var(--hd); font-size: clamp(1.05rem, 2.5vw, 1.35rem); font-style: italic; color: var(--parch); line-height: 1.8; max-width: 760px; margin: 0 auto 1.3rem; }
.survivor cite { font-family: var(--bd); font-style: normal; font-size: 0.8rem; color: var(--stone); }

/* === EMAIL CAPTURE === */
.email-section { background: var(--parch); text-align: center; }
.email-box { max-width: 540px; margin: 0 auto; background: var(--white); border: 1px solid rgba(184,150,62,0.25); border-radius: 6px; padding: 2.2rem; }
.email-box h3 { font-family: var(--hd); font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.email-box > p { font-size: 0.88rem; color: var(--warm); margin-bottom: 1rem; }
.email-form { display: flex; gap: 0.5rem; }
.email-form input { flex: 1; padding: 0.7rem 0.9rem; border: 1px solid #d0ccc5; border-radius: 3px; font-size: 0.88rem; font-family: var(--bd); background: var(--cream); }
.email-form input:focus { outline: none; border-color: var(--gold); }
.email-form button { padding: 0.7rem 1.3rem; background: var(--gold); color: var(--deep); border: none; border-radius: 3px; font-weight: 700; font-size: 0.8rem; cursor: pointer; font-family: var(--bd); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; transition: background 0.3s; }
.email-form button:hover { background: var(--gold-l); }

/* === FINAL CTA === */
.final-cta { background: linear-gradient(170deg, var(--deep) 0%, #091420 100%); text-align: center; padding: 5.5rem 2rem; }
.final-cta h2 { font-family: var(--hd); font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--cream); margin-bottom: 1rem; line-height: 1.3; }
.final-cta p { font-size: 1rem; color: var(--sand); max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.8; }

/* === PAGE HEADER (inner pages) === */
.page-header {
  background: var(--deep);
  background-image: radial-gradient(ellipse at 30% 70%, rgba(184,150,62,0.06) 0%, transparent 50%);
  padding: 6rem 2rem 3rem; text-align: center;
}
.page-header h1 { font-family: var(--hd); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; color: var(--cream); margin-bottom: 0.5rem; }
.page-header p { font-size: 1rem; color: var(--sand); max-width: 600px; margin: 0 auto; }

/* === ACTIVATE PAGE === */
.activate-main { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 5rem; display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.info h2 { font-family: var(--hd); font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.info > p { font-size: 0.95rem; color: var(--warm); line-height: 1.8; margin-bottom: 1.5rem; }
.verify-option { background: var(--white); border: 1px solid #e8e4de; border-radius: 5px; padding: 1.3rem 1.5rem 1.3rem 3.2rem; margin-bottom: 1rem; position: relative; }
.verify-option::before { content: attr(data-num); position: absolute; left: 1.2rem; top: 1.2rem; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--deep); font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.verify-option h3 { font-family: var(--hd); font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.verify-option p { font-size: 0.85rem; color: var(--warm); line-height: 1.7; }
.what-you-get { background: var(--deep); border-radius: 5px; padding: 1.5rem; margin-top: 1.5rem; }
.what-you-get h3 { font-family: var(--hd); font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 0.6rem; }
.what-you-get ul { list-style: none; }
.what-you-get li { font-size: 0.88rem; color: var(--parch); padding: 0.3rem 0 0.3rem 1.3rem; position: relative; line-height: 1.6; }
.what-you-get li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* FORM */
.form-card { background: var(--white); border: 1px solid rgba(184,150,62,0.25); border-radius: 6px; padding: 2rem 2.2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.form-card-title { font-family: var(--hd); font-size: 1.15rem; font-weight: 700; color: var(--navy); text-align: center; margin-bottom: 0.3rem; }
.form-card-sub { font-size: 0.8rem; color: var(--stone); text-align: center; font-style: italic; margin-bottom: 1.8rem; }
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; letter-spacing: 0.02em; }
.form-group label .req { color: var(--accent); margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.7rem 0.9rem; border: 1.5px solid #d5d0c9;
  border-radius: 4px; font-size: 0.9rem; font-family: var(--bd);
  background: var(--cream); transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,150,62,0.12);
}
.form-group textarea { resize: vertical; min-height: 70px; }
.form-hint { font-size: 0.75rem; color: var(--stone); margin-top: 0.3rem; font-style: italic; }
.form-error { font-size: 0.75rem; color: var(--error); margin-top: 0.3rem; display: none; }
.form-group.has-error input, .form-group.has-error select { border-color: var(--error); }
.form-group.has-error .form-error { display: block; }

/* FILE UPLOAD */
.upload-zone {
  border: 2px dashed #c8c3bb; border-radius: 5px; padding: 2rem 1.5rem;
  text-align: center; cursor: pointer; transition: all 0.3s;
  position: relative; background: var(--cream);
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--gold); background: rgba(184,150,62,0.04); }
.upload-zone.has-file { border-color: var(--success); border-style: solid; background: var(--success-bg); }
.upload-icon { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--sand); transition: color 0.3s; }
.upload-zone:hover .upload-icon { color: var(--gold); }
.upload-zone.has-file .upload-icon { color: var(--success); }
.upload-text { font-size: 0.88rem; color: var(--warm); }
.upload-text strong { color: var(--navy); }
.upload-formats { font-size: 0.75rem; color: var(--stone); margin-top: 0.3rem; }
.upload-zone input[type="file"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.preview-container { margin-top: 1rem; display: none; }
.preview-container.visible { display: block; }
.preview-img-wrap { position: relative; display: inline-block; border-radius: 4px; overflow: hidden; border: 2px solid var(--gold); max-width: 100%; }
.preview-img-wrap img { display: block; max-width: 100%; max-height: 250px; object-fit: contain; }
.preview-remove { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; background: rgba(0,0,0,0.7); color: white; border: none; border-radius: 50%; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.preview-remove:hover { background: var(--accent); }
.preview-info { font-size: 0.78rem; color: var(--stone); margin-top: 0.4rem; }

/* SUBMIT BUTTON */
.submit-btn {
  width: 100%; padding: 0.9rem; background: var(--gold); color: var(--deep);
  border: none; border-radius: 4px; font-size: 0.88rem; font-weight: 700;
  font-family: var(--bd); letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s; margin-top: 0.5rem;
}
.submit-btn:hover { background: var(--gold-l); }
.submit-btn:disabled { background: #c8c3bb; cursor: not-allowed; color: var(--stone); }
.submit-btn.loading { position: relative; color: transparent; }
.submit-btn.loading::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border: 2.5px solid rgba(13,27,42,0.3); border-top-color: var(--deep);
  border-radius: 50%; animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.privacy-note { font-size: 0.72rem; color: var(--stone); text-align: center; margin-top: 1rem; line-height: 1.6; }

/* SUCCESS */
.success-message { display: none; text-align: center; padding: 2rem 1.5rem; }
.success-message.visible { display: block; }
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.success-message h2 { font-family: var(--hd); font-size: 1.3rem; font-weight: 700; color: var(--success); margin-bottom: 0.5rem; }
.success-message p { font-size: 0.92rem; color: var(--warm); line-height: 1.8; margin-bottom: 0.8rem; }
.success-box { background: var(--success-bg); border: 1px solid rgba(26,122,58,0.2); border-radius: 5px; padding: 1.2rem; margin: 1rem 0; text-align: left; }
.success-box li { font-size: 0.88rem; color: var(--warm); padding: 0.25rem 0; line-height: 1.6; }

/* BOTTOM CTA */
.bottom-cta { background: var(--parch); padding: 3rem 2rem; text-align: center; }
.bottom-cta h3 { font-family: var(--hd); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.bottom-cta p { font-size: 0.92rem; color: var(--warm); margin-bottom: 1.2rem; }
.btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === BLOG === */
.blog-hero { background: var(--deep); padding: 6rem 2rem 3rem; text-align: center; }
.blog-hero h1 { font-family: var(--hd); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--cream); margin-bottom: 0.5rem; }
.blog-hero p { font-size: 1rem; color: var(--sand); max-width: 600px; margin: 0 auto; }
.blog-content { background: var(--cream); padding: 3rem 2rem 5rem; }
.blog-grid { max-width: 900px; margin: 0 auto; display: grid; gap: 2rem; }
.blog-post { background: var(--white); border-radius: 5px; overflow: hidden; display: grid; grid-template-columns: 280px 1fr; border: 1px solid #e8e4de; transition: box-shadow 0.3s, transform 0.3s; }
.blog-post:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.06); transform: translateY(-2px); }
.blog-img { background: var(--parch); display: flex; align-items: center; justify-content: center; color: var(--sand); font-size: 0.8rem; font-style: italic; min-height: 180px; }
.blog-text { padding: 1.8rem; }
.blog-cat { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.blog-text h2 { font-family: var(--hd); font-size: 1.1rem; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 0.5rem; }
.blog-text h2 a { color: inherit; text-decoration: none; }
.blog-text h2 a:hover { color: var(--gold); }
.blog-excerpt { font-size: 0.88rem; color: var(--warm); line-height: 1.7; margin-bottom: 0.8rem; }
.blog-meta { font-size: 0.75rem; color: var(--stone); }
.blog-sidebar { max-width: 900px; margin: 2rem auto 0; }
.sidebar-box { background: var(--white); border: 1px solid rgba(184,150,62,0.2); border-radius: 5px; padding: 1.8rem; }
.sidebar-box h3 { font-family: var(--hd); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.8rem; }
.sidebar-box ul { list-style: none; }
.sidebar-box li { padding: 0.4rem 0; border-bottom: 1px solid #f0ece6; }
.sidebar-box li:last-child { border-bottom: none; }
.sidebar-box a { color: var(--navy); text-decoration: none; font-size: 0.88rem; transition: color 0.3s; }
.sidebar-box a:hover { color: var(--gold); }

/* === FOOTER === */
footer { background: var(--ink); padding: 2.5rem 2rem; text-align: center; border-top: 1px solid rgba(184,150,62,0.15); }
.footer-links { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a { color: var(--sand); text-decoration: none; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s; }
.footer-links a:hover { color: var(--cream); }
.footer-copy { font-size: 0.75rem; color: var(--stone); }

/* === ANIMATIONS === */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { animation: fadeUp 0.8s ease-out both; }
.hero-eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.25s; }
.hero-sub { animation-delay: 0.4s; }
.hero-buttons { animation-delay: 0.55s; }
.hero-note { animation-delay: 0.7s; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 1rem auto 0; }
  .tier-featured { transform: none; }
  .tier-featured:hover { transform: translateY(-4px); }
  .included-grid { grid-template-columns: 1fr 1fr; }
  .comp-flex { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .activate-main { grid-template-columns: 1fr; }
  .blog-post { grid-template-columns: 1fr; }
  .state-grid { column-count: 2; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .email-form { flex-direction: column; }
  .included-grid { grid-template-columns: 1fr; }
  .state-grid { column-count: 1; }
  section { padding: 3rem 1.5rem; }
}
