/* ===== Travix promo site ===== */
/* Design system mirrors the mobile app: Montserrat + dreamy purple/peach/blue
   gradients, green CTA accents, and rounded cards with soft glow shadows. */

:root {
  --c-bg: #FFFFFF;
  --c-bg-tint: #FAF6FF;
  --c-text: #1F1635;
  --c-text-soft: #5A4F75;
  --c-text-mute: #8A83A1;

  --c-brand-blue: #B8D8F8;
  --c-brand-purple: #E8D5F0;
  --c-brand-purple-deep: #C4A8E8;
  --c-brand-peach: #F5E0C8;
  --c-brand-violet: #8B5CF6;

  --c-green: #4CAF50;
  --c-green-deep: #388E3C;
  --c-ocean: #D6EAF8;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-soft: 0 10px 30px rgba(136, 97, 203, 0.15);
  --shadow-glow: 0 20px 60px rgba(136, 97, 203, 0.25);

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
p  { margin: 0 0 16px; color: var(--c-text-soft); font-size: clamp(1rem, 1.2vw, 1.1rem); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-brand-violet);
  background: rgba(139, 92, 246, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow--light {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.22);
}

.grad-text {
  background: linear-gradient(120deg, #8B5CF6 0%, #5E9DD6 50%, #3FB6B8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-text--light {
  background: linear-gradient(120deg, #FFD07A 0%, #FFA9C8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(196, 168, 232, 0.2);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-text);
}
.nav__logo { width: 36px; height: 36px; border-radius: 9px; }
.nav__name {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.nav__tagline {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--c-text-soft);
  letter-spacing: 0;
}
@media (max-width: 640px) {
  .nav__tagline { display: none; }
}
.nav__cta {
  display: inline-block;
  padding: 10px 18px;
  background: var(--c-green);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}
.nav__cta:hover { background: var(--c-green-deep); transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 10vw, 120px) var(--pad) clamp(80px, 12vw, 140px);
  background:
    radial-gradient(ellipse 120% 80% at 80% 10%, rgba(184, 216, 248, 0.55), transparent 60%),
    radial-gradient(ellipse 100% 70% at 10% 90%, rgba(245, 224, 200, 0.45), transparent 60%),
    linear-gradient(165deg, #EBD8F5 0%, #CDB5EA 55%, #B8D8F8 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
  }
}
.hero__title { color: #201335; }
.hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: #4A3A6B;
  max-width: 560px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.88rem;
  color: #5A4F75;
  margin: 0;
}
.hero__badges span { font-weight: 500; }
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__visual img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
  transform: rotate(-2deg);
  transition: transform 0.6s ease;
}
.hero__visual:hover img { transform: rotate(-1deg) translateY(-4px); }
.hero__cloud {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 2px at 15% 20%, rgba(255,255,255,0.8), transparent),
    radial-gradient(circle 2px at 75% 35%, rgba(255,255,255,0.6), transparent),
    radial-gradient(circle 1.5px at 40% 70%, rgba(255,255,255,0.7), transparent),
    radial-gradient(circle 1.5px at 85% 80%, rgba(255,255,255,0.5), transparent),
    radial-gradient(circle 2px at 25% 90%, rgba(255,255,255,0.6), transparent);
  pointer-events: none;
  z-index: 1;
}

/* ===== Store buttons ===== */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #000;
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-btn__text small { font-size: 0.68rem; opacity: 0.85; font-weight: 500; }
.store-btn__text strong { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.01em; }
.store-btn--muted {
  background: #2A2538;
  opacity: 0.7;
  cursor: default;
}
.store-btn--muted:hover { transform: none; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.store-btn--large {
  padding: 16px 30px;
  font-size: 1.1rem;
  border-radius: 18px;
}
.store-btn--large .store-btn__text strong { font-size: 1.25rem; }

/* ===== Feature sections ===== */
.section {
  padding: clamp(70px, 10vw, 120px) var(--pad);
}
.section--alt { background: var(--c-bg-tint); }

.feature {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 80px; }
  .feature--right .feature__visual { order: 2; }
}
.feature__visual {
  display: flex;
  justify-content: center;
}
.feature__visual img {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s ease;
}
.feature__visual img:hover { transform: translateY(-4px); }
.feature__copy { max-width: 540px; }

/* Check-list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.check-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: var(--c-text-soft);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-green);
  background-image:
    linear-gradient(135deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%),
    linear-gradient(45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%);
  background-size: 10px 2px, 14px 2px;
  background-position: 4px 11px, 6px 9px;
  background-repeat: no-repeat;
}

/* ===== Privacy band ===== */
.privacy {
  padding: clamp(70px, 10vw, 120px) var(--pad);
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(184, 216, 248, 0.2), transparent),
    linear-gradient(135deg, #2A1A4A 0%, #4A2E72 50%, #7B4DB3 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.privacy::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 2px at 10% 20%, rgba(255,255,255,0.6), transparent),
    radial-gradient(circle 1.5px at 80% 40%, rgba(255,255,255,0.5), transparent),
    radial-gradient(circle 2px at 50% 80%, rgba(255,255,255,0.4), transparent);
  pointer-events: none;
}
.privacy__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .privacy__inner { grid-template-columns: 1fr 1.2fr; gap: 80px; }
}
.privacy h2 { color: #fff; }
.privacy p { color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; max-width: 520px; }
.privacy__visual { display: flex; justify-content: center; }
.privacy__visual img {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.pill-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill-list li {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
}

/* ===== Privacy / legal doc ===== */
.privacy-doc {
  padding: clamp(60px, 8vw, 100px) var(--pad);
  background: linear-gradient(180deg, var(--c-bg-tint) 0%, var(--c-bg) 60%);
}
.privacy-doc__inner {
  max-width: 780px;
  margin: 0 auto;
}
.privacy-doc__inner .eyebrow { margin-bottom: 14px; }
.privacy-doc h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 6px;
}
.privacy-doc__updated {
  color: var(--c-text-mute);
  font-size: 0.92rem;
  margin: 0 0 32px;
  font-weight: 500;
}
.privacy-doc__intro {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--c-text-soft);
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(196, 168, 232, 0.25);
}
.privacy-doc h2 {
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}
.privacy-doc p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-text-soft);
  margin: 0 0 18px;
}
.privacy-doc a {
  color: var(--c-brand-violet);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(139, 92, 246, 0.4);
}
.privacy-doc a:hover {
  border-bottom-style: solid;
}

