/* SlideClick — shared styles (dark only) */
:root {
  color-scheme: dark;
  --bg: #0d0a1c;
  --bg-2: #141030;
  --card: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #f4f2fb;
  --muted: #b3acd0;
  --violet: #5a3df5;
  --violet-2: #8a73ff;
  --pink: #ff5479;
  --gold: #ffc733;
  --navy: #2e1a73;
  --grad: linear-gradient(135deg, #5a3df5 0%, #b04bd0 55%, #ff5479 100%);
  --radius: 24px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-2); text-underline-offset: 3px; }
a:hover { color: #b3a6ff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: #1a1033; padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 40em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 10, 28, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 22%; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .92rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
.nav .lang { border: 1px solid var(--card-border); border-radius: 999px; padding: 4px 12px; color: var(--text); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: 14px;
  font-weight: 650; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-store { background: #fff; color: #0d0a1c; }
.btn-store:hover { color: #0d0a1c; box-shadow: 0 10px 30px rgba(138,115,255,.35); }
.btn-store small { display: block; font-size: .7rem; font-weight: 500; opacity: .75; }
.btn-store span { text-align: left; }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid rgba(255,255,255,.16); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.1); }
.btn-ghost small { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none;
}
.hero::before { width: 620px; height: 620px; background: var(--violet); top: -200px; left: -160px; }
.hero::after { width: 560px; height: 560px; background: var(--pink); bottom: -260px; right: -140px; opacity: .35; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.app-icon { width: 96px; height: 96px; border-radius: 22%; box-shadow: 0 18px 50px rgba(90,61,245,.5), inset 0 0 0 1px rgba(255,255,255,.1); margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); font-weight: 850; margin-bottom: 20px; }
.hero .lede { margin-bottom: 32px; }
.hero-meta { margin-top: 20px; font-size: .9rem; color: var(--muted); }
.works-with { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.works-with li { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--card-border); color: #ddd8f3; }

/* CSS iPhone frame */
.phone {
  --w: 300px;
  position: relative; width: var(--w); max-width: 100%; margin: 0 auto;
  aspect-ratio: 1320 / 2868;
  padding: 11px; border-radius: 52px;
  background: linear-gradient(145deg, #3b3552, #1b1728 40%, #2b2640);
  box-shadow: 0 0 0 1.5px #4d4666, 0 40px 90px rgba(0,0,0,.55), 0 0 120px rgba(90,61,245,.35);
  box-sizing: content-box;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 42px; background: #000; }
.phone::before, .phone::after { /* side buttons */
  content: ""; position: absolute; width: 3px; background: #3b3552; border-radius: 2px;
}
.phone::before { left: -3px; top: 22%; height: 9%; box-shadow: 0 calc(var(--w) * .2) 0 #3b3552; }
.phone::after { right: -3px; top: 27%; height: 14%; }
.hero .phone { --w: 310px; transform: rotate(3deg); }
@media (max-width: 880px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: left; }
  .hero .phone { --w: 260px; transform: none; }
}
@media (max-width: 400px) { .hero .phone { --w: 230px; } .btn { width: 100%; } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
@media (max-width: 600px) { section { padding: 68px 0; } .section-head { margin-bottom: 36px; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  position: relative; padding: 28px 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--card-border);
  transition: border-color .2s ease, background .2s ease;
}
.feature:hover { border-color: rgba(138,115,255,.4); background: rgba(255,255,255,.06); }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.feature .ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad); box-shadow: 0 8px 24px rgba(176,75,208,.35);
}
.feature .ico svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature.wide { grid-column: span 2; }
.feature.gold .ico { background: var(--gold); box-shadow: 0 8px 24px rgba(255,199,51,.3); }
.feature.gold .ico svg { stroke: var(--navy); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feature.wide { grid-column: auto; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { padding: 30px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-border); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-weight: 800; font-size: 1.15rem; color: var(--navy); background: var(--gold); margin-bottom: 18px;
}
.step p { color: var(--muted); margin: 0; }
.code-chip { display: inline-block; font: 700 1.05rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .25em; padding: 8px 10px 8px 14px; border-radius: 10px; background: rgba(90,61,245,.25); border: 1px solid rgba(138,115,255,.4); color: #fff; margin-top: 14px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Gallery */
.gallery {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px 24px 36px; margin: 0 -24px; list-style: none;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent;
}
.gallery li { scroll-snap-align: start; flex: none; text-align: center; }
.gallery .phone { --w: 230px; box-shadow: 0 0 0 1.5px #4d4666, 0 24px 60px rgba(0,0,0,.5); }
.gallery figcaption { margin-top: 18px; font-weight: 650; }
.gallery figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; max-width: 240px; margin: 2px auto 0; }
.gallery figure { margin: 0; }
@media (min-width: 1100px) { .gallery { justify-content: space-between; gap: 20px; } .gallery .phone { --w: 186px; } .gallery figcaption span { max-width: 200px; } }
@media (max-width: 480px) { .gallery { margin: 0 -16px; padding: 20px 16px 36px; gap: 20px; } .gallery .phone { --w: 200px; } }

/* Privacy band */
.privacy-band {
  position: relative; border-radius: 32px; padding: 56px; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, rgba(90,61,245,.28), rgba(255,84,121,.16));
  border: 1px solid rgba(138,115,255,.3);
}
.privacy-band::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: var(--violet); filter: blur(100px); opacity: .5; }
.privacy-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 36px; list-style: none; padding: 0; margin: 32px 0 0; }
.privacy-list li { display: flex; gap: 14px; align-items: flex-start; }
.privacy-list svg { flex: none; width: 26px; height: 26px; margin-top: 2px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.privacy-list strong { display: block; }
.privacy-list span { color: #d0cae6; font-size: .95rem; }
@media (max-width: 760px) { .privacy-band { padding: 36px 24px; border-radius: 24px; } .privacy-list { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--card-border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-weight: 650; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 22px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* CTA */
.cta { text-align: center; }
.cta .app-icon { margin: 0 auto 24px; }
.cta .btns { justify-content: center; margin-top: 28px; }
.cta .lede { margin: 0 auto; }

/* ---------- Document pages (privacy / support) ---------- */
.doc { padding: 64px 0 96px; position: relative; isolation: isolate; }
.doc::before { content: ""; position: absolute; z-index: -1; top: -200px; left: 50%; width: 700px; height: 420px; transform: translateX(-50%); background: var(--violet); filter: blur(120px); opacity: .3; border-radius: 50%; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 850; }
.doc h2 { font-size: 1.5rem; margin-top: 2.2em; font-weight: 750; }
.doc h3 { margin-top: 1.4em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: .5em; }
.doc li::marker { color: var(--violet-2); }
.doc .updated { color: var(--muted); font-size: .95rem; }
.doc .summary { padding: 24px 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--card-border); margin: 28px 0; }
.doc .summary p:last-child { margin: 0; }
.doc .muted { color: var(--muted); }
.trouble { display: grid; gap: 14px; margin-top: 18px; }
.trouble .item { padding: 22px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--card-border); }
.trouble .item h3 { margin: 0 0 .5em; }
.trouble .item ul { margin: 0; }
.contact-card { margin-top: 24px; padding: 28px; border-radius: 22px; background: linear-gradient(135deg, rgba(90,61,245,.25), rgba(255,84,121,.14)); border: 1px solid rgba(138,115,255,.3); }
.contact-card a { font-weight: 700; font-size: 1.15rem; word-break: break-all; }
kbd, .path { font: 600 .92em ui-monospace, "SF Mono", Menlo, monospace; background: rgba(255,255,255,.08); padding: 2px 7px; border-radius: 6px; color: #eee9ff; }
.path { font-family: var(--font); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .big { font-size: clamp(5rem, 20vw, 9rem); font-weight: 900; line-height: 1; margin-bottom: 12px; }
.notfound .btns { justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255,255,255,.07); padding: 44px 0 56px; color: var(--muted); font-size: .9rem; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 22px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: #d6d0ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .tm { font-size: .8rem; line-height: 1.55; max-width: 760px; opacity: .85; margin: 0; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero .phone { transform: none; }
  .btn:hover { transform: none; }
}
