:root {
  --bg-dark: #070b14;
  --bg-card: #0e1525;
  --bg-card-hover: #152038;
  --primary: #0ea5e9;
  --accent: #f59e0b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(14, 165, 233, 0.2);
  --gradient-brand: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #f59e0b 100%);
  --gradient-btn: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(14, 165, 233, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 40%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 顶部导航栏 */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.25s;
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(14, 165, 233, 0.12);
}

/* 通用区块 */
main {
  flex: 1;
}

.section {
  padding: 76px 0;
}

.page-header {
  padding: 60px 0 42px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(14, 21, 37, 0.75) 0%, transparent 100%);
}

.page-header h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
}

.highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero 首屏 */
.hero {
  padding: 84px 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid var(--border-color);
  color: var(--primary);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 2.95rem;
  line-height: 1.22;
  margin-bottom: 20px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.hero-visual img {
  width: 100%;
  max-width: 460px;
  display: block;
  margin: 0 auto;
}

/* 数据指标栏 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 34px 20px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.1rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 卡片布局 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.25s ease;
  position: relative;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.card-featured {
  border: 2px solid var(--accent);
}

.card-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--primary);
  background: rgba(14, 165, 233, 0.12);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.feature-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}

.feature-list li span:last-child {
  color: var(--primary);
  font-weight: 600;
}

/* 筛选器 */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.25s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient-btn);
  color: #fff;
  font-weight: 600;
}

/* 表格 */
.table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

th {
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary);
}

/* 定价价格标签 */
.price-tag {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 12px 0;
}

.price-tag small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* 表单 */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-feedback {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  display: none;
  font-size: 0.9rem;
}

/* 页脚 */
footer {
  background: #04070e;
  border-top: 1px solid var(--border-color);
  padding: 40px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 28px;
}

.footer-bottom {
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-btns { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.open { display: flex; }
}
