:root {
  --bg: #07111f;
  --panel: rgba(10, 20, 35, 0.9);
  --panel-2: rgba(255, 255, 255, 0.95);
  --text: #e7edf8;
  --muted: #8da0bb;
  --primary: #4cc9f0;
  --secondary: #6d5dfc;
  --accent: #ff7a00;
  --border: rgba(255,255,255,0.12);
}
* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: 'Microsoft YaHei', 'Segoe UI', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(76, 201, 240, 0.2), transparent 25%),
    linear-gradient(135deg, var(--bg), #0f2138 55%, #14253f 100%);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
.container { width: min(1180px, calc(100% - 24px)); margin: 0 auto; }
.topbar {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0; color: #dceaf8;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.04em; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid; place-items: center; font-size: 24px; box-shadow: 0 10px 25px rgba(76, 201, 240, 0.25);
}
.nav-links { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.nav-links a, .nav-links button {
  padding: 10px 14px; border-radius: 999px; border: 1px solid transparent; color: #f2f7ff; transition: 0.2s ease;
}
.nav-links a:hover, .nav-links button:hover { background: rgba(255,255,255,0.08); border-color: var(--border); }
.btn, .btn-primary, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover, .btn-primary:hover, .btn-outline:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 12px 26px rgba(76, 201, 240, 0.25);
}
.btn-outline {
  background: rgba(255,255,255,0.06); color: white; border: 1px solid var(--border);
}
.hero {
  padding: 42px 0 60px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center;
}
.hero-card, .panel, .card, .auth-card {
  background: var(--panel); backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}
.hero-card { padding: 34px; }
.hero-card h1 { font-size: clamp(32px, 4vw, 56px); line-height: 1.15; margin: 0 0 16px; }
.hero-card p { color: var(--muted); font-size: 17px; line-height: 1.8; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hero-meta .mini {
  background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 14px; padding: 12px; text-align: center;
}
.hero-meta strong { display: block; font-size: 20px; color: white; }
.hero-visual {
  padding: 24px; display: grid; gap: 16px;
}
.hero-visual .panel { padding: 20px; }
.status-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.status-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); color: #c7d5e8; }
.section { padding: 24px 0 30px; }
.section-title { display: flex; justify-content: space-between; align-items: end; margin-bottom: 18px; }
.section-title h2 { margin: 0; font-size: 24px; }
.section-title a { color: var(--primary); }
.feature-grid, .download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 20px; }
.card .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; margin-bottom: 12px; background: linear-gradient(135deg, rgba(76,201,240,0.24), rgba(109,93,252,0.24)); }
.card h3 { margin: 0 0 8px; font-size: 18px; color: white; }
.card p { color: var(--muted); margin: 0; line-height: 1.7; }
.download-card { padding: 22px; }
.download-card .tag { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(255,122,0,0.16); color: #ffcf99; font-size: 12px; margin-bottom: 8px; }
.download-card h3 { margin-bottom: 10px; color: white; }
.download-card ul { color: var(--muted); padding-left: 18px; display: grid; gap: 8px; margin: 10px 0 16px; }
.cta {
  margin-top: 22px; padding: 24px; background: linear-gradient(135deg, rgba(76,201,240,0.16), rgba(109,93,252,0.16)); border: 1px solid var(--border); border-radius: 24px;
}
.footer { padding: 30px 0 40px; color: var(--muted); text-align: center; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px 0; }
.auth-card { width: min(460px, calc(100% - 24px)); padding: 30px; }
.auth-card h1 { margin: 0 0 8px; color: white; font-size: 28px; }
.auth-card p { color: var(--muted); margin-bottom: 20px; }
.field { display: grid; gap: 8px; margin-bottom: 14px; }
.field label { color: #dfe8f5; font-weight: 600; }
.field input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.06); color: white; }
.field input::placeholder { color: #71809d; }
.form-note { color: var(--muted); font-size: 14px; margin-top: 12px; }
.notice { margin-top: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; display: none; }
.notice.success { display: block; background: rgba(36, 169, 92, 0.16); color: #7ef0b9; }
.notice.error { display: block; background: rgba(255,92,92,0.16); color: #ffb6b6; }
.dashboard-shell { padding: 30px 0 50px; }
.dashboard-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; }
.dashboard-card { padding: 22px; }
.dashboard-card h2 { font-size: 22px; color: white; margin-bottom: 10px; }
.dashboard-card p, .dashboard-card li { color: var(--muted); line-height: 1.7; }
.dashboard-stack { display: grid; gap: 18px; }
.dashboard-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dashboard-stat { padding: 16px; border-radius: 16px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); }
.dashboard-stat strong { display: block; font-size: 22px; color: white; margin-bottom: 4px; }
.dashboard-stat span { color: var(--muted); font-size: 14px; }
.social-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.social-list .meta { display: grid; gap: 2px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  font-size: 12px; color: white; background: rgba(76,201,240,0.16); border: 1px solid rgba(76,201,240,0.28);
}
.status-pill.offline { background: rgba(255,122,0,0.16); border-color: rgba(255,122,0,0.28); }
.section-title-sm { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.section-title-sm h3 { margin: 0; font-size: 18px; color: white; }
.small-muted { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .dashboard-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dashboard-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero, .dashboard-grid { grid-template-columns: 1fr; }
  .feature-grid, .download-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100%, calc(100% - 16px)); }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
  }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
  .nav-links a, .nav-links button {
    padding: 9px 12px;
  }
  .hero { padding: 22px 0 40px; }
  .hero-card { padding: 20px; }
  .hero-actions, .section-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions .btn, .hero-actions .btn-primary, .hero-actions .btn-outline {
    width: 100%;
  }
  .hero-meta { grid-template-columns: 1fr; }
  .feature-grid, .download-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 22px; border-radius: 20px; }
}
@media (max-width: 480px) {
  .brand { font-size: 16px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero-card h1 { font-size: 28px; }
  .auth-card h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
