/* ============================================================
   Mapsiti — landing page styles
   ============================================================ */

:root {
  --bg: #faf9fe;
  --bg-tint: #f3f0fb;
  --ink: #17133a;
  --body: #524e6e;
  --muted: #8b87a3;
  --brand: #7c3aed;
  --brand-deep: #6d28d9;
  --brand-soft: #a855f7;
  --green: #22c55e;
  --pin-red: #ef4444;
  --pin-yellow: #d9a406;
  --pin-purple: #8b5cf6;
  --card: #ffffff;
  --line: rgba(23, 19, 58, .08);
  --shadow-lg: 0 30px 80px -20px rgba(76, 29, 149, .25);
  --shadow-md: 0 18px 50px -18px rgba(76, 29, 149, .22);
  --shadow-sm: 0 6px 24px -8px rgba(23, 19, 58, .14);
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

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

img, video { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }

/* ---------- typography ---------- */

h1 {
  font-size: clamp(2.9rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h3 { font-size: 1.2rem; letter-spacing: -0.015em; font-weight: 700; }

.grad {
  background: linear-gradient(120deg, var(--brand-deep) 10%, var(--brand-soft) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.shimmer {
  background: linear-gradient(110deg,
    var(--brand-deep) 20%,
    var(--brand-soft) 38%,
    #d8b4fe 50%,
    var(--brand-soft) 62%,
    var(--brand-deep) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 5.5s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}

.grad-warm {
  background: linear-gradient(120deg, #f7b955 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.kicker {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--brand);
  margin-bottom: 14px;
}

.kicker-light { color: #c4b5fd; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--body);
  max-width: 34em;
  margin-top: 22px;
}

.body { font-size: 1.06rem; color: var(--body); margin-top: 16px; max-width: 32em; }
.body-light { color: #b9b4d8; margin-inline: auto; }

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.container-narrow { width: min(760px, calc(100% - 48px)); }

/* ---------- buttons & badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  padding: 14px 26px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-soft));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(109, 40, 217, .55);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(109, 40, 217, .6); }

/* shine sweep on primary CTAs */
.btn-primary, .appstore-badge { position: relative; overflow: hidden; }

.btn-primary::after, .appstore-badge::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}

.btn-primary:hover::after, .appstore-badge:hover::after { left: 130%; }

.btn-sm { padding: 9px 18px; font-size: .92rem; }

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,.6);
}

.btn-ghost:hover { border-color: rgba(23,19,58,.2); transform: translateY(-2px); }

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #0b0b0f;
  color: #fff;
  border-radius: 14px;
  padding: 10px 22px 12px 18px;
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 30px -10px rgba(23, 19, 58, .4);
}

.appstore-badge:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 16px 40px -12px rgba(23, 19, 58, .5); }

.appstore-badge .badge-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.appstore-badge small { font-size: .68rem; font-weight: 500; opacity: .85; letter-spacing: .01em; }
.appstore-badge strong { font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; }

.appstore-badge-sm { padding: 8px 16px 9px 13px; border-radius: 12px; }
.appstore-badge-sm strong { font-size: 1.05rem; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.nav.scrolled {
  background: rgba(250, 249, 254, .82);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-brand img { border-radius: 9px; box-shadow: 0 2px 8px rgba(23,19,58,.14); }

.nav-links {
  display: flex;
  gap: 26px;
  margin-inline: auto;
}

.nav-links a {
  position: relative;
  color: var(--body);
  font-size: .95rem;
  font-weight: 500;
  transition: color .15s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-soft));
  transition: right .25s cubic-bezier(.2,.7,.2,1);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

/* language selector */

.lang-menu { position: relative; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, .6);
  color: var(--body);
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.lang-btn:hover { color: var(--ink); border-color: rgba(23, 19, 58, .2); }

.lang-caret { transition: transform .2s ease; }

.lang-menu.open .lang-caret { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  display: grid;
  padding: 8px;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 110;
}

.lang-menu.open .lang-dropdown { opacity: 1; pointer-events: auto; transform: none; }

.lang-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--body);
  font-size: .92rem;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}

.lang-dropdown a:hover { background: rgba(124, 58, 237, .08); color: var(--ink); }

.lang-dropdown a.is-current {
  color: var(--brand-deep);
  font-weight: 700;
  background: rgba(124, 58, 237, .08);
}

.lang-dropdown a.is-current::after {
  content: "";
  width: 15px; height: 15px;
  background: no-repeat center / contain
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%236d28d9" d="M9.55 17.05 4.5 12l1.4-1.4 3.65 3.65 8.55-8.55 1.4 1.4z"/></svg>');
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
}

.nav-burger span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(120px, 16vh, 170px) 0 clamp(40px, 7vw, 90px);
  overflow: hidden;
  background:
    radial-gradient(58% 90% at 85% 8%, rgba(168, 85, 247, .13), transparent 60%),
    radial-gradient(45% 70% at 8% 90%, rgba(109, 40, 217, .1), transparent 65%),
    var(--bg);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-route { position: relative; width: 100%; height: 100%; }

/* animated aurora blobs */
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .32;
  will-change: transform;
}

.aurora-1 {
  width: 560px; height: 560px;
  top: -260px; right: -140px;
  background: radial-gradient(circle at 40% 40%, rgba(168, 85, 247, .38), transparent 62%);
  animation: aurora1 16s ease-in-out infinite alternate;
}

.aurora-2 {
  width: 480px; height: 480px;
  bottom: -240px; left: -180px;
  background: radial-gradient(circle at 60% 40%, rgba(109, 40, 217, .3), transparent 62%);
  animation: aurora2 20s ease-in-out infinite alternate;
}

.aurora-3 {
  width: 400px; height: 400px;
  top: 34%; left: 44%;
  background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94, .12), transparent 62%);
  animation: aurora3 24s ease-in-out infinite alternate;
}

