:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #eef2f8;
  --text: #141c2c;
  --text-muted: #5a657a;
  --border: #dfe5f0;
  --primary: #1d5cff;
  --primary-hover: #1449d6;
  --primary-soft: #eaf0ff;
  --vip-bg: #fff5e5;
  --vip-text: #b85d00;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(17, 34, 68, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden {
  display: none !important;
}

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d5cff, #3b82f6);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 16px;
}

.brand-text span {
  font-size: 12px;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.search-box input {
  border: none;
  outline: none;
  padding: 7px 10px;
  width: 190px;
  font-size: 13px;
}

.search-box button {
  border: none;
  background: var(--surface-alt);
  color: var(--text);
  padding: 0 12px;
  font-size: 13px;
  cursor: pointer;
}

.search-box button:hover {
  background: #dde5f2;
}

.auth-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-lg {
  padding: 11px 22px;
  font-size: 15px;
}

.btn-sm {
  padding: 5px 12px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface-alt);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5fc 100%);
  border-bottom: 1px solid var(--border);
  padding: 46px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-content h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.hero-content p {
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.hero-stats strong {
  display: block;
  font-size: 18px;
  color: var(--text);
}

.hero-stats span {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 14px;
}

.tag-vip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--vip-bg);
  color: var(--vip-text);
  font-size: 12px;
  font-weight: 600;
}

.hot-list {
  list-style: none;
  margin-bottom: 16px;
}

.hot-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

.hot-list li:last-child {
  border-bottom: none;
}

.hot-list li:hover {
  color: var(--primary);
}

/* 通用区块 */
.section {
  padding: 52px 0;
}

.section-alt {
  background: #edf2fa;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.section-head.center {
  justify-content: center;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.section-head h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 14px;
}

/* 分类筛选 */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}

.tab.active,
.tab:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* 资讯卡片 */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feed-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.feed-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.cat-badge {
  background: var(--surface-alt);
  color: var(--text);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 500;
}

.feed-card h3 {
  font-size: 16px;
  line-height: 1.45;
}

.feed-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid #f0f3f9;
}

.read-more {
  color: var(--primary);
  font-weight: 500;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  background: #fff;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

/* VIP 价格卡片 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.price-head h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.price-head p {
  font-size: 13px;
  color: var(--text-muted);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount .currency {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}

.price-amount strong {
  font-size: 36px;
  line-height: 1;
  color: var(--primary);
}

.price-amount .unit {
  font-size: 13px;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  flex: 1;
}

.price-features li {
  font-size: 14px;
  padding: 6px 0 6px 20px;
  position: relative;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #129b56;
  font-weight: 700;
}

/* 广告报价表 */
.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.rate-table th,
.rate-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.rate-table th {
  background: #f8faff;
  color: var(--text-muted);
  font-weight: 600;
}

.rate-table tr:last-child td {
  border-bottom: none;
}

.price-cell {
  color: var(--primary);
  font-weight: 700;
}

/* 页脚 */
.site-footer {
  background: #141c2c;
  color: #c7d1e3;
  padding: 44px 0 24px;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-title {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
}

.footer-desc {
  color: #9aa7bf;
  line-height: 1.75;
}

.footer-links,
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a:hover,
.report-link:hover,
.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.report-link {
  color: #7eb0ff;
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  color: #9aa7bf;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  color: #c7d1e3;
}

/* 弹窗 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-lg {
  max-width: 680px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.modal-close {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 20px;
}

.auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface-alt);
  padding: 4px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.auth-switch button {
  border: none;
  background: transparent;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-muted);
}

.auth-switch button.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-stack label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
}

.form-stack input[type="text"],
.form-stack input[type="tel"],
.form-stack input[type="password"],
.form-stack textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  outline: none;
}

.form-stack input:focus,
.form-stack textarea:focus {
  border-color: var(--primary);
}

.checkbox-row {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 8px !important;
  font-size: 12.5px !important;
  color: var(--text-muted);
}

.checkbox-row a {
  color: var(--primary);
}

.order-summary {
  background: #f8faff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.order-summary > div {
  display: flex;
  justify-content: space-between;
}

.order-total {
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  font-size: 16px;
  color: var(--primary);
}

.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.pay-label {
  font-size: 13.5px;
  font-weight: 600;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.notice-box {
  background: #ecfdf3;
  border: 1px solid #a6f4c5;
  color: #067647;
  padding: 12px;
  border-radius: 8px;
  font-size: 13.5px;
  margin: 12px 0;
}

.paywall-box {
  margin-top: 16px;
  padding: 18px;
  border-radius: 10px;
  background: var(--vip-bg);
  border: 1px solid #ffd8a8;
  text-align: center;
}

.paywall-box p {
  color: var(--vip-text);
  margin-bottom: 12px;
  font-size: 14px;
}

.legal-content h4 {
  margin: 14px 0 6px;
  font-size: 15px;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

/* 响应式 */
@media (max-width: 960px) {
  .hero-grid,
  .feed-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
  .search-box input {
    width: 140px;
  }
}
