:root {
  --bg-body: #0a111e;
  --bg-card: #101c2e;
  --bg-card-hover: #15243b;
  --bg-input: #0c1626;
  --border-subtle: rgba(32, 120, 230, 0.22);
  --border-focus: #1685ff;
  --primary: #1685ff;
  --primary-hover: #0e6fe0;
  --accent-cyan: #20c7e8;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --badge-db: rgba(16, 185, 129, 0.15);
  --badge-live: rgba(32, 199, 232, 0.15);
  --radius: 8px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang HK", "Microsoft YaHei", "Microsoft JhengHei", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.site-hdr {
  background: rgba(11, 21, 36, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.hdr-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  height: auto;
  padding: 10px 0;
  flex-wrap: wrap;
  gap: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none !important;
}
.brand-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 900;
}
.hdr-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hdr-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hdr-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none !important;
}
.hdr-links a:hover { color: var(--text-main); }
.hdr-links a.accent { color: var(--accent-cyan); }
.lang-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}
.lang-btn.active { color: var(--accent-cyan); border-color: var(--accent-cyan); font-weight: 700; }

.site-nav {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 2px;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: none !important;
  flex-shrink: 0;
  transition: all 0.15s;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.site-nav a.active {
  background: rgba(22, 133, 255, 0.2);
  border-color: var(--primary);
  color: var(--accent-cyan);
  font-weight: 700;
}

main { flex: 1; padding: 36px 0 60px; }

.hero { margin-bottom: 36px; }
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 10px;
}
.hero h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}
.lede, .hero-lede {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 46rem;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.notice {
  background: rgba(32, 199, 232, 0.08);
  border: 1px solid rgba(32, 199, 232, 0.28);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 32px;
}

.section { margin: 0 0 48px; }
.section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.section-desc { color: var(--text-muted); margin-bottom: 20px; max-width: 46rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px 22px 20px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.92rem; }
.card a.more { display: inline-block; margin-top: 12px; font-size: 0.88rem; font-weight: 600; }

.btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: background 0.2s;
}
.btn:hover { background: var(--primary-hover); }
.btn-secondary {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}
.btn-secondary:hover { background: var(--bg-card-hover); border-color: var(--text-muted); }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.plan {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan h3 { font-size: 1.15rem; }
.plan .tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-cyan);
  background: var(--badge-live);
  border: 1px solid rgba(32, 199, 232, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
}
.plan ul { list-style: none; color: var(--text-muted); font-size: 0.92rem; }
.plan li { padding: 6px 0 6px 1.2em; position: relative; }
.plan li::before { content: "•"; position: absolute; left: 0; color: var(--accent-cyan); }
.plan .price-note {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.faq-item h3 { font-size: 1rem; margin-bottom: 6px; }
.faq-item p { color: var(--text-muted); font-size: 0.92rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
.spec-table th { width: 8.5rem; color: var(--text-dim); font-weight: 600; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.82rem; color: var(--text-muted); }
.field input, .field select, .field textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  font-family: inherit;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(22,133,255,0.25);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-status { font-size: 0.88rem; color: var(--text-muted); min-height: 1.2em; }
.form-hint { font-size: 0.82rem; color: var(--text-dim); }

.crumb { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 10px; }
.page-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }

footer {
  background: #060b14;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 30px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.ftr-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 24px;
}
footer strong { color: #fff; font-size: 1rem; display: block; margin-bottom: 8px; }
footer ul { list-style: none; }
footer li { margin: 6px 0; }
footer a { color: #cbd5e1; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.ftr-copy {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .hdr-in { flex-direction: column; align-items: flex-start; gap: 8px; padding: 8px 0; }
  .hdr-right { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
  .brand { font-size: 1.05rem; }
  .ftr-grid, .contact-grid, .form-row { grid-template-columns: 1fr; }
  .btn.full-m { width: 100%; justify-content: center; }
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-input: #ffffff;
    --border-subtle: #e2e8f0;
    --border-focus: #1685ff;
    --primary: #1685ff;
    --primary-hover: #0e6fe0;
    --accent-cyan: #0284c7;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    --badge-db: rgba(16, 185, 129, 0.1);
    --badge-live: rgba(2, 132, 199, 0.1);
  }
  .site-hdr { background: rgba(255, 255, 255, 0.95) !important; border-bottom-color: #e2e8f0 !important; }
  .brand { color: #0f172a !important; }
  .site-nav { border-top-color: #e2e8f0; }
  .site-nav a { background: #ffffff; border-color: #e2e8f0; color: #475569; }
  .site-nav a:hover { background: #f1f5f9; color: #0f172a; }
  .site-nav a.active { color: var(--primary) !important; background: rgba(22, 133, 255, 0.1) !important; border-color: var(--primary) !important; }
  .lang-btn { color: #475569 !important; background: #ffffff !important; border-color: #e2e8f0 !important; }
  .lang-btn.active { color: var(--primary) !important; border-color: var(--primary) !important; }
  .card, .plan, .faq-item { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }
  .field input, .field select, .field textarea { color: #0f172a !important; background: #ffffff !important; border-color: #e2e8f0 !important; }
  footer { background: #ffffff !important; border-top-color: #e2e8f0 !important; color: #64748b !important; }
  footer strong { color: #0f172a !important; }
  footer a { color: #334155; }
  .ftr-copy { border-top-color: #e2e8f0; }
  .notice { background: #f1f5f9; color: #475569; }
}