@keyframes aurora1 { from { transform: translate(0,0) scale(1); } to { transform: translate(-90px, 70px) scale(1.15); } }
@keyframes aurora2 { from { transform: translate(0,0) scale(1); } to { transform: translate(80px, -60px) scale(1.1); } }
@keyframes aurora3 { from { transform: translate(0,0) scale(1); } to { transform: translate(-60px, -80px) scale(1.2); } }

.hero::after, .cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand-deep);
  background: rgba(124, 58, 237, .09);
  border: 1px solid rgba(124, 58, 237, .18);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin-top: 30px;
}

.hero-trust li {
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust li::before {
  content: "";
  width: 15px; height: 15px;
  background: no-repeat center / contain
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%2322c55e" d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2m-1.2 14.55L6.7 12.45l1.4-1.4 2.7 2.7 5.1-5.1 1.4 1.4z"/></svg>');
}

/* phone + video */

.hero-visual {
  position: relative;
  justify-self: center;
  perspective: 1200px;
}

.phone-glow {
  position: absolute;
  inset: -12% -30%;
  background:
    radial-gradient(50% 50% at 50% 55%, rgba(124, 58, 237, .3), transparent 70%),
    radial-gradient(38% 38% at 62% 30%, rgba(168, 85, 247, .22), transparent 70%);
  filter: blur(24px);
  z-index: -1;
  animation: glowpulse 7s ease-in-out infinite alternate;
}

@keyframes glowpulse {
  from { opacity: .75; transform: scale(.97); }
  to { opacity: 1; transform: scale(1.04); }
}

.phone-frame {
  position: relative;
  width: clamp(270px, 26vw, 330px);
  aspect-ratio: 444 / 960;
  background: #0e0e12;
  border-radius: clamp(42px, 4.4vw, 52px);
  padding: 9px;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.08),
    var(--shadow-lg);
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

.phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: clamp(34px, 3.7vw, 44px);
  background: #e9e6f4;
}

.phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 24px;
  background: #0e0e12;
  border-radius: 999px;
  z-index: 2;
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 16px;
  padding: 10px 15px;
  font-size: .82rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  animation: float 5.5s ease-in-out infinite;
}

.chip strong { font-weight: 700; }

.chip-ico {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 8px;
  background: rgba(124, 58, 237, .12);
  font-size: .8rem;
}

