:root {
  --bg: #0b1020;
  --bg-soft: #121a30;
  --card: #161f3a;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef2ff;
  --muted: #a3aec8;
  --theme: #ff4d6d;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 77, 109, 0.22), transparent 60%),
    radial-gradient(700px 400px at 0% 10%, rgba(91, 140, 255, 0.18), transparent 60%),
    var(--bg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(11, 16, 32, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; min-width: 0; }
.brand img { width: 28px; height: 28px; flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav__links { display: flex; gap: 22px; margin-left: auto; color: var(--muted); white-space: nowrap; }
.nav__links a:hover { color: var(--text); }
.lang-wrap { position: relative; display: inline-flex; align-items: center; flex: none; }
.lang-wrap::after {
  content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.lang {
  appearance: none; -webkit-appearance: none;
  padding: 6px 30px 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--text); font: inherit; font-size: 14px; cursor: pointer;
}
.lang:hover { border-color: rgba(255, 255, 255, 0.3); }
.lang option { color: #111; background: #fff; }

/* Hero */
.hero { padding: 96px 0 72px; }
.eyebrow { color: var(--theme); font-weight: 600; letter-spacing: 0.08em; font-size: 14px; }
.hero h1 {
  margin: 14px 0 18px; font-size: clamp(36px, 6vw, 64px); line-height: 1.15; letter-spacing: -0.02em;
  white-space: pre-line;
}
.hero p { max-width: 560px; color: var(--muted); font-size: 19px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05); font-weight: 600; transition: transform 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.3); }
.btn--primary { background: var(--theme); border-color: transparent; color: #fff; }
.hero .btn { margin-top: 28px; }

/* Sections */
section { padding: 48px 0; }
.sec-head { margin-bottom: 28px; }
h2 { font-size: 28px; letter-spacing: -0.01em; }
.sec-head p { color: var(--muted); margin-top: 4px; }
.lead { color: var(--muted); font-size: 18px; max-width: 760px; }

/* App cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)), var(--card);
  border: 1px solid var(--line); transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--theme); }
.card__head { display: flex; gap: 16px; align-items: flex-start; }
.card__head h3 { font-size: 20px; }
.card__head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.icon { width: 72px; height: 72px; border-radius: 18px; flex: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.icon--blank {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--theme), #9b6bff);
}
.icon--blank svg { width: 56px; fill: #fff; }
.card__meta { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: 14px; }
.card__meta span:first-child { color: var(--text); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 3px 10px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, 0.07); color: var(--muted); }
.card__cta { margin-top: auto; color: var(--theme); font-weight: 600; }

/* Values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.value { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft); }
.value__icon { width: 28px; height: 28px; fill: none; stroke: var(--theme); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { margin: 14px 0 6px; font-size: 18px; }
.value p { color: var(--muted); }

/* App detail */
.crumbs { display: flex; gap: 10px; color: var(--muted); font-size: 14px; padding: 28px 0 0; }
.crumbs a:hover { color: var(--text); }
.app-hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 36px 0 8px;
}
.app-hero .icon { width: 112px; height: 112px; border-radius: 26px; }
.app-hero h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.02em; }
.app-hero__tagline { color: var(--muted); font-size: 19px; margin: 6px 0 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; }
.facts { display: flex; flex-wrap: wrap; gap: 32px; margin: 28px 0 0; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft); }
.facts div { display: flex; flex-direction: column; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 0; font-size: 20px; font-weight: 700; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feature { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft); }
.feature h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 15px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft); }
.plan--pro { border-color: var(--theme); background: linear-gradient(180deg, color-mix(in srgb, var(--theme) 14%, transparent), transparent), var(--bg-soft); }
.plan__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.plan__name { font-size: 20px; font-weight: 700; }
.plan__price { color: var(--theme); font-size: 26px; font-weight: 800; }
.plan p { color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); }
.release { position: relative; padding: 0 0 28px 20px; }
.release::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--muted);
}
.release--latest::before { border-color: var(--theme); box-shadow: 0 0 0 6px color-mix(in srgb, var(--theme) 25%, transparent); }
.release__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.release__ver { font-size: 22px; font-weight: 800; }
.release time { color: var(--muted); font-size: 14px; }
.release ul { margin: 0; padding-left: 20px; color: var(--muted); }
.release li { margin: 4px 0; }
.badge { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--theme); color: #fff; }

/* Footer */
footer { margin-top: 24px; padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.footer__link { color: var(--muted); border-bottom: 1px solid transparent; }
.footer__link:hover { color: var(--text); border-color: var(--line); }

@media (max-width: 720px) {
  .nav .wrap { gap: 12px; }
  .nav__links { display: none; }
  .lang-wrap { margin-left: auto; }
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 40px; }
  .actions { margin-left: 0; width: 100%; }
}
