@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --navy:       #06102B;
  --navy2:      #0B1D4A;
  --blue:       #0033CC;
  --blue-h:     #0044EE;
  --blue-light: #EEF2FF;
  --gold:       #FFB300;
  --gold-l:     #FFD54F;
  --white:      #FFFFFF;
  --text:       #111827;
  --muted:      #6B7280;
  --border:     #E5E7EB;
  --bg:         #F7F9FF;
  --font-d: 'Space Grotesk', sans-serif;
  --font-b: 'Inter', sans-serif;
  --r: 6px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-b); background: var(--white); color: var(--text); -webkit-font-smoothing: antialiased; line-height: 1.5; }

/* ── NAV ─────────────────────────────────────────── */
.nav {
  background: var(--navy);
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-logo { font-family: var(--font-d); font-size: 22px; font-weight: 800; color: white; text-decoration: none; letter-spacing: -.5px; }
.nav-logo .h { color: var(--gold); }
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: var(--r); transition: all .15s; }
.nav-links a:hover { color: white; background: rgba(255,255,255,.07); }
.nav-links a.active { color: white; }
.nav-links a.cta { background: var(--gold); color: var(--navy); font-weight: 700; }
.nav-links a.cta:hover { background: var(--gold-l); }

/* ── PAGE HERO ───────────────────────────────────── */
.page-hero { background: var(--navy); padding: 72px 48px 84px; position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: -120px; right: -120px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(0,51,204,.28) 0%, transparent 65%); pointer-events: none; }
.hero-glow2 { position: absolute; bottom: -80px; left: 10%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,179,0,.06) 0%, transparent 65%); pointer-events: none; }
.hero-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,179,0,.12); border: 1px solid rgba(255,179,0,.25); color: var(--gold); padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 24px; }
.page-hero h1 { font-family: var(--font-d); font-size: clamp(40px,5.5vw,76px); font-weight: 700; color: white; letter-spacing: -2px; line-height: .97; margin-bottom: 20px; max-width: 780px; }
.page-hero h1 .a { color: var(--gold); }
.page-hero .sub { font-size: 17px; color: rgba(255,255,255,.55); max-width: 540px; line-height: 1.65; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--r); font-family: var(--font-b); font-size: 15px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: all .15s; line-height: 1; }
.btn-blue  { background: var(--blue);  color: white; }
.btn-blue:hover  { background: var(--blue-h); }
.btn-gold  { background: var(--gold);  color: var(--navy); }
.btn-gold:hover  { background: var(--gold-l); }
.btn-ghost { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.15); }
.btn-ghost:hover { background: rgba(255,255,255,.13); color: white; }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-dark { background: var(--navy); color: white; }
.btn-dark:hover { background: var(--navy2); }

/* ── BADGE ───────────────────────────────────────── */
.badge { display: inline-block; padding: 3px 9px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.badge-blue   { background: var(--blue-light); color: var(--blue); }
.badge-gold   { background: #FFF3CD; color: #8B5D00; }
.badge-green  { background: #DCFCE7; color: #166534; }
.badge-purple { background: #F3E8FF; color: #7E22CE; }
.badge-red    { background: #FEE2E2; color: #B91C1C; }
.badge-gray   { background: #F3F4F6; color: #4B5563; }

/* ── SECTION HEADER ──────────────────────────────── */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; display: inline-block; width: 20px; height: 2px; background: var(--gold); border-radius: 2px; }
.sec-title { font-family: var(--font-d); font-size: clamp(28px,3.5vw,48px); font-weight: 700; color: var(--navy); letter-spacing: -1.5px; line-height: 1.02; }
.sec-desc { font-size: 16px; color: var(--muted); line-height: 1.65; max-width: 560px; margin-top: 12px; }

/* ── CARD ────────────────────────────────────────── */
.card { background: white; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.08); transform: translateY(-3px); }

/* ── EMAIL FORM ──────────────────────────────────── */
.email-form { display: flex; gap: 8px; }
.email-input { flex: 1; padding: 11px 16px; border: 1.5px solid var(--border); border-radius: var(--r); font-family: var(--font-b); font-size: 14px; outline: none; transition: border-color .15s; background: white; }
.email-input:focus { border-color: var(--blue); }

/* ── FILTER TABS ─────────────────────────────────── */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.ftab { padding: 8px 20px; border-radius: 100px; font-size: 13px; font-weight: 600; border: 1.5px solid var(--border); background: white; color: var(--muted); cursor: pointer; transition: all .15s; }
.ftab:hover { border-color: var(--blue); color: var(--blue); }
.ftab.active { background: var(--blue); border-color: var(--blue); color: white; }

/* ── FOOTER ──────────────────────────────────────── */
footer { background: #050D22; padding: 64px 48px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 28px; }
.footer-logo { font-family: var(--font-d); font-size: 20px; font-weight: 800; color: white; text-decoration: none; display: block; margin-bottom: 10px; }
.footer-logo .h { color: var(--gold); }
.footer-about { font-size: 14px; color: rgba(255,255,255,.4); line-height: 1.65; margin-bottom: 20px; }
.footer-hearts { color: var(--gold); letter-spacing: 4px; font-size: 15px; }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.25); }

/* ── UTILS ───────────────────────────────────────── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.sp { padding: 80px 48px; }
.sp-sm { padding: 48px 48px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── NAV BURGER ──────────────────────────────────── */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

/* ── SECTION ROW ─────────────────────────────────── */
.sec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 860px) {
  .nav { padding: 0 24px; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--navy);
    padding: 12px 16px 16px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 16px; }

  .page-hero { padding: 48px 24px 60px; }
  .page-hero h1 { letter-spacing: -1px; }

  .wrap { padding: 0 24px; }
  .sp { padding: 60px 24px; }
  .sp-sm { padding: 36px 24px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  footer { padding: 48px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .sec-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .email-form { flex-direction: column; }
}

@media (max-width: 540px) {
  .nav { padding: 0 16px; }

  .page-hero { padding: 40px 16px 52px; }
  .page-hero .sub { font-size: 15px; }

  .wrap { padding: 0 16px; }
  .sp { padding: 48px 16px; }
  .sp-sm { padding: 28px 16px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  footer { padding: 40px 16px 24px; }
  .footer-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
