:root {
  --ink: #16192b;
  --ink-2: #4a5268;
  --muted: #8b93a7;
  --line: #e8ecf5;
  --primary: #4f46e5;
  --primary-2: #7c3aed;
  --bg: #ffffff;
  --bg-soft: #f7f8fd;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.65 "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: all .18s;
  background: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(79, 70, 229, .8);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(79, 70, 229, .9); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--primary); background: #f2f1ff; }
.btn-outline { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; padding: 12px; }

/* ---------- 导航 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-weight: 700; font-size: 17px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 16px; letter-spacing: .01em; }
.logo-text small { font-size: 11.5px; color: var(--muted); }

.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--ink-2); font-size: 14px; }
.nav-links a:hover { color: var(--primary); }

.nav-actions { margin-left: auto; display: flex; gap: 10px; }

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

.hero { position: relative; overflow: hidden; padding: 64px 0 44px; }
.hero-bg {
  position: absolute; inset: -20% -10% auto;
  height: 620px;
  background:
    radial-gradient(560px 300px at 18% 8%, rgba(79, 70, 229, .16), transparent 70%),
    radial-gradient(520px 300px at 82% 0%, rgba(124, 58, 237, .14), transparent 70%),
    radial-gradient(700px 380px at 50% 100%, rgba(59, 130, 246, .08), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef1ff;
  color: var(--primary);
  font-size: 13px;
}
.badge em { font-style: normal; font-weight: 700; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, .05); }
}

.hero h1 {
  margin: 20px 0 14px;
  font-size: 46px;
  line-height: 1.22;
  letter-spacing: -.01em;
}
.hero-sub { margin: 0 0 26px; color: var(--ink-2); font-size: 16px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 26px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.hero-points li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.hero-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: #16a34a; font-weight: 700;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(22, 25, 43, .28);
  padding: 20px 22px;
}
.card-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
  padding-bottom: 14px; border-bottom: 1px solid #f2f4fa; margin-bottom: 6px;
}
.live { display: inline-flex; align-items: center; gap: 6px; color: #16a34a; }
.card-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; font-size: 14px; border-bottom: 1px dashed #f2f4fa;
}
.card-row:last-of-type { border-bottom: 0; }
.card-row span { color: var(--muted); }
.card-row b { font-weight: 600; }
.card-row .accent { color: var(--primary); }
.card-bar {
  height: 8px; border-radius: 99px; background: #eef1ff; overflow: hidden; margin: 8px 0 10px;
}
.card-bar span {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #6366f1, #a855f7);
}
.card-foot { font-size: 13px; color: var(--muted); }
.card-foot b { color: var(--ink); }

/* ---------- 数据条 ---------- */

