@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Bebas+Neue&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --navy:    #080d26;
  --navy2:   #0d1a4a;
  --navy3:   #0a1230;
  --red:     #BF0A30;
  --red2:    #8b0020;
  --red3:    #e8082e;
  --gold:    #c8a800;
  --gold2:   #f0cc00;
  --gold3:   #a88900;
  --white:   #f5f5f0;
  --muted:   rgba(245,245,240,0.55);
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Source Sans 3', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── STARFIELD CANVAS ── */
#starfield {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(8,13,38,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,168,0,0.15);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 22px;
  letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo .nv { color: #fff; }
.nav-logo .nr { color: var(--red); }
.nav-logo .nu { color: var(--gold); }
.nav-logo .star { color: var(--gold); font-size: 14px; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px; letter-spacing: 2px;
  padding: 8px 14px;
  border-radius: 2px;
  color: rgba(245,245,240,0.65);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: rgba(200,168,0,0.08);
}

.nav-cta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px; letter-spacing: 2px;
  padding: 8px 20px;
  background: var(--red);
  color: #fff !important;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--red3); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid rgba(200,168,0,0.3);
  color: var(--gold); font-size: 20px;
  width: 38px; height: 38px;
  cursor: pointer; border-radius: 2px;
  align-items: center; justify-content: center;
}

/* ── PAGE WRAPPER ── */
.page { position: relative; z-index: 10; padding-top: 64px; }

/* ── SECTION HERO ── */
.section-hero {
  padding: 80px 40px 60px;
  text-align: center;
  position: relative; overflow: hidden;
}
.section-hero .diagonal-bg {
  position: absolute; left: -60px; top: -30px;
  width: 50%; height: 110%;
  background: linear-gradient(155deg, var(--red) 0%, var(--red2) 100%);
  clip-path: polygon(0 0, 88% 0, 66% 100%, 0 100%);
  opacity: 0.13; pointer-events: none;
}
.section-hero .eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; letter-spacing: 8px;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(200,168,0,0.4);
  margin-bottom: 16px;
  animation: fadeDown 0.7s ease both;
}
.section-hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.05; letter-spacing: -1px;
  animation: fadeDown 0.7s 0.1s ease both;
}
.section-hero h1 em { font-style: normal; color: var(--red); }
.section-hero h1 .gold { color: var(--gold); }
.section-hero .hero-divider {
  width: 160px; height: 2px; margin: 22px auto;
  background: linear-gradient(90deg, transparent, var(--gold), var(--red), transparent);
  animation: expandW 1s 0.25s ease both;
}
.section-hero p.lead {
  font-size: 17px; font-weight: 300;
  letter-spacing: 1px; line-height: 1.8;
  color: var(--muted); max-width: 580px; margin: 0 auto;
  animation: fadeDown 0.7s 0.2s ease both;
}

/* ── CONTENT CONTAINER ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 32px; }

/* ── CARDS ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  padding: 28px 32px;
  transition: all 0.22s;
}
.card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(200,168,0,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  transform: translateY(-2px);
}
.card-link {
  display: block;
  border-left: 3px solid transparent;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.card-link:hover { border-left-color: var(--gold); transform: translateX(5px); }

/* ── GRID LAYOUTS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }

/* ── STEP ITEMS ── */
.step-num {
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: 56px; line-height: 1; color: var(--red);
  opacity: 0.35; margin-bottom: 8px;
}
.step-title {
  font-size: 18px; font-weight: 700; color: var(--white);
  margin-bottom: 8px;
}
.step-body {
  font-size: 15px; font-weight: 300;
  line-height: 1.7; color: var(--muted);
}

/* ── BADGES ── */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; justify-content: center; }
.badge {
  font-family: 'Bebas Neue', sans-serif; font-size: 12px; letter-spacing: 3px;
  padding: 6px 16px;
  border: 1px solid rgba(200,168,0,0.35); border-radius: 2px;
  color: var(--gold); background: rgba(200,168,0,0.06);
}

/* ── ALERT / TIP BOX ── */
.alert {
  padding: 20px 26px; border-radius: 3px; margin: 28px 0;
  border-left: 4px solid;
}
.alert-red { background: rgba(191,10,48,0.08); border-color: var(--red); }
.alert-gold { background: rgba(200,168,0,0.08); border-color: var(--gold); }
.alert-blue { background: rgba(30,60,160,0.15); border-color: #3a6fd8; }
.alert-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 13px; letter-spacing: 4px;
  margin-bottom: 8px;
}
.alert-red .alert-title { color: var(--red); }
.alert-gold .alert-title { color: var(--gold); }
.alert-blue .alert-title { color: #7aabff; }
.alert p { font-size: 15px; font-weight: 300; line-height: 1.7; color: rgba(245,245,240,0.8); }
.alert strong { color: var(--white); font-weight: 600; }

/* ── SECTION LABELS ── */
.section-label {
  font-family: 'Bebas Neue', sans-serif; font-size: 12px; letter-spacing: 5px;
  color: var(--gold); margin-bottom: 12px; display: block;
}
.section-title {
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1;
  margin-bottom: 16px;
}
.section-title em { font-style: normal; color: var(--red); }
.section-body {
  font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--muted);
  max-width: 600px;
}

/* ── DIVIDERS ── */
.rule { width: 100%; height: 1px; background: rgba(255,255,255,0.07); margin: 60px 0; }
.rule-gold { background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.3; }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 10;
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(200,168,0,0.12);
  padding: 56px 40px 36px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand .logo {
  font-family: 'Playfair Display', serif; font-weight: 900; font-size: 26px;
  margin-bottom: 12px;
}
.footer-brand .logo .fv { color: #fff; }
.footer-brand .logo .fr { color: var(--red); }
.footer-brand .logo .fu { color: var(--gold); }
.footer-brand p { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif; font-size: 13px; letter-spacing: 4px;
  color: var(--gold); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px; margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(245,245,240,0.35); }

/* ── ANIMATIONS ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes expandW {
  from { width: 0; opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .navbar { padding: 0 20px; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .section-hero { padding: 60px 24px 48px; }
  .container, .container-sm { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(8,13,38,0.98); border-bottom: 1px solid rgba(200,168,0,0.15); padding: 16px 0; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 24px; border-radius: 0; }
  .nav-toggle { display: flex; }
  .navbar { position: fixed; }
}
