/* ============================================================
   克杰智能防火罩 — Industrial Inferno Design System
   ============================================================ */
@import "../webspire-tokens.css";
@import "../webspire-components.css";

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', -apple-system, sans-serif;
  color: var(--ws-color-text);
  background: #0c0f1a;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(239, 68, 68, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(249, 115, 22, 0.04) 0%, transparent 60%);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Design Tokens ── */
:root {
  --max-width: 1200px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-display: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'Consolas', monospace;
}

/* ── Utility ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { background: rgba(255, 255, 255, 0.03); }
.section-gray {
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(239, 68, 68, 0.04) 0%, transparent 60%),
    rgba(255, 255, 255, 0.02);
}
.section-dark {
  background:
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(239, 68, 68, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0c0f1a, #0e111e);
}

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 20px;
}
.section-label-danger {
  background: var(--ws-color-primary-soft);
  color: var(--ws-color-primary);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.section-label-amber {
  background: var(--ws-color-accent-soft);
  color: var(--ws-color-accent);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900; line-height: 1.15;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-title .highlight { color: var(--ws-color-primary); }
.section-subtitle {
  font-size: 17px; color: var(--ws-color-text-muted);
  max-width: 600px; line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.25s; line-height: 1.4;
}
.btn-primary {
  background: var(--ws-color-primary); color: #fff;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}
.btn-primary:hover {
  background: var(--ws-color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}
.btn-outline {
  background: transparent; color: var(--ws-color-text);
  border: 1.5px solid var(--ws-color-border-strong);
}
.btn-outline:hover {
  border-color: var(--ws-color-primary);
  color: var(--ws-color-primary);
  background: var(--ws-color-primary-soft);
}
.btn-ghost {
  background: transparent; color: var(--ws-color-text-muted);
  border: none;
}
.btn-ghost:hover { color: var(--ws-color-text); }
.btn-white {
  background: rgba(255,255,255,0.95); color: #0c0f1a;
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.btn-white:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.25);
}
.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 68px;
  background: rgba(12, 15, 26, 0.75);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--ws-color-border);
}
.navbar .container {
  display: flex; align-items: center;
  justify-content: space-between; height: 68px;
}
.navbar .logo {
  font-size: 20px; font-weight: 800;
  color: var(--ws-color-text);
  display: flex; align-items: center; gap: 10px;
}
.logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--ws-color-primary), var(--ws-color-accent));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 900;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--ws-color-text-muted);
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--ws-color-primary);
  transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover { color: var(--ws-color-text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .btn { margin-left: 4px; }
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.mobile-toggle span {
  width: 24px; height: 2px;
  background: var(--ws-color-text);
  transition: 0.3s; border-radius: 1px;
}

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(239, 68, 68, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(249, 115, 22, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #0c0f1a 0%, #0f121f 50%, #0c0f1a 100%);
  color: #fff; position: relative; overflow: hidden;
  padding-top: 68px;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; top: -25%; left: 50%;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,68,68,0.10) 0%, rgba(249,115,22,0.04) 30%, transparent 60%);
  transform: translateX(-50%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -15%; right: -5%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.07) 0%, rgba(239,68,68,0.03) 40%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-glow-3 {
  position: absolute; top: 40%; left: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,68,68,0.05) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(239,68,68,0.12);
  color: #fca5a5; padding: 8px 18px;
  border-radius: 20px; font-size: 13px; font-weight: 500; margin-bottom: 28px;
  border: 1px solid rgba(239,68,68,0.25);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 24px; letter-spacing: -0.03em;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #ef4444, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px; color: var(--ws-color-text-muted);
  line-height: 1.8; margin-bottom: 40px; max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--ws-color-border);
}
.hero-stat-number {
  font-size: 36px; font-weight: 900;
  background: linear-gradient(135deg, #ef4444, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: 14px; color: var(--ws-color-text-faint); margin-top: 4px; }

/* ── Risk Stats Strip ── */
.risk-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--ws-color-border);
  background: var(--ws-color-border);
}
.risk-stat {
  background: rgba(255, 255, 255, 0.04);
  padding: 32px 20px; text-align: center;
}
.risk-stat .num {
  font-size: 40px; font-weight: 900; line-height: 1;
}
.risk-stat .num.danger { color: var(--ws-color-primary); }
.risk-stat .num.success { color: var(--ws-color-success); }
.risk-stat .num .unit { font-size: 18px; font-weight: 700; }
.risk-stat .label { font-size: 14px; color: var(--ws-color-text-muted); margin-top: 8px; }
.risk-stat .sub { font-size: 12px; color: var(--ws-color-text-faint); margin-top: 4px; }

