/* ============================================================================
   Sevi: AI Travel Planner — sevichaapps.com
   ----------------------------------------------------------------------------
   One stylesheet for the whole site. The palette is the app's own: the navy
   gradient, teal and amber from its splash screen, so the site and the app open
   with the same colours and the same globe.
   ========================================================================== */

:root {
  /* Surfaces, dark to light */
  --page:        #070D1F;
  --page-lift:   #0B1428;
  --surface:     #0E1A33;
  --surface-top: #14213F;
  --rule:        rgba(255, 255, 255, 0.07);
  --rule-strong: rgba(255, 255, 255, 0.16);

  /* Ink */
  --ink:       #F2F6FF;
  --ink-soft:  #9FB0CC;
  --ink-faint: #6C7E9C;
  --ink-body:  #C9D4E8;

  /* Accents, both from the app */
  --teal:  #00E5FF;
  --amber: #FFAB00;
  --on-teal: #04101F;

  /* Type */
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --gutter: 24px;
  --max: 1180px;
}

@media (min-width: 900px) {
  :root { --gutter: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: #7FF1FF; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* Anything wide enough to overflow a phone scrolls inside itself rather than
   pushing the page sideways. */
.scroll-x { overflow-x: auto; }

/* ── Header ───────────────────────────────────────────────────────────── */

.site-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 13, 31, 0.88);
  backdrop-filter: blur(14px);
}

.site-head__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__names { display: flex; flex-direction: column; line-height: 1.15; }
.brand__product { font-size: 15px; font-weight: 700; letter-spacing: -0.2px; }
.brand__company { font-size: 9.5px; font-weight: 600; letter-spacing: 0.7px; color: var(--ink-faint); }

@media (min-width: 900px) {
  .brand__product { font-size: 17px; }
  .brand__company { font-size: 10.5px; }
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink-soft); font-size: 14.5px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* 50px, never less: a tap target below 44px is a tap somebody misses. */
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--teal); color: var(--on-teal); }
.btn--primary:hover { background: #7FF1FF; color: var(--on-teal); }
.btn--ghost { border-color: var(--rule-strong); color: var(--ink); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.34); color: var(--ink); }
.btn--pill { min-height: 40px; border-radius: 999px; padding: 0 18px; font-size: 14px; font-weight: 600; }

/* The menu is a checkbox, so it works with JavaScript switched off. */
.nav-toggle { display: none; }
.nav-burger {
  display: flex;
  width: 44px; height: 44px;
  margin-right: -10px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-burger svg { stroke: var(--ink-soft); }

.nav--desktop { display: none; }

.nav--mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--gutter) 20px;
  border-bottom: 1px solid var(--rule);
}
.nav--mobile a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 16px;
  color: var(--ink-soft);
}
.nav-toggle:checked ~ .nav--mobile { display: flex; }

@media (min-width: 900px) {
  .nav--desktop { display: flex; }
  .nav-burger { display: none; }
  .nav--mobile { display: none !important; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero { background: linear-gradient(160deg, #080E26 0%, #0C1F3A 100%); }

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px var(--gutter) 44px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 980px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
    padding-block: 76px 84px;
  }
  .hero__copy { flex: 1 1 auto; max-width: 620px; }
}

.eyebrow {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--teal);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

h1 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.3px;
  line-height: 1.06;
  margin: 16px 0 0;
  font-size: clamp(36px, 7vw, 66px);
  text-wrap: pretty;
}

.lede {
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.hero__actions .btn { width: 100%; }

@media (min-width: 560px) {
  .hero__actions { flex-direction: row; }
  .hero__actions .btn { width: auto; }
}

.hero__note { font-size: 12.5px; color: var(--ink-faint); margin: 14px 0 0; }

/* ── The globe scene ──────────────────────────────────────────────────────
   A lit sphere rather than a circle: the light sits upper-left, the terminator
   lower-right, and the meridians narrow toward the limb. That shading is the
   whole reason it reads as a ball. Sized from one custom property so the phone
   and desktop versions are the same object at two scales. */

.scene {
  --d: 230px;             /* sphere diameter */
  position: relative;
  width: min(100%, 470px);
  height: calc(var(--d) * 1.44);
  margin: 26px auto 0;
  flex-shrink: 0;
}

@media (min-width: 980px) {
  .scene { --d: 310px; margin: 0; width: 470px; height: 500px; }
}

.scene__halo {
  position: absolute;
  left: 50%;
  top: 6%;
  width: calc(var(--d) * 1.36);
  height: calc(var(--d) * 1.36);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(0, 229, 255, 0.19) 0%,
    rgba(0, 229, 255, 0.05) 45%,
    rgba(0, 229, 255, 0) 70%);
}

.scene__globe {
  position: absolute;
  left: 50%;
  top: 20%;
  width: var(--d);
  height: var(--d);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 33% 27%,
    #3A8FF0 0%, #1B62C9 26%, #0E3C8C 52%, #0A2472 74%, #050B28 100%);
  box-shadow:
    inset -0.07em -0.085em 0.22em rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(0, 229, 255, 0.42),
    0 34px 78px rgba(0, 50, 130, 0.45);
  font-size: var(--d);
}

.scene__grid { position: absolute; inset: 0; opacity: 0.3; }

.scene__orbit {
  position: absolute;
  left: 50%;
  top: 43%;
  width: calc(var(--d) * 1.36);
  height: calc(var(--d) * 0.66);
  transform: translateX(-50%) rotate(-14deg);
  border: 1px dashed rgba(0, 229, 255, 0.3);
  border-radius: 50%;
}

.scene__dot { position: absolute; border-radius: 50%; }
.scene__dot--teal {
  width: 12px; height: 12px; background: var(--teal);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.9);
  left: 6%; top: 78%;
}
.scene__dot--amber {
  width: 9px; height: 9px; background: var(--amber);
  box-shadow: 0 0 14px rgba(255, 171, 0, 0.8);
  right: 6%; top: 44%;
}

