:root {
  --bg: #070c16;
  --panel: rgba(255,255,255,.06);
  --panel-strong: rgba(255,255,255,.1);
  --text: #e8eef8;
  --muted: rgba(232,238,248,.68);
  --line: rgba(255,255,255,.12);
  --cyan: #31d7e7;
  --blue: #5578ff;
  --purple: #a06bff;
  --green: #28c38a;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
.bg-grid {
  position: fixed; inset: -20%;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 68%);
  z-index: -3;
}
.glow { position: fixed; border-radius: 50%; filter: blur(90px); opacity: .22; z-index: -2; }
.glow-1 { width: 45vw; height: 45vw; background: var(--blue); top: -12vw; left: -8vw; }
.glow-2 { width: 38vw; height: 38vw; background: var(--cyan); right: -10vw; bottom: -10vw; }
.shell { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 38px; }

.lang-switch {
  display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px;
}
.lang-switch a {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px;
  border-radius: 999px; text-decoration: none; font-size: 13px;
  color: var(--text); border: 1px solid var(--line); background: var(--panel);
  transition: .2s ease;
}
.lang-switch a.active {
  color: #06101c;
  background: linear-gradient(135deg, #54f2e2, #61a2ff);
  border-color: transparent;
}
.lang-switch a:hover { transform: translateY(-1px); }

.hero, .stats article, .app-card, .contact-card, .play-note {
  background: linear-gradient(145deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
}
.hero {
  border-radius: 28px;
  padding: clamp(26px, 5vw, 52px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; width: 420px; height: 420px;
  right: -120px; top: -190px;
  background: radial-gradient(circle, rgba(85,120,255,.34), transparent 65%);
}
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.logo {
  width: 64px; height: 64px; border-radius: 20px; flex: 0 0 auto;
  display: grid; place-items: center; font-weight: 800; font-size: 24px; color: #06101c;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 28px rgba(49,215,231,.28);
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(28px, 4.6vw, 46px); letter-spacing: -1px; line-height: 1.1; }
.hero p { margin-top: 8px; color: var(--muted); font-size: clamp(14px, 2vw, 16px); max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  margin-bottom: 10px; border-radius: 999px; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: #d9f7ff; background: rgba(49,215,231,.14);
  border: 1px solid rgba(49,215,231,.24);
}
.hero-actions { display: flex; flex-direction: column; gap: 12px; min-width: 148px; z-index: 1; }
.ghost-btn, .solid-btn {
  display: grid; place-items: center; height: 44px; padding: 0 18px;
  border-radius: 999px; text-decoration: none; font-size: 14px; white-space: nowrap;
  transition: .2s ease;
}
.ghost-btn { color: var(--text); border: 1px solid var(--line); background: var(--panel); }
.solid-btn {
  color: #06101c; background: linear-gradient(135deg, #54f2e2, #61a2ff);
  box-shadow: 0 12px 28px rgba(97,162,255,.25);
}
.ghost-btn:hover, .solid-btn:hover { transform: translateY(-2px); }

.stats { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats article { border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-size: 16px; }
.stats span { color: var(--muted); font-size: 13px; }
.stat-hint { margin-top: 6px; font-size: 12px; color: var(--cyan); }

.section { margin-top: 34px; }
.section-head { max-width: 760px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(20px, 3vw, 28px); display: flex; align-items: center; gap: 10px; }
.section-head p { margin-top: 8px; color: var(--muted); }
.section-icon {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line);
}

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.app-card { border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.app-card.coming-soon { opacity: .94; }
.app-icon {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  font-size: 24px; background: rgba(255,255,255,.08);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app-top h3 { font-size: 18px; }
.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 999px; font-size: 11px; color: #d9f7ff;
  background: rgba(49,215,231,.14); border: 1px solid rgba(49,215,231,.24);
}
.app-body p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.app-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  display: inline-flex; height: 25px; align-items: center; padding: 0 9px;
  border-radius: 999px; font-size: 11px; color: var(--muted);
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
}
.app-link {
  margin-top: auto; color: var(--cyan); font-size: 13px; opacity: .7;
}

.play-note { border-radius: 22px; padding: 22px; color: var(--muted); }

.contact-card {
  border-radius: 22px; padding: 22px; display: grid;
  grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 6px;
}
.contact-card .icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 16px; font-size: 22px; background: rgba(255,255,255,.08);
}
.contact-card h3 { grid-column: 2; font-size: 18px; }
.contact-card p { grid-column: 2; color: var(--muted); font-size: 14px; }
.contact-link { grid-column: 2; font-size: 14px; color: var(--cyan); }
.contact-link a { color: inherit; text-decoration: none; }

.footer {
  margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--muted); font-size: 13px;
}
.footer nav { display: flex; gap: 14px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

@media (max-width: 760px) {
  .hero { align-items: stretch; flex-direction: column; }
  .hero-actions { flex-direction: row; width: 100%; min-width: 0; }
  .hero-actions a { flex: 1; }
  .stats, .app-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card .icon, .contact-card h3, .contact-card p, .contact-link { grid-column: 1; }
  .footer { align-items: flex-start; flex-direction: column; }
}
