:root {
  --bg: #100819;
  --bg-soft: #180d25;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --text: #fffaff;
  --muted: #cabdd8;
  --line: rgba(255, 255, 255, 0.15);
  --purple: #8b3dff;
  --violet: #6d5dfc;
  --pink: #f05aa8;
  --cyan: #32c8ff;
  --green: #34d399;
  --amber: #fbbf24;
  --radius: 8px;
  --container: min(1120px, calc(100% - 32px));
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(139, 61, 255, 0.24), transparent 31%),
    linear-gradient(225deg, rgba(50, 200, 255, 0.12), transparent 30%),
    var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px max(16px, calc((100vw - 1120px) / 2));
  background: rgba(16, 8, 25, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 42px; height: 42px; }
.brand strong { display: block; font-family: Sora, sans-serif; font-size: 18px; }
.brand small { display: block; color: var(--muted); font-weight: 700; font-size: 12px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a, .menu-button {
  padding: 9px 11px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav-cta { color: #fff !important; background: linear-gradient(135deg, var(--purple), var(--pink)); }
.menu-button { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--text); }

.hero, .section, .cta, .footer {
  width: var(--container);
  margin: 0 auto;
}
.hero {
  min-height: 470px;
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 34px;
  align-items: center;
  padding: 22px 0 16px;
}
.eyebrow {
  margin: 0 0 10px;
  color: #dfc9ff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}
h1, h2, h3 { font-family: Sora, Inter, sans-serif; line-height: 1.08; letter-spacing: 0; }
h1 { margin: 0; max-width: 670px; font-size: clamp(32px, 4vw, 50px); }
h2 { margin: 0; font-size: clamp(26px, 3.2vw, 42px); }
h3 { margin: 0 0 8px; font-size: 20px; }
p { color: var(--muted); }
.lead { max-width: 630px; margin: 14px 0 0; font-size: clamp(16px, 1.7vw, 19px); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button, .store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-weight: 900;
  color: var(--text);
}
.button.primary, .store-button.live {
  border: 0;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 16px 36px rgba(139, 61, 255, 0.33);
}
.button.play { border: 0; background: linear-gradient(135deg, #24c06f, #21c7f3); }
.button.secondary { background: rgba(255,255,255,0.12); }
.button.ghost { background: transparent; color: var(--muted); }
.store-icon { font-size: 13px; }

.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06)),
    radial-gradient(circle at 20% 10%, rgba(240,90,168,0.3), transparent 36%);
  box-shadow: var(--shadow);
}
.loaner-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  margin-bottom: 18px;
}
.hero-card strong { display: block; font-family: Sora, sans-serif; font-size: 27px; line-height: 1.12; }
.mini-stats { display: grid; gap: 10px; margin-top: 20px; }
.mini-stats span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(0,0,0,0.16);
}
.mini-stats b { color: var(--text); }

.section { padding: 42px 0; }
.platform-section { padding-top: 14px; }
.section-head { max-width: 760px; margin-bottom: 20px; }
.section-head.compact { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-head.compact .eyebrow { margin-bottom: 5px; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.platform-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055));
  box-shadow: var(--shadow);
}
.platform-card.featured { border-color: rgba(240,90,168,0.46); background: linear-gradient(180deg, rgba(139,61,255,0.28), rgba(255,255,255,0.08)); }
.platform-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
}
.platform-icon svg { width: 28px; height: 28px; fill: #fff; }
.android .platform-icon { background: linear-gradient(135deg, #25d366, #1eb980); }
.ios .platform-icon { background: linear-gradient(135deg, #f9fafb, #8b94a7); }
.windows .platform-icon { background: linear-gradient(135deg, #00a4ef, #0078d4); }
.web .platform-icon { background: linear-gradient(135deg, var(--purple), var(--pink)); }
.platform-card p { margin: 0; }
.status {
  align-self: flex-start;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255,255,255,0.1);
}
.status.soon { color: var(--amber); }
.status.build { color: var(--cyan); }
.status.available { color: var(--green); }
.store-button { margin-top: auto; width: 100%; }
.store-badge {
  position: relative;
  width: fit-content;
  max-width: 154px;
  margin-top: auto;
  border-radius: 8px;
  transition: transform .18s ease, filter .18s ease;
}
.store-badge img {
  width: 142px;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.24));
}
.store-badge.disabled {
  cursor: default;
  opacity: .9;
}
.store-badge:not(.disabled):hover,
.platform-action:hover {
  transform: translateY(-1px);
}
.platform-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 48px;
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 12px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04)),
    #050505;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
}
.platform-action img {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.platform-action span {
  display: grid;
  gap: 1px;
  font-weight: 900;
  line-height: 1.05;
}
.platform-action small {
  color: rgba(255,255,255,0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.platform-action.live {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-color: rgba(255,255,255,0.16);
}
.platform-action.live img {
  padding: 2px;
  border-radius: 8px;
  background: rgba(255,255,255,0.18);
}

.split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 26px; align-items: start; }
.cards { display: grid; gap: 14px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card, .security-panel, .cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.055));
  box-shadow: var(--shadow);
}
.card { padding: 20px; }
.highlighted { border-color: rgba(240,90,168,0.42); }
.plan strong { display: block; margin: 14px 0; font-size: 28px; }
.plan ul, .security ul { padding-left: 18px; color: var(--muted); }
.security-panel { padding: clamp(24px, 4vw, 42px); max-width: 920px; }

.faq { display: grid; gap: 10px; max-width: 880px; }
details { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.06); padding: 15px 17px; }
summary { cursor: pointer; font-weight: 900; }
.cta { text-align: center; padding: 36px 20px; margin-top: 22px; }
.cta img { margin: 0 auto 12px; }
.cta .actions { justify-content: center; }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 0;
  color: var(--muted);
}
.footer strong { color: var(--text); font-family: Sora, sans-serif; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px; font-weight: 800; }

.legal-page .legal-hero {
  padding-top: 54px;
  padding-bottom: 22px;
}
.legal-hero .lead {
  max-width: 840px;
}
.legal-meta {
  margin: 22px 0 0;
  padding: 16px;
  max-width: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
}
.legal-meta strong {
  color: var(--text);
}
.legal-content {
  display: grid;
  gap: 24px;
  max-width: 900px;
  padding-top: 18px;
}
.legal-content section {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.legal-content section:last-child {
  border-bottom: 0;
}
.legal-content h2 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.1vw, 30px);
}
.legal-content p {
  margin: 0 0 12px;
}
.legal-content ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--muted);
}
.legal-content li + li {
  margin-top: 7px;
}
.legal-content a,
.legal-meta a,
.footer a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-note {
  font-size: 14px;
}

@media (max-width: 960px) {
  .menu-button { display: inline-flex; }
  .nav {
    display: none;
    position: fixed;
    inset: 68px 16px auto;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    background: #171022;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .nav.open { display: flex; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 34px; }
  .platform-grid, .cards.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .site-header { padding-inline: 14px; }
  .brand small { display: none; }
  .platform-grid, .cards.three, .cards.two { grid-template-columns: 1fr; }
  .platform-card { min-height: auto; }
  .section-head.compact { display: block; }
  .footer { flex-direction: column; }
}
