/* Warranted — Shared Design System */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Mono:wght@400;500&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0b1d3a;
  --navy-deep: #070f1f;
  --navy-mid: #162d55;
  --gold: #c09a3a;
  --gold-light: #dbb96a;
  --gold-pale: #f7edd8;
  --cream: #f6f3ed;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #e8e4dc;
  --text: #1c1c1e;
  --text-light: #4a4a56;
  --green: #1a5c3a;
  --green-light: #e8f5ee;
  --red: #8b1a1a;
  --border: #d8d3c8;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--navy-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── SHARED NAV ───────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7,15,31,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s;
}

nav.scrolled {
  background: rgba(7,15,31,0.97);
}

.brand {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--white);
  text-decoration: none;
}

.brand em { color: var(--gold-light); font-style: normal; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active { color: var(--white); }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold-light);
}

.nav-btn {
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.nav-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ── SHARED BUTTONS ───────────────────────────────────────────── */
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.1px;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(192,154,58,0.2);
}

.btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 15px 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
}

/* ── SHARED FOOTER ────────────────────────────────────────────── */
footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--white);
}

.footer-brand em { color: var(--gold-light); font-style: normal; }

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.25);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.65); }

/* ── FADE IN ANIMATION ────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-right .nav-link { display: none; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