/* ── Pain / Problem Grid ── */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ws-color-border);
  border-radius: var(--radius-lg);
  padding: 28px; transition: all 0.3s;
  position: relative; overflow: hidden;
}
.pain-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ws-color-primary), var(--ws-color-accent));
  opacity: 0; transition: opacity 0.3s;
}
.pain-card:hover::before { opacity: 1; }
.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ws-shadow-lg);
}
.pain-card .num {
  font-size: 32px; font-weight: 900;
  color: var(--ws-color-text-faint); opacity: 0.3;
  font-family: var(--font-mono); line-height: 1;
}
.pain-card h4 { font-size: 16px; font-weight: 700; margin: 12px 0 8px; }
.pain-card p { font-size: 14px; color: var(--ws-color-text-muted); line-height: 1.7; }

/* ── Why Grid ── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ws-color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px; transition: all 0.3s;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ws-shadow-lg);
  border-color: rgba(239,68,68,0.2);
}
.why-card .icon { font-size: 36px; margin-bottom: 16px; display: block; }
.why-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--ws-color-text-muted); line-height: 1.7; }

/* ── Features Grid ── */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ws-color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: center;
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ws-shadow-lg);
  border-color: rgba(239,68,68,0.2);
}
.feature-card .icon { font-size: 36px; margin-bottom: 16px; display: block; }
.feature-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--ws-color-text-muted); line-height: 1.7; }

/* ── Product Cards ── */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ws-color-border);
  border-radius: var(--radius-xl);
  overflow: hidden; transition: all 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ws-shadow-xl);
  border-color: rgba(239,68,68,0.2);
}
.product-card-header {
  padding: 28px 28px 16px; position: relative;
}
.product-card-header .icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.product-card-header .icon-red { background: var(--ws-color-primary-soft); }
.product-card-header .icon-blue { background: rgba(59,130,246,0.12); }
.product-card-header .icon-orange { background: var(--ws-color-accent-soft); }
.product-card-header h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.product-card-header .sub { font-size: 14px; color: var(--ws-color-text-muted); }
.product-card-body { padding: 0 28px 20px; }
.product-card-body p { font-size: 14px; color: var(--ws-color-text-muted); line-height: 1.7; margin-bottom: 16px; }
.product-card-body .price { font-size: 28px; font-weight: 800; color: var(--ws-color-primary); }
.product-card-body .price-label { font-size: 13px; color: var(--ws-color-text-faint); }
.product-card-body .specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 16px 0; }
.product-card-body .specs li {
  font-size: 13px; color: var(--ws-color-text-muted);
  display: flex; align-items: center; gap: 6px;
}
.product-card-body .specs li::before { content: '✓'; color: var(--ws-color-success); font-weight: 700; }
.product-card-footer { padding: 20px 28px; border-top: 1px solid var(--ws-color-border); }
.product-card-footer .btn { width: 100%; justify-content: center; }

