/* =========================================================
   Aerofind — Landing Page
   Tokens, layout and components
   ========================================================= */

:root {
  /* Brand */
  --c-primary: #1B6FA4;
  --c-primary-600: #155b88;
  --c-primary-100: #D5E3F3;
  --c-slate: #3F5466;
  --c-slate-900: #0F1B2D;
  --c-accent: #B0A088;

  /* Surfaces */
  --c-bg: #F7F8FB;
  --c-bg-alt: #FFFFFF;
  --c-surface: #FFFFFF;
  --c-surface-2: #F2F5FA;

  /* Text */
  --c-text: #0F1B2D;
  --c-text-muted: #59688A;
  --c-text-soft: #8A98B0;

  /* Borders */
  --c-border: #E4E9F2;
  --c-border-strong: #CFD7E5;

  /* Status / accents */
  --c-green: #2BB673;
  --c-amber: #F59E0B;
  --c-red:   #E5484D;

  /* Shape */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(15,27,45,.06), 0 1px 1px rgba(15,27,45,.04);
  --sh-2: 0 8px 24px rgba(15,27,45,.08), 0 2px 6px rgba(15,27,45,.05);
  --sh-3: 0 30px 80px rgba(15,27,45,.18), 0 8px 24px rgba(15,27,45,.10);

  /* Type */
  --f-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; color: var(--c-text); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.25; }
p  { margin: 0; color: var(--c-text-muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: rgba(27, 111, 164, 0.08);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--c-primary);
  border-radius: 50%;
}

.section { padding: var(--section-y) 0; }
.section-tight { padding: calc(var(--section-y) * 0.7) 0; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--sh-2);
}
.btn--primary:hover { background: var(--c-primary-600); box-shadow: var(--sh-3); }

.btn--secondary {
  background: var(--c-surface);
  color: var(--c-slate-900);
  border-color: var(--c-border-strong);
}
.btn--secondary:hover { border-color: var(--c-slate); }

.btn--ghost {
  background: transparent;
  color: var(--c-primary);
  padding-left: 8px; padding-right: 8px;
}
.btn--ghost:hover { color: var(--c-primary-600); }

.btn--dark {
  background: var(--c-slate-900);
  color: #fff;
}
.btn--dark:hover { background: #1a2944; }

/* =========================================================
   Top Nav
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 251, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled {
  border-color: var(--c-border);
  background: rgba(255, 255, 255, 0.85);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-slate);
  letter-spacing: -0.01em;
}
.nav__logo {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-slate) 100%);
  display: grid; place-items: center;
  color: #fff;
}

/* Brand logo image */
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav__brand { flex-shrink: 0; }
.brand-logo--lg { height: 56px; }
@media (max-width: 600px) {
  .brand-logo { height: 34px; }
  .brand-logo--lg { height: 48px; }
}
.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  padding: 0; margin: 0;
}
.nav__links a {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  font-weight: 500;
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--c-text); }
.nav__links-panel { display: none; }

.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__cta .btn { padding: 10px 18px; font-size: 0.9rem; }

.nav__menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-surface);
}
.nav__menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--c-slate);
  margin: 4px auto;
  border-radius: 2px;
}

@media (max-width: 880px) {
  .nav__links, .nav__cta .btn--secondary { display: none; }
  .nav__links-panel { display: list-item; }
  .nav__panel-btn { display: none !important; }
  .nav__menu-toggle { display: block; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 var(--section-y);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -200px -200px auto -200px;
  height: 700px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(27, 111, 164, 0.12), transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(176, 160, 136, 0.10), transparent 55%);
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  margin-top: 24px;
}
.hero h1 .accent {
  background: linear-gradient(95deg, var(--c-primary) 0%, var(--c-slate) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.hero__lead {
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  max-width: 560px;
  color: var(--c-text-muted);
}
.hero__cta {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--c-text-soft);
  font-size: 0.85rem;
}
.hero__meta .dot {
  width: 4px; height: 4px;
  background: var(--c-text-soft);
  border-radius: 50%;
  display: inline-block;
}
.hero__meta strong { color: var(--c-text); font-weight: 600; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Hero — Visual (phone + dashboard window mockups)
   ========================================================= */
.hero__visual {
  position: relative;
  height: clamp(420px, 56vw, 540px);
}
.window {
  position: absolute;
  inset: auto 0 0 0;
  width: 92%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface-2);
}
.window__bar .led {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.window__bar .led--r { background: #FF5F57; }
.window__bar .led--y { background: #FEBC2E; }
.window__bar .led--g { background: #28C840; }
.window__bar .url {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--c-text-soft);
  background: var(--c-surface);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
}
.window__body {
  display: grid;
  grid-template-columns: 130px 1fr;
  height: 320px;
}
.window__sidebar {
  background: var(--c-slate-900);
  color: #fff;
  padding: 16px 12px;
  font-size: 0.78rem;
}
.window__sidebar .brand-mini {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; margin-bottom: 18px;
}
.window__sidebar .brand-mini .dot {
  width: 18px; height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
}
.window__sidebar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.window__sidebar li {
  padding: 7px 10px;
  border-radius: var(--r-xs);
  color: rgba(255,255,255,0.65);
}
.window__sidebar li.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.window__sidebar li.active::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--c-primary-100);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.window__main {
  padding: 18px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  background: var(--c-bg);
}
.window__title {
  display: flex; justify-content: space-between; align-items: center;
}
.window__title h4 { font-size: 0.95rem; }
.window__title .pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: rgba(43, 182, 115, 0.12);
  color: var(--c-green);
}
.window__kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.window__kpi {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 10px;
}
.window__kpi .label { font-size: 0.65rem; color: var(--c-text-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.window__kpi .value { font-size: 1.05rem; font-weight: 700; margin-top: 2px; color: var(--c-text); }
.window__kpi .delta { font-size: 0.65rem; color: var(--c-green); font-weight: 600; }
.window__chart {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 10px 12px 6px;
  position: relative;
  overflow: hidden;
}
.window__chart svg { width: 100%; height: 100%; }

/* Phone mockup */
.phone {
  position: absolute;
  right: -12px;
  top: -10px;
  width: 220px;
  height: 440px;
  background: #0d0d0f;
  border-radius: 38px;
  padding: 10px;
  box-shadow: var(--sh-3);
  transform: rotate(4deg);
  z-index: 2;
}
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  background: #0d0d0f;
  border-radius: 999px;
  z-index: 2;
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #E6EEF8 0%, #BFD2E8 100%);
}
.phone__map {
  position: absolute;
  inset: 0;
  background-image:
    /* Lines simulating roads / map */
    linear-gradient(112deg, transparent 49.6%, rgba(63,84,102,0.16) 49.6%, rgba(63,84,102,0.16) 50.4%, transparent 50.4%),
    linear-gradient(45deg, transparent 49.6%, rgba(63,84,102,0.10) 49.6%, rgba(63,84,102,0.10) 50.4%, transparent 50.4%),
    linear-gradient(78deg, transparent 49.6%, rgba(63,84,102,0.10) 49.6%, rgba(63,84,102,0.10) 50.4%, transparent 50.4%),
    radial-gradient(circle at 30% 30%, rgba(176,160,136,0.18) 0%, transparent 30%),
    radial-gradient(circle at 75% 65%, rgba(27,111,164,0.18) 0%, transparent 35%);
}
.phone__pin {
  position: absolute;
  width: 28px; height: 28px;
  background: var(--c-primary);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 16px rgba(27,111,164,.4);
}
.phone__pin::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: #fff;
  border-radius: 50%;
}
.phone__pin--1 { top: 32%; left: 28%; }
.phone__pin--2 { top: 52%; left: 60%; transform: rotate(-45deg) scale(0.8); }
.phone__pin--3 { top: 68%; left: 22%; transform: rotate(-45deg) scale(0.7); }
.phone__search {
  position: absolute;
  top: 50px; left: 12px; right: 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 10px 12px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--sh-1);
}
.phone__search-input {
  flex: 1;
  font-size: 0.7rem;
  color: var(--c-text-muted);
}
.phone__card {
  position: absolute;
  bottom: 10px; left: 10px; right: 10px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 12px;
  box-shadow: var(--sh-2);
}
.phone__card .icao {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  color: var(--c-primary);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.phone__card .name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-text);
  margin-top: 2px;
}
.phone__card .city {
  font-size: 0.7rem;
  color: var(--c-text-soft);
}
.phone__card .services {
  display: flex; gap: 5px;
  margin-top: 8px;
}
.phone__chip {
  font-size: 0.6rem;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  color: var(--c-slate);
  font-weight: 600;
}
.phone__cta {
  margin-top: 9px;
  background: var(--c-primary);
  color: #fff;
  text-align: center;
  padding: 8px 0;
  border-radius: var(--r-sm);
  font-size: 0.72rem;
  font-weight: 600;
}

@media (max-width: 880px) {
  .phone { transform: rotate(0); right: 50%; transform: translateX(50%) rotate(0); top: -20px; }
  .window { transform: rotate(0); position: relative; width: 100%; }
  .hero__visual { height: auto; display: grid; grid-template-rows: auto auto; gap: 32px; }
  .phone { position: relative; right: auto; top: auto; transform: none; margin: 0 auto; }
}

/* =========================================================
   Logo strip / "Disponível em"
   ========================================================= */
