:root {
  --bg: #0d0f14;
  --bg-soft: #14171f;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f6fb;
  --muted: #9aa4b4;
  --accent: #ff7a3d;
  --accent-2: #ff4d7e;
  --accent-3: #8b5cf6;
  --grad: linear-gradient(120deg, #ff7a3d 0%, #ff4d7e 48%, #8b5cf6 100%);
  --radius: 20px;
  --maxw: 1120px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient glow */
body::before {
  content: "";
  position: fixed;
  top: -30vh; left: 50%;
  transform: translateX(-50%);
  width: 120vw; height: 90vh;
  background: radial-gradient(ellipse at center, rgba(255, 77, 126, 0.16), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(13, 15, 20, 0.72);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-size: 0.92rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--text); }

/* Lang switcher */
.lang { display: flex; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; cursor: pointer; transition: all .18s;
}
.lang button.active { background: var(--grad); color: #fff; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 92px 0 64px; }
.hero .badge-pill {
  display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border); background: var(--surface);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 800; max-width: 14ch; margin: 0 auto 22px;
}
.hero h1 .grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 46ch; margin: 0 auto 36px; }

.store-badge img { height: 54px; width: auto; transition: transform .2s; }
.store-badge:hover img { transform: translateY(-2px); }

.hero-visual { margin: 60px auto 0; max-width: 260px; }
.hero-visual img {
  width: 100%; height: auto; border-radius: 32px;
  box-shadow: 0 30px 80px -30px rgba(255, 77, 126, 0.5), 0 0 0 1px var(--border);
}

/* ---------- Section ---------- */
section { padding: 72px 0; position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 40ch; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -0.02em; font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* Features grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); background: var(--surface-hover); border-color: rgba(255, 122, 61, 0.35); }
.card .icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255, 122, 61, 0.18), rgba(139, 92, 246, 0.18));
  margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; stroke: #ffb28a; }
.card h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* CTA */
.cta { text-align: center; }
.cta-box {
  background: linear-gradient(150deg, rgba(255, 122, 61, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid var(--border); border-radius: 28px; padding: 60px 28px;
}
.cta-box h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -0.02em; font-weight: 800; max-width: 20ch; margin: 0 auto 14px; }
.cta-box p { color: var(--muted); max-width: 44ch; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--muted); font-size: 0.9rem; transition: color .2s; }
.foot-links a:hover { color: var(--text); }
.foot-meta { color: var(--muted); font-size: 0.85rem; }
.foot-meta a { color: var(--accent-2); }

/* ---------- Legal / content pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 96px 0 48px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -0.02em; font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.3rem; font-weight: 700; margin: 34px 0 12px; letter-spacing: -0.01em; }
.legal p { color: #c7cedb; margin-bottom: 14px; }
.legal ul { color: var(--muted); margin: 0 0 16px 22px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--accent-2); }
.legal .back { display: inline-block; margin-bottom: 30px; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 640px) {
  .nav { gap: 14px; }
  .nav .nav-link { display: none; }
  .hero { padding: 64px 0 40px; }
  section { padding: 56px 0; }
}
