/* ============================================================
   Fly Melanesia — marketing site
   Palette: blueviolet #8a2be2, soft gold/cream, deep ink.
   ============================================================ */

:root {
  --purple: #8a2be2;
  --purple-d: #6c18bc;
  --purple-deep: #4a0e88;
  --purple-ink: #2f075e;
  --purple-tint: #f4e9fe;
  --purple-soft: #efe2fd;
  --gold-1: #e9cc8d;
  --gold-2: #f3e3bd;
  --gold-3: #f9efd9;
  --gold-ink: #5f4d24;
  --ink: #2f2b36;
  --ink-soft: #4a4552;
  --muted: #79737f;
  --line: #e4e0e8;
  --soft: #faf8fc;
  --white: #ffffff;
  --green: #0a7d32;
  --green-bg: #e2f6e9;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(47, 7, 94, 0.14);
  --shadow-soft: 0 8px 26px rgba(47, 7, 94, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-d); }

img, svg { max-width: 100%; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

.kicker {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--purple);
  background: var(--purple-tint); border: 1px solid #e2ccfa;
  padding: .32rem .7rem; border-radius: 999px;
}
.kicker.gold { color: #8a6d2f; background: rgba(255,255,255,.6); border-color: rgba(138,109,47,.25); }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head h2 {
  font-size: clamp(1.7rem, 1.1rem + 2.3vw, 2.6rem);
  line-height: 1.15; letter-spacing: -.02em; margin-top: .7rem;
}
.section-head p { color: var(--muted); margin-top: .8rem; font-size: 1.02rem; max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; cursor: pointer; font-family: inherit; font-weight: 800;
  border-radius: 12px; padding: .85rem 1.4rem; font-size: .95rem;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary {
  background: var(--purple); color: #fff;
  box-shadow: 0 10px 24px rgba(138, 43, 226, .32);
}
.btn-primary:hover { background: var(--purple-d); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--purple-deep);
  border: 1.5px solid rgba(138, 43, 226, .35);
}
.btn-ghost:hover { border-color: var(--purple); background: var(--purple-tint); transform: translateY(-2px); }