.scene__pin { position: absolute; left: 50%; top: 0; transform: translateX(-42%); }

.scene__phone {
  position: absolute;
  left: 0;
  top: 34%;
  width: 60%;
  max-width: 252px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--page-lift);
  padding: 10px;
  box-shadow: 24px 34px 74px rgba(0, 0, 0, 0.6);
}

/* Turned into the scene on a wide screen. Left flat on a phone, where the
   rotation eats the width the screen needs to stay readable. */
@media (min-width: 980px) {
  .scene__phone {
    transform: perspective(1400px) rotateY(15deg) rotateX(3deg) rotateZ(-2deg);
    box-shadow: 34px 44px 90px rgba(0, 0, 0, 0.62);
  }
}

@media (max-width: 979px) {
  .scene__phone { left: 50%; transform: translateX(-50%); top: 38%; }
}

.phone__screen { border-radius: 18px; background: var(--surface); overflow: hidden; }
.phone__head { padding: 14px 14px 11px; border-bottom: 1px solid var(--rule); }
.phone__meta { font-size: 9.5px; letter-spacing: 1.3px; color: var(--ink-faint); font-weight: 600; }
.phone__city { font-family: var(--display); font-size: 22px; margin-top: 3px; }
.phone__body { padding: 13px 14px; display: flex; flex-direction: column; gap: 11px; }
.phone__day { font-size: 9.5px; letter-spacing: 1.1px; color: var(--teal); font-weight: 700; }
.phone__stop { display: flex; gap: 10px; }
.phone__time { font-size: 11px; color: var(--ink-faint); width: 36px; flex-shrink: 0; }
.phone__what { font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.phone__cost { font-size: 11px; color: var(--ink-soft); margin-top: 1px; }
.phone__note {
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  font-size: 11.5px;
  color: var(--ink-body);
}
.phone__who { color: var(--amber); font-weight: 700; }

/* ── Sections ─────────────────────────────────────────────────────────── */

section { padding-block: 52px; }
@media (min-width: 900px) { section { padding-block: 80px; } }

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.2px;
  line-height: 1.12;
  margin: 0;
}

h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 34px); margin: 0; }

.section-lede { font-size: clamp(15px, 1.5vw, 16.5px); color: var(--ink-soft); margin: 14px 0 0; max-width: 62ch; }

.kicker { font-size: 11.5px; letter-spacing: 1.3px; font-weight: 700; color: var(--teal); }
.kicker--amber { color: var(--amber); }

/* ── Cards ────────────────────────────────────────────────────────────── */

.grid { display: grid; gap: 14px; margin-top: 26px; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) {
  .grid { gap: 18px; margin-top: 40px; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-top) 0%, var(--surface) 60%);
  border: 1px solid var(--rule);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
@media (min-width: 900px) { .card { padding: 28px; } }

.card__title { font-size: 16.5px; font-weight: 700; margin-top: 15px; }
.card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.62; margin: 8px 0 0; }

.card--flat {
  background: var(--page-lift);
  box-shadow: none;
  padding: 20px;
  border-radius: 14px;
}
.card--flat .card__title { margin-top: 0; font-size: 14.5px; }
.card--flat p { font-size: 13px; margin-top: 5px; }

/* ── Alternating feature rows ─────────────────────────────────────────── */

