/* ── VARIABLE & RESET ── */
:root {
  --blue-qc: #003DA5;
  --accent: #4A9EFF;
  --bg-dark: #000;
  --text-main: #fff;
  --text-dim: rgba(255, 255, 255, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
}

/* Inline logo for badges / labels */
.logo-inline {
  height: 14px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  position: relative;
  top: -1px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'General Sans', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── LAYOUT UTILITIES ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(74, 158, 255, 0.80);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

/* ── VIDEO BACKGROUND ── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.page-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.page-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 60% at 50% 100%, rgba(0, 61, 165, 0.22) 0%, transparent 70%);
}

.page {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAVBAR ── */
nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 120px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: padding 0.3s ease;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── BUTTONS & PILLS ── */
.pill-btn {
  position: relative;
  display: inline-flex;
  border-radius: 9999px;
  border: 0.6px solid rgba(255, 255, 255, 1);
  padding: 2px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  overflow: hidden;
}

.pill-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 12px;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(6px);
  border-radius: 9999px;
  z-index: 2;
  pointer-events: none;
}

.pill-btn-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  border-radius: 9999px;
  padding: 11px 29px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.pill-dark .pill-btn-inner {
  background: #000;
  color: #fff;
}

.pill-light .pill-btn-inner {
  background: #fff;
  color: #000;
}

.pill-blue {
  border-color: rgba(74, 158, 255, 0.7);
}

.pill-blue::before {
  background: rgba(74, 158, 255, 0.55);
}

.pill-blue .pill-btn-inner {
  background: var(--blue-qc);
  color: #fff;
}

/* ── MODALS ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.modal-content {
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.98) 0%, rgba(0, 20, 60, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 48px;
  max-width: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.modal-content.success {
  background: linear-gradient(135deg, rgba(0, 40, 10, 0.98), rgba(0, 61, 165, 0.20));
  border: 1px solid rgba(74, 255, 120, 0.20);
  max-width: 420px;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  line-height: 1;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ── FORM ELEMENTS ── */
input[type="text"],
input[type="email"],
select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

input:focus,
select:focus {
  border-color: rgba(74, 158, 255, 0.45);
}

/* ── CUSTOM DROPDOWN ── */
.custom-select {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d1b3e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.40);
  cursor: pointer;
  transition: border-color .2s;
}

.custom-select-trigger.selected {
  color: rgba(255, 255, 255, 0.85);
}

.custom-select-trigger:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.custom-select-trigger svg {
  flex-shrink: 0;
  transition: transform .25s;
}

.custom-select.open .custom-select-trigger {
  border-color: rgba(74, 158, 255, 0.45);
}

.custom-select.open .custom-select-trigger svg {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #0d1b3e;
  border: 1px solid rgba(74, 158, 255, 0.25);
  border-radius: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 220px;
  z-index: 10000;
  display: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.70);
}

.custom-select.open .custom-select-dropdown {
  display: block;
}

.custom-select-option {
  padding: 11px 16px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background .15s, color .15s;
}

.custom-select-option:hover {
  background: rgba(74, 158, 255, 0.15);
  color: #fff;
}

.custom-select-option.active {
  background: rgba(74, 158, 255, 0.20);
  color: #fff;
  font-weight: 600;
}

.custom-select select {
  display: none;
}

/* ── HAMBURGER & MOBILE MENU ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .28s ease, opacity .28s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 80px 24px 40px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'General Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: #fff;
}



.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.70);
}

/* ── ANIMATIONS ── */
@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 8px var(--accent);
    opacity: 1;
  }

  50% {
    box-shadow: 0 0 18px var(--accent);
    opacity: .55;
  }
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
  display: inline-block;
}

/* ── FOOTER ── */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer img {
  height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity 0.2s;
}

footer img:hover {
  opacity: 0.85;
}

footer span {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── RESPONSIVE BASE ── */
@media (max-width: 1024px) {
  nav {
    padding: 20px 48px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .modal-content {
    padding: 32px 24px;
  }
}