:root {
  --navy: #001441;
  --navy-2: #003063;
  --blue: #2563eb;
  --blue-soft: #e8efff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 20, 65, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 20px;
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #b8c6e3;
  margin-top: -4px;
}

.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: #dbe4f5; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a.active { color: #fff; text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 15px;
  cursor: pointer;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(37, 99, 235, 0.45), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fb8ff;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 18px;
  color: #cfdaf0;
  margin: 0 0 30px;
  max-width: 560px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 36px;
  text-align: center;
}
.hero-card img { width: 132px; height: 132px; margin: 0 auto 18px; }
.hero-card h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: 0.14em; }
.hero-card p { margin: 0; color: #cfdaf0; font-size: 15px; }
.hero-card .pills { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pill {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e6ecf8;
}

/* ── Sections ───────────────────────────────────────────── */
section { padding: 84px 0; }
section.soft { background: var(--bg-soft); }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }
.section-head .eyebrow { color: var(--blue); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.icon svg { width: 22px; height: 22px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--muted);
}
.checklist li strong { color: var(--ink); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.panel {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 36px;
}
.panel h3 { margin: 0 0 18px; font-size: 20px; }
.facts { display: grid; gap: 16px; margin: 0; }
.facts div { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 14px; }
.facts dt { font-size: 13px; color: #9fb8ff; text-transform: uppercase; letter-spacing: 0.06em; }
.facts dd { margin: 2px 0 0; font-weight: 600; }

.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 22px;
  left: 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy-2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.cta {
  background: var(--blue);
  color: #fff;
  border-radius: 22px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta h2 { margin: 0 0 6px; font-size: 26px; }
.cta p { margin: 0; color: #dbe6ff; }
.cta .btn { background: #fff; color: var(--blue); }

/* ── Legal pages ────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 56px 0 48px;
}
.page-hero h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.01em; }
.page-hero p { margin: 0; color: #cfdaf0; }

.legal {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 56px 0 84px;
}

.toc {
  position: sticky;
  top: 92px;
  align-self: start;
  font-size: 14px;
}
.toc strong { display: block; margin-bottom: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--blue); }

.prose { max-width: 760px; min-width: 0; }
.prose h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  scroll-margin-top: 90px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 24px 0 8px; }
.prose p, .prose li { color: #334155; }
.prose a { overflow-wrap: anywhere; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .note {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 0 0 28px;
  color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-soft); font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: #b8c6e3;
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 14px; letter-spacing: 0.04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b8c6e3; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; background: var(--bg-soft); border-radius: var(--radius); padding: 18px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy);
    padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 72px; }
  .cta { padding: 32px 24px; }
  .wrap { padding: 0 16px; }
}

/* ── WhatsApp button ────────────────────────────────────── */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px 12px 14px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-float:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28); }
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}
.card .icon svg[viewBox="0 0 32 32"] { color: #128c4b; }
@media (max-width: 720px) {
  .wa-float { padding: 14px; right: 16px; bottom: 16px; }
  .wa-float span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}

/* ── Store badges ───────────────────────────────────────── */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badges a { display: block; transition: transform 0.15s ease; }
.store-badges a:hover { transform: translateY(-2px); }
.store-badges img { height: 48px; width: auto; }
.store-badges.small img { height: 40px; }
.store-badges.small { flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-note { margin: 16px 0 0; font-size: 14px; color: #9fb0d4; }

/* ── Phone frames ───────────────────────────────────────── */
.phone {
  margin: 0;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 390 / 844;
  border-radius: 38px;
  padding: 10px;
  background: #0b1020;
  box-shadow:
    0 0 0 2px #2a3350 inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 18px 36px -18px rgba(0, 20, 65, 0.6);
  position: relative;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 29px;
  background: #fff;
}
.hero-visual {
  position: relative;
  height: 560px;
}
.hero-visual .phone { position: absolute; max-width: 260px; }
.phone-back { right: 4%; top: 0; transform: rotate(6deg); opacity: 0.92; }
.phone-front { left: 6%; top: 40px; transform: rotate(-4deg); }

.gallery { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.screens {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.screens > div { text-align: center; }
.screens .phone { margin: 0 auto; max-width: 240px; }
.screens p { margin: 18px 0 0; font-weight: 600; font-size: 15px; }

.cta .store-badges a { background: transparent; }

@media (max-width: 1000px) {
  .screens { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-visual { height: 480px; max-width: 460px; width: 100%; margin: 0 auto; }
  .hero-visual .phone { max-width: 220px; }
}
@media (max-width: 720px) {
  .hero-visual { height: 420px; }
  .hero-visual .phone { max-width: 190px; }
  .phone-back { right: 0; }
  .phone-front { left: 0; }
  .screens { gap: 20px; }
  .screens .phone { border-radius: 26px; padding: 7px; }
  .screens .phone img { border-radius: 20px; }
  .store-badges img { height: 44px; }
}

/* ── Company hero: product mosaic ───────────────────────── */
.btn svg { width: 20px; height: 20px; }
.btn-dark { background: var(--navy-2); color: #fff; }
.btn-dark:hover { background: var(--navy); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.hero-company { padding: 72px 0 84px; }
.hero-company .wrap { grid-template-columns: 1fr 1.05fr; }
.hero-stats {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 24px; line-height: 1.1; }
.hero-stats span { font-size: 13px; color: #9fb0d4; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 150px 150px 150px;
  gap: 12px;
}
.tile {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile:hover img { transform: scale(1.05); }
.tile figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 20, 65, 0.78);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.tile-1 { grid-column: 1 / 5; grid-row: 1 / 2; }
.tile-2 { grid-column: 5 / 7; grid-row: 1 / 3; }
.tile-3 { grid-column: 1 / 3; grid-row: 2 / 4; }
.tile-4 { grid-column: 3 / 5; grid-row: 2 / 4; }
.tile-5 { grid-column: 5 / 7; grid-row: 3 / 4; }

/* ── Scrolling product strip ───────────────────────────── */
.strip {
  background: var(--navy);
  padding: 18px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.strip-track { display: flex; gap: 14px; padding-right: 14px; width: max-content; animation: strip 70s linear infinite; }
.strip-dup { display: contents; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip figure { position: relative; margin: 0; width: 150px; height: 150px; border-radius: 14px; overflow: hidden; flex: none; background: #fff; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 18px 8px 6px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff; font-size: 11px; font-weight: 600;
}
@keyframes strip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ── Category tiles ─────────────────────────────────────── */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(0, 20, 65, 0.35); }
.cat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-soft); }
.cat-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.cat-body strong { font-size: 16px; }
.cat-body small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.more { margin: 32px 0 0; text-align: center; }

/* ── App band on the home page ─────────────────────────── */
.app-band {
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(37, 99, 235, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.app-band h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; }
.app-band p { color: #cfdaf0; margin: 0 0 24px; max-width: 520px; }
.app-band .eyebrow { color: #9fb8ff; }
.app-link { margin-top: 18px !important; }
.app-link a { color: #fff; font-weight: 600; }
.app-badge-card {
  justify-self: center;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 56px;
  background: linear-gradient(150deg, #0b3a8a, var(--navy));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.app-badge-card strong { font-size: 30px; letter-spacing: 0.16em; }
.app-badge-card span { color: #cfdaf0; font-size: 14px; }

/* ── Products page ──────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips a {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.chips a:hover { background: rgba(255, 255, 255, 0.2); text-decoration: none; }
section[id] { scroll-margin-top: 68px; }
.cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-head h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 30px); }
.cat-head p { margin: 0; color: var(--muted); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.product img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg-soft); transition: transform 0.5s ease; }
.product:hover img { transform: scale(1.04); }
.product figcaption { padding: 12px 14px; font-weight: 600; font-size: 15px; border-top: 1px solid var(--line); position: relative; background: #fff; }

@media (max-width: 1000px) {
  .cats, .products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-company .wrap { grid-template-columns: 1fr; }
  .mosaic { grid-template-rows: 130px 130px 130px; }
}
@media (max-width: 720px) {
  .cats, .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mosaic { grid-template-rows: 110px 110px 110px; gap: 8px; }
  .tile { border-radius: 12px; }
  .tile figcaption { font-size: 10px; left: 6px; bottom: 6px; padding: 3px 8px; }
  .hero-stats { gap: 22px; }
  .strip figure { width: 120px; height: 120px; }
  .cat-body small { display: none; }
  .product figcaption { font-size: 13px; padding: 10px 12px; }
  .app-badge-card { width: 200px; border-radius: 44px; }
}

.cat-ask {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  border-color: transparent;
  color: #fff;
  justify-content: flex-end;
  min-height: 220px;
}
.cat-ask-icon {
  flex: 1;
  display: grid;
  place-items: center;
  color: #25d366;
}
.cat-ask-icon svg { width: 64px; height: 64px; }
.cat-ask .cat-body small { color: #cfdaf0; display: block; }
@media (max-width: 720px) {
  .hero-stats { gap: 18px; }
  .hero-stats strong { font-size: 19px; }
  .hero-stats span { font-size: 12px; }
  .cat-ask { min-height: 0; }
  .cat-ask-icon svg { width: 44px; height: 44px; margin-top: 16px; }
}

/* ── Two-scene hero (company / app) ─────────────────────── */
.hero-duo { padding: 28px 0 76px; }
.hero-duo .wrap { display: block; }

.duo-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 44px;
}
.duo-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  font: inherit;
  color: #cfdaf0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 18px 18px;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.duo-tab:hover { background: rgba(255, 255, 255, 0.09); }
.duo-tab.is-active { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.3); }
.duo-tab:focus-visible { outline: 2px solid #9fb8ff; outline-offset: 2px; }
.duo-num {
  flex: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #9fb8ff;
  border: 1px solid rgba(159, 184, 255, 0.45);
  border-radius: 999px;
  padding: 4px 9px;
}
.duo-tab.is-active .duo-num { background: #fff; color: var(--navy); border-color: #fff; }
.duo-label strong { display: block; color: #fff; font-size: 15px; }
.duo-label small { font-size: 13px; color: #9fb0d4; }
.duo-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}
.duo-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 1;
  background: linear-gradient(90deg, #60a5fa, #25d366);
  transform: scaleX(0);
  transform-origin: left;
}
.duo-tab.is-active .duo-bar { animation: duo-progress var(--duo-time, 9s) linear forwards; }
[data-duo].is-paused .duo-tab.is-active .duo-bar { animation-play-state: paused; }
@keyframes duo-progress { to { transform: scaleX(1); } }

.duo-stage { display: grid; }
.scene {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.scene.is-active { opacity: 1; visibility: visible; transition: opacity 0.5s ease; }
.scene-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

/* Text slides up line by line */
.scene .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.scene.is-active .rv { opacity: 1; transform: none; }
.scene.is-active .rv:nth-child(2) { transition-delay: 0.08s; }
.scene.is-active .rv:nth-child(3) { transition-delay: 0.16s; }
.scene.is-active .rv:nth-child(4) { transition-delay: 0.24s; }
.scene.is-active .rv:nth-child(5) { transition-delay: 0.32s; }

/* Mosaic: varied shapes, staggered entry, gentle float, photo crossfade */
.mosaic { position: relative; }
.mosaic .tile { z-index: 1; }
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.tile:hover img { transform: none; }
.tile img.on { opacity: 1; animation: kenburns 10s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.tile figcaption { z-index: 2; transition: opacity 0.35s ease, transform 0.35s ease; }
.tile figcaption.swap { opacity: 0; transform: translateY(6px); }

.tile-1 { border-radius: 18px 90px 18px 18px; }
.tile-2 { border-radius: 999px 999px 18px 18px; }
.tile-3 { border-radius: 90px 18px 18px 18px; }
.tile-4 { border-radius: 28px; }
.tile-5 { border-radius: 999px; }
.tile-5 figcaption { left: 50%; transform: translateX(-50%); white-space: nowrap; }
.tile-5 figcaption.swap { transform: translate(-50%, 6px); }

.scene .tile { opacity: 0; transform: translateY(34px) scale(0.92); transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.scene.is-active .tile { opacity: 1; transform: none; }
.scene.is-active .tile-2 { transition-delay: 0.1s; }
.scene.is-active .tile-3 { transition-delay: 0.2s; }
.scene.is-active .tile-4 { transition-delay: 0.3s; }
.scene.is-active .tile-5 { transition-delay: 0.4s; }
.tile { animation: float 6s ease-in-out infinite alternate; }
.tile-2 { animation-delay: -1.5s; animation-duration: 7s; }
.tile-3 { animation-delay: -3s; }
.tile-4 { animation-delay: -4.5s; animation-duration: 8s; }
.tile-5 { animation-delay: -2s; animation-duration: 6.5s; }
@keyframes float { from { translate: 0 0; } to { translate: 0 -10px; } }

.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco-ring {
  width: 240px;
  height: 240px;
  top: -46px;
  right: -40px;
  border-radius: 50%;
  border: 2px dashed rgba(159, 184, 255, 0.35);
  animation: spin 40s linear infinite;
}
.deco-dots {
  width: 150px;
  height: 150px;
  left: -36px;
  bottom: -30px;
  background: radial-gradient(rgba(159, 184, 255, 0.45) 1.5px, transparent 1.6px) 0 0 / 15px 15px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* App scene: phones slide in, chips pop and bob */
.app-visual { position: relative; }
.scene-app .phone { opacity: 0; translate: 80px 0; transition: opacity 0.8s ease, translate 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.scene-app.is-active .phone { opacity: 1; translate: 0 0; }
.scene-app.is-active .phone-front { transition-delay: 0.15s; }
.scene-app.is-active .phone-back { opacity: 0.92; }

.chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
  animation: float 4s ease-in-out infinite alternate;
}
.chip svg { width: 16px; height: 16px; color: var(--blue); }
.scene-app.is-active .chip { opacity: 1; transform: none; }
.scene-app.is-active .chip-1 { transition-delay: 0.6s; }
.scene-app.is-active .chip-2 { transition-delay: 0.85s; }
.scene-app.is-active .chip-3 { transition-delay: 1.1s; }
.chip-1 { top: 8%; left: -2%; }
.chip-2 { top: 44%; right: -3%; animation-delay: -1.3s; }
.chip-3 { bottom: 12%; left: 6%; animation-delay: -2.6s; }
.chip-3 svg { color: #f59e0b; }

@media (max-width: 900px) {
  .scene { grid-template-columns: 1fr; gap: 36px; }
  .duo-tabs { margin-bottom: 32px; }
}
@media (max-width: 720px) {
  .hero-duo { padding: 18px 0 56px; }
  .duo-tabs { gap: 8px; margin-bottom: 26px; }
  .duo-tab { padding: 10px 12px 13px; gap: 10px; border-radius: 12px; }
  .duo-num { display: none; }
  .duo-label strong { font-size: 14px; }
  .duo-label small { font-size: 12px; }
  .deco-ring { width: 160px; height: 160px; top: -30px; right: -20px; }
  .chip { font-size: 11px; padding: 7px 10px; }
  .chip-2 { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .chip, .deco-ring, .tile img.on, .duo-tab.is-active .duo-bar { animation: none; }
  .duo-tab.is-active .duo-bar { transform: scaleX(1); }
}

/* ── Hero carousel (replaces the two tabs) ──────────────── */
.hero-carousel { padding: 56px 0 40px; }
.hero-carousel .wrap { display: block; }
.car-viewport { overflow: hidden; margin: 0 -20px; padding: 0 20px; }
.car-track {
  display: flex;
  transition: transform 0.75s cubic-bezier(0.65, 0, 0.25, 1);
  will-change: transform;
}
.car-track.is-dragging { transition: none; }
.car-track .scene {
  flex: 0 0 100%;
  min-width: 0;
  grid-area: auto;
  opacity: 1;
  visibility: visible;
  transition: none;
  padding: 8px 0 24px;
}

.car-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}
.car-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.car-arrow:hover { background: rgba(255, 255, 255, 0.18); transform: scale(1.06); }
.car-arrow svg { width: 20px; height: 20px; }
.car-dots { display: flex; gap: 10px; }
.car-dot {
  position: relative;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #cfdaf0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px 11px;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
.car-dot.is-active { background: rgba(255, 255, 255, 0.18); color: #fff; }
.car-dot:focus-visible, .car-arrow:focus-visible { outline: 2px solid #9fb8ff; outline-offset: 2px; }
.car-dot-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #60a5fa, #25d366);
  transform: scaleX(0);
  transform-origin: left;
}
.car-dot.is-active .car-dot-bar { animation: duo-progress var(--car-time, 8s) linear forwards; }
[data-carousel].is-paused .car-dot.is-active .car-dot-bar { animation-play-state: paused; }

/* ── Hero photos: whole product over a blurred fill, no heavy zoom ── */
.mosaic { grid-template-rows: 170px 170px 170px; }
.tile { background: #0b1f45; }
.tile .ph {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.tile .ph.on { opacity: 1; }
.tile .ph img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 1; animation: none; transition: none; }
.tile .ph-bg {
  object-fit: cover;
  filter: blur(18px) saturate(1.2) brightness(0.85);
  transform: scale(1.25);
}
.tile .ph-fg { object-fit: contain; transform: scale(1); }
.tile .ph.on .ph-fg { animation: settle 6s ease-out both; }
@keyframes settle { from { transform: scale(1.04); } to { transform: scale(1); } }
.tile:hover .ph-fg { transform: scale(1.03); transition: transform 0.4s ease; }
.tile figcaption { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); }
/* gentler drift so photos stay sharp and easy to look at */
@keyframes float { from { translate: 0 0; } to { translate: 0 -5px; } }

@media (max-width: 900px) {
  .mosaic { grid-template-rows: 150px 150px 150px; }
}
@media (max-width: 720px) {
  .hero-carousel { padding: 32px 0 28px; }
  .car-viewport { margin: 0 -16px; padding: 0 16px; }
  .mosaic { grid-template-rows: 125px 125px 125px; }
  .car-arrow { display: none; }
  .car-dot { font-size: 12px; padding: 8px 13px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .car-track { transition: none; }
  .car-dot.is-active .car-dot-bar { animation: none; transform: scaleX(1); }
  .tile .ph.on .ph-fg { animation: none; }
}

/* ── Responsive refinements ─────────────────────────────── */
.tile-5 { border-radius: 40px; }
@media (max-width: 720px) {
  /* Slide switcher first on phones, so both messages are visible at once */
  .hero-carousel .wrap { display: flex; flex-direction: column; }
  .car-controls { order: -1; justify-content: flex-start; margin: 0 0 20px; }
  .hero h1, .scene-title { font-size: 30px; line-height: 1.15; }
  .hero p.lead { font-size: 16px; margin-bottom: 24px; }
  .hero-stats { margin-top: 24px; }
  .page-hero { padding: 40px 0 34px; }
  .section-head { margin-bottom: 28px; }
  .cta h2 { font-size: 22px; }
}
@media (max-width: 360px) {
  .hero h1, .scene-title { font-size: 27px; }
  .car-dot { padding: 7px 11px 9px; font-size: 11.5px; }
  .brand { font-size: 17px; }
  .store-badges img { height: 40px; }
}
@media (max-width: 900px) {
  .car-track { align-items: flex-start; }
  .car-track .scene { align-content: start; }
}
@media (max-width: 720px) {
  .car-controls { justify-content: center; }
}

/* Flex column on phones: drop the old grid gap */
.hero-carousel .wrap { gap: 0; }

/* ── Mobile app section on the home page ────────────────── */
.app-section { overflow: hidden; }
.app-features { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.app-features li { display: flex; gap: 12px; align-items: flex-start; }
.app-features svg {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #9fb8ff;
}
.app-features strong { display: block; color: #fff; font-size: 15px; }
.app-features span { color: #cfdaf0; font-size: 14px; line-height: 1.45; }
.app-phones {
  position: relative;
  height: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.app-phones .phone { position: absolute; max-width: 230px; transition: transform 0.4s ease; }
.ap-center { z-index: 2; max-width: 250px !important; }
.ap-left { transform: translateX(-62%) rotate(-7deg) scale(0.9); opacity: 0.9; }
.ap-right { transform: translateX(62%) rotate(7deg) scale(0.9); opacity: 0.9; }
.app-phones:hover .ap-left { transform: translateX(-72%) rotate(-9deg) scale(0.9); }
.app-phones:hover .ap-right { transform: translateX(72%) rotate(9deg) scale(0.9); }
@media (max-width: 900px) {
  .app-phones { height: 480px; margin-top: 12px; }
  .app-phones .phone { max-width: 200px; }
  .ap-center { max-width: 215px !important; }
}
@media (max-width: 720px) {
  .app-phones { height: 380px; }
  .app-phones .phone { max-width: 150px; border-radius: 26px; padding: 7px; }
  .app-phones .phone img { border-radius: 20px; }
  .ap-center { max-width: 165px !important; }
  .ap-left { transform: translateX(-58%) rotate(-7deg) scale(0.88); }
  .ap-right { transform: translateX(58%) rotate(7deg) scale(0.88); }
}
@media (min-width: 901px) and (max-width: 1140px) {
  .app-phones .phone { max-width: 195px; }
  .ap-center { max-width: 215px !important; }
  .ap-left { transform: translateX(-52%) rotate(-7deg) scale(0.9); }
  .ap-right { transform: translateX(52%) rotate(7deg) scale(0.9); }
  .app-phones:hover .ap-left { transform: translateX(-58%) rotate(-9deg) scale(0.9); }
  .app-phones:hover .ap-right { transform: translateX(58%) rotate(9deg) scale(0.9); }
}
@media (max-width: 380px) {
  .app-phones { height: 330px; }
  .app-phones .phone { max-width: 128px; }
  .ap-center { max-width: 140px !important; }
  .ap-left { transform: translateX(-54%) rotate(-7deg) scale(0.86); }
  .ap-right { transform: translateX(54%) rotate(7deg) scale(0.86); }
}

/* ── Product strip: "View more" ─────────────────────────── */
.strip-wrap { position: relative; background: var(--navy); }
.strip-more {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 22px 0 56px;
  background: linear-gradient(90deg, rgba(0, 20, 65, 0) 0%, rgba(0, 20, 65, 0.92) 40%, var(--navy) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
.strip-more:hover { text-decoration: none; }
.strip-more span { transition: transform 0.2s ease; }
.strip-more:hover span { transform: translateX(4px); }
@media (max-width: 720px) {
  .strip-more { padding: 0 14px 0 40px; font-size: 13px; }
}