/* ===== Languages ===== */
.languages {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--pad);
  text-align: center;
}
.languages h3 { margin-bottom: 8px; }
.languages p { margin-bottom: 32px; color: var(--c-text-mute); }
.lang-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (min-width: 700px) {
  .lang-grid { grid-template-columns: repeat(9, 1fr); gap: 14px; }
}
.lang-grid li {
  background: var(--c-bg-tint);
  border: 1px solid rgba(196, 168, 232, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.lang-grid .flag {
  font-size: 1.8rem;
  line-height: 1;
}

/* Seven travel personality dimensions — compact chip grid */
.trait-grid {
  list-style: none;
  padding: 0;
  margin: 24px 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trait-grid li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(232, 213, 240, 0.7), rgba(184, 216, 248, 0.5));
  border: 1px solid rgba(196, 168, 232, 0.35);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-text);
  transition: transform 0.15s, box-shadow 0.2s;
}
.trait-grid li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.trait-grid__icon {
  font-size: 1.05rem;
  line-height: 1;
}
.trait-grid__more {
  background: transparent;
  border: 1px dashed rgba(139, 92, 246, 0.4);
  color: var(--c-brand-violet);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 8px 16px;
  letter-spacing: 0.1em;
}
.trait-grid__more:hover {
  transform: none;
  box-shadow: none;
  background: rgba(139, 92, 246, 0.06);
}

/* Numbered how-it-works list */
.step-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 22px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 10px 14px 10px 46px;
  background: var(--c-bg-tint);
  border: 1px solid rgba(196, 168, 232, 0.28);
  border-radius: var(--radius-sm);
  color: var(--c-text-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: var(--c-brand-violet);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
}
.step-list li strong { color: var(--c-text); font-weight: 700; }

/* Playful footnote inside a feature copy block */
.aside {
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(139, 92, 246, 0.08);
  border-left: 3px solid var(--c-brand-violet);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--c-text-soft);
}

/* ===== FAQ ===== */
.faq {
  padding: clamp(70px, 10vw, 120px) var(--pad);
  background: var(--c-bg-tint);
}
.faq__inner {
  max-width: 820px;
  margin: 0 auto;
}
.faq__inner .eyebrow { margin-bottom: 14px; }
.faq h2 { margin-bottom: 32px; }
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: #fff;
  border: 1px solid rgba(196, 168, 232, 0.25);
  border-radius: var(--radius-md);
  padding: 4px 22px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq__item[open] {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: var(--shadow-soft);
}
.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--c-brand-violet);
  border-bottom: 2px solid var(--c-brand-violet);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s;
}
.faq__item[open] summary::after {
  transform: translateY(-35%) rotate(-135deg);
}
.faq__item p {
  margin: 0 0 18px;
  color: var(--c-text-soft);
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== Final CTA ===== */
.cta-final {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 120px) var(--pad);
  text-align: center;
}
.cta-final h2 { margin-bottom: 12px; }
.cta-final p { font-size: 1.2rem; margin-bottom: 32px; color: var(--c-text-soft); }

/* ===== Footer ===== */
.footer {
  padding: 40px var(--pad);
  background: #1F1635;
  color: rgba(255, 255, 255, 0.7);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
@media (min-width: 700px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
}
.footer__brand img { border-radius: 8px; }
.footer__links {
  display: flex;
  gap: 20px;
  font-size: 0.92rem;
}
.footer__links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__links a:hover { color: #fff; }
.footer__copy { margin: 0; font-size: 0.85rem; }

.lang-picker {
  position: relative;
  display: inline-block;
}
.lang-picker__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
}
.lang-picker__toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
.lang-picker__toggle:focus-visible {
  outline: 2px solid var(--c-brand-purple-deep);
  outline-offset: 2px;
}
.lang-picker__flag {
  font-size: 1.1rem;
  line-height: 1;
}
.lang-picker__chevron {
  opacity: 0.7;
  transition: transform 0.2s;
}
.lang-picker.is-open .lang-picker__chevron {
  transform: rotate(180deg);
}
.lang-picker__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  min-width: 180px;
  list-style: none;
  padding: 6px;
  margin: 0;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(196, 168, 232, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.18);
  z-index: 50;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.lang-picker.is-open .lang-picker__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-picker__menu[hidden] {
  display: block;
}
.lang-picker__menu li { margin: 0; }
.lang-picker__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--c-text);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.12s;
}
.lang-picker__menu a:hover {
  background: var(--c-bg-tint);
}
.lang-picker__menu a[aria-selected="true"] {
  background: rgba(139, 92, 246, 0.12);
  color: var(--c-brand-violet);
}
.lang-picker__menu span {
  font-size: 1.1rem;
  line-height: 1;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__visual img { transform: none; }
}
