/* ============================================================
   HomeOfferIQ — Base Styles
   Shared tokens, reset, typography, and utility classes
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy-950: #050d1a;
  --navy-900: #0a1628;
  --navy-800: #0f2040;
  --navy-700: #163058;
  --navy-600: #1e4278;
  --gold-400: #f0c040;
  --gold-500: #e8a800;
  --gold-300: #f7d76a;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --white: #ffffff;
  --success: #22c55e;
  --danger:  #ef4444;
  --warn:    #f59e0b;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-gold: 0 0 40px rgba(240,192,64,0.15);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── BACKGROUND TEXTURE ──────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(30,66,120,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(240,192,64,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ── NAVIGATION ──────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(5,13,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240,192,64,0.1);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  /* gap: 0.5rem; */
}
.nav-logo span { color: var(--gold-400); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--slate-300);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-400); }

.nav-cta {
  background: var(--gold-400) !important;
  color: var(--navy-950) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--gold-300) !important;
  color: var(--navy-950) !important;
}

.nav-back {
  color: var(--slate-300);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--gold-400); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-400);
  color: var(--navy-950);
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(240,192,64,0.3);
}
.btn-primary:hover {
  background: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240,192,64,0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,192,64,0.2), transparent);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── SECTION BASE ────────────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--slate-300);
  max-width: 560px;
  line-height: 1.7;
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
}