:root {
  --bg: #050814;
  --panel: #0a1022;
  --panel-2: rgba(14, 25, 54, 0.86);
  --panel-3: rgba(255, 255, 255, 0.065);
  --text: #f1f7ff;
  --muted: #9aacc8;
  --soft: #7082a1;
  --line: rgba(140, 168, 220, 0.22);
  --cyan: #00e5ff;
  --blue: #2d7dff;
  --violet: #965cff;
  --green: #35f2a3;
  --gold: #ffc75a;
  --red: #ff5f86;
  --shadow: 0 22px 68px rgba(0, 0, 0, 0.42);
  --glow: 0 0 34px rgba(0, 229, 255, 0.24);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  background: #02050d;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 74% -5%, rgba(0, 229, 255, 0.22), transparent 34%),
    radial-gradient(circle at 8% 12%, rgba(150, 92, 255, 0.18), transparent 32%),
    linear-gradient(180deg, #030711 0%, #071226 42%, #040711 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  overflow-x: hidden;
  padding-bottom: 94px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.i18n-loading .app,
body.i18n-loading .bottom-nav {
  opacity: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(122, 160, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 160, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(#000, transparent 68%);
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

.app {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 0%, rgba(0, 229, 255, 0.13), transparent 32%),
    linear-gradient(180deg, rgba(6, 13, 29, 0.3), rgba(5, 8, 20, 0.92) 48%),
    #050814;
  box-shadow: 0 0 90px rgba(0, 229, 255, 0.08);
}

.app::after {
  position: absolute;
  top: 118px;
  right: -150px;
  width: 260px;
  height: 260px;
  content: "";
  border-radius: 999px;
  background: radial-gradient(circle, rgba(150, 92, 255, 0.2), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 8, 19, 0.82);
  backdrop-filter: blur(22px);
}

.topbar::after {
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.42), transparent);
}

.brand {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.logo {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  background:
    radial-gradient(circle at 30% 24%, #fff, transparent 11%),
    linear-gradient(135deg, var(--cyan), var(--violet));
  color: #03101c;
  box-shadow: 0 14px 32px rgba(0, 229, 255, 0.24);
  font-size: 14px;
  font-weight: 950;
}

.brand-title {
  display: block;
  max-width: 170px;
  overflow: hidden;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-sub {
  display: block;
  margin-top: 4px;
  color: var(--soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.top-action {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(0, 229, 255, 0.34);
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.1);
  color: #dffbff;
  font-size: 12px;
  font-weight: 950;
  box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.08);
}

.top-tools {
  display: flex;
  max-width: 176px;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.language-select {
  max-width: 96px;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid rgba(140, 168, 220, 0.24);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #dff3ff;
  font-size: 12px;
  font-weight: 900;
}

.language-select option {
  color: #071226;
  background: #f6fbff;
}

.content {
  position: relative;
  z-index: 2;
  padding: 18px 16px 34px;
}

.hero {
  padding: 14px 0 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #cfe2ff;
  font-size: 11px;
  font-weight: 950;
  box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.06);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(53, 242, 163, 0.14);
  animation: pulse 1.7s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.78; }
  50% { transform: scale(1.16); opacity: 1; }
}

h1,
h2,
h3 {
  letter-spacing: -0.055em;
}

h1 {
  max-width: 380px;
  font-size: 42px;
  line-height: 0.98;
}

h2 {
  font-size: 29px;
  line-height: 1.08;
}

h3 {
  font-size: 18px;
  line-height: 1.2;
}

.grad {
  background: linear-gradient(100deg, #fff 4%, var(--cyan) 48%, #b891ff 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 14px;
  color: #aabcda;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.68;
}

.free-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.free-pill {
  padding: 9px 8px;
  border: 1px solid rgba(53, 242, 163, 0.22);
  border-radius: 15px;
  background: rgba(53, 242, 163, 0.08);
  color: #dfffee;
  text-align: center;
  font-size: 11px;
  font-weight: 950;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.proof-card {
  padding: 13px;
  border: 1px solid rgba(140, 168, 220, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 0%, rgba(0, 229, 255, 0.1), transparent 48%),
    rgba(255, 255, 255, 0.045);
}

.proof-card strong {
  display: block;
  color: #f7fbff;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.proof-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
  line-height: 1.36;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-wide {
  width: 100%;
}

.btn-lg {
  min-height: 56px;
  border-radius: 18px;
  font-size: 16px;
}

.mt-16 {
  margin-top: 16px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.85), transparent 12%),
    linear-gradient(135deg, var(--cyan), var(--violet));
  color: #03101c;
  box-shadow: 0 18px 38px rgba(0, 229, 255, 0.2), var(--glow);
}

.btn-dark {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: #e9f4ff;
}

.hero-card,
.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 28%),
    var(--panel-2);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: 15px;
}

.flush-top {
  margin-top: 0;
}

.hero-card::before {
  position: absolute;
  top: -80px;
  right: -70px;
  width: 180px;
  height: 180px;
  content: "";
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.22), transparent 68%);
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #d7e7ff;
  font-size: 11px;
  font-weight: 950;
}

.status {
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
}

.signal {
  position: relative;
  z-index: 1;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.signal + .signal {
  margin-top: 10px;
}

.signal-head,
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.coin {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-weight: 950;
}

.coin-badge {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
}

.score {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(53, 242, 163, 0.12);
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
}

.bars {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.bar {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.w-54 { width: 54%; }
.w-66 { width: 66%; }
.w-72 { width: 72%; }
.w-78 { width: 78%; }
.w-88 { width: 88%; }
.w-92 { width: 92%; }

.bar-violet {
  background: linear-gradient(90deg, var(--violet), var(--cyan)) !important;
}

.bar-gold {
  background: linear-gradient(90deg, var(--gold), var(--green)) !important;
}

.bar-blue {
  background: linear-gradient(90deg, var(--blue), var(--cyan)) !important;
}

.bar-risk {
  background: linear-gradient(90deg, var(--red), var(--gold)) !important;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.stat {
  padding: 11px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.stat.highlight {
  border-color: rgba(53, 242, 163, 0.24);
  background: rgba(53, 242, 163, 0.075);
}

.stat strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.04em;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.25;
}

.section {
  padding: 22px 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.section-title a {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
}

.kicker {
  margin-bottom: 7px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.desc {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.62;
}

.grid {
  display: grid;
  gap: 11px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.026)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card::after {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 150px;
  height: 150px;
  content: "";
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12), transparent 68%);
}

.feature-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
}

.feature-card p,
.list-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.58;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #d7e6fb;
  font-size: 11px;
  font-weight: 900;
}

.market-list {
  display: grid;
  gap: 10px;
}

.market-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(255, 255, 255, 0.047);
}

.market-item.hot {
  border-color: rgba(53, 242, 163, 0.26);
  box-shadow: inset 0 0 28px rgba(53, 242, 163, 0.05);
}

.market-main {
  min-width: 0;
}

.market-main strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-main span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.metric {
  flex: 0 0 auto;
  text-align: right;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.up {
  color: var(--green);
}

.down {
  color: var(--red);
}

.warn {
  color: var(--gold);
}

.timeline {
  display: grid;
  gap: 11px;
}

.insight-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 10%, rgba(150, 92, 255, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.052);
}

.insight-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.insight-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.insight-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 13px;
  background: rgba(0, 229, 255, 0.11);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
}

.insight-item strong {
  display: block;
  font-size: 14px;
}

.insight-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.45;
}

