/* Usage Watcher 官网 —— 全宽暗色 + 粒子背景 + 卡片动效，零外部依赖 */
:root {
  --bg: #060a12;
  --text: #e9f0fa;
  --muted: #8ea1b8;
  --faint: #5d7188;
  --accent: #6fd6ff;
  --accent2: #8b7cff;
  --ok: #4ade9e;
  --warn: #ffcf6e;
  --line: rgba(148, 178, 220, 0.11);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 80% -10%, rgba(139, 124, 255, 0.16), transparent 60%),
    radial-gradient(1100px 600px at -10% 40%, rgba(111, 214, 255, 0.10), transparent 60%);
  color: var(--text);
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 背景层：3D 数据面板 + 粒子 */
#bg3d, #fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
#bg3d { z-index: 0; opacity: 0.9; }
#fx { z-index: 1; }

body > *:not(#bg3d):not(#fx) { position: relative; z-index: 2; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 11px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #8fe0ff, #6fb2ff);
  color: #06121e;
  box-shadow: 0 4px 20px rgba(111, 214, 255, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(111, 214, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(148, 178, 220, 0.35);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 34px; font-size: 1.02rem; }
.btn-block { display: block; margin-bottom: 12px; width: 100%; }

/* ---------- 头部 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 10, 18, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 4vw;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand-name { font-weight: 700; letter-spacing: 0.02em; }

.logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #8fe0ff, #6fb2ff);
  color: #06121e;
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(111, 214, 255, 0.35);
}

/* ---------- Hero ---------- */

.hero {
  padding: 15vh 4vw 10vh;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 22px;
  animation: hero-in 0.9s ease both;
}

.hero h1 span {
  background: linear-gradient(100deg, #8fe0ff, #8b7cff, #ffd88f);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 6s linear infinite;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 640px;
  margin: 0 auto 34px;
  animation: hero-in 0.9s ease 0.12s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: hero-in 0.9s ease 0.24s both;
}

.hero-note { color: var(--faint); font-size: 0.85rem; margin-top: 18px; animation: hero-in 0.9s ease 0.36s both; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@keyframes gradient-flow {
  to { background-position: 200% center; }
}

/* ---------- 功能卡片 ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 0 4vw 12vh;
  max-width: 1500px;
  margin: 0 auto;
}

.card {
  background: linear-gradient(160deg, rgba(148, 178, 220, 0.10), rgba(148, 178, 220, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  animation: card-in 0.7s ease both;
  cursor: default;
}

.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.24s; }

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(111, 214, 255, 0.45);
  background: linear-gradient(160deg, rgba(111, 214, 255, 0.14), rgba(139, 124, 255, 0.06));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45), 0 0 34px rgba(111, 214, 255, 0.12);
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(111, 214, 255, 0.10);
  border: 1px solid rgba(111, 214, 255, 0.22);
  margin-bottom: 20px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.card:hover .card-icon {
  transform: rotate(-6deg) scale(1.08);
  background: rgba(111, 214, 255, 0.2);
  color: #fff;
}

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- 下载 ---------- */

.download {
  padding: 0 4vw 12vh;
  text-align: center;
}

.download h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 30px;
}

.download-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(148, 178, 220, 0.10), rgba(148, 178, 220, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 40px;
  text-align: left;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.download-box:hover {
  border-color: rgba(111, 214, 255, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(111, 214, 255, 0.08);
}

.version-badge {
  display: inline-block;
  background: rgba(74, 222, 158, 0.12);
  color: var(--ok);
  border: 1px solid rgba(74, 222, 158, 0.35);
  border-radius: 999px;
  padding: 2px 13px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.qq-number { font-size: 1.1rem; margin-bottom: 18px; }
.qq-number strong { color: var(--accent); letter-spacing: 0.05em; }

.download-alt { display: flex; flex-direction: column; gap: 12px; }
.download-alt .btn-block { margin-bottom: 0; }

.smartscreen {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 207, 110, 0.06);
  border: 1px solid rgba(255, 207, 110, 0.25);
  color: var(--warn);
  font-size: 0.85rem;
}

/* ---------- Pro ---------- */

.pro {
  padding: 0 4vw 14vh;
  text-align: center;
}

.pro-price {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: radial-gradient(400px 200px at 50% 0%, rgba(139, 124, 255, 0.16), transparent 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 64px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pro-price:hover {
  border-color: rgba(139, 124, 255, 0.45);
  box-shadow: 0 0 44px rgba(139, 124, 255, 0.15);
}

.price {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(100deg, #ffd88f, #ffb36e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-note { color: var(--faint); font-size: 0.85rem; margin-bottom: 16px; }

/* ---------- 页脚 ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 4vw 38px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.site-footer p { color: var(--faint); font-size: 0.88rem; }
.footer-contact { color: var(--muted) !important; }

/* ---------- 响应式 ---------- */

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; gap: 16px; padding-bottom: 8vh; }
  .download-box { grid-template-columns: 1fr; padding: 28px 24px; }
  .hero { padding: 12vh 6vw 8vh; }
  .pro-price { padding: 34px 40px; }
}

/* ---------- pro.html ---------- */

.pro-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10vh 4vw;
}

.pro-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.price-tip { color: var(--faint); font-size: 0.85rem; margin-top: 14px; max-width: 300px; }

.pro-faq {
  max-width: 520px;
  margin-top: 46px;
  text-align: left;
  background: linear-gradient(160deg, rgba(148, 178, 220, 0.08), rgba(148, 178, 220, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
}

.pro-faq h2 { font-size: 1.05rem; margin-bottom: 12px; -webkit-text-fill-color: var(--text); background: none; }
.pro-faq p { color: var(--muted); font-size: 0.93rem; margin-bottom: 10px; }
.pro-faq p:last-child { margin-bottom: 0; }

/* ---------- success.html ---------- */

.success {
  min-height: 74vh;
  max-width: 640px;
  margin: 0 auto;
  padding: 9vh 4vw 8vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  font-weight: 800;
  color: #06121e;
  background: linear-gradient(135deg, #7ef0c0, #4ade9e);
  box-shadow: 0 0 40px rgba(74, 222, 158, 0.4);
  margin-bottom: 26px;
  animation: pop-in 0.5s ease both;
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}

.success h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; margin-bottom: 10px; }
.success .hero-sub { margin-bottom: 30px; max-width: 480px; }

.key-box {
  width: 100%;
  background: linear-gradient(160deg, rgba(111, 214, 255, 0.10), rgba(139, 124, 255, 0.05));
  border: 1px solid rgba(111, 214, 255, 0.3);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 30px;
  box-shadow: 0 0 34px rgba(111, 214, 255, 0.08);
}

.key-label { color: var(--faint); font-size: 0.85rem; margin-bottom: 12px; }

.key-value {
  font-family: "Consolas", "Courier New", monospace;
  font-size: 1.02rem;
  word-break: break-all;
  line-height: 1.6;
  color: #d9f4ff;
  background: rgba(6, 10, 18, 0.7);
  border: 1px dashed rgba(111, 214, 255, 0.35);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
  user-select: all;
}

.key-box .btn { min-width: 160px; }
.copy-tip { color: var(--ok); font-size: 0.9rem; margin-top: 12px; }
.key-email { color: var(--muted); font-size: 0.85rem; margin-top: 12px; }

.activate-steps {
  width: 100%;
  background: linear-gradient(160deg, rgba(148, 178, 220, 0.08), rgba(148, 178, 220, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 26px;
  text-align: left;
}

.activate-steps h2, .group-box h2 { font-size: 1.05rem; margin-bottom: 12px; -webkit-text-fill-color: var(--text); background: none; }
.activate-steps p { color: var(--muted); font-size: 0.95rem; margin-bottom: 8px; }
.activate-steps p:last-child { margin-bottom: 0; }

.group-box {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.qrcode {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  margin: 14px 0 10px;
}

.group-box p { color: var(--muted); font-size: 0.92rem; }
.group-box strong { color: var(--accent); }