.chip-ico-green { background: rgba(34, 197, 94, .14); color: #16a34a; }
.chip-ico-orange { background: rgba(245, 158, 11, .16); color: #d97706; }

.chip-1 { top: 9%; left: -21%; animation-delay: 0s; }
.chip-2 { top: 42%; right: -24%; animation-delay: 1.6s; }
.chip-3 { bottom: 10%; left: -17%; animation-delay: 3.1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- how it works ---------- */

.how {
  padding: clamp(70px, 10vw, 120px) 0;
  text-align: center;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 18px;
  margin-top: clamp(40px, 6vw, 70px);
  text-align: center;
}

.how-step p { color: var(--body); font-size: .98rem; margin-top: 10px; max-width: 30em; margin-inline: auto; }
.how-step h3 { margin-top: 18px; font-size: 1.28rem; }

.pin {
  width: 54px; height: 54px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 6px 50%;
  transform: rotate(-45deg);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.pin span { transform: rotate(45deg); }

.pin-red { background: linear-gradient(145deg, #f87171, var(--pin-red)); }
.pin-yellow { background: linear-gradient(145deg, #eab308, var(--pin-yellow)); }
.pin-purple { background: linear-gradient(145deg, #a78bfa, var(--pin-purple)); }

.how-connector {
  color: rgba(124, 58, 237, .4);
  padding-top: 22px;
  width: clamp(50px, 8vw, 120px);
}

/* ---------- on the road ---------- */

.road {
  position: relative;
  padding: clamp(70px, 10vw, 120px) 0;
  background:
    radial-gradient(70% 100% at 15% 0%, rgba(168, 85, 247, .28), transparent 60%),
    radial-gradient(60% 90% at 90% 100%, rgba(245, 158, 11, .14), transparent 60%),
    linear-gradient(135deg, #1e1145, #3b1a7a 55%, #4c1d95);
  color: #fff;
  overflow: hidden;
}

.road h2 { color: #fff; }

.road-list {
  margin-top: 34px;
  display: grid;
  gap: 26px;
}

.road-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.road-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fbbf24;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.road-item h3 { font-size: 1.1rem; color: #fff; }

.road-item p {
  color: #cfc8ec;
  font-size: .98rem;
  margin-top: 5px;
  max-width: 34em;
}

.shot-road {
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6);
}

/* ---------- feature splits ---------- */

.feature { padding: clamp(60px, 9vw, 110px) 0; }

.feature-tint {
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(124, 58, 237, .05), transparent 70%),
    var(--bg-tint);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
}

.split-flip .split-copy { order: 2; }
.split-flip .split-visual { order: 1; }

.checklist {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 13px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 21px; height: 21px;
  background: no-repeat center / contain
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect width="24" height="24" rx="7" fill="%237c3aed" fill-opacity=".12"/><path fill="%236d28d9" d="M10.6 15.9 7.2 12.5l1.3-1.3 2.1 2.1 4.9-4.9 1.3 1.3z"/></svg>');
}

.split-visual { display: flex; justify-content: center; }

.shot {
  width: clamp(250px, 30vw, 330px);
  border-radius: clamp(38px, 4vw, 48px);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

.shot img { width: 100%; height: auto; }

.shot:hover { transform: translateY(-6px) scale(1.015); }

.shot-film {
  aspect-ratio: 540 / 960;
  background: #e9e6f4;
}

.shot-film video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot-angled {
  border-radius: 24px;
  box-shadow: none;
  overflow: visible;
  width: clamp(280px, 32vw, 360px);
}

.shot-angled img {
  border-radius: 24px;
  filter: drop-shadow(0 30px 50px rgba(76, 29, 149, .28));
}

/* ---------- screenshot marquee ---------- */

.gallery {
  padding: clamp(60px, 9vw, 110px) 0 clamp(50px, 7vw, 90px);
  overflow: hidden;
}

.gallery-head { text-align: center; margin-bottom: clamp(34px, 5vw, 54px); }

.marquee {
  position: relative;
  --gap: clamp(16px, 2.4vw, 28px);
}

.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 8vw, 140px);
  z-index: 2;
  pointer-events: none;
}

.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.marquee-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: marquee 55s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track img {
  width: clamp(180px, 17vw, 235px);
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}

.marquee-track img:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-md);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - var(--gap) / 2)); }
}

/* ---------- devices ---------- */

.devices {
  background:
    radial-gradient(80% 120% at 50% -10%, rgba(124, 58, 237, .35), transparent 60%),
    #16123a;
  color: #fff;
  padding: clamp(70px, 10vw, 130px) 0;
  text-align: center;
}

.devices h2 { color: #fff; }

.devices .body-light { max-width: 36em; }

.devices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 32px);
  margin-top: clamp(40px, 6vw, 64px);
}

.devices-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px -25px rgba(0, 0, 0, .55);
  border: 1px solid rgba(255,255,255,.1);
  height: clamp(240px, 30vw, 360px);
}

.devices-card img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- privacy ---------- */

.privacy { padding: clamp(70px, 10vw, 120px) 0; text-align: center; }

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(38px, 5vw, 60px);
  text-align: left;
}

.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.pcard-ico {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(109,40,217,.14), rgba(168,85,247,.1));
  color: var(--brand-deep);
  margin-bottom: 20px;
}

.pcard h3 { font-size: 1.12rem; }
.pcard p { color: var(--body); font-size: .97rem; margin-top: 8px; }

/* ---------- faq ---------- */

.faq {
  padding: clamp(60px, 9vw, 110px) 0;
  background: var(--bg-tint);
  text-align: center;
}

.faq-list { margin-top: clamp(30px, 4vw, 46px); text-align: left; display: grid; gap: 12px; }

.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 24px;
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 650;
  font-size: 1.04rem;
  padding: 19px 0;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-plus {
  position: relative;
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(124, 58, 237, .1);
}

.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--brand-deep);
  border-radius: 2px;
  transition: transform .25s ease;
}