.row { display: flex; flex-direction: column; gap: 20px; padding-block: 34px; }
@media (min-width: 980px) {
  .row { flex-direction: row; align-items: center; gap: 56px; padding-block: 34px; }
  .row > * { flex: 1 1 0; }
  .row--flip { flex-direction: row-reverse; }
}
.row p { color: var(--ink-soft); line-height: 1.7; margin: 13px 0 0; font-size: 15.5px; }

.panel {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-top) 0%, var(--surface) 60%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}
@media (min-width: 980px) { .panel { padding: 26px; } }

.line { display: flex; gap: 11px; }
.line + .line { margin-top: 14px; }
.line__time { font-size: 12px; color: var(--ink-faint); width: 40px; flex-shrink: 0; }
.line__what { font-size: 13.5px; font-weight: 600; }
.line__sub { font-size: 12px; color: var(--ink-soft); }

.total {
  display: flex; justify-content: space-between;
  margin-top: 16px; padding-top: 13px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
}

.faces { display: flex; }
.face {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  border: 2px solid var(--surface-top);
}
.face + .face { margin-left: -9px; }

.event {
  margin-top: 15px; padding: 12px 14px; border-radius: 11px;
  font-size: 12.5px; color: var(--ink-body);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
}
.event--quiet { background: rgba(255, 255, 255, 0.04); border-color: transparent; }

/* ── Band ─────────────────────────────────────────────────────────────── */

.band {
  background: linear-gradient(120deg, #0C1F3A 0%, #0A1730 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.band__inner { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 900px) {
  .band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 60px; }
}

.note-box {
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 171, 0, 0.3);
  background: rgba(255, 171, 0, 0.06);
}
.note-box__label { font-size: 12.5px; color: var(--amber); font-weight: 700; letter-spacing: 0.6px; }

/* ── Long-form pages ──────────────────────────────────────────────────── */

.prose { max-width: 68ch; font-size: 15.5px; line-height: 1.75; color: var(--ink-body); }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); color: var(--ink); margin: 40px 0 10px; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

.page-head { padding-block: 44px 0; }
@media (min-width: 900px) { .page-head { padding-block: 64px 0; } }
.page-head p { font-size: 14.5px; color: var(--ink-faint); margin: 12px 0 0; }

.callout {
  margin-top: 40px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Contact ──────────────────────────────────────────────────────────── */

.contact { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 980px) { .contact { flex-direction: row; gap: 56px; align-items: flex-start; } }
.contact__col { flex: 1 1 0; display: flex; flex-direction: column; gap: 12px; }

.mail-card {
  display: block;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--ink);
}
.mail-card:hover { border-color: rgba(0, 229, 255, 0.4); color: var(--ink); }
.mail-card--primary { border-color: rgba(0, 229, 255, 0.25); }
.mail-card__label { font-size: 11.5px; letter-spacing: 1.1px; font-weight: 700; color: var(--ink-faint); }
.mail-card--primary .mail-card__label { color: var(--teal); }
.mail-card__value { font-size: clamp(16px, 2vw, 20px); font-weight: 700; margin-top: 7px; word-break: break-word; color: var(--teal); }
.mail-card__hint { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }

.steps { display: flex; flex-direction: column; gap: 15px; margin-top: 18px; }
.step { display: flex; gap: 12px; }
.step__n {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: rgba(0, 229, 255, 0.14); color: var(--teal);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── Download ─────────────────────────────────────────────────────────── */

.stores { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 34px; }
@media (min-width: 760px) { .stores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.store { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid rgba(255,255,255,0.12); }
.store--play { border-color: rgba(0, 229, 255, 0.28); }
.store__name { font-size: 20px; font-weight: 700; margin-top: 14px; }
.store__req { font-size: 14px; color: var(--ink-soft); margin-top: 5px; }
.store .btn { width: 100%; margin-top: 20px; }
.store__url { font-size: 12px; color: var(--ink-faint); margin-top: 12px; word-break: break-all; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-foot { border-top: 1px solid var(--rule); padding-block: 40px 32px; }
.foot__top { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 900px) { .foot__top { flex-direction: row; justify-content: space-between; gap: 48px; } }
.foot__about { max-width: 320px; }
.foot__name { font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.foot__addr { font-size: 13.5px; color: var(--ink-faint); margin-top: 8px; line-height: 1.6; }
.foot__cols { display: flex; flex-wrap: wrap; gap: 28px 52px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__head { color: var(--ink-faint); font-size: 12px; letter-spacing: 1px; font-weight: 700; }
.foot__col a { color: var(--ink-soft); font-size: 14px; }
.foot__legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--ink-faint); line-height: 1.6; }

/* Respect a reduced-motion preference: the only motion here is smooth scroll,
   and somebody who has asked for less of it should not get it. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
