/*
Theme Name: AirScalp Native
Theme URI: https://airscalp.com/
Author: AirScalp
Description: Lightweight conversion and SEO theme for AirScalp.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: airscalp
*/

:root {
  --ink: #0b1638;
  --ink-soft: #475475;
  --night: #06112f;
  --blue: #2557ff;
  --blue-dark: #173cc5;
  --sky: #e9f3ff;
  --mint: #31d3a6;
  --cream: #fffaf1;
  --white: #ffffff;
  --line: #dce4f3;
  --shadow: 0 24px 70px rgba(6, 17, 47, .13);
  --radius: 24px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #82a3ff; outline-offset: 3px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(220, 228, 243, .88);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 21px; font-weight: 850; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: 0 0 34px; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 9px 11px; color: var(--ink); font-size: 14px; font-weight: 720; text-decoration: none; border-radius: 10px; }
.main-nav a:hover { background: var(--sky); }
.main-nav .nav-cta { margin-left: 8px; padding: 11px 17px; color: #fff; background: var(--blue); box-shadow: 0 8px 22px rgba(37, 87, 255, .22); }
.main-nav .nav-cta:hover { color: #fff; background: var(--blue-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 5px; background: currentColor; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 78px;
  background:
    radial-gradient(circle at 82% 14%, rgba(49, 211, 166, .18), transparent 27%),
    radial-gradient(circle at 15% 10%, rgba(37, 87, 255, .12), transparent 31%),
    linear-gradient(180deg, #f9fbff 0%, #fff 100%);
}
.hero::after { content: ""; position: absolute; inset: auto -12% -175px; height: 280px; border-radius: 50%; background: var(--sky); opacity: .58; transform: rotate(-2deg); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr .94fr; gap: 68px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--blue-dark); font-size: 13px; font-weight: 850; letter-spacing: .11em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--mint); }
h1, h2, h3 { margin: 0 0 .55em; font-weight: 860; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(44px, 5.4vw, 74px); }
h2 { font-size: clamp(33px, 4vw, 52px); }
h3 { font-size: clamp(21px, 2vw, 27px); }
.hero-copy > p:not(.eyebrow) { max-width: 650px; color: var(--ink-soft); font-size: clamp(18px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.button, a.button, .wp-block-button__link {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 21px; border: 1px solid transparent; border-radius: 13px;
  color: #fff; background: var(--blue); font-weight: 800; line-height: 1.2; text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 87, 255, .22); transition: transform .18s ease, background .18s ease;
}
.button:hover, a.button:hover { color: #fff; background: var(--blue-dark); transform: translateY(-2px); }
.button.secondary { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: none; }
.button.secondary:hover { color: var(--blue-dark); background: var(--sky); }
.microcopy { margin: 15px 0 0; color: #64708d !important; font-size: 13px !important; }

.flight-panel { position: relative; padding: 22px; border: 1px solid rgba(255,255,255,.52); border-radius: 30px; background: rgba(255,255,255,.72); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-label { color: var(--ink-soft); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.watching { display: inline-flex; align-items: center; gap: 7px; color: #086c50; font-size: 12px; font-weight: 800; }
.watching::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 6px rgba(49,211,166,.14); }
.route-card { overflow: hidden; border-radius: 20px; color: #fff; background: var(--night); }
.route-head { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding: 27px 26px 25px; }
.airport:last-child { text-align: right; }
.airport-code { display: block; font-size: 35px; font-weight: 900; letter-spacing: -.04em; }
.airport-name { color: #b8c7ee; font-size: 12px; }
.route-line { position: relative; width: 90px; height: 1px; background: #53648e; }
.route-line::before { content: "✈"; position: absolute; top: 50%; left: 50%; color: var(--mint); font-size: 19px; transform: translate(-50%, -54%); }
.rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #26375f; }
.rule { padding: 16px 14px; background: #101f47; }
.rule small { display: block; color: #96a7d0; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rule strong { display: block; margin-top: 3px; color: #fff; font-size: 16px; }
.price-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 15px 17px; border-radius: 15px; background: var(--sky); }
.price-status span { color: var(--ink-soft); font-size: 13px; }
.price-status strong { color: var(--blue-dark); }

.trust-row { position: relative; z-index: 2; padding: 23px 0; border-block: 1px solid var(--line); background: #fff; }
.trust-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 760; }
.trust-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; color: var(--blue-dark); background: var(--sky); font-size: 15px; }

.section { padding: 94px 0; }
.section.tint { background: #f7f9fe; }
.section.night { color: #fff; background: var(--night); }
.section.night p, .section.night .section-lead { color: #bac7e8; }
.section.night .eyebrow { color: #93aeff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-lead { color: var(--ink-soft); font-size: 19px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 34px rgba(6,17,47,.045); }
.card-number { display: grid; width: 42px; height: 42px; margin-bottom: 21px; place-items: center; border-radius: 13px; color: var(--blue-dark); background: var(--sky); font-weight: 900; }
.card p { margin-bottom: 0; color: var(--ink-soft); }
.feature-card { position: relative; overflow: hidden; min-height: 250px; }
.feature-card::after { content: ""; position: absolute; right: -42px; bottom: -62px; width: 130px; height: 130px; border-radius: 50%; background: var(--sky); }
.check-list { display: grid; gap: 13px; margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 31px; }
.check-list li::before { content: "✓"; position: absolute; top: 1px; left: 0; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #056149; background: #dff9f0; font-size: 12px; font-weight: 900; }

.comparison { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.comparison table { width: 100%; border-collapse: collapse; min-width: 700px; }
.comparison th, .comparison td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.comparison th { color: var(--ink-soft); background: #f7f9fe; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.comparison th:nth-child(2), .comparison td:nth-child(2) { color: var(--blue-dark); background: #f1f5ff; font-weight: 780; }
.comparison tr:last-child td { border-bottom: 0; }

.price-layout { display: grid; grid-template-columns: 1fr .9fr; gap: 54px; align-items: center; }
.price-card { padding: 34px; border: 1px solid #3758b4; border-radius: 28px; background: #101f47; box-shadow: 0 28px 74px rgba(0,0,0,.25); }
.price { margin: 16px 0; font-size: 58px; font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.price small { color: #a9b6d7; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.price-card .button { width: 100%; margin-top: 22px; background: var(--mint); color: #052e26; box-shadow: none; }
.price-card .button:hover { background: #65e2bf; color: #052e26; }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq summary { padding: 20px 52px 20px 21px; cursor: pointer; font-weight: 820; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; margin-right: -30px; color: var(--blue); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 21px 21px; color: var(--ink-soft); }

.join { position: relative; overflow: hidden; border-radius: 34px; background: linear-gradient(135deg, #0a1943, #173b9b); box-shadow: var(--shadow); }
.join::after { content: ""; position: absolute; right: -110px; top: -130px; width: 360px; height: 360px; border: 70px solid rgba(49,211,166,.13); border-radius: 50%; }
.join-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .82fr 1.18fr; gap: 55px; padding: 55px; color: #fff; }
.join-copy p { color: #c0cdee; }
.beta-form { padding: 27px; border-radius: 22px; color: var(--ink); background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cbd6e9; border-radius: 10px; color: var(--ink); background: #fff; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(37,87,255,.14); }
.consent { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-soft); font-size: 12px; }
.consent input { margin-top: 4px; }
.beta-form .button { width: 100%; border: 0; }
.form-note { margin: 12px 0 0; color: #6a7692; font-size: 11px; text-align: center; }
.success-box { margin-bottom: 17px; padding: 13px 15px; border: 1px solid #99e4cb; border-radius: 11px; color: #075a43; background: #e8faf4; font-weight: 750; }

.page-hero { padding: 72px 0 58px; background: linear-gradient(180deg, #f4f8ff, #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; font-size: clamp(39px, 5vw, 62px); }
.page-hero p { max-width: 740px; color: var(--ink-soft); font-size: 19px; }
.breadcrumbs { margin-bottom: 17px; color: #6b7793; font-size: 13px; }
.breadcrumbs a { color: inherit; }
.page-shell { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 62px; padding: 62px 0 92px; align-items: start; }
.entry-content { min-width: 0; }
.entry-content > :first-child { margin-top: 0; }
.entry-content section { margin: 0 0 30px; padding: 29px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.entry-content section:first-child { border: 0; padding: 0; }
.entry-content h2 { margin-top: 1.15em; font-size: clamp(28px, 3vw, 39px); }
.entry-content section h2:first-child { margin-top: 0; }
.entry-content h3 { margin-top: 1.2em; font-size: 23px; }
.entry-content p, .entry-content li { color: #34415f; }
.entry-content ul, .entry-content ol { padding-left: 24px; }
.entry-content .cta, .entry-content a.cta { display: inline-flex; padding: 11px 17px; border-radius: 10px; color: #fff; background: var(--blue); font-weight: 800; text-decoration: none; }
.side-card { position: sticky; top: 101px; padding: 23px; border-radius: 20px; color: #fff; background: var(--night); }
.side-card h2 { font-size: 24px; }
.side-card p { color: #bac7e8; font-size: 14px; }
.side-card .button { width: 100%; box-shadow: none; }
.side-links { margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid #30416c; list-style: none; }
.side-links li + li { margin-top: 8px; }
.side-links a { color: #ced8f4; font-size: 13px; }

.site-footer { padding: 58px 0 30px; color: #aebbdc; background: #050d24; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; }
.site-footer .brand { color: #fff; }
.footer-about { max-width: 350px; font-size: 14px; }
.footer-title { margin: 0 0 14px; color: #fff; font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { color: #aebbdc; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #243255; font-size: 12px; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; padding: 14px 20px 22px; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 18px 35px rgba(6,17,47,.1); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav .nav-cta { margin: 5px 0 0; text-align: center; }
  .hero-grid, .price-layout, .join-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 47px; }
  .flight-panel { width: min(100%, 620px); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .page-shell { grid-template-columns: 1fr; }
  .side-card { position: relative; top: auto; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 68px; }
  .hero { padding: 57px 0 55px; }
  h1 { font-size: clamp(40px, 13vw, 56px); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-actions .button { justify-content: center; }
  .flight-panel { padding: 13px; border-radius: 22px; }
  .route-head { padding: 22px 15px; gap: 8px; }
  .airport-code { font-size: 28px; }
  .route-line { width: 54px; }
  .rule-grid { grid-template-columns: 1fr; }
  .trust-items, .grid-2, .grid-3, .form-grid { grid-template-columns: 1fr; }
  .trust-items { gap: 14px; }
  .section { padding: 70px 0; }
  .join { border-radius: 24px; }
  .join-grid { padding: 28px 18px; gap: 28px; }
  .field.full { grid-column: auto; }
  .page-hero { padding: 52px 0 41px; }
  .page-shell { padding-top: 40px; gap: 38px; }
  .entry-content section { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