.platforms-strip {
  margin-top: 56px;
  padding: 24px 0;
  border-top: 1px dashed var(--c-border);
  border-bottom: 1px dashed var(--c-border);
  display: flex; justify-content: space-around; flex-wrap: wrap;
  align-items: center; gap: 20px;
  color: var(--c-text-soft);
  font-size: 0.85rem;
}
.platforms-strip strong { color: var(--c-text-muted); font-weight: 600; }
.platforms-strip .pill-tech {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  color: var(--c-text-muted);
}

/* =========================================================
   Personas (3 cards)
   ========================================================= */
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section__head p {
  margin-top: 16px;
  font-size: 1.1rem;
}

.personas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .personas { grid-template-columns: repeat(2, 1fr); } }
.persona {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.persona:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--c-border-strong);
}
.persona__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--c-primary-100);
  color: var(--c-primary);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.persona h3 { margin-bottom: 10px; }
.persona p { font-size: 0.95rem; }
.persona ul {
  list-style: none;
  padding: 18px 0 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--c-border);
  display: grid; gap: 10px;
}
.persona li {
  font-size: 0.88rem;
  color: var(--c-text);
  display: flex; align-items: flex-start; gap: 8px;
}
.persona li::before {
  content: '';
  flex: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(27, 111, 164, 0.10);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%231B6FA4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

@media (max-width: 600px) {
  .personas { grid-template-columns: 1fr; }
}

/* =========================================================
   "Para Pilotos / Para Aeródromos" — split sections
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.split--reverse .split__visual { order: -1; }
.split h2 { margin-top: 16px; max-width: 16ch; }
.split p.lead {
  margin-top: 18px;
  font-size: 1.05rem;
  max-width: 50ch;
}
.split .feature-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 14px;
}
.split .feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.split .feature-list .ic {
  flex: none;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--c-primary-100);
  color: var(--c-primary);
  display: grid; place-items: center;
}
.split .feature-list .t { font-weight: 600; font-size: 0.95rem; color: var(--c-text); }
.split .feature-list .d { font-size: 0.85rem; color: var(--c-text-muted); margin-top: 2px; }
.split__cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__visual { order: 0; }
}

/* App store badges */
.store-badges { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: var(--c-slate-900);
  color: #fff;
  border-radius: var(--r-md);
  transition: background .18s ease;
}
.store-badge:hover { background: #1c2944; }
.store-badge svg { width: 22px; height: 22px; }
.store-badge .label-row { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge .top { font-size: 0.65rem; opacity: 0.8; }
.store-badge .bot { font-size: 0.95rem; font-weight: 700; }

/* =========================================================
   For Pilots — full mobile mockup (bigger)
   ========================================================= */
.mobile-stage {
  position: relative;
  height: clamp(480px, 56vw, 580px);
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(27, 111, 164, 0.10), transparent 60%),
    linear-gradient(180deg, var(--c-surface-2), transparent);
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.mobile-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(27,111,164,.08), transparent 25%),
    radial-gradient(circle at 85% 75%, rgba(176,160,136,.10), transparent 25%);
}
.phone--big {
  position: relative;
  width: 270px;
  height: 540px;
  transform: rotate(-3deg);
}
.phone--big .phone__notch { top: 22px; width: 100px; height: 26px; }
.phone--big .phone__search { top: 60px; left: 14px; right: 14px; padding: 12px 14px; }
.phone--big .phone__card { bottom: 14px; left: 14px; right: 14px; padding: 14px; }
.phone--big .phone__card .name { font-size: 1.05rem; }

/* Floating badges around the phone */
.float-badge {
  position: absolute;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  box-shadow: var(--sh-2);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text);
  animation: float 5s ease-in-out infinite;
}
.float-badge .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--c-primary-100);
  color: var(--c-primary);
  display: grid; place-items: center;
}
.float-badge .ic--green { background: rgba(43, 182, 115, 0.14); color: var(--c-green); }
.float-badge .ic--gold  { background: rgba(176, 160, 136, 0.18); color: #8a7d65; }
.float-badge .sub { font-size: 0.7rem; color: var(--c-text-soft); font-weight: 500; }

.float-badge--1 { top: 14%; left: 8%; animation-delay: 0s; }
.float-badge--2 { top: 32%; right: 6%; animation-delay: -1.5s; }
.float-badge--3 { bottom: 18%; left: 5%; animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (max-width: 600px) {
  .float-badge--1 { left: 0; top: 6%; }
  .float-badge--2 { right: 0; top: 28%; }
  .float-badge--3 { display: none; }
}

/* =========================================================
   For Aerodromes — admin dashboard mockup (full width)
   ========================================================= */
.dash-stage {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #F2F5FA, transparent 50%);
  padding: 28px;
}
.dash {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.dash__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
  background: #FBFCFE;
}
.dash__bar .led { width: 10px; height: 10px; border-radius: 50%; }
.dash__bar .led--r { background: #FF5F57; }
.dash__bar .led--y { background: #FEBC2E; }
.dash__bar .led--g { background: #28C840; }
.dash__bar .breadcrumb {
  margin-left: 12px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--c-text-muted);
}
.dash__layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 460px;
}
.dash__side {
  background: var(--c-slate-900);
  color: #fff;
  padding: 20px 12px;
  font-size: 0.85rem;
}
.dash__side .brand-mini {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  padding: 0 8px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}
.dash__side .brand-mini .dot {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
}
.dash__side .group {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 14px 8px 6px;
}
.dash__side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.dash__side li {
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 10px;
  cursor: default;
}
.dash__side li.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.dash__side li .badge {
  margin-left: auto;
  background: var(--c-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--r-pill);
}
.dash__main {
  background: var(--c-bg);
  padding: 24px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
}
.dash__title {
  display: flex; justify-content: space-between; align-items: center;
}
.dash__title h4 { font-size: 1.05rem; }
.dash__title .sub { font-size: 0.78rem; color: var(--c-text-soft); margin-top: 2px; }
.dash__title .actions { display: flex; gap: 8px; }
.dash__title .actions .pill {
  padding: 6px 12px; font-size: 0.78rem; font-weight: 600;
  border-radius: var(--r-pill);
  background: var(--c-primary); color: #fff;
}
.dash__title .actions .pill--ghost {
  background: var(--c-surface); color: var(--c-text-muted); border: 1px solid var(--c-border);
}
.dash__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dash__kpi {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.dash__kpi .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-soft);
  font-weight: 600;
}
.dash__kpi .value {
  font-size: 1.4rem; font-weight: 700; margin-top: 4px; color: var(--c-text);
}
.dash__kpi .delta {
  font-size: 0.7rem; font-weight: 600; color: var(--c-green); margin-top: 2px;
}
.dash__kpi .delta--down { color: var(--c-red); }
.dash__row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12px;
}
.dash__panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 16px;
}
.dash__panel h5 {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
  display: flex; justify-content: space-between; align-items: center;
}
.dash__panel h5 .muted {
  font-size: 0.72rem; color: var(--c-text-soft); font-weight: 500;
}
.dash__row .ops-table { font-size: 0.78rem; }
.ops-row {
  display: grid;
  grid-template-columns: 70px 1fr 80px 60px 60px;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
}
.ops-row:last-child { border-bottom: 0; }
.ops-row .reg { font-family: var(--f-mono); font-weight: 700; color: var(--c-text); font-size: 0.78rem; }
.ops-row .route { color: var(--c-text-muted); }
.ops-row .eta { font-family: var(--f-mono); color: var(--c-slate); }
.ops-row .pax { color: var(--c-text-soft); text-align: center; }
.ops-row .status {
  font-size: 0.68rem; font-weight: 600;
  padding: 3px 8px; border-radius: var(--r-pill);
  text-align: center;
}
.status--ok    { background: rgba(43,182,115,.14); color: var(--c-green); }
.status--wait  { background: rgba(245,158,11,.16); color: #B47808; }
.status--info  { background: rgba(27,111,164,.12); color: var(--c-primary); }

.chart {
  height: 130px; width: 100%;
}

@media (max-width: 880px) {
  .dash__layout { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .dash__kpis { grid-template-columns: repeat(2, 1fr); }
  .dash__row { grid-template-columns: 1fr; }
  .ops-row { grid-template-columns: 60px 1fr 60px 40px 60px; font-size: 0.7rem; }
}

/* =========================================================
   Operator report mockup
   ========================================================= */
.report-stage {
  position: relative;
  padding: 28px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #F2F5FA, transparent 50%);
}
.report {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  overflow: hidden;
  padding: 22px;
  display: grid; gap: 18px;
}
.report__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap;
}
.report__sub {
  font-size: 0.72rem;
  color: var(--c-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.report__title {
  font-size: 1.1rem; font-weight: 700; color: var(--c-text); margin-top: 2px;
}
.report__tabs {
  display: flex; gap: 4px;
  background: var(--c-surface-2);
  padding: 4px;
  border-radius: var(--r-pill);
}
.rt-tab {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  color: var(--c-text-muted);
}
.rt-tab--active {
  background: var(--c-surface);
  color: var(--c-primary);
  box-shadow: var(--sh-1);
}
.report__hero {
  padding: 18px 20px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(27,111,164,0.10), transparent 50%),
    var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.report__total-label {
  font-size: 0.78rem; color: var(--c-text-muted); font-weight: 500;
}
.report__total {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.02em;
  margin-top: 4px;
  line-height: 1;
}
.report__total span { font-size: 0.58em; color: var(--c-text-muted); }
.report__total-delta {
  font-size: 0.78rem;
  color: var(--c-green);
  font-weight: 600;
  margin-top: 6px;
}
.report__breakdown h6,
.report__list h6 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.bd-row {
  display: grid;
  grid-template-columns: 110px 1fr 90px;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.82rem;
}
.bd-name { color: var(--c-text); font-weight: 500; }
.bd-bar {
  height: 8px;
  background: var(--c-surface-2);
  border-radius: var(--r-pill);
  overflow: hidden;
  position: relative;
}
.bd-bar > span {
  position: absolute; left: 0; top: 0; bottom: 0;
  border-radius: var(--r-pill);
}
.bd-val { font-family: var(--f-mono); color: var(--c-text); text-align: right; font-size: 0.78rem; font-weight: 600; }

.rl-row {
  display: grid;
  grid-template-columns: 70px 1fr 110px 60px 90px;
  gap: 10px; align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--c-border);
  font-size: 0.78rem;
}
.rl-row:first-of-type { border-top: 0; }
.rl-reg { font-family: var(--f-mono); font-weight: 700; color: var(--c-text); }
.rl-pilot { color: var(--c-text-muted); }
.rl-route { color: var(--c-slate); font-family: var(--f-mono); font-size: 0.74rem; }
.rl-date { color: var(--c-text-soft); font-size: 0.74rem; }
.rl-val { font-family: var(--f-mono); color: var(--c-text); text-align: right; font-weight: 600; }

@media (max-width: 580px) {
  .bd-row { grid-template-columns: 90px 1fr 80px; }
  .rl-row { grid-template-columns: 60px 1fr 70px 60px; gap: 8px; }
  .rl-route { display: none; }
}

/* =========================================================
   Marketplace section
   ========================================================= */
.marketplace {
  background: var(--c-slate-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.marketplace::before {
  content: '';
  position: absolute;
  inset: -200px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(27,111,164,0.32), transparent 45%),
    radial-gradient(ellipse at 20% 80%, rgba(176,160,136,0.2), transparent 45%);
}
.marketplace .container { position: relative; }
.marketplace h2, .marketplace h3 { color: #fff; }
.marketplace p { color: rgba(255,255,255,0.72); }
.marketplace .eyebrow {
  background: rgba(255,255,255,0.08);
  color: var(--c-primary-100);
}
.marketplace .eyebrow::before { background: var(--c-primary-100); }

.cat-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.cat-card {
  padding: 22px 18px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.03);
  display: grid; gap: 12px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.cat-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.cat-card .ic {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: grid; place-items: center;
}
.cat-card h4 { color: #fff; font-size: 0.95rem; font-weight: 600; }
.cat-card p { font-size: 0.78rem; color: rgba(255,255,255,0.62); }

@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 580px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Capabilities (technical pillars grid)
   ========================================================= */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cap {
  padding: 28px 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cap:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.cap .ic {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--c-primary-100);
  color: var(--c-primary);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.cap h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cap p { font-size: 0.92rem; }

@media (max-width: 880px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .cap-grid { grid-template-columns: 1fr; } }

/* =========================================================
   How it works (steps)
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  border-top: 2px dashed var(--c-border-strong);
  z-index: 0;
}
.step {
  position: relative;
  background: var(--c-bg);
  z-index: 1;
}
.step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  font-weight: 700;
  font-size: 1.2rem;
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-family: var(--f-mono);
}
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.92rem; }

@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 580px) { .steps { grid-template-columns: 1fr; } }

/* =========================================================
   Integrations strip
   ========================================================= */
.integrations {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  overflow: hidden;
}
.integ {
  padding: 28px 16px;
  display: grid; place-items: center; gap: 8px;
  border-right: 1px solid var(--c-border);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--c-slate);
  text-align: center;
}
.integ:last-child { border-right: 0; }
.integ .ic { color: var(--c-primary); }

@media (max-width: 880px) {
  .integrations { grid-template-columns: repeat(3, 1fr); }
  .integ:nth-child(3n) { border-right: 0; }
  .integ:nth-child(-n+3) { border-bottom: 1px solid var(--c-border); }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item:hover { border-color: var(--c-border-strong); }
.faq-item[open] {
  border-color: var(--c-primary);
  background: var(--c-surface);
  box-shadow: var(--sh-1);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  width: 22px; height: 22px;
  background: var(--c-surface-2);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 6.5l4 4 4-4' fill='none' stroke='%2359688A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  transition: transform .2s ease, background-color .2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-color: var(--c-primary-100);
}
.faq-answer {
  padding: 0 22px 20px;
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================================
   CTA Final
   ========================================================= */
.cta-card {
  position: relative;
  padding: clamp(48px, 6vw, 80px);
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, var(--c-primary) 0%, var(--c-slate) 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.18), transparent 25%),
    radial-gradient(circle at 88% 82%, rgba(176,160,136,0.30), transparent 35%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card h2 { color: #fff; }
.cta-card p {
  color: rgba(255,255,255,0.85);
  margin-top: 16px;
  font-size: 1.05rem;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}
.cta-card .cta-row {
  margin-top: 32px;
  display: flex; gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-card .btn--primary {
  background: #fff;
  color: var(--c-primary);
}
.cta-card .btn--primary:hover { background: #F2F5FA; color: var(--c-primary-600); }
.cta-card .btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.cta-card .btn--secondary:hover { border-color: #fff; }

/* =========================================================
   Footer
   ========================================================= */
footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--c-border);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand-block { max-width: 320px; }
.footer__brand-block .nav__brand { margin-bottom: 14px; }
.footer__brand-block p { font-size: 0.9rem; }
.footer__col h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-soft);
  font-weight: 600;
  margin: 0 0 14px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a {
  color: var(--c-text-muted);
  font-size: 0.92rem;
  transition: color .15s ease;
}
.footer__col a:hover { color: var(--c-text); }
.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
  display: flex; justify-content: space-between; align-items: flex-start;
  font-size: 0.85rem;
  color: var(--c-text-soft);
  flex-wrap: wrap;
  gap: 14px;
}
.footer__legal { display: flex; flex-direction: column; gap: 4px; max-width: 640px; }
.footer__legal-meta { font-size: 0.78rem; color: var(--c-text-soft); line-height: 1.5; }
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--c-surface-2);
  display: grid; place-items: center;
  color: var(--c-text-muted);
  transition: background .15s ease, color .15s ease;
}
.footer__social a:hover { background: var(--c-primary-100); color: var(--c-primary); }

@media (max-width: 880px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer__cols { grid-template-columns: 1fr; }
}

/* =========================================================
   Contact modal
   ========================================================= */
body.modal-open { overflow: hidden; }

.modal {
  position: fixed; inset: 0;
  display: none;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[aria-hidden="false"] { display: flex; }

.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 27, 45, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fade .22s ease;
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: clamp(28px, 4vw, 40px);
  animation: modalIn .26s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal__dialog--narrow { max-width: 440px; }
@keyframes fade { from { opacity: 0; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: var(--c-surface-2);
  border: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--c-text-muted);
  transition: background .15s, color .15s;
}
.modal__close:hover { background: var(--c-border); color: var(--c-text); }

.modal__progress {
  display: flex; gap: 6px;
  margin-bottom: 28px;
}
.modal__step-dot {
  flex: 1;
  height: 3px;
  background: var(--c-border);
  border-radius: var(--r-pill);
  transition: background .25s ease;
}
.modal__step-dot.active { background: var(--c-primary); }
.modal__step-dot.done { background: var(--c-primary); opacity: 0.45; }

.modal__step { display: none; }
.modal__step--active { display: block; animation: stepIn .25s ease; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: none; }
}

.modal__step h3 { margin-bottom: 8px; font-size: 1.4rem; }
.modal__step > p { margin-bottom: 24px; font-size: 0.95rem; }

/* Select wrapper (custom caret over native select) */
.select-wrap {
  position: relative;
}
.select-wrap select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 11px 40px 11px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--c-text);
  background: var(--c-surface);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.select-wrap select:focus {
  outline: 0;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(27, 111, 164, 0.12);
}
.select-wrap select:invalid,
.select-wrap select option[value=""] {
  color: var(--c-text-soft);
}
.select-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--c-text-muted);
}

.icao-field {
  margin: 4px 0 16px;
  padding: 14px;
  background: var(--c-primary-100);
  border-radius: var(--r-md);
  animation: stepIn .25s ease;
}
.icao-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-primary-600);
  margin-bottom: 6px;
}
.icao-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #fff;
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  background: #fff;
  color: var(--c-text);
  letter-spacing: 0.05em;
}
.icao-field input:focus { outline: 0; border-color: var(--c-primary); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.field--full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--c-text);
  background: var(--c-surface);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus {
  outline: 0;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(27, 111, 164, 0.12);
}
.field input::placeholder { color: var(--c-text-soft); }

