/* SmartRoster marketing site — FLIGHT DECK identity (same palette as the app:
   night-blue #0F1A26 surfaces, EFIS cyan #2AC0DE, green #34D399). Dark-only
   by design (cockpit look). Fonts: Barlow (display) + Lato (body), bundled. */

@font-face { font-family: 'Barlow'; src: url('../fonts/Barlow-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/Barlow-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('../fonts/Lato-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('../fonts/Lato-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --bg: #0B131D;            /* surfaceContainerLowest */
  --surface: #0F1A26;       /* night blue */
  --card: #15212E;
  --card-hi: #1A2836;
  --line: #26343F;
  --line-hi: #35485a;
  --text: #EAF2FA;
  --muted: #8CA0B3;
  --cyan: #2AC0DE;
  --cyan-soft: #9EEBFB;
  --cyan-deep: #0E3A54;
  --green: #34D399;
  --amber: #FBBF24;
  --red: #F87171;
  --grad: linear-gradient(92deg, #2AC0DE, #67E8F9);
  --radius: 16px;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16.5px/1.65 'Lato', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, .brand, .btn { font-family: 'Barlow', system-ui, sans-serif; }
a { color: var(--cyan-soft); text-decoration: none; }
img { max-width: 100%; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ═══ Nav ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 26px;
  padding: 14px 24px;
  transition: background .25s, box-shadow .25s;
}
.nav.scrolled { background: rgba(11,19,29,.88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); letter-spacing: .2px; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, #2AC0DE, #0E3A54);
  display: grid; place-items: center;
}
.brand .mark svg { width: 19px; height: 19px; stroke: #06222b; }
.brand em { font-style: normal; color: var(--cyan); }
.navlinks { margin-left: auto; display: flex; align-items: center; gap: 22px; font-family: 'Barlow'; font-weight: 600; font-size: 14.5px; }
.navlinks > a { color: var(--muted); }
.navlinks > a:hover { color: var(--text); }
@media (max-width: 760px) { .navlinks > a.hideS { display: none; } }

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 12px; font-weight: 700; font-size: 15px;
  padding: 12px 22px; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn-grad { background: var(--grad); color: #04222B; box-shadow: 0 6px 24px -8px rgba(42,192,222,.55); }
.btn-grad:hover { box-shadow: 0 10px 30px -8px rgba(42,192,222,.7); }
.btn-ghost { border-color: var(--line-hi); color: var(--text); background: rgba(21,33,46,.5); }
.btn-ghost:hover { background: var(--card-hi); }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* ═══ Hero ═══ */
.hero {
  position: relative;
  padding: 128px 24px 70px;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
@media (max-width: 920px) { .hero { grid-template-columns: 1fr; padding-top: 108px; } }
.aurora { position: absolute; inset: 0; overflow: visible; pointer-events: none; z-index: -1; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; }
.aurora .a1 { width: 480px; height: 480px; background: #17607a; top: -160px; left: -120px; }
.aurora .a2 { width: 380px; height: 380px; background: #0E3A54; top: 40px; right: -100px; }
.aurora .a3 { width: 300px; height: 300px; background: #14532d; bottom: -140px; left: 40%; opacity: .18; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font: 700 12.5px 'Barlow'; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--cyan-soft); background: rgba(42,192,222,.09);
  border: 1px solid rgba(42,192,222,.25); border-radius: 100px;
  padding: 7px 15px; margin-bottom: 22px;
}
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

.h1 { font-size: clamp(38px, 5.4vw, 58px); line-height: 1.06; font-weight: 700; letter-spacing: -.5px; margin-bottom: 20px; }
.lead { font-size: 18.5px; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.lead strong { color: var(--text); }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 15px; height: 15px; stroke: var(--green); flex: none; }

/* ── Phone mockup ── */
.phone-wrap { display: flex; justify-content: center; perspective: 1200px; }
.phone {
  width: 320px; border-radius: 34px; padding: 12px;
  background: linear-gradient(160deg, #1a2836, #0b131d);
  border: 1px solid var(--line-hi);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 60px -20px rgba(42,192,222,.25);
  transform: rotateY(-6deg) rotateX(2deg);
}
@media (max-width: 920px) { .phone { transform: none; } }
.screen { background: var(--surface); border-radius: 24px; overflow: hidden; font-size: 12.5px; }
.p-head { padding: 14px 16px 10px; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); }
.p-head b { font-family: 'Barlow'; font-size: 15px; letter-spacing: .3px; }
.p-head span { color: var(--muted); font-size: 11px; }
.p-day { padding: 8px 16px 4px; font: 700 11px 'Barlow'; letter-spacing: 1.2px; color: var(--muted); }
.p-day.today { color: var(--green); }
.p-row { display: flex; align-items: center; gap: 10px; padding: 7px 16px; }
.p-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; font-size: 12px; }
.p-ic.fl { background: rgba(42,192,222,.14); color: var(--cyan); }
.p-ic.ho { background: rgba(251,191,36,.13); color: var(--amber); }
.p-ic.ci { background: rgba(140,160,179,.13); color: var(--muted); }
.p-main { flex: 1; min-width: 0; }
.p-main b { display: block; font-family: 'Barlow'; font-weight: 600; font-size: 13px; }
.p-main span { color: var(--muted); font-size: 11px; }
.p-time { text-align: right; font-family: 'Barlow'; font-weight: 600; font-size: 12px; color: var(--cyan-soft); }
.p-time span { display: block; color: var(--muted); font-weight: 400; font-size: 10.5px; }
.p-ftl { margin: 10px 14px 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.p-ftl .lbl { display: flex; justify-content: space-between; font: 600 10.5px 'Barlow'; letter-spacing: .8px; color: var(--muted); margin-bottom: 6px; }
.p-ftl .lbl b { color: var(--text); }
.p-bar { height: 6px; border-radius: 4px; background: var(--card-hi); overflow: hidden; }
.p-bar i { display: block; height: 100%; width: 68%; border-radius: 4px; background: var(--grad); }
.p-swap { margin: 0 14px 14px; display: flex; align-items: center; gap: 8px; background: rgba(52,211,153,.09); border: 1px solid rgba(52,211,153,.3); color: #86efac; border-radius: 12px; padding: 9px 12px; font: 600 12px 'Barlow'; }
.p-swap svg { width: 14px; height: 14px; flex: none; }

/* ═══ Stats strip ═══ */
.stats { max-width: var(--maxw); margin: 0 auto; padding: 8px 24px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; padding: 18px 10px; }
.stat b { display: block; font: 700 30px 'Barlow'; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13px; color: var(--muted); }

/* ═══ Sections ═══ */
.section { max-width: var(--maxw); margin: 0 auto; padding: 76px 24px; }
.section.muted { max-width: none; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.muted > .inner { max-width: var(--maxw); margin: 0 auto; }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 46px; }
.eyebrow2 { font: 700 12px 'Barlow'; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); }
.h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.4px; margin: 10px 0 14px; line-height: 1.15; }
.sec-head p { color: var(--muted); font-size: 17px; }

/* Features grid */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 920px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feats { grid-template-columns: 1fr; } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, border-color .2s; }
.feat:hover { transform: translateY(-3px); border-color: var(--line-hi); }
.feat h3 { font-size: 17.5px; margin: 14px 0 8px; }
.feat p { font-size: 14.5px; color: var(--muted); }
.fic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.fic svg { width: 21px; height: 21px; stroke: #fff; }
.ic-cyan { background: linear-gradient(135deg, #2AC0DE, #156b85); }
.ic-blue { background: linear-gradient(135deg, #3b82f6, #1e3a8a); }
.ic-green { background: linear-gradient(135deg, #34D399, #166534); }
.ic-amber { background: linear-gradient(135deg, #FBBF24, #92620e); }
.ic-violet { background: linear-gradient(135deg, #a78bfa, #4c1d95); }
.ic-red { background: linear-gradient(135deg, #F87171, #7f1d1d); }

/* Airlines */
.airlines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 920px) { .airlines { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .airlines { grid-template-columns: 1fr; } }
.air { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.air .code { font: 700 26px 'Barlow'; letter-spacing: 1px; }
.air .code small { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 8px; letter-spacing: 0; }
.air ul { list-style: none; margin-top: 12px; flex: 1; }
.air li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--muted); padding: 3px 0; }
.air li svg { width: 14px; height: 14px; stroke: var(--green); flex: none; margin-top: 3px; }
.air li.dim svg { stroke: var(--muted); }
.air.next { border-color: rgba(42,192,222,.4); background: linear-gradient(160deg, rgba(42,192,222,.08), var(--card)); }
.air.next p { color: var(--muted); font-size: 14px; margin-top: 10px; flex: 1; }
.air.next .btn { margin-top: 16px; justify-content: center; }
.badge { display: inline-block; font: 700 10.5px 'Barlow'; letter-spacing: 1.2px; border-radius: 100px; padding: 3px 10px; margin-bottom: 10px; width: fit-content; }
.badge.full { color: #86efac; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); }
.badge.core { color: var(--cyan-soft); background: rgba(42,192,222,.1); border: 1px solid rgba(42,192,222,.3); }
.badge.soon { color: var(--amber); background: rgba(251,191,36,.09); border: 1px solid rgba(251,191,36,.3); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 26px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step .n { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font: 700 19px 'Barlow'; background: var(--grad); color: #04222B; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ═══ Waitlist form ═══ */
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 880px) { .join-grid { grid-template-columns: 1fr; } }
.join-copy h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 10px 0 14px; line-height: 1.15; }
.join-copy p { color: var(--muted); margin-bottom: 18px; }
.join-copy .privacy {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; font-size: 14px;
}
.join-copy .privacy b { font-family: 'Barlow'; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.join-copy .privacy svg { width: 16px; height: 16px; stroke: var(--green); }
.join-copy .privacy ul { list-style: none; }
.join-copy .privacy li { padding: 3px 0 3px 22px; position: relative; color: var(--muted); }
.join-copy .privacy li::before { content: '—'; position: absolute; left: 4px; color: var(--cyan); }

.form { background: var(--card); border: 1px solid var(--line-hi); border-radius: 20px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.form label { display: block; font: 700 12px 'Barlow'; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin: 16px 0 7px; }
.form label:first-child { margin-top: 0; }
.form input[type=email], .form input[type=text], .form select {
  width: 100%; background: var(--surface); color: var(--text);
  border: 1px solid var(--line-hi); border-radius: 11px;
  padding: 12px 14px; font: 400 15.5px 'Lato'; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(42,192,222,.18); }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238CA0B3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.file {
  border: 1.5px dashed var(--line-hi); border-radius: 11px; padding: 16px 14px;
  display: flex; align-items: center; gap: 12px; cursor: pointer; transition: border-color .15s, background .15s;
  color: var(--muted); font-size: 14px;
}
.file:hover { border-color: var(--cyan); background: rgba(42,192,222,.05); }
.file.has { border-color: var(--green); color: var(--text); border-style: solid; }
.file svg { width: 20px; height: 20px; stroke: var(--cyan); flex: none; }
.file input { display: none; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 7px; }
.form .btn { width: 100%; justify-content: center; margin-top: 22px; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.msg { margin-top: 14px; border-radius: 11px; padding: 12px 14px; font-size: 14.5px; display: none; }
.msg.ok { display: block; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); color: #86efac; }
.msg.err { display: block; background: rgba(248,113,113,.09); border: 1px solid rgba(248,113,113,.35); color: #fca5a5; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 17px 20px; font: 600 16px 'Barlow'; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; color: var(--cyan); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* CTA */
.cta { position: relative; text-align: center; padding: 90px 24px; overflow: hidden; }
.cta h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.cta p { color: var(--muted); margin-bottom: 26px; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 44px 24px 28px; }
.finner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; }
@media (max-width: 760px) { .finner { grid-template-columns: 1fr; } }
.footer h4 { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer li a { color: var(--muted); font-size: 14.5px; line-height: 2; }
.footer li a:hover { color: var(--text); }
.ftext { color: var(--muted); font-size: 13.5px; margin-top: 14px; max-width: 420px; }
.fbottom { max-width: var(--maxw); margin: 30px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--rd, 0ms), transform .6s ease var(--rd, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }
