/* ============================================================
   FP Aviation Landing Page — Stylesheet
   Brand: Dark Cockpit · Cyan #3EB7D9 · Space Grotesk + Inter
   ============================================================ */

/* === TOKENS ====================================================== */
:root {
  --cyan:       #3EB7D9;
  --cyan-light: #8FD8F6;
  --ink-deep:   #06121C;
  --ink:        #0A1F2E;
  --ink-mid:    #143A5A;
  --ink-blue:   #0A2540;
  --ink-steel:  #1B5A82;
  --white:      #ffffff;

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-w: 1296px;
  --px:    72px;
  --nav-h: 80px;

  --ease-out: cubic-bezier(.22,1,.36,1);
}

/* === RESET ======================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ink-deep);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }

/* === LAYOUT ====================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* === BUTTONS ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  white-space: nowrap;
  transition: opacity .15s, transform .15s var(--ease-out);
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 1; }

.btn--primary {
  padding: 12px 22px;
  background: var(--cyan);
  color: var(--ink-deep);
  font-size: 14px;
}
.btn--lg {
  padding: 17px 32px;
  font-size: 17px;
  box-shadow: 0 16px 40px rgba(62,183,217,.28);
}
.btn--ghost {
  padding: 12px 16px;
  color: rgba(255,255,255,.52);
  font-size: 14px;
}
.btn--ghost:hover { color: var(--white); opacity: 1; }

/* === NAV ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--px);
  gap: 0;
  transition: background .28s, border-color .28s, backdrop-filter .28s;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(6,18,28,.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,.07);
}
.nav__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo  { height: 36px; filter: brightness(0) invert(1); }

.nav__links {
  display: flex;
  gap: 36px;
  margin: 0 auto;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.58);
  transition: color .15s;
}
.nav__links a:hover { color: var(--white); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Burger button */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  color: var(--white);
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .22s var(--ease-out), opacity .22s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === MOBILE MENU ================================================= */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(6,18,28,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  padding: 24px var(--px) 40px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .22s, transform .22s var(--ease-out);
}
.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-menu a {
  font-size: 22px;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .15s;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--white); }
.mobile-menu__cta {
  margin-top: 24px;
  justify-content: center;
  border-radius: 12px !important;
  font-size: 16px !important;
  padding: 16px 24px !important;
}

/* === HERO ======================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) var(--px) 100px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--ink-deep) 0%, var(--ink-blue) 52%, var(--ink-deep) 100%);
}

/* Background decorations */
.hero__bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.hero__bg-glow--right {
  right: -60px; top: -120px;
  width: 860px; height: 860px;
  background: radial-gradient(circle, rgba(62,183,217,.1) 0%, transparent 68%);
}
.hero__bg-glow--left {
  left: 15%; bottom: -40px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(20,58,90,.45) 0%, transparent 70%);
}
.hero__grid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: .032;
  pointer-events: none;
}

/* Inner grid */
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 100px;
  background: rgba(62,183,217,.09);
  border: 1px solid rgba(62,183,217,.26);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 32px;
}

/* Pulsing dot */
.pulse-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 2s infinite;
  flex-shrink: 0;
}

.hero__eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-head);
  font-size: 80px;
  line-height: .94;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--white);
  text-wrap: balance;
  margin: 0 0 28px;
}
.hero__title-accent {
  background: linear-gradient(92deg, var(--cyan) 0%, var(--cyan-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: 19px;
  line-height: 1.62;
  color: rgba(255,255,255,.68);
  max-width: 520px;
  margin: 0 0 40px;
  text-wrap: pretty;
}
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__chips {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 100px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  font-size: 12px;
  color: rgba(255,255,255,.58);
  font-weight: 500;
}

/* Cockpit card */
.hero__visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--ink-blue), var(--ink-mid) 50%, var(--ink-steel));
  box-shadow: 0 48px 96px rgba(0,0,0,.58), 0 0 0 1px rgba(255,255,255,.07);
}
.hero__visual-badge {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 7px;
  background: rgba(6,18,28,.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(62,183,217,.28);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.hero__visual-screen {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 20px;
  background: linear-gradient(0, rgba(6,18,28,.88) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.hero__visual-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* === STATS ======================================================= */
.stats {
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.stats__item {
  padding: 36px 28px;
  transition-delay: var(--d, 0s);
}
.stats__item:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,.07);
}
.stats__value {
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 9px;
}
.stats__value--cyan { color: var(--cyan); }
.stats__label {
  font-size: 12px;
  color: rgba(255,255,255,.48);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
}

/* === SECTION COMMON ============================================== */
.section     { padding: 112px var(--px); }
.section--sm { padding:  80px var(--px); }

.section__header { max-width: 640px; margin-bottom: 64px; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--cyan);
  flex-shrink: 0;
}
.section__title {
  font-family: var(--font-head);
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.03;
  color: var(--white);
  text-wrap: balance;
  margin: 0 0 18px;
}
.section__sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.58);
}

