/* DealSense 官网 - 全局样式（蓝紫渐变主题） */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* 品牌色 */
  --brand-blue: #2196F3;
  --brand-blue-dark: #1976D2;
  --brand-purple: #6a4c93;
  --brand-purple-dark: #573a7d;

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #2196F3 0%, #6a4c93 100%);
  --gradient-primary-hover: linear-gradient(135deg, #1976D2 0%, #573a7d 100%);
  --gradient-soft: linear-gradient(135deg, rgba(33,150,243,0.08) 0%, rgba(106,76,147,0.08) 100%);
  --gradient-hero: linear-gradient(160deg, #f8fbff 0%, #f5f2fa 100%);

  /* 文字 */
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-tertiary: #999;

  /* 背景 */
  --bg-page: #ffffff;
  --bg-soft: #f8f9fa;
  --bg-dark: #1a1a2e;
  --border: #e8e8e8;

  /* 状态色 */
  --success: #2e7d32;
  --warning: #FF9800;

  /* 尺寸 */
  --radius-card: 14px;
  --radius-btn: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-brand: 0 8px 24px rgba(33,150,243,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
}
.nav-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex; gap: 28px;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
}
.nav-links a:hover { color: var(--brand-blue); }
.nav-cta {
  padding: 8px 18px;
  background: var(--gradient-primary);
  color: #fff; border-radius: var(--radius-btn);
  font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(33,150,243,0.25);
  transition: transform 0.12s, box-shadow 0.15s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(33,150,243,0.35);
}

/* ============ Container ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title {
  font-size: 36px; font-weight: 700;
  text-align: center; margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 16px; color: var(--text-secondary);
  text-align: center; margin-bottom: 48px;
  max-width: 640px; margin-left: auto; margin-right: auto;
}

/* ============ Hero ============ */
.hero {
  padding: 80px 0 60px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(33,150,243,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(106,76,147,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: rgba(33,150,243,0.1);
  color: var(--brand-blue-dark);
  border-radius: 20px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(33,150,243,0.2);
}
.hero h1 {
  font-size: 52px; font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 32px;
  max-width: 520px;
}
.hero-buttons {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--gradient-primary);
  color: #fff; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 600;
  box-shadow: var(--shadow-brand);
  transition: transform 0.12s, box-shadow 0.15s;
  border: none; cursor: pointer; font-family: inherit;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(33,150,243,0.4);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: #fff; color: var(--text-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 600;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  cursor: pointer; font-family: inherit;
}
.btn-secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: rgba(33,150,243,0.04);
}
.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-secondary);
}
.hero-trust span {
  display: inline-flex; align-items: center; gap: 6px;
}

