:root {
  --bg: #0B0B0E;
  --surface: #14141A;
  --surface-2: #1A1A21;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #E8E8EC;
  --muted: #8A8A95;
  --accent: #0FFBC8;
  --accent-soft: rgba(15, 251, 200, 0.10);
  --max: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

/* ─── Topbar ─────────────────────────────────────────────────── */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.18));
}

.brand-text {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.22em;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.lang-btn {
  background: none;
  border: 0;
  padding: 4px 2px;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: color 120ms ease;
}

.lang-btn:hover { color: var(--text); }
.lang-btn.active { color: var(--text); }
.lang-sep { opacity: 0.4; }

/* ─── Main / sections ────────────────────────────────────────── */

main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
}

.section-sub {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 540px;
}

/* ─── Hero ───────────────────────────────────────────────────── */

.hero {
  padding: 56px 28px 96px;
  text-align: center;
  position: relative;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin: 0 auto 36px;
  position: relative;
}

.hero-logo img {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 8px 40px rgba(255, 255, 255, 0.10)) drop-shadow(0 0 80px rgba(15, 251, 200, 0.08));
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.hero .lede {
  margin: 22px auto 40px;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--muted);
  max-width: 540px;
}

.hero-note {
  margin: 22px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.005em;
}

.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  transition: transform 140ms ease, box-shadow 160ms ease, background 140ms ease;
}

.store:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(15, 251, 200, 0.22);
}

.store-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.store-secondary svg { stroke: currentColor; }

.store-secondary:hover {
  background: rgba(15, 251, 200, 0.04);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}

/* ─── Features ───────────────────────────────────────────────── */

.features {
  padding: 80px 28px;
  border-top: 1px solid var(--border);
}

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

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ─── Privacy controls ───────────────────────────────────────── */

.privacy {
  padding: 80px 28px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(15, 251, 200, 0.018) 50%, transparent);
}

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

.privacy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  transition: border-color 160ms ease;
}

.privacy-card:hover { border-color: var(--accent); }

.privacy-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.privacy-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
}

.privacy-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

.privacy-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ─── How we work ────────────────────────────────────────────── */

.how-we-work {
  padding: 80px 28px;
  border-top: 1px solid var(--border);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
  max-width: 900px;
  margin: 0 auto;
}

.how-item {
  padding: 4px 0;
}

.how-num {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.how-item h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

.how-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ─── Platforms ──────────────────────────────────────────────── */

.platforms {
  padding: 80px 28px;
  border-top: 1px solid var(--border);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 780px;
  margin: 0 auto;
}

.platform {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.platform-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.platform-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.badge {
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 600;
}

.badge-on {
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(15, 251, 200, 0.25);
}

.badge-soon {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.platform-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
}

.platform-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent);
  color: var(--bg);
  transition: transform 140ms ease, box-shadow 160ms ease;
}

.platform-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 251, 200, 0.18);
}

.platform-link-muted {
  color: var(--muted);
  background: transparent;
  border-color: var(--border-strong);
  font-weight: 500;
  box-shadow: none;
}

.platform-link-muted:hover {
  color: var(--text);
  border-color: var(--border-strong);
  transform: none;
  box-shadow: none;
}

.platform-link svg { stroke: currentColor; }

/* ─── Bottom CTA ─────────────────────────────────────────────── */

.bottom-cta {
  padding: 80px 28px 104px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.bottom-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.bottom-logo img {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 24px rgba(255, 255, 255, 0.08));
}

.bottom-cta h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.bottom-cta p {
  margin: 16px auto 32px;
  color: var(--muted);
  max-width: 500px;
}

/* ─── Footer ─────────────────────────────────────────────────── */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--text);
}

.footer-brand img { width: 22px; height: 22px; }

.footer-links {
  display: inline-flex;
  gap: 24px;
}

.footer-links a { transition: color 140ms ease; }
.footer-links a:hover { color: var(--text); }

/* ─── Legal pages ────────────────────────────────────────────── */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 28px 80px;
}

.legal-page h1 {
  font-size: 34px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  font-weight: 700;
}

.legal-page h2 {
  font-size: 18px;
  letter-spacing: -0.005em;
  margin: 36px 0 12px;
  font-weight: 600;
}

.legal-page .updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 32px;
}

.legal-page p {
  color: #C7C7CD;
  margin: 0 0 14px;
}

.legal-page ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: #C7C7CD;
}

.legal-page li { margin-bottom: 8px; }

.legal-page a { color: var(--accent); }
.legal-page a:hover { text-decoration: underline; }

[data-lang-section][hidden] { display: none; }

/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding: 32px 20px 64px; }
  .hero-logo img { width: 96px; height: 96px; }
  .features, .platforms, .privacy, .how-we-work { padding: 56px 20px; }
  .bottom-cta { padding: 56px 20px 80px; }
  .features-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta { flex-direction: column; align-items: stretch; }
  .store { width: 100%; }
  footer { flex-direction: column; gap: 14px; padding: 22px 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 18px; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 420px) {
  .topbar { padding: 18px 20px; }
  .brand-text { font-size: 13px; letter-spacing: 0.2em; }
}
