:root {
  --bg: #0b1322; --bg2: #0f1a2e; --surface: #131f36; --line: #22304b; --line2: #2b3b5c;
  --ink: #eef2f8; --muted: #93a1bc;
  --accent: #f2a93b; --accent-ink: #1b1204; --cyan: #3cc8f0;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1080px;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f3f5f8; --bg2: #e9edf3; --surface: #ffffff; --line: #e1e6ee; --line2: #cfd7e3;
    --ink: #131b2c; --muted: #5b6780;
    --accent: #c9790f; --accent-ink: #ffffff; --cyan: #1689b3;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1322; --bg2: #0f1a2e; --surface: #131f36; --line: #22304b; --line2: #2b3b5c;
  --ink: #eef2f8; --muted: #93a1bc;
  --accent: #f2a93b; --accent-ink: #1b1204; --cyan: #3cc8f0;
}
:root[data-theme="light"] {
  --bg: #f3f5f8; --bg2: #e9edf3; --surface: #ffffff; --line: #e1e6ee; --line2: #cfd7e3;
  --ink: #131b2c; --muted: #5b6780;
  --accent: #c9790f; --accent-ink: #ffffff; --cyan: #1689b3;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; max-width: 100%; overflow-x: hidden; }
body {
  background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.topbar .row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(env(safe-area-inset-top) + 10px) 20px 10px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; min-width: 0; flex: 1 1 auto; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; }
.top-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
@media (max-width: 420px) {
  .brand { font-size: 14px; gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .top-actions .btn.ghost.small { padding: 7px 9px; font-size: 12px; }
}
.lang-btn, .theme-btn {
  background: var(--bg2); border: 1px solid var(--line); color: var(--ink); border-radius: 10px;
  padding: 7px 10px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none;
  border: 1px solid var(--line); cursor: pointer; white-space: nowrap;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.small { padding: 8px 12px; font-size: 13px; }

/* Hero */
.hero { position: relative; padding: 36px 0 28px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; opacity: .55;
  background-size: cover; background-position: center;
}
:root:not([data-theme="dark"]) .hero-bg { opacity: .18; }
:root[data-theme="light"] .hero-bg { opacity: .18; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.15; margin: 0 0 14px; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { color: var(--muted); font-size: clamp(15px, 2.4vw, 18px); max-width: 560px; margin: 0 auto 24px; }
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.hero-phone { display: flex; justify-content: center; }
.phone-shot {
  width: min(260px, 70vw); border-radius: 28px; border: 6px solid var(--surface);
  box-shadow: 0 20px 60px rgba(0,0,0,.35); overflow: hidden;
}
.phone-shot img { width: 100%; display: block; }

/* Stats */
.stats { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { text-align: center; min-width: 120px; }
.stat b { display: block; font-size: 24px; color: var(--accent); }
.stat span { color: var(--muted); font-size: 13px; }

/* Features */
.section { padding: 48px 0; }
.section h2 { font-size: clamp(22px, 4vw, 30px); text-align: center; margin: 0 0 8px; }
.section .sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
}
.feature .ico { font-size: 26px; margin-bottom: 10px; display: block; }
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* Showcase (image + text alternating) */
.showcase { display: flex; align-items: center; gap: 36px; margin: 40px 0; }
.showcase.rev { flex-direction: row-reverse; }
.showcase .shot { flex: 0 0 auto; }
.showcase .copy { flex: 1 1 auto; min-width: 200px; }
.showcase .copy h3 { font-size: 20px; margin: 0 0 10px; }
.showcase .copy p { color: var(--muted); margin: 0; }
.showcase .shot img { width: min(220px, 48vw); border-radius: 22px; border: 5px solid var(--surface); box-shadow: 0 14px 40px rgba(0,0,0,.3); }
@media (max-width: 640px) {
  .showcase, .showcase.rev { flex-direction: column; text-align: center; }
}

/* Illustration band */
.illus-band { border-radius: 20px; overflow: hidden; margin: 10px 0 0; aspect-ratio: 16/7; background-size: cover; background-position: center; border: 1px solid var(--line); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 20px; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--muted); margin: 10px 0 0; }

/* Trust strip */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill { background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: 36px 24px; text-align: center; }
.cta-band h2 { margin: 0 0 10px; font-size: clamp(20px, 4vw, 26px); }
.cta-band p { color: var(--muted); margin: 0 0 20px; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 calc(env(safe-area-inset-bottom) + 28px); color: var(--muted); font-size: 13px; }
footer .fwrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
footer .flinks { display: flex; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: underline; }
.disclaimer { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 18px; color: var(--muted); font-size: 12px; text-align: center; }

[data-i18n], [data-i18n-html] { }
html:not([lang]) [data-i18n] { visibility: visible; }