/* ── Product Detail Page ── */
.series-nav { display: flex; gap: 10px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.series-btn {
  padding: 12px 28px; border-radius: 10px;
  border: 1.5px solid var(--ws-color-border);
  background: transparent; cursor: pointer; font-size: 15px; font-weight: 600;
  transition: all 0.2s; color: var(--ws-color-text-muted);
}
.series-btn:hover { border-color: var(--ws-color-text-faint); color: var(--ws-color-text); }
.series-btn.active { border-color: var(--ws-color-primary); color: var(--ws-color-primary); background: var(--ws-color-primary-soft); }
.series-section { display: none; }
.series-section.active { display: block; }
.series-intro { margin-bottom: 40px; }
.spec-highlight {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ws-color-primary-soft); color: var(--ws-color-primary);
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin: 4px;
}
.tag { display: inline-block; padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.tag-gray { background: rgba(255,255,255,0.06); color: var(--ws-color-text-muted); border: 1px solid var(--ws-color-border); }
.param-card {
  padding: 28px; background: var(--ws-color-surface-alt);
  border: 1px solid var(--ws-color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.param-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ws-shadow-lg);
  border-color: rgba(239,68,68,0.15);
}
.param-card .icon { font-size: 32px; margin-bottom: 10px; display: block; }
.param-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.param-card p { font-size: 13px; color: var(--ws-color-text-muted); line-height: 1.8; }
.param-card .highlight-num {
  display: inline-block;
  background: var(--ws-color-primary-soft); color: var(--ws-color-primary);
  font-weight: 700; font-size: 14px;
  padding: 1px 8px; border-radius: 4px;
}

/* ── Comparison Table ── */
.comparison-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--ws-color-border);
}
.comparison-table thead th {
  background: rgba(12, 15, 26, 0.9);
  color: var(--ws-color-text);
  padding: 16px 20px;
  font-size: 14px; font-weight: 600; text-align: left;
  border-bottom: 1px solid var(--ws-color-border);
}
.comparison-table thead th.highlight {
  background: var(--ws-color-primary-soft);
  color: var(--ws-color-primary);
}
.comparison-table tbody td {
  padding: 14px 20px; font-size: 14px;
  border-bottom: 1px solid var(--ws-color-border);
  color: var(--ws-color-text-muted); vertical-align: top;
}
.comparison-table tbody td:first-child { font-weight: 600; color: var(--ws-color-text); white-space: nowrap; }
.comparison-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table .cell-good { background: rgba(34,197,94,0.08) !important; color: #4ade80 !important; }
.comparison-table .cell-bad { background: rgba(239,68,68,0.08) !important; color: #f87171 !important; }
.comparison-table .cell-neutral { background: rgba(245,158,11,0.08) !important; color: #fbbf24 !important; }
.cmp-cell-title { font-weight: 700; line-height: 1.4; }
.cmp-cell-desc { font-size: 12px; color: var(--ws-color-text-faint); line-height: 1.5; margin-top: 4px; }

/* ── Configurator ── */
.configurator-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.configurator-form {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--ws-color-border);
  padding: 32px;
}
.config-form-group { margin-bottom: 28px; }
.config-form-group > label {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--ws-color-text); margin-bottom: 12px;
}
.config-options { display: flex; flex-wrap: wrap; gap: 10px; }
.config-option {
  padding: 10px 20px; border-radius: 10px;
  border: 1.5px solid var(--ws-color-border);
  background: transparent; cursor: pointer; font-size: 14px;
  transition: all 0.2s; color: var(--ws-color-text-muted); text-align: center;
}
.config-option:hover { border-color: var(--ws-color-text-faint); }
.config-option.active {
  border-color: var(--ws-color-primary);
  color: var(--ws-color-primary);
  background: var(--ws-color-primary-soft);
}
.config-option .price-tag { font-size: 12px; color: var(--ws-color-text-faint); display: block; margin-top: 2px; }
.config-module {
  display: flex; align-items: center; gap: 16px; padding: 16px;
  border: 1px solid var(--ws-color-border); border-radius: 10px; margin-bottom: 8px;
  cursor: pointer; transition: all 0.2s;
}
.config-module:hover { border-color: var(--ws-color-text-faint); }
.config-module.selected { border-color: var(--ws-color-primary); background: var(--ws-color-primary-soft); }
.config-module-checkbox {
  width: 22px; height: 22px; border-radius: 6px;
  border: 2px solid var(--ws-color-text-faint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.2s;
  font-size: 12px; color: transparent;
}
.config-module.selected .config-module-checkbox {
  background: var(--ws-color-primary); border-color: var(--ws-color-primary); color: #fff;
}
.config-module-info { flex: 1; }
.config-module-info .name { font-size: 14px; font-weight: 600; }
.config-module-info .desc { font-size: 12px; color: var(--ws-color-text-muted); margin-top: 2px; }
.config-module-price { font-size: 14px; font-weight: 600; color: var(--ws-color-text-muted); }
.config-summary {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xl);
  border: 1px solid var(--ws-color-border);
  padding: 28px; position: sticky; top: 90px;
}
.config-summary h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--ws-color-border);
}
.config-summary-item {
  display: flex; justify-content: space-between;
  padding: 8px 0; font-size: 14px; color: var(--ws-color-text-muted);
}
.config-summary-total {
  display: flex; justify-content: space-between;
  padding: 16px 0 0; margin-top: 16px;
  border-top: 2px solid var(--ws-color-border);
  font-size: 22px; font-weight: 800; color: var(--ws-color-primary);
}
.config-summary .btn { width: 100%; justify-content: center; margin-top: 20px; }
.config-form-input {
  width: 100%; padding: 14px 16px;
  background: var(--ws-color-surface);
  border: 1px solid var(--ws-color-border);
  border-radius: 10px; font-size: 14px; margin-bottom: 12px;
  transition: border-color 0.2s; color: var(--ws-color-text);
}
.config-form-input:focus { outline: none; border-color: var(--ws-color-primary); }
.config-form-input::placeholder { color: var(--ws-color-text-faint); }
.config-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.submit-success { text-align: center; padding: 60px 20px; }
.submit-success .icon { font-size: 56px; margin-bottom: 16px; }
.submit-success h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.submit-success p { color: var(--ws-color-text-muted); }

