@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700;800&family=Orbitron:wght@500;600;700;800;900&display=swap");

:root {
  --bg: #0f172a;
  --card: rgba(15, 23, 42, 0.74);
  --panel: rgba(15, 23, 42, 0.74);
  --panel-strong: rgba(30, 41, 59, 0.78);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --line: rgba(248, 250, 252, 0.14);
  --green: #befc35;
  --green-dark: #29245f;
  --lime: #d8ff7a;
  --danger: #d8ff7a;
  --warn: #d8ff7a;
  --red: #fb7185;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

body {
  overflow-x: hidden;
  font-family: "Exo 2", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(87, 72, 190, 0.4), transparent 29rem),
    radial-gradient(circle at 84% 10%, rgba(190, 252, 53, 0.18), transparent 28rem),
    radial-gradient(circle at 74% 72%, rgba(120, 92, 230, 0.17), transparent 34rem),
    linear-gradient(180deg, #171437 0%, #0e1025 46%, #050611 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(rgba(248, 250, 252, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
}

body::after {
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.03) 0 1px, transparent 1px 7px);
  opacity: 0.22;
}

.page {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 10;
  min-height: 68px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(5, 8, 22, 0.76);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.logo {
  overflow: hidden;
  color: #171437;
  background: #29245f;
  box-shadow: 0 0 26px rgba(190, 252, 53, 0.2);
  font-family: "Orbitron", sans-serif;
}

.logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav-link,
.back {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-color: rgba(248, 250, 252, 0.14);
  color: var(--muted);
  background: rgba(248, 250, 252, 0.06);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.back:hover {
  color: var(--text);
  background: rgba(190, 252, 53, 0.1);
  transform: translateY(-1px);
}

.eyebrow {
  border-color: rgba(190, 252, 53, 0.34);
  color: #eaffb3;
  background: rgba(190, 252, 53, 0.09);
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dot {
  background: #befc35;
  box-shadow: 0 0 18px rgba(190, 252, 53, 0.88);
}

h1,
h2,
.quick-title,
.stat strong,
.balance-card b,
.num,
.check {
  font-family: "Orbitron", sans-serif;
}

h1 {
  color: transparent;
  background: linear-gradient(100deg, #d8ff7a, #ffffff 38%, #b9a8ff 78%, #befc35);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 34px rgba(139, 92, 246, 0.18);
  letter-spacing: 0;
}

.accent {
  color: transparent;
  background: linear-gradient(100deg, #d8ff7a, #ffffff 48%, #b9a8ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.btn {
  border-radius: 16px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary {
  color: #171437;
  background: linear-gradient(135deg, #befc35, #d8ff7a);
  box-shadow: 0 20px 46px rgba(190, 252, 53, 0.22);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(167, 139, 250, 0.36);
  background: rgba(139, 92, 246, 0.14);
  box-shadow: inset 0 0 22px rgba(139, 92, 246, 0.12);
}

.btn:focus-visible,
.nav-link:focus-visible,
.back:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(190, 252, 53, 0.86);
  outline-offset: 3px;
}

.stat,
.panel,
.feature,
.hero-card,
.quick-card,
.step,
.notice,
.faq {
  border-color: var(--line);
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.08), rgba(248, 250, 252, 0.035));
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.2);
}

.phone {
  position: relative;
  border-color: rgba(248, 250, 252, 0.18);
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.16), rgba(139, 92, 246, 0.08));
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  inset: -34px;
  z-index: -1;
  border: 1px solid rgba(190, 252, 53, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(139, 92, 246, 0.25), inset 0 0 60px rgba(34, 211, 238, 0.08);
}

.screen {
  background:
    radial-gradient(circle at 88% 0%, rgba(190, 252, 53, 0.12), transparent 16rem),
    linear-gradient(180deg, #13132d, #070713);
  border-color: rgba(248, 250, 252, 0.13);
}

.balance-card {
  color: #f3ffd3;
  border: 1px solid rgba(190, 252, 53, 0.24);
  background:
    radial-gradient(circle at 88% 0%, rgba(190, 252, 53, 0.18), transparent 12rem),
    linear-gradient(135deg, rgba(190, 252, 53, 0.11), rgba(87, 72, 190, 0.2));
}

.balance-card small {
  color: var(--muted);
  opacity: 1;
}

.screen-row {
  border-color: rgba(248, 250, 252, 0.12);
  background: rgba(248, 250, 252, 0.055);
}

.pill {
  color: #eaffb3;
  border: 1px solid rgba(190, 252, 53, 0.24);
  background: rgba(190, 252, 53, 0.09);
}

.install-strip,
.warn {
  border-color: rgba(190, 252, 53, 0.22);
  background: rgba(190, 252, 53, 0.07);
}

.install-strip strong,
.warn,
.path,
.quick-title {
  color: #d8ff7a;
}

.check,
.num {
  color: #171437;
  background: linear-gradient(135deg, #befc35, #d8ff7a);
}

.quick-list li,
.step p,
.faq p,
.panel p,
.feature span,
.lead,
.device-note {
  color: var(--muted);
}

.title-line {
  display: block;
  white-space: nowrap;
}

.faq details {
  border-color: rgba(248, 250, 252, 0.12);
  background: rgba(248, 250, 252, 0.045);
}

.faq summary {
  cursor: pointer;
  color: var(--text);
}

footer {
  border-top-color: var(--line);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 720px) {
  .nav {
    top: 10px;
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
  }

  .brand span:last-child {
    max-width: 136px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(34px, 10.5vw, 48px);
    letter-spacing: 0;
  }

  #hero-title {
    font-size: clamp(25px, 7.8vw, 34px);
    line-height: 1.08;
  }

  .hero,
  .hero > * {
    min-width: 0;
  }

  .phone-wrap {
    width: 100%;
    overflow: hidden;
  }

  .phone {
    width: min(330px, calc(100vw - 56px));
  }
}

@media (max-width: 540px) {
  #title {
    font-size: clamp(25px, 7.8vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }
}