.stats { border-block: 1px solid var(--line); background: var(--bg-soft); }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 26px 0;
}
.stat { text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 28px; letter-spacing: -.01em; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- 区块 ---------- */

.section { padding: 76px 0; }
.section-alt { background: var(--bg-soft); }
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-head h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: -.01em; }
.sec-head p { margin: 0; color: var(--muted); }

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.svc {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: all .2s;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(22, 25, 43, .28); border-color: #dcd8ff; }
.svc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700; color: #fff;
  margin-bottom: 14px;
}
.svc h3 { margin: 0 0 6px; font-size: 17px; }
.svc p { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; min-height: 44px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.svc-tags i {
  font-style: normal; font-size: 11.5px;
  padding: 3px 9px; border-radius: 99px;
  background: #f3f4fb; color: #5b6478;
}
.svc-price { display: flex; align-items: baseline; gap: 4px; }
.svc-price b { font-size: 24px; color: var(--primary); }
.svc-price span { font-size: 12.5px; color: var(--muted); }
.svc-hot {
  position: absolute; top: 16px; right: 16px;
  font-size: 11px; padding: 2px 9px; border-radius: 99px;
  background: linear-gradient(135deg, #f97316, #ef4444); color: #fff;
}
.t-blue .svc-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.t-green .svc-icon { background: linear-gradient(135deg, #22c55e, #16a34a); }
.t-orange .svc-icon { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.t-purple .svc-icon { background: linear-gradient(135deg, #a855f7, #7c3aed); }

/* ---------- 价格 ---------- */

.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column;
}
.price-card.best { border-color: #c7c2ff; box-shadow: 0 26px 54px -30px rgba(79, 70, 229, .55); }
.price-name { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.price-amount { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.price-amount small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.price-list { list-style: none; margin: 18px 0 22px; padding: 0; }
.price-list li { position: relative; padding-left: 20px; margin-bottom: 9px; color: var(--ink-2); font-size: 14px; }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; }
.price-card .btn { margin-top: auto; }
.price-tip { text-align: center; color: var(--muted); font-size: 13px; margin-top: 22px; }

/* ---------- 流程 ---------- */

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.flow li {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 20px; font-size: 14px; color: var(--ink-2);
}
.flow li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 9px;
  background: #eef1ff; color: var(--primary); font-weight: 700; font-size: 13px;
  margin-bottom: 12px;
}

/* ---------- 公告 ---------- */

.notice-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px;
}
.notice-box h3 { margin: 0 0 8px; font-size: 16px; }
.notice-box p { margin: 0; color: var(--ink-2); font-size: 14px; }

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

.footer { border-top: 1px solid var(--line); padding: 42px 0 26px; background: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-desc { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.footer-links { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); }
.footer-links a:hover { color: var(--primary); }
.footer-copy {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 12.5px; flex-wrap: wrap;
}

/* ---------- 登录页 ---------- */

.auth-body { background: var(--bg-soft); min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.auth-wrap {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  width: min(940px, 100%);
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; box-shadow: 0 40px 80px -50px rgba(22, 25, 43, .4);
}
.auth-side {
  padding: 40px 36px;
  background: linear-gradient(150deg, #4f46e5, #7c3aed 60%, #6d28d9);
  color: #fff;
}
.auth-side .logo-text b { color: #fff; }
.auth-side .logo-text small { color: rgba(255, 255, 255, .72); }
.auth-side .logo-mark { background: rgba(255, 255, 255, .18); }
.auth-side h2 { margin: 34px 0 18px; font-size: 26px; line-height: 1.4; }
.auth-points { list-style: none; margin: 0; padding: 0; }
.auth-points li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 14px; color: rgba(255, 255, 255, .88); }
.auth-points li::before { content: "✓"; position: absolute; left: 0; color: #a7f3d0; }
.auth-note { margin-top: 28px; font-size: 13px; color: rgba(255, 255, 255, .7); }

.auth-card { padding: 40px 40px 28px; }
.tabs { display: flex; gap: 8px; margin-bottom: 24px; background: #f4f5fb; padding: 5px; border-radius: 12px; }
.tab {
  flex: 1; border: 0; background: none; padding: 9px 0; border-radius: 9px;
  font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer;
}
.tab.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 2px 8px -4px rgba(22, 25, 43, .3); }

.auth-form label { display: block; margin-bottom: 16px; font-size: 13px; color: var(--ink-2); }
.auth-form input[type=text],
.auth-form input[type=password],
.auth-form input[type=email] {
  width: 100%; margin-top: 7px;
  padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 14px; background: #fcfcff;
}
.auth-form input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(79, 70, 229, .1); }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 13px; }
.checkbox { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.link { color: var(--primary); font-size: 13px; }
.link:hover { text-decoration: underline; }
.form-tip { min-height: 20px; margin: 12px 0 0; font-size: 13px; color: #ef4444; }
.form-tip.ok { color: #16a34a; }
.auth-back { margin: 18px 0 0; text-align: center; }

/* ---------- Toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 14px);
  background: rgba(22, 25, 43, .92); color: #fff;
  padding: 10px 20px; border-radius: 10px; font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: all .22s; z-index: 99;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: rgba(190, 40, 60, .94); }

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

@media (max-width: 1024px) {
  .hero h1 { font-size: 38px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-card { max-width: 460px; }
  .services, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing { grid-template-columns: minmax(0, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 40px 0 30px; }
  .hero h1 { font-size: 30px; }
  .stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .services, .flow { grid-template-columns: minmax(0, 1fr); }
  .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .auth-side { display: none; }
  .auth-card { padding: 28px 22px 22px; }
  .section { padding: 52px 0; }
}