/* ── Scenarios Grid ── */
.scenarios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scenario-card {
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ws-color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.scenario-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ws-shadow-lg);
  border-color: rgba(239,68,68,0.15);
}
.scenario-card .icon { font-size: 36px; margin-bottom: 12px; display: block; }
.scenario-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.scenario-card p { font-size: 14px; color: var(--ws-color-text-muted); line-height: 1.7; }

/* ── About / Timeline ── */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.02em; }
.about-text p { font-size: 16px; color: var(--ws-color-text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ws-color-border);
  border-radius: var(--radius-lg); margin-top: 24px;
}
.about-stat { text-align: center; }
.about-stat .number { font-size: 28px; font-weight: 800; color: var(--ws-color-primary); }
.about-stat .label { font-size: 13px; color: var(--ws-color-text-muted); margin-top: 4px; }

/* ── Contact ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.contact-info p { color: var(--ws-color-text-muted); line-height: 1.8; margin-bottom: 24px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; font-size: 15px; color: var(--ws-color-text-soft);
}
.contact-item .icon {
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ws-color-border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-form-input {
  width: 100%; padding: 14px 16px;
  background: var(--ws-color-surface);
  border: 1px solid var(--ws-color-border);
  border-radius: 10px; font-size: 14px; margin-bottom: 16px;
  transition: border-color 0.2s; color: var(--ws-color-text);
}
.contact-form-input:focus { outline: none; border-color: var(--ws-color-primary); }
.contact-form-input::placeholder { color: var(--ws-color-text-faint); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; }

/* ── Page Header ── */
.page-header {
  padding: 140px 0 64px; text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(239, 68, 68, 0.07) 0%, transparent 60%),
    linear-gradient(180deg, #0c0f1a, #0e111e);
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -50%; left: 50%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,68,68,0.08) 0%, transparent 60%);
  transform: translateX(-50%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: 44px; font-weight: 900; margin-bottom: 12px; letter-spacing: -0.02em; }