.store-buttons { display: flex; flex-wrap: wrap; gap: .7rem; }
.store-btn {
  display: inline-flex; align-items: center; gap: .65rem;
  background: #14101b; color: #fff; border: 1px solid #2b2436;
  border-radius: 13px; padding: .55rem 1rem; cursor: pointer;
  font-family: inherit; text-align: left; min-width: 168px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
}
.store-btn:hover {
  transform: translateY(-2px); border-color: #4c3a63; color: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .24);
}
.store-btn svg { width: 26px; height: 26px; flex: 0 0 26px; }
.store-btn .sb-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn .sb-top { font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: #b9b2c6; font-weight: 600; }
.store-btn .sb-main { font-size: 1.02rem; font-weight: 700; letter-spacing: .01em; }

/* ---------- Header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-row {
  min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  color: #fff; display: grid; place-items: center; font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(138, 43, 226, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-text b { font-size: 1.1rem; letter-spacing: -.01em; }
.brand-text small {
  font-size: .56rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-top: 2px;
}
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { color: var(--ink-soft); font-size: .88rem; font-weight: 600; }
.site-nav a:hover { color: var(--purple); }
.head-cta { padding: .62rem 1.1rem; font-size: .86rem; border-radius: 10px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 9px; width: 42px; height: 42px; cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink); font-size: 1.15rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(138, 43, 226, .16), transparent 62%),
    radial-gradient(700px 380px at -8% 105%, rgba(233, 204, 141, .55), transparent 58%),
    linear-gradient(160deg, #fdf9ef 0%, #fbf4e3 46%, #f6ecf9 100%);
  border-bottom: 1px solid rgba(138, 109, 47, .16);
  padding: clamp(2.8rem, 6vw, 5.2rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero::before {
  content: "✈";
  position: absolute; right: -0.08em; top: -0.16em;
  font-size: clamp(16rem, 34vw, 30rem); line-height: 1;
  color: rgba(138, 109, 47, .07); transform: rotate(10deg);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(2rem, 6vw, 4.5rem); align-items: center;
  position: relative; z-index: 1;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.15rem);
  line-height: 1.03; letter-spacing: -.035em; color: #2b2109;
  margin-top: 1.05rem; max-width: 15ch;
}
.hero-copy h1 .accent {
  background: linear-gradient(100deg, var(--purple) 10%, #b05ef0 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy .lede {
  margin-top: 1.2rem; font-size: clamp(.98rem, .9rem + .3vw, 1.12rem);
  color: #635535; max-width: 52ch; line-height: 1.65;
}
.hero-copy .store-buttons { margin-top: 1.7rem; }
.hero-note {
  display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .8rem;
  margin-top: 1rem; font-size: .78rem; color: #7d6b45;
}
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(10, 125, 50, .13); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.1rem; }
.hero-stat b { display: block; font-size: 1.35rem; letter-spacing: -.02em; color: #33280e; }
.hero-stat span { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: #8b7a51; font-weight: 700; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% 4% 2% 6%;
  background: radial-gradient(circle at 55% 40%, rgba(138, 43, 226, .3), transparent 67%);
  filter: blur(26px); z-index: 0;
}
.hero-phone-wrap { position: relative; z-index: 1; transform: rotate(-1.5deg); }
.float-badge {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .55rem;
  background: #fff; border-radius: 13px; padding: .6rem .8rem;
  box-shadow: 0 14px 34px rgba(47, 7, 94, .18); border: 1px solid rgba(228, 224, 232, .8);
  font-size: .72rem; font-weight: 700; color: var(--ink);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-badge small { display: block; font-size: .58rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.float-badge .fb-icon {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .9rem;
}
.float-badge.one { top: 12%; left: -7%; }
.float-badge.one .fb-icon { background: var(--green-bg); }
.float-badge.two { bottom: 15%; right: -8%; animation-delay: -2.4s; }
.float-badge.two .fb-icon { background: var(--purple-tint); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Phone mockup ---------- */

.phone {
  width: min(322px, 82vw); background: #17121e; border-radius: 40px;
  padding: 9px; box-shadow: 0 34px 80px rgba(37, 10, 66, .34), 0 0 0 1px rgba(255,255,255,.08) inset;
  position: relative;
}
.phone::after {
  content: ""; position: absolute; width: 92px; height: 5px; border-radius: 4px;
  background: rgba(255,255,255,.16); bottom: 5px; left: 50%; transform: translateX(-50%);
}
.phone-screen {
  background: #fff; border-radius: 32px; overflow: hidden; position: relative;
  height: 590px; display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 76px; height: 18px; border-radius: 999px; background: #17121e; z-index: 5;
}
.app-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 13px 9px; background: #fff;
}
.app-brand { display: flex; align-items: center; gap: 7px; }
.app-logo {
  width: 28px; height: 28px; border-radius: 8px; background: var(--purple);
  color: #fff; display: grid; place-items: center; font-size: 13px;
  box-shadow: 0 4px 9px rgba(138,43,226,.35);
}
.app-brand b { font-size: 12px; letter-spacing: -.01em; display: block; line-height: 1.1; }
.app-brand small { font-size: 5.5px; letter-spacing: .18em; color: #8c8594; font-weight: 800; }
.app-menu { width: 30px; height: 25px; border: 1px solid #e4e0e8; border-radius: 7px; display: grid; place-items: center; font-size: 10px; color: #3c3c3c; }
.app-gold { height: 3px; background: linear-gradient(90deg, var(--gold-1), var(--gold-2), var(--gold-3)); }

.app-scroll { flex: 1; overflow: hidden; }
.app-hero {
  background: var(--gold-2); padding: 12px 13px 26px; position: relative; overflow: hidden;
}
.app-hero::after {
  content: "✈"; position: absolute; right: -8px; top: -18px; font-size: 76px;
  color: rgba(138, 109, 47, .13); transform: rotate(12deg);
}
.app-kicker { font-size: 4.6px; letter-spacing: .16em; font-weight: 800; color: #7a6330; }
.app-hero h3 { font-size: 13.5px; line-height: 1.13; color: #33280e; margin-top: 5px; max-width: 180px; letter-spacing: -.02em; }
.app-hero p { font-size: 6.4px; line-height: 1.5; color: #6b5a33; margin-top: 4px; max-width: 190px; }

.app-search {
  margin: -16px 10px 0; background: #fff; border-radius: 11px;
  border: 1px solid #e4e0e8; box-shadow: 0 7px 18px rgba(47,7,94,.11);
  padding: 9px; position: relative; z-index: 2;
}
.app-tabs { display: flex; gap: 4px; margin-bottom: 7px; }
.app-tabs span {
  font-size: 5.6px; font-weight: 700; padding: 3px 6px; border-radius: 999px;
  border: 1px solid #e4e0e8; color: #8c8594; background: #fff;
}
.app-tabs .on { background: var(--purple); border-color: var(--purple); color: #fff; }
.app-route { display: flex; align-items: center; gap: 4px; }
.app-route > div {
  flex: 1; border: 1px solid #e4e0e8; border-radius: 8px; padding: 5px 6px; min-width: 0;
}
.app-route small, .app-dates small { display: block; font-size: 4.2px; letter-spacing: .1em; font-weight: 800; color: #8c8594; }
.app-route b { display: block; font-size: 7.4px; color: #2f2b36; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-route em {
  font-style: normal; font-size: 4.6px; font-weight: 800; color: var(--purple);
  background: var(--purple-tint); border-radius: 3px; padding: 1px 3px;
}
.app-route .swap {
  width: 18px; height: 18px; border-radius: 50%; background: var(--purple-tint);
  display: grid; place-items: center; font-size: 7px; color: var(--purple); flex: 0 0 18px;
}
.app-dates { display: flex; gap: 4px; margin-top: 5px; }
.app-dates > div { flex: 1; border: 1px solid #e4e0e8; border-radius: 8px; padding: 5px 6px; }
.app-dates b { font-size: 7.2px; color: #2f2b36; }
.app-btn {
  margin-top: 7px; background: var(--purple); color: #fff; text-align: center;
  border-radius: 7px; padding: 6px; font-size: 7px; font-weight: 800;
  box-shadow: 0 4px 10px rgba(138,43,226,.3);
}
.app-deals { padding: 10px 10px 0; }
.app-deals h4 { font-size: 8px; letter-spacing: -.01em; border-bottom: 1.5px solid var(--purple); padding-bottom: 3px; }
.app-deal-row { display: flex; gap: 5px; margin-top: 5px; }
.app-deal {
  flex: 1; border: 1px solid #e4e0e8; border-radius: 8px; padding: 6px 6px 5px;
  background: #fff;
}
.app-deal .code { font-size: 5px; font-weight: 800; color: var(--purple); background: var(--purple-tint); border-radius: 3px; padding: 1px 3px; }
.app-deal .flag { font-size: 8px; float: right; }
.app-deal b { display: block; font-size: 6.8px; margin-top: 3px; color: #2f2b36; }
.app-deal small { display: block; font-size: 4.6px; color: #8c8594; }
.app-deal .price { font-size: 8.5px; font-weight: 800; color: var(--purple); margin-top: 3px; display: block; }
.app-tabbar {
  display: flex; border-top: 1px solid #e4e0e8; background: #fff; margin-top: auto;
  padding: 4px 0 8px;
}
.app-tabbar span { flex: 1; text-align: center; font-size: 5.6px; color: #8c8594; font-weight: 700; }
.app-tabbar span.on { color: var(--purple); }

/* Alternate phone screens */

.phone.small { width: min(270px, 74vw); border-radius: 34px; padding: 8px; }
.phone.small .phone-screen { border-radius: 27px; height: 505px; }
.phone.small .phone-notch { width: 62px; height: 15px; top: 9px; }
.screen-head { background: var(--purple-deep); color: #fff; padding: 30px 13px 12px; }
.screen-head .sk { font-size: 4.6px; letter-spacing: .14em; font-weight: 800; color: #c9aef0; }
.screen-head h3 { font-size: 12px; margin-top: 3px; letter-spacing: -.02em; }
.screen-chips { display: flex; gap: 3px; margin-top: 6px; flex-wrap: wrap; }
.screen-chips span {
  font-size: 4.8px; padding: 2px 5px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
}
.screen-body { padding: 9px 10px; background: #fff; }
.screen-label { font-size: 6.4px; font-weight: 800; border-bottom: 1.5px solid var(--purple); padding-bottom: 3px; display: flex; justify-content: space-between; align-items: baseline; }
.screen-label small { font-size: 4.4px; color: var(--purple); font-weight: 700; }
.offer {
  border: 1px solid #e4e0e8; border-radius: 8px; padding: 6px 7px; margin-top: 5px;
}
.offer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 5px; }
.offer b { font-size: 6.6px; display: block; color: #2f2b36; }
.offer small { font-size: 4.6px; color: #8c8594; display: block; }
.offer .price { font-size: 8.4px; font-weight: 800; color: var(--purple); white-space: nowrap; }
.offer .legs { display: flex; gap: 8px; margin-top: 4px; padding-top: 3px; border-top: 1px solid #f3eff6; }
.offer .legs span { font-size: 4.8px; color: #4a4552; }
.offer .legs small { font-size: 3.9px; letter-spacing: .09em; font-weight: 800; color: #8c8594; }
.offer .book {
  display: inline-block; margin-top: 4px; background: var(--purple); color: #fff;
  font-size: 4.8px; font-weight: 800; border-radius: 4px; padding: 2px 6px;
}
.city-card {
  background: var(--purple-deep); border-radius: 10px; padding: 10px 11px; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.city-card h3 { font-size: 11.5px; }
.city-card small { font-size: 4.8px; color: #e3d3f8; display: block; margin-top: 2px; }
.city-card .code-box {
  border: 1px dashed rgba(255,255,255,.45); background: rgba(255,255,255,.12);
  border-radius: 7px; padding: 4px 7px; font-size: 10px; font-weight: 800; letter-spacing: .05em;
}
.fare-row {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  border: 1px solid #e4e0e8; border-radius: 7px; padding: 5px 7px; margin-top: 5px;
}
.fare-row b { font-size: 6.2px; display: block; }
.fare-row small { font-size: 4.4px; color: #8c8594; }
.fare-row .amount { font-size: 7.6px; font-weight: 800; color: var(--purple); }
.fare-row .go { font-size: 4.6px; background: var(--purple); color: #fff; border-radius: 3px; padding: 2px 4px; font-weight: 800; }
.hotel-mini {
  display: flex; align-items: center; gap: 6px; border: 1px solid #e4e0e8;
  border-radius: 7px; padding: 5px 6px; margin-top: 5px;
}
.hotel-mini .thumb { width: 22px; height: 22px; border-radius: 5px; background: var(--purple-tint); display: grid; place-items: center; font-size: 10px; }
.hotel-mini b { font-size: 5.8px; display: block; }
.hotel-mini small { font-size: 4.2px; color: #8c8594; display: block; }
.hotel-mini .stars { font-size: 4.4px; color: #d99a26; letter-spacing: .08em; }
.hotel-mini .rate { margin-left: auto; font-size: 7px; font-weight: 800; color: var(--purple); text-align: right; }
.hotel-mini .rate small { font-size: 3.6px; color: #8c8594; }

/* ---------- Stats strip ---------- */

.stats-strip { border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 1.5rem 0; gap: 1rem;
}
.stat { text-align: center; border-left: 1px solid var(--line); padding: .2rem .5rem; }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 1.55rem; letter-spacing: -.03em; color: var(--purple-deep); }
.stat span { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }

/* ---------- Features ---------- */

.features { background: linear-gradient(180deg, #fff 0%, #fbf8ff 100%); }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; transition: transform .18s, box-shadow .18s, border-color .18s;
  position: relative; overflow: hidden;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: #d5bdf1; }
.feature .f-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.35rem; background: var(--purple-tint); margin-bottom: .9rem;
}
.feature:nth-child(2) .f-icon { background: #fff4dc; }
.feature:nth-child(3) .f-icon { background: #e5f6ec; }
.feature:nth-child(4) .f-icon { background: #e8effd; }
.feature:nth-child(5) .f-icon { background: #fdeee9; }
.feature:nth-child(6) .f-icon { background: #f0f8e6; }
.feature h3 { font-size: 1.05rem; letter-spacing: -.01em; }
.feature p { font-size: .87rem; color: var(--muted); margin-top: .4rem; line-height: 1.6; }
.feature .f-tag {
  display: inline-block; margin-top: .8rem; font-size: .62rem; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; color: var(--purple);
  background: var(--purple-tint); border-radius: 999px; padding: .2rem .55rem;
}
.feature.wide {
  grid-column: span 3; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem; align-items: center;
  background: linear-gradient(120deg, #fbf7ff 0%, #f3e9fe 100%);
  border-color: #ddc4f6;
}
.feature.wide .offer-preview {
  background: #fff; border-radius: 12px; padding: .8rem; box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.offer-preview .op-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.offer-preview b { font-size: .8rem; }
.offer-preview small { display: block; font-size: .66rem; color: var(--muted); }
.offer-preview .op-price { font-size: 1rem; font-weight: 800; color: var(--purple); }
.offer-preview .op-legs {
  display: flex; gap: 1rem; margin-top: .55rem; padding-top: .5rem;
  border-top: 1px solid var(--soft); font-size: .65rem; color: var(--muted);
}
.offer-preview .op-legs b { font-size: .68rem; color: var(--ink); }
.offer-preview .op-book {
  display: inline-block; margin-top: .55rem; background: var(--purple); color: #fff;
  font-size: .68rem; font-weight: 800; border-radius: 6px; padding: .28rem .7rem;
}

/* ---------- Destinations ---------- */

.destinations { background: #fbf8ff; border-block: 1px solid var(--line); }
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.dest-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.dest-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: #d5bdf1; }
.dest-top { display: flex; align-items: center; gap: .7rem; }
.dest-flag { font-size: 1.8rem; line-height: 1; }
.dest-card h3 { font-size: 1.08rem; letter-spacing: -.01em; }
.dest-card .dest-sub { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--purple); font-weight: 800; }
.dest-card p { font-size: .85rem; color: var(--muted); margin-top: .6rem; line-height: 1.55; }
.dest-pills { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .9rem; }
.dest-pills span {
  font-size: .7rem; color: var(--ink-soft); background: var(--soft);
  border: 1px solid var(--line); border-radius: 999px; padding: .18rem .55rem;
}
.dest-pills span b { color: var(--purple); font-weight: 800; }

/* ---------- Screens gallery ---------- */

.screens { background: #fff; }
.screens-row {
  display: flex; justify-content: center; gap: clamp(1rem, 3vw, 2.6rem);
  flex-wrap: wrap; align-items: flex-end; margin-top: 1rem;
}
.screen-item { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.screen-item .caption { text-align: center; }
.screen-item .caption b { display: block; font-size: .92rem; }
.screen-item .caption span { font-size: .74rem; color: var(--muted); }

/* ---------- How it works ---------- */

.how { background: linear-gradient(180deg, #fbf8ff, #fff); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.4rem 1.3rem;
}
.step .num {
  position: absolute; top: -16px; left: 1.3rem; width: 34px; height: 34px;
  border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: .9rem; box-shadow: 0 6px 14px rgba(138,43,226,.32);
}
.step h3 { font-size: 1.02rem; margin-top: .3rem; }
.step p { font-size: .85rem; color: var(--muted); margin-top: .35rem; line-height: 1.6; }

/* ---------- FAQ ---------- */

.faq { background: #fff; }
.faq-list { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0;
  font-weight: 700; font-size: .97rem; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--purple-tint);
  color: var(--purple); display: grid; place-items: center; font-size: 1rem; font-weight: 600;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { font-size: .88rem; color: var(--muted); padding: 0 0 1.15rem; max-width: 68ch; line-height: 1.65; }

/* ---------- Download CTA ---------- */

.download { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.download-card {
  position: relative; overflow: hidden; border-radius: 26px;
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(233, 204, 141, .35), transparent 60%),
    linear-gradient(120deg, var(--purple-ink) 0%, var(--purple-deep) 46%, var(--purple) 105%);
  color: #fff; padding: clamp(2rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center;
}
.download-card::after {
  content: "✈"; position: absolute; right: 2%; bottom: -0.4em; font-size: 13rem;
  color: rgba(255,255,255,.06); transform: rotate(-8deg); pointer-events: none;
}
.download-card h2 { font-size: clamp(1.7rem, 1rem + 2.4vw, 2.7rem); line-height: 1.1; letter-spacing: -.03em; }
.download-card p { color: #e3d3f8; margin-top: .8rem; max-width: 46ch; font-size: .97rem; }
.download-card .store-buttons { margin-top: 1.5rem; }
.download-card .fine { margin-top: .9rem; font-size: .74rem; color: #c9b0ea; }
.download-side { position: relative; z-index: 1; display: flex; justify-content: center; }
.download-note {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px; padding: 1.15rem 1.3rem; backdrop-filter: blur(5px);
  font-size: .8rem; color: #eddefb; max-width: 300px;
}
.download-note b { color: #fff; display: block; font-size: .9rem; margin-bottom: .25rem; }
.download-note .count { font-size: 1.5rem; font-weight: 800; color: var(--gold-1); display: block; margin-top: .5rem; }

/* ---------- Footer ---------- */

.site-foot { background: #1b1028; color: #c5b4d8; font-size: .83rem; }
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem;
  padding: 3rem 0 2rem;
}
.foot-brand .brand-text b { color: #fff; }
.foot-brand p { margin-top: .9rem; color: #a993c2; max-width: 34ch; line-height: 1.6; font-size: .8rem; }
.foot-col h4 {
  color: #fff; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  margin-bottom: .8rem; font-weight: 800;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.foot-col a { color: #c5b4d8; font-size: .82rem; }
.foot-col a:hover { color: var(--gold-1); }
.foot-col button.linklike {
  background: none; border: 0; padding: 0; font: inherit; color: #c5b4d8; cursor: pointer; text-align: left;
}
.foot-col button.linklike:hover { color: var(--gold-1); }
.foot-bar {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.1rem 0; color: #9a84b3;
  font-size: .74rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.foot-bar .fine { color: #7d6797; }

/* ---------- Notify modal ---------- */

.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 1rem;
}
.modal.open { display: flex; }
.modal-overlay {
  position: absolute; inset: 0; background: rgba(24, 8, 40, .55);
  backdrop-filter: blur(5px);
}
.modal-panel {
  position: relative; z-index: 1; width: min(440px, 100%);
  background: #fff; border-radius: 20px; padding: 1.6rem;
  box-shadow: 0 30px 80px rgba(20, 5, 35, .35);
  animation: pop .22s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: .85rem; right: .85rem; width: 32px; height: 32px;
  border-radius: 50%; border: 0; background: var(--soft); cursor: pointer;
  font-size: .95rem; color: var(--ink); display: grid; place-items: center;
}
.modal-close:hover { background: var(--purple-tint); color: var(--purple); }
.modal-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.4rem; background: var(--purple-tint); margin-bottom: .9rem;
}
.modal-panel h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.modal-panel .modal-sub { font-size: .85rem; color: var(--muted); margin-top: .35rem; line-height: 1.55; }
.modal-form { margin-top: 1.1rem; display: flex; flex-direction: column; gap: .6rem; }
.modal-form label { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.modal-form input {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 11px;
  font: inherit; font-size: .95rem; color: var(--ink); outline: none;
}
.modal-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(138,43,226,.15); }
.modal-form .btn { width: 100%; margin-top: .2rem; }
.modal-fine { font-size: .68rem; color: var(--muted); margin-top: .7rem; line-height: 1.5; text-align: center; }
.modal-error { font-size: .78rem; color: #c0392b; font-weight: 600; display: none; }
.modal-error.show { display: block; }
.modal-success { text-align: center; padding: .8rem 0 .2rem; display: none; }
.modal-success.show { display: block; }
.modal-success .check {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto .9rem;
  background: var(--green-bg); border: 2px solid #b5e3c6; color: var(--green);
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 800;
}
.modal-success h3 { font-size: 1.2rem; }
.modal-success p { font-size: .88rem; color: var(--muted); margin-top: .4rem; line-height: 1.55; }
.modal-success .btn { margin-top: 1rem; min-width: 140px; }

/* ---------- Legal / prose pages ---------- */

.doc-hero {
  background: linear-gradient(150deg, var(--gold-3), #f6ecf9);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.4rem, 5vw, 4rem) 0;
}
.doc-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.7rem); letter-spacing: -.03em; color: #2b2109; margin-top: .7rem; }
.doc-hero p { color: #6b5a33; margin-top: .6rem; max-width: 60ch; }
.doc {
  max-width: 800px; margin-inline: auto; padding: clamp(2.2rem, 5vw, 3.6rem) 0;
}
.doc h2 { font-size: 1.3rem; letter-spacing: -.02em; margin: 2rem 0 .6rem; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { font-size: .93rem; color: var(--ink-soft); line-height: 1.7; }
.doc p + p { margin-top: .7rem; }
.doc ul { margin: .6rem 0 0 1.2rem; }
.doc li { margin: .3rem 0; }
.doc .callout {
  background: var(--purple-tint); border: 1px solid #e2ccfa; border-radius: 12px;
  padding: 1rem 1.1rem; margin: 1.2rem 0; font-size: .88rem; color: var(--purple-deep);
}
.doc .updated { font-size: .78rem; color: var(--muted); margin-top: 2rem; }

/* ---------- Reveal animation ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero-copy { text-align: center; }
  .hero-copy h1, .hero-copy .lede { margin-inline: auto; }
  .hero-copy .store-buttons, .hero-note, .hero-stats { justify-content: center; }
  .hero-visual { margin-top: .5rem; }
  .float-badge.one { left: 2%; }
  .float-badge.two { right: 2%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature.wide { grid-column: span 2; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .download-card { grid-template-columns: 1fr; }
  .download-side { justify-content: flex-start; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed; inset: 70px 0 auto; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft);
    padding: .6rem 1.25rem 1.2rem; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .7rem .2rem; border-bottom: 1px solid var(--soft); font-size: .95rem; }
  .site-nav .head-cta { margin-top: .7rem; text-align: center; border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
  .stat:nth-child(3) { border-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .dest-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature.wide { grid-column: span 1; grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
  .hero-stat b { font-size: 1.15rem; }
}

@media (max-width: 440px) {
  .wrap { width: min(1160px, 100% - 1.6rem); }
  .store-btn { min-width: 152px; padding: .5rem .8rem; }
  .store-btn .sb-main { font-size: .92rem; }
  .hero-stats { gap: 1rem; }
  .float-badge { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-column: span 1; }
}

/* ---------------- Flight search on the website ---------------- */
.hero-search-link { margin: 0 0 1rem; }
.flight-search { background: linear-gradient(180deg, var(--gold-3) 0%, #fff 70%); }
.fs-card, .fs-results {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: clamp(1.1rem, 2.5vw, 1.8rem);
}
.fs-results { margin-top: 1.2rem; }
.fs-trip { display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.fs-trip label { cursor: pointer; }
.fs-trip input { position: absolute; opacity: 0; pointer-events: none; }
.fs-trip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--ink-soft);
}
.fs-trip input:checked + span { background: var(--purple-tint); border-color: var(--purple); color: var(--purple-deep); }
.fs-trip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(138,43,226,.25); }
.fs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.fs-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.fs-field.fs-wide { grid-column: span 2; }
.fs-field label { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fs-field input, .fs-field select {
  width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: 11px;
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--white); outline: none;
}
.fs-field input:focus, .fs-field select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(138,43,226,.15); }
.fs-error { font-size: .85rem; color: #c0392b; font-weight: 600; margin-top: .8rem; display: none; }
.fs-error.show { display: block; }
.fs-submit { margin-top: 1rem; min-width: 200px; }
.fs-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.fs-summary h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.fs-summary p { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.fs-offer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border: 1.5px solid var(--line); border-radius: 14px; padding: .9rem 1rem; margin-top: .8rem;
}
.fs-offer b { display: block; font-size: 1rem; }
.fs-offer small { display: block; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.fs-price { text-align: right; }
.fs-price b { font-size: 1.25rem; color: var(--purple-deep); }
.fs-estimate { background: var(--gold-3); border-color: var(--gold-1); }
.fs-live { display: inline-block; background: var(--green-bg); color: var(--green); font-size: .7rem; font-weight: 800; border-radius: 999px; padding: .15rem .6rem; margin-top: .6rem; }
.fs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.fs-chips { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.fs-chip {
  min-height: 44px; padding: 0 1rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--white);
  font: inherit; font-weight: 700; font-size: .85rem; color: var(--ink-soft); cursor: pointer;
}
.fs-chip:hover { border-color: var(--purple); }
.fs-chip.active { background: var(--purple-deep); border-color: var(--purple-deep); color: var(--white); }
.fs-direct { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .4rem; font-size: .85rem; font-weight: 700; color: var(--ink-soft); cursor: pointer; }
.fs-direct input { width: 18px; height: 18px; accent-color: var(--purple-deep); }
.fs-count { font-size: .85rem; color: var(--muted); }
.fs-flight {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 260px); margin-top: .8rem;
  border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-soft);
}
.fs-flight-main { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; justify-content: center; gap: .8rem; min-width: 0; }
.fs-leg { display: grid; grid-template-columns: auto auto minmax(60px, 1fr) auto; align-items: center; gap: 1rem; }
.fs-badge {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--purple-tint);
  color: var(--purple-deep); font-weight: 800; font-size: .9rem; letter-spacing: .04em; box-shadow: var(--shadow-soft);
}
.fs-time b { display: block; font-size: 1.3rem; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.fs-time small { display: block; color: var(--muted); font-size: .75rem; margin-top: .15rem; }
.fs-time-end { text-align: right; }
.fs-path { text-align: center; min-width: 0; }
.fs-path small { display: block; color: var(--muted); font-size: .72rem; min-height: 1em; }
.fs-path i { display: block; height: 1.5px; background: var(--line); margin: .3rem auto; max-width: 180px; }
.fs-details summary { cursor: pointer; color: var(--purple-deep); font-weight: 700; font-size: .82rem; min-height: 32px; display: inline-flex; align-items: center; }
.fs-details p, .fs-flight-note { color: var(--muted); font-size: .82rem; margin-top: .25rem; }
.fs-flight-side {
  background: var(--purple-tint); border-left: 1.5px solid var(--line); padding: 1rem 1.1rem;
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center; text-align: right; gap: .15rem;
}
.fs-flight-estimate .fs-flight-side { background: var(--gold-3); }
.fs-side-label { font-size: .75rem; font-weight: 800; color: var(--purple-deep); }
.fs-side-price { font-size: 1.5rem; line-height: 1.15; color: var(--ink); }
.fs-flight-side small { color: var(--muted); font-size: .75rem; }
.fs-side-btn { width: 100%; margin-top: .6rem; min-height: 48px; }
.fs-chosen { font-size: .88rem; font-weight: 700; color: var(--purple-deep); margin: -.4rem 0 1rem; }
@media (max-width: 720px) {
  .fs-flight { grid-template-columns: 1fr; }
  .fs-flight-side { border-left: 0; border-top: 1.5px solid var(--line); align-items: stretch; text-align: left; }
  .fs-leg { gap: .6rem; }
  .fs-badge { width: 40px; height: 40px; font-size: .8rem; }
  .fs-time b { font-size: 1.1rem; }
}
.fs-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.2rem; }
.fs-partners { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; font-size: .85rem; color: var(--muted); }
.fs-partners a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; border-radius: 10px;
  border: 1.5px solid rgba(138,43,226,.3); font-weight: 700; font-size: .85rem;
}
.fs-partners a:hover { background: var(--purple-tint); }
.fs-book { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1.5px solid var(--line); }
.fs-book h3 { font-size: 1.1rem; }
.fs-book-sub { color: var(--muted); font-size: .88rem; margin: .3rem 0 1rem; max-width: 60ch; }
.fs-fine { font-size: .75rem; color: var(--muted); margin-top: .8rem; }
.fs-done { margin-top: 1.4rem; padding: 1.2rem; border-radius: 14px; background: var(--green-bg); text-align: center; }
.fs-done .check {
  width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800;
  display: grid; place-items: center; margin: 0 auto .5rem;
}
.fs-done p { color: var(--ink-soft); font-size: .92rem; margin-top: .3rem; }
[hidden] { display: none !important; }
@media (max-width: 820px) {
  .fs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .fs-grid { grid-template-columns: 1fr; }
  .fs-field.fs-wide { grid-column: span 1; }
  .fs-submit, .fs-actions .btn { width: 100%; }
}