/* Hero 右侧产品演示 */
.hero-mock { position: relative; }
.hero-mock-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(33,150,243,0.15), 0 8px 24px rgba(106,76,147,0.1);
  padding: 20px 22px;
  max-width: 380px;
  margin-left: auto;
  position: relative;
}
.hero-mock-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 0 0 4px 4px;
}
.hero-mock-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-tertiary);
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.hero-mock-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.hero-mock-score {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: conic-gradient(var(--success) 0 87%, var(--border) 87% 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.hero-mock-score::before {
  content: '';
  position: absolute; inset: 6px;
  background: #fff; border-radius: 50%;
}
.hero-mock-score-val {
  position: relative;
  font-size: 20px; font-weight: 700;
  color: var(--success);
}
.hero-mock-level {
  font-size: 15px; font-weight: 700;
  color: var(--success);
  margin-bottom: 2px;
}
.hero-mock-advice {
  font-size: 12px; color: var(--text-secondary);
  line-height: 1.4;
}
.hero-mock-dims {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.hero-mock-dim {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px;
}
.hero-mock-bar {
  flex: 1; height: 5px;
  background: var(--border); border-radius: 3px;
  overflow: hidden;
}
.hero-mock-bar > div {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
}

/* ============ Trust bar ============ */
.trust-bar {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.trust-inner {
  display: flex; justify-content: center; gap: 48px;
  flex-wrap: wrap;
  font-size: 13px; color: var(--text-tertiary);
  text-align: center;
}
.trust-inner > div { display: flex; align-items: center; gap: 8px; }

/* ============ Problem ============ */
.problem {
  background: var(--bg-soft);
  padding: 60px 0;
}
.problem-inner {
  max-width: 720px; margin: 0 auto;
  text-align: center;
}
.problem h2 {
  font-size: 28px; font-weight: 700;
  margin-bottom: 16px;
}
.problem p {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.7;
}

/* ============ Features ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(33,150,243,0.12);
  border-color: rgba(33,150,243,0.3);
}
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  font-size: 26px;
  border-radius: 12px;
  background: var(--gradient-soft);
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ How it works ============ */
.how {
  background: var(--bg-soft);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-step {
  text-align: center;
}
.how-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 22px; font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(33,150,243,0.28);
}
.how-step h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
}
.how-step p {
  font-size: 14px; color: var(--text-secondary);
  max-width: 280px; margin: 0 auto;
}

/* ============ AI section ============ */
.ai-section {
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(33,150,243,0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.ai-content {
  max-width: 720px; margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.ai-content h2 {
  font-size: 32px; font-weight: 700;
  margin-bottom: 16px;
}
.ai-content .lead {
  font-size: 16px; color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}
.ai-signals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  text-align: left;
  margin-bottom: 36px;
}
.ai-signal {
  padding: 16px 18px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px;
  transition: border-color 0.15s, transform 0.15s;
}
.ai-signal:hover {
  border-color: rgba(33,150,243,0.3);
  transform: translateY(-2px);
}
.ai-signal-icon { font-size: 20px; flex-shrink: 0; }
.ai-signal strong { display: block; margin-bottom: 2px; color: var(--brand-blue-dark); }
.ai-signal span { color: var(--text-secondary); font-size: 13px; }

/* ============ Pricing preview ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-card {
  padding: 32px 28px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card.featured {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--gradient-primary) border-box;
  border: 2px solid transparent;
  box-shadow: 0 16px 48px rgba(33,150,243,0.18);
}
.pricing-card.featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(33,150,243,0.25);
}
.pricing-card-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-name {
  font-size: 20px; font-weight: 700;
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 42px; font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.pricing-card.featured .pricing-price {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-price span {
  font-size: 16px; font-weight: 500;
  color: var(--text-secondary);
  -webkit-text-fill-color: var(--text-secondary);
}
.pricing-desc {
  font-size: 13px; color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 20px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 6px 0;
  font-size: 14px;
  display: flex; align-items: flex-start; gap: 8px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--brand-blue);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-features li.disabled {
  color: var(--text-tertiary);
}
.pricing-features li.disabled::before {
  content: '−';
  color: var(--text-tertiary);
}
.pricing-cta {
  display: block;
  text-align: center;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-btn);
  font-size: 14px; font-weight: 600;
  transition: all 0.15s;
  border: none; cursor: pointer; font-family: inherit;
  text-decoration: none;
}
.pricing-cta.primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(33,150,243,0.3);
}
.pricing-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(33,150,243,0.4);
}
.pricing-cta.secondary {
  background: #fff;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.pricing-cta.secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: rgba(33,150,243,0.04);
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item summary {
  font-size: 16px; font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  transition: color 0.15s;
}
.faq-item summary:hover { color: var(--brand-blue); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px; color: var(--brand-blue);
  font-weight: 300;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin-top: 12px;
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7;
}

/* ============ Final CTA ============ */
.final-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a1e3e 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; height: 1px;
  background: var(--gradient-primary);
  opacity: 0.5;
}
.final-cta h2 {
  font-size: 36px; font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.final-cta p {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 32px;
}
.final-cta .btn-primary {
  font-size: 16px;
  padding: 16px 36px;
}

/* ============ Footer ============ */
.footer {
  background: var(--bg-dark);
  color: #8b8b9e;
  padding: 60px 0 32px;
  border-top: 1px solid #2a2a3e;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  font-size: 20px; font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.footer-brand span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-desc {
  font-size: 13px; line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px; font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  padding: 5px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--brand-blue); }
.footer-bottom {
  border-top: 1px solid #2a2a3e;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #6a6a7e;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .hero-mock-card { margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 28px; }
  .ai-signals { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .final-cta h2 { font-size: 26px; }
}
/* ============ Hero Mock 轮播 ============ */
.hero-mock-stack {
  position: relative;
  min-height: 260px;
}
.hero-mock-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.hero-mock-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-mock-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.hero-mock-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}
.hero-mock-dots span.active {
  background: var(--brand-blue);
  width: 24px;
  border-radius: 4px;
}

/* 列表式内容（Home / Search 卡） */
.hero-mock-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
}
.hero-mock-list-item,
.hero-mock-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--bg-soft);
  transition: background 0.15s;
}
.hero-mock-list-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.hero-mock-pick-rank {
  font-size: 20px;
  flex-shrink: 0;
  width: 26px;
  text-align: center;
}
.hero-mock-list-info {
  flex: 1;
  min-width: 0;
}
.hero-mock-list-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-mock-list-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 2px;
  font-size: 12px;
}
.hero-mock-list-price {
  color: var(--text-secondary);
}
.hero-mock-list-drop {
  color: var(--success);
  font-weight: 700;
}
.hero-mock-pick-score {
  color: var(--brand-blue);
  font-weight: 700;
}
.hero-mock-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
}
.hero-mock-footer strong {
  color: var(--text-primary);
}