.page-header p { font-size: 18px; color: var(--ws-color-text-muted); max-width: 600px; margin: 0 auto; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--ws-color-border);
  border-radius: var(--radius); margin-bottom: 12px;
  overflow: hidden; background: var(--ws-color-surface-alt);
}
.faq-question {
  padding: 20px 24px; cursor: pointer;
  display: flex; justify-content: space-between;
  align-items: center; font-size: 15px; font-weight: 600;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-question .arrow { font-size: 14px; color: var(--ws-color-text-faint); transition: transform 0.3s; }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.3s; }
.faq-item.open .faq-answer { padding: 0 24px 20px; max-height: 500px; }
.faq-answer p { font-size: 14px; color: var(--ws-color-text-muted); line-height: 1.8; }

/* ── Footer ── */
.footer {
  background:
    radial-gradient(ellipse 60% 40% at 50% 120%, rgba(239, 68, 68, 0.05) 0%, transparent 60%),
    #0c0f1a;
  border-top: 1px solid var(--ws-color-border);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { font-size: 20px; font-weight: 800; }
.footer-brand p { color: var(--ws-color-text-faint); font-size: 14px; line-height: 1.8; margin-top: 12px; }
.footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 20px; color: var(--ws-color-text); letter-spacing: 0.05em; }
.footer a {
  display: block; color: var(--ws-color-text-faint);
  font-size: 14px; margin-bottom: 10px; transition: color 0.2s;
}
.footer a:hover { color: var(--ws-color-text); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--ws-color-border);
  font-size: 13px; color: var(--ws-color-text-faint); text-align: center;
}

/* ── /////// CUSTOM HOME PAGE STYLES /////// ── */

.warning-banner {
  background: linear-gradient(135deg, #1a0a0a 0%, #2d1515 100%);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-xl); padding: 48px;
  position: relative; overflow: hidden;
}
.warning-banner::before {
  content: '⚠'; position: absolute; right: -30px; top: -50px;
  font-size: 180px; opacity: 0.04;
}
.warning-banner h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.warning-banner p { color: var(--ws-color-text-muted); font-size: 15px; line-height: 1.8; max-width: 700px; }

.before-after {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.ba-card {
  border-radius: var(--radius-xl); padding: 32px;
  position: relative;
}
.ba-card.bad {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.15);
}
.ba-card.good {
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.15);
}
.ba-card .ba-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 16px;
}
.ba-card.bad .ba-label { color: var(--ws-color-primary); }
.ba-card.good .ba-label { color: var(--ws-color-success); }
.ba-card .ba-list { list-style: none; }
.ba-card .ba-list li {
  padding: 8px 0; font-size: 14px;
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--ws-color-text-muted);
}

/* ── Quick Compare ── */
.quick-compare {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; border-radius: var(--radius-xl);
  overflow: hidden; border: 1px solid var(--ws-color-border);
  background: var(--ws-color-border);
}
.quick-col {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 32px 24px; text-align: center;
}
.quick-col .icon { font-size: 36px; margin-bottom: 12px; }
.quick-col h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.quick-col .sub { font-size: 13px; color: var(--ws-color-text-muted); margin-bottom: 16px; }
.quick-col .price-big { font-size: 30px; font-weight: 900; }
.quick-col .price-big.danger { color: var(--ws-color-primary); }
.quick-col .price-big.success { color: var(--ws-color-success); }
.quick-col .price-big.warning { color: var(--ws-color-accent); }
.quick-col .price-label { font-size: 13px; color: var(--ws-color-text-faint); }

