
/* ============================================================
   AEROPATH GLOBAL — styles.css
   Single shared stylesheet — cached by browser across all pages
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Space+Mono:wght@400;700&display=swap');

/* ── TOKENS ────────────────────────────────────────────────── */
:root {
  /* Brand exact colours — AeroPath Global brand guidelines */
  --navy:      #0C1C2C;
  --deep:      #091624;
  --mid:       #122034;
  --cyan:      #00c8ff;      /* kept for accents/interactive */
  --gold:      #B59B5B;      /* brand gold exact */
  --gold-lt:   #c9af74;      /* lighter gold for text */
  --white:     #FFFFFF;
  --muted:     #7a90a8;
  --card:      rgba(9,22,36,0.75);
  --border:    rgba(181,155,91,0.18);  /* gold border instead of cyan */
  --ff-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --ff-mono:   'Space Mono', 'Courier New', monospace;
  --ff-body:   'DM Sans', system-ui, -apple-system, sans-serif;
  --transition: 0.2s ease;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; }
ul { list-style: none; }

/* ── SKIP LINK (accessibility) ─────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── FOCUS (keyboard nav) ───────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

/* ── CURSOR (desktop only) ─────────────────────────────────── */
@media (pointer: fine) {
  body { cursor: none; }
  .cursor {
    width: 10px; height: 10px;
    background: var(--cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
    mix-blend-mode: screen;
    will-change: left, top;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid rgba(0,200,255,0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.15s ease;
    will-change: left, top;
  }
}

/* ── NAVIGATION ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.4rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(4,13,26,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Logo has navy+gold on transparent — invert to white+gold for dark backgrounds */
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.nav-logo:hover .nav-logo-img {
  opacity: 0.85;
}
/* Footer logo — slightly smaller, same treatment */
.footer-brand-logo .nav-logo-img {
  height: 44px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition);
  font-weight: 400;
  padding: 0.3rem 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
}
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 0.3rem; }
.dropdown-toggle svg { width: 10px; height: 10px; fill: currentColor; transition: transform var(--transition); }
.nav-dropdown:hover .dropdown-toggle svg,
.nav-dropdown:focus-within .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  background: rgba(4,13,26,0.97);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-width: 180px;
  padding: 0.5rem 0;
  z-index: 201;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.dropdown-menu a:hover { color: var(--cyan); background: rgba(0,200,255,0.05); }

/* Enroll CTA */
.nav-cta {
  background: transparent;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 0.45rem 1.3rem !important;
  border-radius: 2px;
  transition: background var(--transition), color var(--transition) !important;
  white-space: nowrap;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

/* Hamburger button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
  z-index: 210;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4,13,26,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 205;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}
.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] { color: var(--cyan); }
.mobile-menu-cta {
  margin-top: 1rem;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 0.8rem 2.5rem;
  font-family: var(--ff-mono) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.15em;
  border-radius: 2px;
  background: transparent;
}
.mobile-menu-divider {
  width: 40px; height: 1px;
  background: var(--border);
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 0.85rem 2.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-lt);
  color: var(--navy);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), color var(--transition);
  font-weight: 400;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost .arrow { transition: transform var(--transition); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ── SECTION PRIMITIVES ─────────────────────────────────────── */
.section-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::after {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.gold { color: var(--gold-lt); }
.outline {
  -webkit-text-stroke: 2px rgba(240,244,255,0.55);
  color: transparent;
}
.cyan { color: var(--cyan); }

/* ── PAGE HERO (inner pages) ───────────────────────────────── */
.page-hero {
  padding: 14rem 5vw 7rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #071826 0%, var(--navy) 70%);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 90% 100% at 50% 0%, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 90% 100% at 50% 0%, black 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--gold);
}
.page-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.page-hero-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(200,215,240,0.65);
  max-width: 560px;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ── TAG PILL ───────────────────────────────────────────────── */
.tag {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 1px;
}

/* ── CTA STRIP ──────────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, rgba(0,60,130,0.3), rgba(0,20,50,0.95));
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 9rem 5vw;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-strip-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,150,255,0.1), transparent 70%);
  pointer-events: none;
}
.cta-strip-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.cta-strip h2 {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.cta-strip p {
  font-size: 1rem;
  color: rgba(200,215,240,0.6);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: rgba(2,8,15,0.98);
  padding: 5rem 5vw 2.5rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.footer-brand-logo { margin-bottom: 1.2rem; }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 270px;
}
.footer-heading {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}
.footer-contact-item a { color: var(--muted); text-decoration: none; transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--cyan); }
.footer-contact-icon { color: var(--cyan); flex-shrink: 0; margin-top: 0.1rem; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(107,128,160,0.55);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 0 60px; }
}
@keyframes planeDrift {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-18px) rotate(-1deg); }
}
@keyframes linePulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 0.85; }
}

/* ── RESPONSIVE — MOBILE FIRST ──────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .nav-links    { display: none; }
  .hamburger    { display: flex; }
  .page-hero    { padding: 11rem 5vw 5rem; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 480px) {
  .footer-grid  { grid-template-columns: 1fr; }
  .cta-buttons  { flex-direction: column; align-items: center; }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