.step {
  position: relative;
  padding: 15px 15px 15px 54px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.052);
}

.step::before {
  position: absolute;
  top: 15px;
  left: 15px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #04111d;
  font-size: 12px;
  font-weight: 950;
}

.step:nth-child(1)::before { content: "1"; }
.step:nth-child(2)::before { content: "2"; }
.step:nth-child(3)::before { content: "3"; }
.step:nth-child(4)::before { content: "4"; }

.step p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.52;
}

.download-card {
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(0, 229, 255, 0.34);
  border-radius: 26px;
  background:
    radial-gradient(circle at 78% 0%, rgba(150, 92, 255, 0.2), transparent 40%),
    linear-gradient(135deg, rgba(0, 229, 255, 0.13), rgba(150, 92, 255, 0.12)),
    rgba(10, 20, 45, 0.92);
  text-align: center;
  box-shadow: var(--shadow);
}

.download-card.left {
  text-align: left;
}

.download-hero {
  padding: 24px 18px;
}

.download-hero .btn {
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  border-radius: 18px;
  font-size: 16px;
}

.download-note {
  margin-top: 12px;
  color: #c5d7f1;
  font-size: 12px;
  font-weight: 820;
}

.risk-note {
  padding: 12px;
  border: 1px solid rgba(255, 199, 90, 0.2);
  border-radius: 16px;
  background: rgba(255, 199, 90, 0.07);
  color: #ffe2a4;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.52;
}

details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.052);
}

summary {
  padding: 15px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  padding: 0 15px 15px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.58;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 7, 16, 0.9);
  backdrop-filter: blur(22px);
}

.bottom-inner {
  display: grid;
  width: min(100%, 430px);
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.bottom-link {
  display: grid;
  min-height: 52px;
  place-items: center;
  border-radius: 15px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease;
}

.bottom-link span {
  display: block;
  margin-bottom: 3px;
  font-size: 17px;
  line-height: 1;
}

.bottom-link.active {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.18), transparent 60%),
    rgba(0, 229, 255, 0.11);
  color: #ecfbff;
}

@media (max-width: 360px) {
  .content {
    padding-right: 13px;
    padding-left: 13px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 26px;
  }

  .cta-row {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .free-strip {
    grid-template-columns: 1fr;
  }

  .brand-title {
    max-width: 142px;
  }
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 88px;
  left: 18px;
  z-index: 80;
  max-width: 394px;
  margin: 0 auto;
  padding: 13px 15px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 16px;
  background: rgba(8, 17, 37, 0.94);
  color: #e9f7ff;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.48s ease, transform 0.48s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
