:root {
  --black: #07090d;
  --ink: #111827;
  --muted: #68707f;
  --line: #d8dde6;
  --yellow: #f0b90b;
  --yellow-2: #ffd84d;
  --white: #fff;
  --surface: #ffffff;
  --bg: #f5f6f8;
  --green: #15803d;
  --red: #b42318;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  --page-pad: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 13, 0.96);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(240, 185, 11, 0.48);
  border-radius: 10px;
  background: #0b111b;
  box-shadow: 0 0 22px rgba(240, 185, 11, 0.16);
}

.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand strong, .brand small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand strong { font-size: 17px; line-height: 1.15; }
.brand small { color: #aeb5c0; font-size: 12px; }

.nav { display: flex; gap: clamp(14px, 2vw, 28px); color: #d9dde4; font-size: 14px; font-weight: 800; }
.nav a:hover { color: var(--yellow); }
.header-actions { display: inline-flex; align-items: center; gap: 10px; }

.primary-btn, .ghost-btn, .back-top {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 24px;
  font-weight: 900;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.primary-btn { border: 1px solid var(--yellow); background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); color: var(--black); }
.primary-btn:hover, .ghost-btn:hover { transform: translateY(-1px); }
.ghost-btn { border: 1px solid rgba(240, 185, 11, 0.55); background: rgba(240, 185, 11, 0.08); color: var(--yellow); }
.ghost-btn.dark { border-color: rgba(7, 9, 13, 0.24); background: rgba(7, 9, 13, 0.08); color: var(--black); }
.small { min-height: 40px; padding: 0 14px; font-size: 13px; }

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #030507 0%, rgba(3, 5, 7, 0.92) 36%, rgba(3, 5, 7, 0.58) 100%); }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding: clamp(74px, 11vw, 132px) var(--page-pad) 120px;
}
.eyebrow { margin-bottom: 16px; color: var(--yellow); font-size: 13px; font-weight: 950; letter-spacing: 3px; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin-bottom: 26px; font-size: clamp(48px, 8vw, 94px); line-height: 1.04; letter-spacing: 0; }
.hero h1 span { color: var(--yellow); }
.hero-copy { max-width: 760px; color: #eef2f7; font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; }
.hero-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 900px; margin: 42px 0; }
.hero-points div { border-left: 4px solid var(--yellow); background: rgba(255, 255, 255, 0.06); padding: 18px; }
.hero-points strong, .hero-points span { display: block; }
.hero-points strong { font-size: 20px; }
.hero-points span { color: #cdd5e1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.section { padding: clamp(58px, 8vw, 104px) var(--page-pad); }
.section-heading { max-width: 820px; margin: 0 auto 38px; text-align: center; }
.section-heading h2 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1.16; }
.section-heading p { color: var(--muted); font-size: 18px; font-weight: 700; }
.section-heading.light h2, .section-heading.light p { color: var(--white); }

.guide-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; max-width: 1160px; margin: 0 auto; }
.phone-demo { border: 10px solid #111827; border-radius: 34px; background: #0f172a; color: var(--white); padding: 22px; box-shadow: var(--shadow); }
.phone-top { display: flex; justify-content: space-between; align-items: center; color: #cbd5e1; }
.phone-top span { width: 52px; height: 6px; border-radius: 99px; background: #334155; }
.phone-top em { font-style: normal; font-size: 12px; }
.phone-balance { margin: 24px 0; border-radius: 18px; background: linear-gradient(135deg, #facc15, #f0b90b); color: #111; padding: 20px; }
.phone-balance small, .phone-balance strong, .phone-balance p { display: block; margin: 0; }
.phone-balance strong { font-size: 22px; }
.phone-menu { display: grid; gap: 10px; }
.phone-menu button { min-height: 42px; border: 0; border-radius: 12px; background: #1e293b; color: #e2e8f0; font-weight: 800; }
.phone-menu .active { background: #f0b90b; color: #111; }
.phone-card { display: flex; gap: 12px; margin-top: 18px; border: 1px solid rgba(240, 185, 11, 0.35); border-radius: 16px; padding: 14px; }
.phone-card span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--yellow); color: #111; font-weight: 950; }
.phone-card p { margin: 0; color: #cbd5e1; font-size: 13px; }

.guide-steps { display: grid; gap: 16px; }
.guide-steps article { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 22px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); }
.guide-steps article > span { color: var(--yellow); font-size: 28px; font-weight: 950; }
.guide-steps h3 { margin-bottom: 4px; font-size: 22px; }
.guide-steps p { margin: 0; color: var(--muted); font-weight: 650; }

.dark-section { background: #080b11; color: var(--white); }
.advantage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
.advantage-grid article { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; background: rgba(255, 255, 255, 0.05); padding: 24px; }
.advantage-grid strong { display: block; margin-bottom: 10px; color: var(--yellow); font-size: 22px; }
.advantage-grid p { margin: 0; color: #cbd5e1; }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1180px; margin: 0 auto; }
.timeline article { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 24px; }
.timeline span { color: var(--yellow); font-size: 34px; font-weight: 950; }
.timeline h3 { margin: 8px 0; }
.timeline p { margin: 0; color: var(--muted); font-weight: 650; }

.download-panel { display: flex; align-items: center; justify-content: space-between; gap: 26px; max-width: 1120px; margin: 0 auto; border: 1px solid rgba(240, 185, 11, 0.6); border-radius: 8px; background: var(--yellow); color: var(--black); padding: clamp(24px, 4vw, 42px); }
.download-panel h2 { margin-bottom: 8px; font-size: clamp(28px, 4vw, 44px); }
.download-panel p { margin: 0; color: #493800; font-weight: 750; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.faq-list { display: grid; gap: 12px; max-width: 980px; margin: 0 auto; }
.faq-list details { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 18px 22px; }
.faq-list summary { cursor: pointer; font-size: 18px; font-weight: 900; }
.faq-list p { margin: 12px 0 0; color: var(--muted); }

.site-footer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 28px var(--page-pad); background: #0c1016; color: #b8bec8; }
.site-footer p { margin: 0; font-size: 13px; }
.back-top { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: #fff; padding: 0; }

.mobile-sticky-cta { display: none; }
.admin-page { min-height: 100vh; background: #f5f6f8; color: var(--ink); }
.admin-header { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--page-pad); border-bottom: 1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(16px); }
.admin-header .brand small { color: var(--muted); }
.admin-main { padding: clamp(36px, 6vw, 72px) var(--page-pad); }
.admin-shell { display: grid; gap: 22px; max-width: min(1060px, 100%); margin: 0 auto; }
.admin-intro { max-width: 720px; }
.admin-intro h1 { margin-bottom: 14px; font-size: clamp(34px, 4vw, 54px); line-height: 1.12; }
.admin-intro p:last-child { color: var(--muted); font-weight: 650; }
.admin-card { border: 1px solid rgba(0,0,0,.08); border-radius: 14px; background: #fff; padding: clamp(22px, 4vw, 34px); box-shadow: 0 12px 34px rgba(0,0,0,.05); }
.login-card { display: grid; max-width: 460px; gap: 16px; }
.admin-card h2 { margin-bottom: 0; font-size: 24px; }
.admin-card label, .platform-field label { display: grid; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 800; }
.admin-card input { width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; padding: 0 14px; }
.captcha-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.captcha-button { min-height: 48px; border: 1px solid rgba(0,0,0,.12); border-radius: 10px; background: #111827; color: #fff; cursor: pointer; font: inherit; font-weight: 900; padding: 0 16px; white-space: nowrap; }
.settings-card { display: grid; gap: 22px; }
.settings-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.settings-head p { margin: 6px 0 0; color: var(--muted); }
.platform-field { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.platform-field legend { grid-column: 1 / -1; padding: 0 8px; color: var(--ink); font-size: 18px; font-weight: 900; }
.global-register-field, .login-card { grid-template-columns: 1fr; }
.admin-status { min-height: 24px; color: var(--muted); font-weight: 800; }
.admin-status[data-type="success"] { color: var(--green); }
.admin-status[data-type="error"] { color: var(--red); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .advantage-grid, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: 1fr; }
  .phone-demo { max-width: 390px; margin: 0 auto; }
}

@media (max-width: 760px) {
  body { padding-bottom: 124px; }
  .site-header { min-height: 66px; padding: 0 14px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand small, .header-actions { display: none; }
  .hero { min-height: auto; }
  .hero-content { padding: 76px 18px 72px; }
  .hero h1 { font-size: 48px; }
  .hero-copy { font-size: 20px; }
  .hero-points { grid-template-columns: 1fr; margin: 30px 0; }
  .hero-actions, .download-actions { flex-direction: column; align-items: stretch; }
  .primary-btn, .ghost-btn { width: 100%; }
  .section { padding: 56px 18px; }
  .section-heading { text-align: left; }
  .guide-steps article { grid-template-columns: 1fr; }
  .advantage-grid, .timeline { grid-template-columns: 1fr; }
  .download-panel { flex-direction: column; align-items: stretch; }
  .site-footer { display: flex; flex-direction: column; align-items: flex-start; }
  .mobile-sticky-cta {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 70;
    display: grid;
    gap: 11px;
    min-height: 92px;
    border: 1px solid rgba(240,185,11,.38);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(240,185,11,.2), rgba(15,31,50,.42) 50%, rgba(7,9,13,.98)), rgba(7,9,13,.96);
    color: #fff;
    box-shadow: 0 14px 36px rgba(0,0,0,.34);
    padding: 13px;
    backdrop-filter: blur(18px);
  }
  .mobile-sticky-copy { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; }
  .mobile-sticky-copy strong { overflow: hidden; color: var(--yellow); font-size: 16px; line-height: 1.18; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-sticky-copy span { overflow: hidden; color: #cdd5e1; font-size: 12px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-sticky-actions { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); gap: 10px; }
  .mobile-sticky-cta a { display: inline-flex; min-width: 0; min-height: 42px; align-items: center; justify-content: center; border: 1px solid rgba(240,185,11,.9); border-radius: 8px; background: linear-gradient(180deg, #ffe06a, var(--yellow)); color: var(--black); font-size: 15px; font-weight: 900; padding: 0 12px; white-space: nowrap; }
  .mobile-sticky-cta .mobile-download { border-color: rgba(240,185,11,.48); background: rgba(255,255,255,.04); color: var(--yellow); font-size: 13px; }
  .admin-header { padding: 0 14px; }
  .admin-header .brand { max-width: calc(100% - 110px); }
  .admin-main { padding: 34px 16px; }
  .settings-head { align-items: stretch; flex-direction: column; }
  .platform-field, .captcha-row { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 40px; }
  .mobile-sticky-copy span { display: none; }
  .mobile-sticky-cta a { padding: 0 8px; font-size: 13px; }
}
