:root {
  --coral: #f2694f;
  --purple: #7b73d0;
  --blue: #1aa7ee;
  --ink: #14151a;
  --ink-2: #4a4d58;
  --muted: #7a7e8a;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --line: #e8eaf1;
  --dark: #17181d;
  --grad: linear-gradient(160deg, #f2694f 0%, #c0627f 35%, #7b73d0 68%, #1aa7ee 100%);
  --radius: 20px;
  --shadow: 0 20px 50px -20px rgba(20, 21, 26, .25);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.nav a:hover { color: var(--ink); }
.nav .btn-nav {
  background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.nav .btn-nav:hover { color: #fff; background: #000; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: ""; transition: .2s;
}
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero-wrap { position: relative; overflow: hidden; color: #fff; background: #0e0f13; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: 70% center; background-repeat: no-repeat;
}
.hero-bg-2 { background-image: url("./index_files/bg2.jpg"); }
.hero-bg-1 { background-image: url("./index_files/bg1.jpg"); animation: heroFade 16s ease-in-out infinite; }
@keyframes heroFade { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,11,16,.88) 0%, rgba(10,11,16,.62) 45%, rgba(10,11,16,.12) 100%),
    linear-gradient(180deg, rgba(10,11,16,.0) 55%, rgba(10,11,16,.85) 100%);
}
.hero { position: relative; padding: 120px 0 90px; min-height: 620px; display: flex; align-items: center; }
.hero .container { width: 100%; }
.hero-text { max-width: 600px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -.035em; margin: 20px 0 18px; font-weight: 800;
}
.hero p.lead { font-size: 19px; max-width: 520px; color: rgba(255,255,255,.9); margin: 0 0 32px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badges a { display: block; transition: transform .15s; }
.store-badges a:hover { transform: translateY(-2px); }
.store-badges img { height: 58px; width: auto; }
.hero-meta { display: flex; gap: 22px; margin-top: 28px; font-size: 14px; color: rgba(255,255,255,.9); flex-wrap: wrap; }
.hero-meta span::before { content: "✓"; font-weight: 800; margin-right: 6px; }

.phone {
  position: relative; background: linear-gradient(160deg, #3a3a3c, #0b0b0c); padding: 10px; border-radius: 44px;
  box-shadow: 0 40px 70px -25px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.12);
}
.phone img { border-radius: 35px; width: 100%; height: auto; background: #000; }

/* ---------- Stats ---------- */
.stats { position: relative; border-top: 1px solid rgba(255,255,255,.14); background: rgba(10,11,16,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 40px; padding-bottom: 40px; gap: 20px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 36px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.stat span { font-size: 14px; color: rgba(255,255,255,.7); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.kicker { color: var(--coral); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.section-head h2, .showcase h2, .cta h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.03em; margin: 10px 0 14px; font-weight: 800; }
.section-head p, .showcase p { color: var(--ink-2); font-size: 18px; margin: 0; }

.features { background: var(--bg-soft); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad); color: #fff;
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Showcase ---------- */
.showcase .container { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.showcase.alt { background: var(--bg-soft); }
.showcase.alt .container > :first-child { order: 2; }
.showcase ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.showcase li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 16.5px; }
.showcase li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--grad) ; -webkit-mask: none;
  box-shadow: inset 0 0 0 0 transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23f2694f'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}
.showcase .visual { display: flex; justify-content: center; }
.showcase .visual .phone { width: 300px; }
.showcase .visual-pair { position: relative; width: 100%; max-width: 420px; height: 560px; }
.showcase .visual-pair .phone { position: absolute; width: 235px; }
.showcase .visual-pair .phone:nth-child(1) { left: 0; top: 30px; transform: rotate(-4deg); }
.showcase .visual-pair .phone:nth-child(2) { right: 0; top: 0; transform: rotate(4deg); z-index: 2; }

/* TV + phone combo */
.device-combo { position: relative; width: 100%; max-width: 560px; padding-bottom: 70px; }
.tv { width: 100%; }
.tv-screen {
  background: #0b0b0c; border-radius: 14px; padding: 9px; border: 2px solid #2b2c33;
  box-shadow: 0 30px 60px -25px rgba(20,21,26,.5);
}
.tv-screen img { width: 100%; height: auto; border-radius: 6px; background: #000; }
.tv-stand { width: 22%; height: 16px; margin: 0 auto; background: linear-gradient(#2b2c33, #17181d); border-radius: 0 0 10px 10px; position: relative; }
.tv-stand::after { content: ""; position: absolute; left: -30%; right: -30%; bottom: -6px; height: 6px; border-radius: 6px; background: #2b2c33; }
.showcase .device-combo .phone { position: absolute; right: -10px; bottom: 0; width: 170px; padding: 8px; border-radius: 34px; z-index: 2; }
.device-combo .phone img { border-radius: 27px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--dark); color: #fff; overflow: hidden; }
.gallery-marquee { overflow: hidden; padding-left: 0; }
.gallery .section-head p { color: #a9acb8; }
.gallery-track {
  display: flex; width: max-content; padding: 10px 0 30px;
  animation: marquee var(--dur, 40s) linear infinite;
}
@keyframes marquee { to { transform: translateX(calc(-1 * var(--shift, 50%))); } }
.shot { flex: none; width: 260px; margin-right: 22px; border-radius: 30px; overflow: hidden; box-shadow: 0 25px 50px -20px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.1); }
.shot img { width: 100%; height: auto; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; }
.step { text-align: center; padding: 0 12px; }
.step::before {
  counter-increment: s; content: counter(s); display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 22px;
}
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--coral); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta { padding: 64px 0 96px; background: var(--bg-soft); }
.cta-box {
  background: linear-gradient(135deg, #2f6bff 0%, #3fa9ff 55%, #45d0ff 100%); color: #fff; border-radius: 32px; text-align: center; padding: 72px 24px; position: relative; overflow: hidden;
}
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 20% 0, rgba(255,255,255,.22), transparent 70%); }
.cta-box > * { position: relative; }
.cta-box p { font-size: 18px; max-width: 520px; margin: 0 auto 32px; color: rgba(255,255,255,.92); }
.cta-box .store-badges { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #a9acb8; padding: 56px 0 32px; font-size: 14.5px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid #2a2c35; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer p { margin: 0; max-width: 320px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h4 { color: #fff; margin: 0 0 14px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer-cols a { display: block; text-decoration: none; margin-bottom: 10px; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }
.sa-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; }
.sa-link:hover { opacity: .8; }
.sa-link img { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; }

/* ---------- Legal docs ---------- */
.doc-hero { background: var(--grad); color: #fff; padding: 56px 0; }
.doc-hero h1 { margin: 0 0 6px; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.03em; }
.doc-hero p { margin: 0; opacity: .9; }
.doc { max-width: 820px; margin: 0 auto; padding: 48px 24px 80px; color: var(--ink-2); }
.doc h1 { display: none; }
.doc h2 { color: var(--ink); font-size: 22px; letter-spacing: -.02em; margin: 40px 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.doc h3 { color: var(--ink); }
.doc p, .doc li { margin: .7rem 0; }
.doc ul { padding-left: 1.25rem; }
.doc a { color: #d6513a; }
.doc .muted { display: none; }
.doc .toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px; margin: 24px 0; }
.doc .toc ul { margin: 8px 0 0; columns: 2; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

/* ---------- FAQ page ---------- */
.faq-page { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding-top: 40px; padding-bottom: 72px; align-items: start; }
.faq-page > * { min-width: 0; }
.faq-side { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 112px); overflow-y: auto; }
.faq-side h3 { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.faq-side nav { display: grid; gap: 2px; }
.faq-side nav a { text-decoration: none; padding: 9px 14px; border-radius: 10px; font-weight: 500; color: var(--ink-2); font-size: 15px; }
.faq-side nav a:hover { background: var(--bg-soft); color: var(--ink); }
.faq-group { margin-bottom: 40px; padding: 0; }
.faq-group h2 { display: flex; align-items: center; gap: 14px; font-size: 24px; letter-spacing: -.02em; margin: 0 0 14px; }
.faq-group .num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 16px; font-weight: 800; flex: none; }
.faq-group details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; margin-bottom: 10px; transition: box-shadow .2s; }
.faq-group details[open] { box-shadow: var(--shadow); }
.faq-group summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--coral); transition: transform .2s; flex: none; }
.faq-group details[open] summary::after { transform: rotate(45deg); }
.faq-group .ans { color: var(--ink-2); padding-bottom: 14px; }
.faq-group .ans p { margin: 0 0 10px; }
.faq-group .ans ul { margin: 6px 0 4px; padding-left: 20px; }
.faq-group .ans li { margin: 4px 0; }
.faq-group .ans a, .faq-contact a { color: #d6513a; }
.faq-contact { background: var(--bg-soft); border-radius: 20px; padding: 28px; }
.faq-contact h3 { margin: 0 0 6px; }
.faq-contact p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .faq-page { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .faq-side { position: static; max-height: none; overflow: visible; }
  .faq-side nav { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; }
  .faq-side nav a { white-space: nowrap; background: var(--bg-soft); }
  .faq-side h3 { display: none; }
}

.doc-page .doc { max-width: none; margin: 0; padding: 0; min-width: 0; }
.doc-page .doc > p:first-child { margin-top: 0; }
.doc-page .doc h2:first-of-type { margin-top: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .gallery-track { animation: none; } .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .showcase .container { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 90px 0 64px; min-height: 0; }
  .hero-bg { background-position: 75% center; }
  .device-combo { margin: 0 auto; }
  .hero-shade { background: linear-gradient(180deg, rgba(10,11,16,.7) 0%, rgba(10,11,16,.75) 60%, rgba(10,11,16,.92) 100%); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; }
  .showcase.alt .container > :first-child { order: 0; }
  .showcase .text { text-align: center; }
  .showcase li { text-align: left; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn-nav { text-align: center; margin-top: 14px; border: 0; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .store-badges img { height: 50px; }
  .showcase .visual-pair { height: 460px; }
  .showcase .visual-pair .phone { width: 190px; }
  .device-combo { padding-bottom: 50px; }
  .showcase .device-combo .phone { width: 120px; right: -4px; border-radius: 26px; padding: 6px; }
  .device-combo .phone img { border-radius: 20px; }
  .doc .toc ul { columns: 1; }
  .footer-cols { gap: 36px; }
}

/* ---------- /get page ---------- */
.get-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(180deg, #e7f1ff 0%, #f6faff 55%, #fff 100%); }
.get-card { text-align: center; padding: 40px 24px; }
.get-icon { width: 96px; height: 96px; border-radius: 22px; padding: 10px; background: linear-gradient(135deg, #3a7bfd, #45d0ff); margin: 0 auto 18px; box-shadow: 0 16px 36px -14px rgba(47,107,255,.5); }
.get-card h1 { margin: 0 0 8px; font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.get-card p { margin: 0 0 24px; color: var(--ink-2); font-size: 18px; }
.get-card .store-badges { justify-content: center; margin-bottom: 22px; }
.get-card .store-badges img { height: 52px; }
.get-back { color: var(--muted); font-size: 14px; text-decoration: none; }
.get-back:hover { color: var(--ink); }