/* === FEATURES ==================================================== */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-bottom: 14px;
}
.features__chips {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}

/* Feature card */
.feature-card {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 36px 30px;
  transition: border-color .2s, var(--reveal-transition, opacity .6s, transform .6s);
  transition-delay: var(--d, 0s);
}
.feature-card:hover { border-color: rgba(62,183,217,.28); }
.feature-card__icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: rgba(62,183,217,.1);
  border: 1px solid rgba(62,183,217,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.feature-card__title {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.feature-card__body {
  font-size: 15px;
  line-height: 1.67;
  color: rgba(255,255,255,.55);
}

/* Feature chip */
.feature-chip {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: background .2s;
  transition-delay: var(--d, 0s);
}
.feature-chip:hover { background: rgba(255,255,255,.025); }
.feature-chip__icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-chip__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.feature-chip__body {
  font-size: 13px;
  color: rgba(255,255,255,.48);
  line-height: 1.5;
}

/* === ABOUT ======================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Visual card */
.about__visual {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 36px;
}
.about__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.about__stat {
  border-radius: 12px;
  padding: 22px;
}
.about__stat--cyan {
  background: rgba(62,183,217,.07);
  border: 1px solid rgba(62,183,217,.16);
}
.about__stat--neutral {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.about__stat-value {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.about__stat-value--cyan { color: var(--cyan); }
.about__stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  line-height: 1.4;
}

/* Pathway */
.about__pathway {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 20px 22px;
}
.about__pathway-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-bottom: 14px;
}
.about__pathway-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.step {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.step--active {
  background: rgba(62,183,217,.12);
  border: 1px solid rgba(62,183,217,.28);
  color: var(--cyan);
}
.step--neutral {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.72);
}

/* About copy */
.about__copy { transition-delay: var(--d, 0s); }
.about__title {
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.06;
  color: var(--white);
  text-wrap: balance;
  margin: 0 0 22px;
}
.about__body {
  font-size: 17px;
  line-height: 1.68;
  color: rgba(255,255,255,.6);
  margin: 0 0 18px;
}
.about__note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: rgba(62,183,217,.05);
  border: 1px solid rgba(62,183,217,.15);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.72);
}
.about__note strong { color: var(--white); font-weight: 700; }

/* === CTA BOX ===================================================== */
.cta-box {
  border-radius: 22px;
  background: linear-gradient(135deg, var(--ink-blue) 0%, var(--ink-mid) 52%, var(--ink-steel) 100%);
  border: 1px solid rgba(62,183,217,.18);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box__glow {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62,183,217,.13) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box__inner { position: relative; }
.cta-box__eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
}
.cta-box__title {
  font-family: var(--font-head);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  color: var(--white);
  text-wrap: balance;
  margin: 0 0 22px;
}
.cta-box__sub {
  font-size: 20px;
  line-height: 1.52;
  color: rgba(255,255,255,.68);
  max-width: 500px;
  margin: 0 auto 40px;
}

/* === FOOTER ====================================================== */
.footer {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 44px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__logo  { height: 30px; filter: brightness(0) invert(1); }
.footer__copy  { font-size: 12px; color: rgba(255,255,255,.3); font-weight: 500; }
.footer__tagline {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(255,255,255,.28);
  text-transform: uppercase;
}
.footer__links { display: flex; gap: 24px; font-size: 13px; color: rgba(255,255,255,.4); }
.footer__links a { transition: color .15s; }
.footer__links a:hover { color: rgba(255,255,255,.72); }

/* === REVEAL ANIMATION ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  .65s var(--ease-out),
    transform .65s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === KEYFRAMES =================================================== */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .28; }
}

/* === RESPONSIVE ================================================== */
@media (max-width: 1200px) {
  :root { --px: 48px; }
  .hero__title   { font-size: 64px; }
  .section__title { font-size: 44px; }
  .cta-box__title { font-size: 52px; }
}

@media (max-width: 960px) {
  :root { --px: 32px; }

  .nav__links { display: none; }
  .nav__actions .btn--ghost { display: none; }
  .nav__actions .btn--primary { display: none; }
  .nav__burger { display: flex; }

  .hero {
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 72px;
  }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 560px; }
  .hero__title  { font-size: 52px; }

  .stats__grid { grid-template-columns: repeat(2,1fr); }
  .stats__item:nth-child(2) { border-right: none; }
  .stats__item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.07); }

  .features__grid  { grid-template-columns: 1fr; }
  .features__chips { grid-template-columns: 1fr; }

  .about__grid   { grid-template-columns: 1fr; gap: 40px; }
  .about__title  { font-size: 36px; }

  .cta-box       { padding: 56px 32px; }
  .cta-box__title { font-size: 44px; }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer__links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
  :root { --px: 20px; }
  .hero__title  { font-size: 40px; }
  .section__title { font-size: 34px; }
  .hero__visual { display: none; }
  .cta-box__title { font-size: 36px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__item { padding: 28px 20px; }
  .stats__value { font-size: 36px; }
}
