:root {
  --color-primary: #185FA5;
  --color-primary-dark: #0C447C;
  --color-primary-light: #E6F1FB;
  --color-accent: #1D9E75;
  --color-text: #1a1a1a;
  --color-text-muted: #6b7280;
  --color-bg: #ffffff;
  --color-bg-soft: #f8fafc;
  --color-border: #e5e7eb;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --container: 1140px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary-dark); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary-light);
}
.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--color-primary); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--color-text);
}

.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, #fff 100%);
  text-align: center;
}
.hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 18px;
  letter-spacing: 2px;
}
.hero p.lead {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}
.hero-stat .label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.section {
  padding: 64px 0;
}
.section-alt { background: var(--color-bg-soft); }
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--color-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--color-text-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.step h3 {
  font-size: 15px;
  margin-bottom: 6px;
}
.step p {
  font-size: 13px;
  color: var(--color-text-muted);
}

.pricing-table {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}
.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row.head {
  background: var(--color-bg-soft);
  font-weight: 600;
  font-size: 13px;
  color: var(--color-text-muted);
}
.pricing-row .item { font-weight: 500; }
.pricing-row .price { color: var(--color-primary); font-weight: 600; min-width: 100px; text-align: right; }
.pricing-row .cycle { color: var(--color-text-muted); font-size: 13px; min-width: 80px; text-align: right; }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
}
.faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--color-text-muted);
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--color-text-muted);
  font-size: 14px;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: 18px;
}

.cta-band {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.cta-band p {
  opacity: 0.9;
  margin-bottom: 24px;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--color-primary);
}
.cta-band .btn-primary:hover {
  background: #f0f0f0;
}

footer {
  background: #111827;
  color: #9ca3af;
  padding: 48px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
}
.footer-brand p { line-height: 1.8; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #9ca3af; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(24,95,165,0.1);
}
.form-control::placeholder { color: #9ca3af; }

.input-group {
  display: flex;
  gap: 8px;
}
.input-group .form-control { flex: 1; }
.input-group .btn { white-space: nowrap; }

.auth-wrap {
  max-width: 420px;
  margin: 60px auto;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.auth-wrap h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.auth-wrap .sub {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.auth-foot {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.auth-foot a { font-weight: 500; }

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
}
.alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-done { background: #d1fae5; color: #065f46; }

.order-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 12px;
}
.order-card .order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.order-card .order-id {
  font-weight: 600;
  font-size: 14px;
}
.order-card .order-meta {
  font-size: 13px;
  color: var(--color-text-muted);
}
.order-card .order-title {
  font-size: 15px;
  margin-bottom: 4px;
}

.upload-area {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.upload-area:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}
.upload-area .upload-icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.upload-area p { color: var(--color-text-muted); font-size: 14px; }
.file-list { margin-top: 12px; }
.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-size: 13px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-muted);
}
.empty-state .icon { font-size: 40px; margin-bottom: 12px; }

/* 优势四宫格 */
.advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.adv-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: all 0.2s;
}
.adv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.adv-card .adv-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}
.adv-card .adv-body h3 { font-size: 16px; margin-bottom: 6px; }
.adv-card .adv-body p { font-size: 13px; color: var(--color-text-muted); }

/* 数据库对比库条 */
.data-sources {
  max-width: 760px;
  margin: 0 auto;
}
.data-source-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}
.data-source-item .ds-name { font-weight: 600; font-size: 15px; min-width: 140px; }
.data-source-item .ds-bar {
  flex: 1;
  height: 8px;
  background: var(--color-bg-soft);
  border-radius: 4px;
  overflow: hidden;
}
.data-source-item .ds-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 4px;
}
.data-source-item .ds-pct { color: var(--color-primary); font-weight: 600; font-size: 14px; min-width: 50px; text-align: right; }

/* 价格突出卡 */
.price-hero-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.price-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.price-hero .ph-main {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 36px 32px;
}
.price-hero .ph-main .tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.18);
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 14px;
}
.price-hero .ph-main .amount { font-size: 42px; font-weight: 700; line-height: 1; }
.price-hero .ph-main .amount small { font-size: 16px; font-weight: 500; opacity: 0.85; }
.price-hero .ph-main .unit { font-size: 14px; opacity: 0.9; margin-top: 8px; }
.price-hero .ph-main .discount {
  margin-top: 18px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.price-hero .ph-main .discount b { color: #ffe08a; }
.price-hero .ph-side {
  background: #fff;
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.ph-side .ph-item { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.ph-side .ph-item .tick { color: var(--color-accent); font-weight: 700; }

.price-note {
  text-align: center;
  margin-top: 20px;
  color: var(--color-text-muted);
  font-size: 13px;
}

/* 三步流程 */
.steps-3 { grid-template-columns: repeat(3, 1fr); }

/* 合作机构 */
.partners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}
.partner-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.partner-item:hover { border-color: var(--color-primary); background: var(--color-primary-light); }
.partner-item .pin { color: var(--color-primary); }
.partner-stats {
  text-align: center;
  margin-bottom: 32px;
  color: var(--color-text-muted);
  font-size: 14px;
}
.partner-stats b { color: var(--color-primary); font-size: 22px; }

/* 微信联系卡 */
.wechat-card {
  background: linear-gradient(135deg, #1aad19 0%, #0e8a0e 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.wechat-card .wc-info h3 { font-size: 22px; margin-bottom: 8px; }
.wechat-card .wc-info p { opacity: 0.92; font-size: 14px; margin-bottom: 14px; }
.wechat-card .wc-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}
.wechat-card .wc-tip { font-size: 12px; opacity: 0.85; margin-top: 10px; }

/* 报告说明 */
.report-spec {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.report-spec .rs-item {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.report-spec .rs-item .rs-icon { font-size: 28px; margin-bottom: 10px; }
.report-spec .rs-item h4 { font-size: 14px; margin-bottom: 6px; }
.report-spec .rs-item p { font-size: 12px; color: var(--color-text-muted); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn-outline { display: none; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 16px; letter-spacing: 1px; }
  .hero p.lead { font-size: 15px; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .pricing-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
  .pricing-row .price, .pricing-row .cycle { text-align: left; min-width: 0; }
  .hero-stats { gap: 24px; }
  .auth-wrap { margin: 24px 16px; padding: 28px 24px; }
  .advantages { grid-template-columns: 1fr; }
  .price-hero { grid-template-columns: 1fr; }
  .price-hero .ph-main { padding: 28px 24px; }
  .price-hero .ph-main .amount { font-size: 34px; }
  .steps-3 { grid-template-columns: 1fr; gap: 28px; }
  .partners { grid-template-columns: 1fr; }
  .report-spec { grid-template-columns: 1fr; }
  .wechat-card { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .data-source-item { flex-wrap: wrap; }
  .data-source-item .ds-name { min-width: 0; }
}
