:root {
  --bg: #0b1020;
  --bg-soft: #121a30;
  --card: #16203a;
  --line: #243154;
  --fox: #ff7a2f;
  --fox-2: #ffb15c;
  --cyan: #38e1c4;
  --text: #eaf0ff;
  --muted: #9fb0d0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: radial-gradient(1200px 600px at 70% -10%, #1b2748 0%, var(--bg) 60%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  background: rgba(11, 16, 32, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; font-size: 20px; letter-spacing: 1px; }
.brand span { color: var(--fox); margin-left: 4px; }
.nav-links a { margin-left: 22px; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  text-align: center;
  padding: 96px 20px 80px;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--fox-2);
  font-size: 13px; letter-spacing: 1px; margin-bottom: 22px;
  background: rgba(255, 122, 47, 0.08);
}
.hero h1 {
  font-size: clamp(32px, 6vw, 56px); line-height: 1.15; font-weight: 900;
  background: linear-gradient(90deg, #fff, var(--fox-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { color: var(--muted); font-size: clamp(15px, 2.4vw, 19px); margin: 18px 0 30px; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hint { color: var(--muted); font-size: 13px; }

.hero-glow {
  position: absolute; inset: -20% 30% auto; height: 420px; z-index: 1;
  background: radial-gradient(closest-side, rgba(255, 122, 47, 0.28), transparent 70%);
  filter: blur(20px);
}

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 12px;
  font-weight: 700; font-size: 16px; transition: transform .15s ease, box-shadow .2s ease;
}
.btn.primary {
  color: #1a1206;
  background: linear-gradient(90deg, var(--fox), var(--fox-2));
  box-shadow: 0 10px 30px rgba(255, 122, 47, 0.35);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(255, 122, 47, 0.45); }
.btn.big { padding: 16px 38px; font-size: 18px; }

/* Sections */
.section { max-width: 1040px; margin: 0 auto; padding: 72px 24px; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { text-align: center; font-size: clamp(24px, 4vw, 34px); margin-bottom: 40px; }

.cards { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.cards.grid4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--fox); transform: translateY(-3px); }
.card .num {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800;
  background: rgba(255, 122, 47, 0.15); color: var(--fox-2); margin-bottom: 14px;
}
.card .ico { font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* Download */
.download { text-align: center; }
.dl { display: flex; gap: 32px; align-items: center; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.qr-box {
  width: 130px; height: 130px; border-radius: 14px;
  display: grid; place-items: center; text-align: center;
  border: 2px dashed var(--line); color: var(--muted); font-size: 14px;
  background: rgba(255,255,255,0.02);
}

/* Footer */
.footer { text-align: center; padding: 40px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer .muted { margin-top: 6px; opacity: 0.7; }

@media (max-width: 860px) {
  .cards, .cards.grid4 { grid-template-columns: 1fr; }
}