.modal__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.modal__actions--center { justify-content: center; }
.modal__actions--end { justify-content: flex-end; }
.modal__actions .btn { min-width: 140px; }

.modal__error {
  margin-top: 14px;
  padding: 11px 14px;
  background: rgba(229, 72, 77, 0.08);
  color: var(--c-red);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  border: 1px solid rgba(229, 72, 77, 0.22);
}

.modal__step--success { text-align: center; padding: 12px 0; }
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(43, 182, 115, 0.14);
  color: var(--c-green);
  display: grid; place-items: center;
  margin: 0 auto 24px;
  animation: scaleIn .45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes scaleIn {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.submit-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 580px) {
  .form-grid, .type-grid { grid-template-columns: 1fr; }
  .modal__dialog { padding: 28px 22px; }
  .modal__actions { flex-direction: column-reverse; }
  .modal__actions .btn { width: 100%; }
  .modal__actions--center .btn { width: auto; }
}

/* =========================================================
   Panel picker (Acessar painel)
   ========================================================= */
.nav__panel-btn .nav__panel-btn-short { display: none; }
@media (max-width: 600px) {
  .nav__panel-btn .nav__panel-btn-full { display: none; }
  .nav__panel-btn .nav__panel-btn-short { display: inline; }
  .nav__panel-btn { padding: 8px 12px !important; }
}