/* ── Verdict Cards ── */
.verdict {
  padding: 32px; border-radius: var(--radius-lg);
  margin-top: 24px; border-left: 4px solid;
}
.verdict.good { background: rgba(34,197,94,0.06); border-color: #22c55e; }
.verdict.bad { background: rgba(239,68,68,0.06); border-color: #ef4444; }
.verdict.warning { background: rgba(245,158,11,0.06); border-color: #f59e0b; }
.verdict h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.verdict p { font-size: 14px; line-height: 1.8; color: var(--ws-color-text-muted); }

/* ── Scenario Tags ── */
.scenario-tag {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 600; margin: 4px;
}
.scenario-tag.match { background: rgba(34,197,94,0.15); color: #4ade80; }
.scenario-tag.mismatch { background: rgba(239,68,68,0.15); color: #f87171; }
.scenario-tag.partial { background: rgba(245,158,11,0.15); color: #fbbf24; }

/* ── Image Gallery ── */
.img-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.img-gallery img {
  width: 100%; height: 160px; object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--ws-color-border);
  transition: all 0.3s;
}
.img-gallery img:hover {
  transform: scale(1.03);
  box-shadow: var(--ws-shadow-lg);
  border-color: rgba(239,68,68,0.3);
}

/* ── Model Specs ── */
.model-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.model-spec-item { padding: 12px 16px; background: var(--ws-color-surface); border-radius: 10px; }
.model-spec-item .label { font-size: 12px; color: var(--ws-color-text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.model-spec-item .value { font-size: 15px; font-weight: 600; color: var(--ws-color-text); margin-top: 4px; }
.model-price-area { padding: 24px; background: var(--ws-color-primary-soft); border: 1px solid rgba(239,68,68,0.2); border-radius: var(--radius); margin: 24px 0; }
.model-price { font-size: 36px; font-weight: 800; color: var(--ws-color-primary); }
.model-price-note { font-size: 14px; color: var(--ws-color-text-muted); margin-top: 4px; }
.model-features { list-style: none; margin: 16px 0; }
.model-features li { padding: 8px 0; font-size: 14px; color: var(--ws-color-text-muted); display: flex; align-items: center; gap: 8px; }
.model-features li::before { content: '✓'; color: var(--ws-color-success); font-weight: 700; }

/* ── Model Selector ── */
.model-selector { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.model-btn {
  padding: 10px 20px; border-radius: 8px;
  border: 1.5px solid var(--ws-color-border);
  background: transparent; cursor: pointer; font-size: 14px; font-weight: 600;
  transition: all 0.2s; color: var(--ws-color-text-muted);
}
.model-btn:hover { border-color: var(--ws-color-text-faint); }
.model-btn.active { border-color: var(--ws-color-primary); color: var(--ws-color-primary); background: var(--ws-color-primary-soft); }

/* ── Grain Texture Overlay ── */
.grain {
  position: relative; isolation: isolate;
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
}
.grain .container { position: relative; z-index: 2; }

/* ── Animations ── */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.scale-in {
  opacity: 0; transform: scale(0.95);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scale-in.visible { opacity: 1; transform: scale(1); }

/* ── Compare Page Hero ── */
.compare-hero-row { display: flex; gap: 20px; margin-bottom: 48px; }
.compare-hero-card {
  flex: 1; padding: 32px 24px; text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ws-color-border);
  background: rgba(255, 255, 255, 0.04);
}
.compare-hero-card.featured {
  border-color: var(--ws-color-primary);
  box-shadow: 0 0 0 3px var(--ws-color-primary-soft);
  position: relative;
}
.compare-hero-card.featured::before {
  content: '推荐'; position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--ws-color-primary); color: #fff;
  padding: 2px 16px; border-radius: 10px;
  font-size: 12px; font-weight: 600;
}
.compare-hero-card .icon { font-size: 36px; margin-bottom: 12px; }
.compare-hero-card h4 { font-size: 16px; font-weight: 700; }
.compare-hero-card p { font-size: 13px; color: var(--ws-color-text-muted); margin-top: 8px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .img-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--ws-color-surface);
    flex-direction: column; padding: 24px; gap: 16px;
    border-bottom: 1px solid var(--ws-color-border);
    transform: translateY(-100%); opacity: 0;
    pointer-events: none; transition: all 0.3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }

  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat-number { font-size: 28px; }

  .risk-strip { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .quick-compare { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .configurator-layout { grid-template-columns: 1fr; }
  .config-form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .compare-hero-row { flex-direction: column; }
  .img-gallery { grid-template-columns: repeat(2, 1fr); }
  .img-gallery img { height: 120px; }

  .page-header { padding: 120px 0 40px; }
  .page-header h1 { font-size: 32px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .warning-banner { padding: 32px 24px; }
}
