/* ===== 1. DESIGN TOKENS ===== */
:root {
  --navy:        #080f1e;
  --navy-mid:    #0d1a30;
  --navy-card:   #101e35;
  --navy-border: #1a2e4a;
  --gold:        #d4a943;
  --gold-light:  #f0c96a;
  --gold-dim:    #8a6b28;
  --blue-accent: #2d7dd2;
  --blue-light:  #5ba3f5;
  --white:       #f4f6fb;
  --muted:       #8090a8;
  --green:       #2ecc71;
  --font-head:   'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
}

/* ===== 2. RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== 3. LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: 80px 0; }
section + section { border-top: 1px solid var(--navy-border); }

/* ===== 4. UTILITIES ===== */
.gold  { color: var(--gold); }
.blue  { color: var(--blue-light); }
em.g   { font-style: normal; color: var(--gold); }

.grad-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
  margin-top: 14px;
  line-height: 1.75;
}

.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue-accent));
  margin: 20px 0;
}

/* ===== 5. BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-transform: uppercase;
}
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #b8891e 100%);
  color: #07111f;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 169, 67, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--navy-border);
}
.btn-ghost:hover {
  border-color: var(--gold-dim);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue-accent), #1a5fa8);
  color: var(--white);
}
.btn-blue:hover {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 125, 210, 0.35);
}

/* ===== 6. NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 15, 30, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--navy-border);
  transition: border-color 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark { width: 38px; height: 38px; }
.nav-logo img { height: 38px; width: auto; display: block; }

.nav-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.05em;
}
.nav-brand span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links li {
  display: flex;
  align-items: center;
  height: 72px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover  { color: var(--white); }
.nav-links a.active { color: var(--gold); }

.nav-cta { display: none; }

/* Hamburger */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* Mobile dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-border);
  padding: 16px 20px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  font-size: 15px;
  color: var(--muted);
  border-bottom: 1px solid var(--navy-border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .btn {
  margin-top: 16px;
  justify-content: center;
  width: 100%;
}

/* Desktop nav reveal */
@media (min-width: 768px) {
  .nav-links  { display: flex; }
  .nav-cta    { display: inline-flex; }
  .hamburger  { display: none; }
}

/* ===== 7. FOOTER ===== */
footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-border);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--navy-border);
}

.footer-brand-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  margin-top: 4px;
}

.footer-col-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 24px 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-links-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links-row a {
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links-row a:hover { color: var(--white); }

/* ===== 8. STICKY MOBILE BAR ===== */
.sticky-bar {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-border);
  padding: 10px 16px;
  gap: 10px;
}
.sticky-bar .btn {
  flex: 1;
  justify-content: center;
  font-size: 13px;
  padding: 12px 10px;
}

/* Hide sticky bar on desktop */
@media (min-width: 768px) {
  .sticky-bar { display: none; }
}

/* ===== 9. SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 10. ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== 11. FORM SHARED STYLES ===== */
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: 4px;
  padding: 11px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-dim);
}
.form-group textarea { min-height: 96px; resize: vertical; }
.form-group select option { background: var(--navy-mid); }

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 16px 28px;
}

.form-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  justify-content: center;
}

/* ===== 12. RESPONSIVE — TABLET & DESKTOP ===== */
@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}