.panel-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.panel-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.panel-option:hover {
  border-color: var(--c-primary);
  background: var(--c-surface);
  transform: translateY(-1px);
  box-shadow: var(--sh-2);
}
.panel-option__icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--c-primary-100);
  color: var(--c-primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.panel-option__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.panel-option__title {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--c-text);
  line-height: 1.2;
}
.panel-option__desc {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.35;
}
.panel-option__arrow {
  color: var(--c-text-soft);
  flex-shrink: 0;
  transition: transform .15s ease, color .15s ease;
}
.panel-option:hover .panel-option__arrow {
  color: var(--c-primary);
  transform: translateX(2px);
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Misc helpers
   ========================================================= */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-56 { margin-top: 56px; }

/* =========================================================
   MOBILE REFINEMENTS (≤600px)
   Fixes: text overflow, cropped mockups, compressed layouts
   ========================================================= */
@media (max-width: 600px) {

  /* --- Hero --- */
  .hero h1 .accent {
    white-space: normal;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
    margin-top: 16px;
  }
  .hero__lead {
    font-size: 1rem;
    margin-top: 16px;
  }
  .hero__cta {
    margin-top: 24px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    justify-content: center;
    width: 100%;
  }
  .hero__meta {
    margin-top: 20px;
    gap: 10px;
    font-size: 0.8rem;
  }
  .hero__meta .dot {
    display: none;
  }
  .hero__meta span {
    display: block;
    width: 100%;
  }

  /* --- Hero window mockup --- */
  .window__body {
    grid-template-columns: 90px 1fr;
    height: 240px;
  }
  .window__sidebar {
    padding: 10px 8px;
    font-size: 0.7rem;
  }
  .window__sidebar .brand-mini { margin-bottom: 10px; font-size: 0.72rem; }
  .window__sidebar li { padding: 5px 6px; }
  .window__main { padding: 10px; gap: 8px; }
  .window__kpis { grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
  .window__kpi { padding: 6px; }
  .window__kpi .label { font-size: 0.55rem; }
  .window__kpi .value { font-size: 0.85rem; }
  .window__title h4 { font-size: 0.82rem; }

  /* --- Phone mockup (hero) --- */
  .phone {
    width: 180px;
    height: 360px;
    border-radius: 30px;
    padding: 8px;
  }
  .phone__screen { border-radius: 22px; }
  .phone__notch { top: 14px; width: 70px; height: 18px; }
  .phone__search { top: 40px; left: 8px; right: 8px; padding: 8px 10px; }
  .phone__search-input { font-size: 0.6rem; }
  .phone__card { bottom: 8px; left: 8px; right: 8px; padding: 8px; }
  .phone__card .name { font-size: 0.78rem; }
  .phone__card .icao { font-size: 0.58rem; }
  .phone__card .city { font-size: 0.6rem; }
  .phone__card .services { gap: 3px; margin-top: 5px; }
  .phone__chip { font-size: 0.52rem; padding: 2px 5px; }
  .phone__cta { padding: 6px 0; font-size: 0.62rem; margin-top: 6px; }
  .phone__pin { width: 22px; height: 22px; }

  /* --- Mobile stage (pilots section) --- */
  .mobile-stage {
    height: auto;
    min-height: 420px;
    padding: 32px 12px;
  }
  .phone--big {
    width: 220px;
    height: 440px;
    transform: rotate(-1deg);
  }
  .phone--big .phone__notch { top: 18px; width: 80px; height: 22px; }
  .phone--big .phone__search { top: 50px; left: 10px; right: 10px; }
  .phone--big .phone__card { bottom: 10px; left: 10px; right: 10px; }

  /* Float badges — smaller and repositioned */
  .float-badge {
    padding: 8px 10px;
    font-size: 0.72rem;
    border-radius: var(--r-sm);
  }
  .float-badge .ic { width: 26px; height: 26px; border-radius: 6px; }
  .float-badge .sub { font-size: 0.6rem; }
  .float-badge--1 { top: 4%; left: 2%; }
  .float-badge--2 { top: auto; bottom: 8%; right: 2%; }

  /* --- Store badges --- */
  .store-badges {
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
  }
  .store-badge {
    padding: 10px 16px;
    justify-content: center;
    width: 100%;
  }
  .store-badge .bot { font-size: 0.88rem; }

  /* --- Personas cards --- */
  .persona {
    padding: 24px 20px;
  }
  .persona h3 { font-size: 1.05rem; }
  .persona p { font-size: 0.9rem; }
  .persona li { font-size: 0.84rem; }

  /* --- Split sections --- */
  .split h2 { max-width: none; }
  .split p.lead { font-size: 1rem; }
  .split .feature-list li { padding: 10px; }
  .split .feature-list .ic { width: 30px; height: 30px; }
  .split .feature-list .t { font-size: 0.9rem; }
  .split .feature-list .d { font-size: 0.82rem; }

  /* --- Dashboard mockup --- */
  .dash-stage { padding: 12px; }
  .dash__kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dash__kpi { padding: 10px 12px; }
  .dash__kpi .value { font-size: 1.15rem; }
  .dash__main { padding: 14px; gap: 12px; }
  .dash__title { flex-direction: column; align-items: flex-start; gap: 8px; }
  .dash__title .actions { margin-top: 4px; }
  .ops-row {
    grid-template-columns: 55px 1fr 55px 50px;
    font-size: 0.68rem;
    gap: 4px;
    padding: 8px 0;
  }
  .ops-row .pax { display: none; }
  .dash__panel h5 { font-size: 0.8rem; }
  .chart { height: 100px; }

  /* --- Report mockup --- */
  .report-stage { padding: 12px; }
  .report { padding: 14px; }
  .report__head { flex-direction: column; gap: 12px; }
  .report__tabs { align-self: flex-start; }
  .bd-row {
    grid-template-columns: 80px 1fr 70px;
    font-size: 0.78rem;
  }
  .rl-row {
    grid-template-columns: 55px 1fr 70px;
    font-size: 0.72rem;
    gap: 6px;
  }
  .rl-route, .rl-date { display: none; }

  /* --- Marketplace cards --- */
  .cat-card {
    padding: 16px 14px;
  }
  .cat-card h4 { font-size: 0.88rem; }
  .cat-card p { font-size: 0.72rem; }

  /* --- Capabilities grid --- */
  .cap {
    padding: 22px 18px;
  }
  .cap .ic { width: 38px; height: 38px; margin-bottom: 14px; }
  .cap h3 { font-size: 0.98rem; }
  .cap p { font-size: 0.88rem; }

  /* --- Steps (How it works) --- */
  .step__num {
    width: 44px; height: 44px;
    font-size: 1rem;
    margin-bottom: 12px;
  }
  .step h4 { font-size: 0.98rem; }
  .step p { font-size: 0.88rem; }

  /* --- Integrations strip --- */
  .integrations {
    grid-template-columns: repeat(3, 1fr);
  }
  .integ {
    padding: 16px 10px;
    font-size: 0.78rem;
  }
  .integ:nth-child(3n) { border-right: 0; }
  .integ:nth-child(-n+3) { border-bottom: 1px solid var(--c-border); }

  /* --- FAQ --- */
  .faq-item summary {
    padding: 14px 16px;
    font-size: 0.92rem;
    gap: 12px;
  }
  .faq-answer {
    padding: 0 16px 16px;
    font-size: 0.9rem;
  }

  /* --- CTA card --- */
  .cta-card {
    padding: clamp(32px, 6vw, 48px) 20px;
    border-radius: var(--r-lg);
  }
  .cta-card h2 {
    font-size: clamp(1.5rem, 5vw, 1.9rem);
  }
  .cta-card .cta-row {
    flex-direction: column;
    margin-top: 24px;
  }
  .cta-card .cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- Hero bottom spacing --- */
  .hero { padding-bottom: 40px; }

  /* --- Platforms strip --- */
  .platforms-strip {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px 10px;
    margin-top: 24px;
    padding: 14px 0;
    font-size: 0.8rem;
  }
  .platforms-strip .pill-tech { padding: 5px 10px; }

  /* --- Footer --- */
  footer { padding: 36px 0 28px; }
  .footer__cols { gap: 28px; margin-bottom: 28px; }
  .footer__brand-block p { font-size: 0.85rem; }
  .footer__col h5 { margin-bottom: 10px; }
  .footer__col ul { gap: 8px; }
  .footer__bottom { padding-top: 20px; font-size: 0.8rem; }

  /* --- Section spacing --- */
  .section { padding: clamp(48px, 8vw, 72px) 0; }
  .section-tight { padding: clamp(36px, 6vw, 56px) 0; }
  .section__head { margin-bottom: 36px; }
  .section__head p { font-size: 1rem; }

  /* --- Nav compact --- */
  .nav__inner { height: 60px; }
}

/* =========================================================
   SMALL MOBILE (≤375px) — iPhone SE and similar
   ========================================================= */
@media (max-width: 375px) {
  :root {
    --gutter: 16px;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .phone--big {
    width: 190px;
    height: 380px;
  }
  .float-badge--2 { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .store-badge { padding: 10px 12px; }
  .store-badge .bot { font-size: 0.82rem; }
}
