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

:root {
  --dark:       #0a0f1e;
  --dark2:      #0f1629;
  --dark3:      #141e35;
  --blue:       #2563eb;
  --blue-lt:    #3b82f6;
  --blue-dim:   rgba(59,130,246,0.12);
  --text:       rgba(255,255,255,0.88);
  --text-dim:   rgba(255,255,255,0.50);
  --text-faint: rgba(255,255,255,0.28);
  --border-d:   rgba(255,255,255,0.09);
  --border-b:   rgba(255,255,255,0.15);
  --card-bg:    rgba(255,255,255,0.04);
  --card-bg2:   rgba(255,255,255,0.07);
  --radius:     12px;
  --max:        1160px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; background: var(--dark); color: var(--text); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background 0.3s, border-color 0.3s;
}
nav.scrolled {
  background: rgba(10,15,30,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-d);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 2.5rem; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem;
  color: #fff; text-decoration: none; letter-spacing: -0.01em;
}
.nav-logo span { color: var(--blue-lt); }
.nav-links { display: flex; gap: 0.2rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.62); text-decoration: none;
  font-size: 0.83rem; font-weight: 500; padding: 0.4rem 0.8rem;
  border-radius: 6px; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.09); }
.nav-cta {
  background: var(--blue) !important; color: #fff !important;
  padding: 0.45rem 1.1rem !important; margin-left: 0.5rem; border-radius: 7px;
}
.nav-cta:hover { background: var(--blue-lt) !important; }

/* ── DROPDOWN ── */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: ' ▾'; font-size: 0.65rem; opacity: 0.5; margin-left: 0.1rem;
}
.dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: #111827; border: 1px solid var(--border-d);
  border-radius: 10px; padding: 0.5rem; min-width: 230px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5); list-style: none; z-index: 300;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block; padding: 0.55rem 0.85rem; border-radius: 6px;
  font-size: 0.82rem; color: rgba(255,255,255,0.65);
  text-decoration: none; white-space: nowrap; transition: all 0.15s;
  background: transparent !important;
}
.dropdown a:hover { color: #fff; background: rgba(255,255,255,0.08) !important; }
.dropdown-featured {
  color: var(--blue-lt) !important; border-top: 1px solid var(--border-d);
  margin-top: 0.35rem; padding-top: 0.75rem !important; font-weight: 600 !important;
}

/* ── SHARED SECTION ── */
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue-lt); margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.025em; color: #fff; margin-bottom: 1rem;
}
.section-sub { color: var(--text-dim); max-width: 540px; font-size: 1rem; line-height: 1.8; margin-bottom: 3rem; }
.divider { width: 36px; height: 3px; background: var(--blue); margin: 0.75rem 0 1.75rem; border-radius: 2px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center;
  padding: 0.9rem 2rem; background: var(--blue); color: #fff;
  border-radius: 8px; font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.92rem; text-decoration: none;
  transition: all 0.22s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.4); }
.btn-outline {
  display: inline-flex; align-items: center;
  padding: 0.9rem 2rem; background: transparent; color: rgba(255,255,255,0.85);
  border-radius: 8px; font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.92rem; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.2); transition: all 0.22s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-sm {
  padding: 0.6rem 1.3rem; font-size: 0.85rem;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--dark); padding: 140px 2.5rem 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(37,99,235,0.12) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; top: -100px; right: 20%;
  width: 500px; height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue-lt);
  border: 1px solid rgba(59,130,246,0.3); background: rgba(59,130,246,0.08);
  padding: 0.3rem 0.9rem; border-radius: 100px; margin-bottom: 1.75rem;
}
.page-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.03em; color: #fff; margin-bottom: 1.5rem;
  max-width: 780px;
}
.page-hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.58);
  max-width: 620px; line-height: 1.85; margin-bottom: 2.5rem;
}

/* ── FORM ── */
form {
  background: var(--card-bg); border: 1px solid var(--border-d);
  border-radius: 16px; padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label {
  display: block; font-size: 0.73rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 0.4rem;
}
input, textarea, select {
  width: 100%; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
  color: #fff; font-family: 'Inter', sans-serif; font-size: 0.95rem;
  padding: 0.85rem 1rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.25); }
input:focus, textarea:focus, select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
textarea { resize: vertical; min-height: 120px; }
select option { background: var(--dark2); color: #fff; }
.form-note { font-size: 0.73rem; color: rgba(255,255,255,0.3); text-align: center; margin-top: -0.5rem; }

/* ── TICKER ── */
.ticker { background: var(--blue); overflow: hidden; padding: 0.9rem 0; white-space: nowrap; }
.ticker-inner { display: inline-flex; animation: ticker 30s linear infinite; }
.ticker-item {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); padding: 0 2.5rem;
}
.ticker-item::before { content: '—  '; color: rgba(255,255,255,0.4); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── FOOTER ── */
footer { background: #060b14; border-top: 1px solid rgba(255,255,255,0.06); padding: 2.5rem 2.5rem; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem;
}
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #fff; font-size: 1rem; }
.footer-logo span { color: #60a5fa; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-right { display: flex; align-items: center; gap: 1.25rem; }
.footer-link { color: #60a5fa; text-decoration: none; font-size: 0.82rem; }
.footer-link:hover { text-decoration: underline; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

@media (max-width: 768px) {
  .nav-links li:not(:last-child) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { display: none; }
}