.faq-plus::before { width: 10px; height: 2px; }
.faq-plus::after { width: 2px; height: 10px; }

details[open] .faq-plus::after { transform: rotate(90deg); }

.faq-list details p {
  color: var(--body);
  padding: 0 0 20px;
  max-width: 60em;
}

/* ---------- final CTA ---------- */

.cta {
  position: relative;
  padding: clamp(100px, 15vw, 180px) 24px;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.kenburns { animation: kenburns 26s ease-in-out infinite alternate; will-change: transform; }

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.09) translateY(-1.5%); }
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23,19,58,.25), rgba(23,19,58,.55) 75%),
    radial-gradient(70% 90% at 50% 100%, rgba(23,19,58,.5), transparent 70%);
}

.cta-inner { position: relative; }

.cta-icon {
  border-radius: 18px;
  margin-inline: auto;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  margin-bottom: 26px;
}

.cta h2 {
  color: #fff;
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}

.cta p {
  font-size: 1.12rem;
  margin: 18px auto 32px;
  max-width: 32em;
  color: rgba(255,255,255,.94);
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}

.appstore-badge-light {
  background: #fff;
  color: #0b0b0f;
  border-color: transparent;
}

/* ---------- footer ---------- */

.footer {
  background: #16123a;
  color: #b9b4d8;
  padding: clamp(50px, 7vw, 80px) 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 38px;
}

.footer .nav-brand { color: #fff; }

.footer-brand p { margin-top: 12px; font-size: .95rem; }

.footer-col { display: grid; gap: 10px; align-content: start; justify-items: start; }

.footer-col h4 {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 6px;
}

.footer-col a { color: #b9b4d8; font-size: .95rem; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }

.footer-col .appstore-badge { color: #fff; }
.footer-col .appstore-badge:hover { color: #fff; }

.footer-lang {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: baseline;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-lang h4 {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer-lang-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-lang-links a { color: #b9b4d8; font-size: .92rem; transition: color .15s ease; }
.footer-lang-links a:hover { color: #fff; }

.footer-legal {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #8a85ad;
}

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal.in { opacity: 1; transform: none; }

.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { margin-top: 26px; }
  .chip-1 { left: -8%; }
  .chip-2 { right: -10%; }
  .chip-3 { left: -6%; }

  .how-grid { grid-template-columns: 1fr; gap: 34px; }
  .how-connector { display: none; }

  .split, .split-flip { grid-template-columns: 1fr; }
  .split-flip .split-copy { order: 1; }
  .split-flip .split-visual { order: 2; }
  .split-visual { margin-top: 10px; }
  .split-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .checklist { text-align: left; }

  .privacy-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .devices-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 64px; left: 16px; right: 16px;
    flex-direction: column;
    background: rgba(250, 249, 254, .97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px 26px;
    gap: 18px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease;
  }

  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-burger { display: flex; }
  .nav-inner { gap: 10px; }
  .nav-inner > .nav-brand span { display: none; }
  .lang-menu { margin-left: auto; }
  .nav-cta { margin-left: 0; }
  .nav-burger { margin-left: 0; }
  .lang-btn { padding: 7px 10px; }
  .lang-caret { display: none; }

  .chip { font-size: .74rem; padding: 8px 12px; }
  .chip-1 { left: -4%; top: 6%; }
  .chip-2 { right: -4%; }
  .chip-3 { left: -2%; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-legal { flex-direction: column; gap: 6px; }
}
