/* ===========================================
   全球包装产品文字与标识审核 — 主样式
   配色:深 teal + 深蓝 + 琥珀(风险强调)
   =========================================== */

:root {
  --primary: #0F766E;        /* 深 teal - 主色 */
  --primary-light: #14B8A6;
  --primary-dark: #134E4A;
  --secondary: #1E40AF;      /* 深蓝 */
  --accent: #F59E0B;         /* 琥珀 - 风险强调 */
  --danger: #DC2626;         /* 红色 - 高风险 */
  --warning: #F59E0B;        /* 琥珀 - 中风险 */
  --success: #059669;        /* 绿色 - 低风险 */
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --text: #1E293B;
  --text-light: #64748B;
  --text-muted: #94A3B8;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --transition: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

/* ============ 顶部导航 ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 18px;
}

.navbar-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.navbar-menu {
  display: flex;
  gap: 8px;
  list-style: none;
}

.navbar-menu a {
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--primary);
  background: rgba(15, 118, 110, 0.06);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
}

/* ============ Hero 区域 ============ */
.hero {
  background: linear-gradient(135deg, #134E4A 0%, #0F766E 50%, #14B8A6 100%);
  color: white;
  padding: 80px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: white;
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: #F1F5F9;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-outline {
  background: var(--surface);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

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

/* ============ Section ============ */
.section {
  padding: 80px 0;
}

.section-alt {
  background: white;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-light);
  max-width: 720px;
  margin-bottom: 48px;
}

/* ============ 阶段卡片 ============ */
.phases-timeline {
  position: relative;
  padding-left: 32px;
}

.phases-timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
}

.phase-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.phase-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
  transform: translateX(4px);
}

.phase-card::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 32px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--primary);
}

.phase-num {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.phase-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.phase-task {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.phase-deliver {
  background: rgba(15, 118, 110, 0.05);
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
}

.phase-deliver-label {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

/* ============ 法规卡片网格 ============ */
.reg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.reg-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.reg-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.reg-market {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.reg-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  font-family: "Consolas", "Monaco", monospace;
}

.reg-desc {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.reg-pitfalls {
  border-top: 1px dashed var(--border);
  padding-top: 14px;
}

.reg-pitfalls-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.reg-pitfalls-list {
  list-style: none;
  font-size: 13px;
  color: var(--text);
}

.reg-pitfalls-list li {
  padding: 4px 0 4px 20px;
  position: relative;
}

.reg-pitfalls-list li::before {
  content: "⚠";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

/* ============ 风险等级标签 ============ */
.risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.risk-high {
  background: rgba(220, 38, 38, 0.1);
  color: var(--danger);
}

.risk-mid {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
}

.risk-low {
  background: rgba(5, 150, 105, 0.1);
  color: var(--success);
}

.risk-high::before,
.risk-mid::before,
.risk-low::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.risk-high::before { background: var(--danger); }
.risk-mid::before { background: var(--warning); }
.risk-low::before { background: var(--success); }

/* ============ 表格 ============ */
.table-wrap {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

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

thead {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
}

th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

tbody tr:hover {
  background: rgba(15, 118, 110, 0.04);
}

tbody tr:last-child {
  border-bottom: none;
}

td {
  padding: 14px 16px;
  color: var(--text);
  vertical-align: top;
}

td code {
  font-family: "Consolas", "Monaco", monospace;
  background: rgba(15, 118, 110, 0.08);
  color: var(--primary-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

/* ============ 报告样例 ============ */
.report-sample {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
}

.report-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 32px 36px;
}

.report-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.report-subtitle {
  font-size: 14px;
  opacity: 0.85;
}

.report-section {
  padding: 28px 36px;
  border-bottom: 1px solid var(--border);
}

.report-section:last-of-type {
  border-bottom: none;
}

.report-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-section-num {
  background: var(--primary);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.report-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.report-info-item {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.report-info-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.report-info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.report-risk-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-risk-item {
  background: var(--bg);
  border-left: 4px solid;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.report-risk-item.high { border-color: var(--danger); }
.report-risk-item.mid { border-color: var(--warning); }
.report-risk-item.low { border-color: var(--success); }

.report-risk-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.report-risk-title {
  font-weight: 700;
  color: var(--text);
}

.report-risk-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-family: "Consolas", "Monaco", monospace;
}

.report-risk-suggest {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.6;
}

.report-disclaimer {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.report-disclaimer strong {
  color: var(--accent);
}

/* ============ 支柱卡片 ============ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}

.pillar-card.p1::before { background: var(--primary); }
.pillar-card.p2::before { background: var(--secondary); }
.pillar-card.p3::before { background: var(--accent); }

.pillar-num {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pillar-card.p2 .pillar-num { background: var(--secondary); }
.pillar-card.p3 .pillar-num { background: var(--accent); }

.pillar-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.pillar-desc {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.pillar-features {
  list-style: none;
}

.pillar-features li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text);
  font-size: 14px;
}

.pillar-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ============ 信息框 ============ */
.callout {
  background: rgba(15, 118, 110, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

.callout strong {
  color: var(--primary-dark);
}

/* ============ Footer ============ */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-title {
  color: white;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 4px 0;
  font-size: 13px;
  transition: var(--transition);
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ============ 锚链接 ============ */
.anchor {
  scroll-margin-top: 80px;
}

/* ============ 响应式 ============ */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 72px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 16px;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
  }

  .navbar-menu.open {
    display: flex;
  }

  .navbar-toggle {
    display: block;
  }

  .phases-timeline {
    padding-left: 24px;
  }

  .phases-timeline::before {
    left: 8px;
  }

  .phase-card::before {
    left: -20px;
    width: 12px;
    height: 12px;
  }

  .report-header,
  .report-section {
    padding: 24px 20px;
  }

  table {
    font-size: 13px;
  }

  th, td {
    padding: 10px 12px;
  }
}

/* ============ 工具类 ============ */
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ===========================================
   v2.0 新增样式 — 工具型 SaaS 转型
   =========================================== */

/* === Hero 强化(行动导向) === */
.hero.hero-action {
  background: linear-gradient(135deg, #0F766E 0%, #14B8A6 50%, #1E40AF 100%);
  color: white;
  padding: 80px 0 96px;
}

.hero.hero-action .hero-eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.hero.hero-action .hero-title {
  color: white;
  font-size: 48px;
}

.hero.hero-action .hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
}

.btn.btn-cta {
  background: #F59E0B;
  color: white;
  padding: 16px 36px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn.btn-cta:hover {
  background: #D97706;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
}

.btn.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-left: 12px;
}

.btn.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* === 信任数据条 === */
.trust-bar {
  background: var(--primary-dark);
  color: white;
  padding: 24px 0;
}

.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  text-align: center;
}

.trust-item-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.trust-item-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .trust-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === 快速提交区(核心模块) === */
.submit-panel {
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(15, 23, 42, 0.15);
  padding: 32px;
  margin-top: -56px;
  position: relative;
  z-index: 10;
  border-top: 6px solid #F59E0B;
}

.submit-panel h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.submit-panel-subtitle {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 24px;
}

.submit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-form .form-group.full {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .submit-form {
    grid-template-columns: 1fr;
  }
}

.file-upload {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg);
}

.file-upload:hover {
  border-color: var(--primary);
  background: rgba(15, 118, 110, 0.05);
}

.file-upload.has-file {
  border-color: var(--success);
  background: rgba(5, 150, 105, 0.05);
}

.file-upload-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.file-upload-text {
  font-size: 13px;
  color: var(--text-light);
}

.file-upload-text strong {
  color: var(--primary);
}

.market-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.market-chip {
  padding: 6px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.market-chip:hover {
  border-color: var(--primary);
}

.market-chip.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* === 任务看板(登录后) === */
.task-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.task-stat {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
}

.task-stat.stat-active { border-left-color: var(--accent); }
.task-stat.stat-done { border-left-color: var(--success); }
.task-stat.stat-fix { border-left-color: var(--danger); }

.task-stat-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.task-stat-label {
  font-size: 13px;
  color: var(--text-light);
}

/* === 任务列表 === */
.task-list {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.task-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 0.8fr 1fr;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 14px;
  transition: background 0.2s ease;
}

.task-row:hover {
  background: var(--bg);
}

.task-row.task-header {
  background: var(--primary-dark);
  color: white;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.task-row.task-header:hover {
  background: var(--primary-dark);
}

.task-row:last-child {
  border-bottom: none;
}

.task-title-cell strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.task-title-cell span {
  color: var(--text-light);
  font-size: 12px;
}

.risk-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.risk-tag.risk-high { background: #FEE2E2; color: #991B1B; }
.risk-tag.risk-mid { background: #FEF3C7; color: #92400E; }
.risk-tag.risk-low { background: #D1FAE5; color: #065F46; }
.risk-tag.risk-pending { background: #E5E7EB; color: #4B5563; }

.status-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.status-tag.status-active { background: #DBEAFE; color: #1E40AF; }
.status-tag.status-done { background: #D1FAE5; color: #065F46; }
.status-tag.status-fix { background: #FEE2E2; color: #991B1B; }

/* === 风险圆环 === */
.risk-ring {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  position: relative;
}

.risk-ring-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.risk-ring-label-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.risk-ring-label-text {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

/* === 三大痛点(替换三大支柱) === */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

.pain-card {
  background: white;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
  transition: all 0.2s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pain-card.pain-fast { border-top-color: #DC2626; }
.pain-card.pain-precise { border-top-color: #F59E0B; }
.pain-card.pain-easy { border-top-color: #059669; }

.pain-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.pain-stat {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.pain-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pain-desc {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* === 演示区 === */
.demo-section {
  background: linear-gradient(135deg, #F8FAFC 0%, #E0F2FE 100%);
  padding: 64px 0;
}

.demo-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.demo-step {
  background: white;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.demo-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 768px) {
  .demo-flow {
    grid-template-columns: 1fr;
  }
  .demo-step:not(:last-child)::after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -22px;
    transform: translateX(50%);
  }
}

.demo-step-num {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  line-height: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.demo-step-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.demo-step-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.demo-step-desc {
  font-size: 13px;
  color: var(--text-light);
}

/* === Demo 模拟截图 === */
.demo-screenshot {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15);
  max-width: 800px;
  margin: 0 auto;
}

.demo-img-wrap {
  position: relative;
  background: #F8FAFC;
  border-radius: 8px;
  height: 360px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.demo-img-mock {
  position: absolute;
  inset: 24px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: #cbd5e1;
}

.demo-mark {
  position: absolute;
  border: 3px solid #DC2626;
  border-radius: 4px;
  background: rgba(220, 38, 38, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #DC2626;
  padding: 4px;
  text-align: center;
  line-height: 1.2;
  animation: pulse 2s infinite;
}

.demo-mark.mark-1 {
  top: 24px;
  left: 24px;
  width: 130px;
  height: 56px;
}

.demo-mark.mark-2 {
  top: 100px;
  right: 24px;
  width: 110px;
  height: 80px;
  border-color: #F59E0B;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.08);
}

.demo-mark.mark-3 {
  bottom: 80px;
  left: 24px;
  width: 100px;
  height: 60px;
  border-color: #DC2626;
  color: #DC2626;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

.demo-legend {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  font-size: 13px;
  flex-wrap: wrap;
}

.demo-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.demo-legend-dot.dot-high { background: #DC2626; }
.demo-legend-dot.dot-mid { background: #F59E0B; }
.demo-legend-dot.dot-low { background: #059669; }

/* === 支持市场(压缩) === */
.markets-compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.market-mini {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.market-mini:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.market-mini-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.market-mini-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.market-mini-count {
  font-size: 12px;
  color: var(--text-light);
}

/* === 套餐定价 === */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.plan-card.highlight {
  border-color: #F59E0B;
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.2);
}

.plan-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.plan-tag.tag-orange { background: #F59E0B; }
.plan-tag.tag-gray { background: #6B7280; }
.plan-tag.tag-blue { background: #2563EB; }
.plan-tag.tag-teal { background: #0F766E; }

.plan-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.plan-price-period {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 400;
}

.plan-saving {
  font-size: 12px;
  color: var(--success);
  margin-top: 8px;
  margin-bottom: 16px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.9;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.plan-features li {
  padding: 4px 0;
}

.plan-cta {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 16px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 14px;
}

.plan-cta:hover {
  background: var(--primary-dark);
}

.plan-card.highlight .plan-cta {
  background: #F59E0B;
}

.plan-card.highlight .plan-cta:hover {
  background: #D97706;
}

/* === 登录/注册模态框 === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

.modal-card {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  padding: 32px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.3);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-light);
}

.modal-close:hover {
  background: var(--border);
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-subtitle {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 14px;
}

.modal-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 20px;
}

.modal-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.2s ease;
}

.modal-tab.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.auth-form .form-group {
  margin-bottom: 14px;
}

.auth-form label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
}

.auth-form input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.auth-submit {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.auth-submit:hover {
  background: var(--primary-dark);
}

.auth-fineprint {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.auth-fineprint a {
  color: var(--primary);
  text-decoration: none;
}

/* === 用户头像(登录后) === */
.user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn-login:hover {
  background: var(--primary);
  color: white;
}

.btn-register {
  background: #F59E0B;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  margin-left: 8px;
  transition: all 0.2s ease;
}

.btn-register:hover {
  background: #D97706;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B 0%, #DC2626 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
}

/* === 报告详情(违规清单) === */
.violation-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.violation-item {
  background: white;
  border-radius: 12px;
  border-left: 5px solid var(--text-light);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.violation-item.v-high { border-left-color: #DC2626; }
.violation-item.v-mid { border-left-color: #F59E0B; }
.violation-item.v-low { border-left-color: #059669; }

.violation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}

.violation-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.violation-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.violation-law {
  font-size: 13px;
  color: var(--text-light);
  font-family: ui-monospace, monospace;
  margin-top: 2px;
}

.violation-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.violation-actions button {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.violation-actions button.fixed {
  background: #D1FAE5;
  border-color: #059669;
  color: #065F46;
}

.violation-actions button:hover {
  background: var(--bg);
}

.violation-detail {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  padding: 12px;
  background: var(--bg);
  border-radius: 6px;
  margin-top: 12px;
}

.violation-detail-row {
  margin-bottom: 6px;
}

.violation-detail-row strong {
  color: var(--text);
  font-weight: 700;
  margin-right: 6px;
}

.law-detail {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  display: none;
}

.law-detail.show {
  display: block;
}

.law-detail-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* === 多步骤表单(新建任务) === */
.steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
}

.steps-indicator::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 6px;
  color: var(--text-light);
}

.step-item.active .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.step-item.completed .step-circle {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.step-label {
  font-size: 13px;
  color: var(--text-light);
}

.step-item.active .step-label {
  color: var(--primary);
  font-weight: 600;
}

/* === 进度统计 === */
.progress-bar {
  height: 8px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0;
}

.progress-fill {
  height: 100%;
  background: var(--success);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.progress-fill.fill-warn { background: var(--accent); }
.progress-fill.fill-danger { background: var(--danger); }

/* === 用户中心侧边栏 === */
.user-center-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .user-center-layout {
    grid-template-columns: 1fr;
  }
}

.user-sidebar {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.user-info-card {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.user-info-card .user-avatar {
  margin: 0 auto 12px;
  width: 64px;
  height: 64px;
  font-size: 24px;
}

.user-info-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.user-info-email {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.user-info-plan {
  display: inline-block;
  padding: 2px 10px;
  background: var(--accent);
  color: white;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

.user-nav {
  list-style: none;
  padding: 0;
}

.user-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.user-nav-item:hover {
  background: var(--bg);
}

.user-nav-item.active {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.user-nav-icon {
  font-size: 18px;
}

/* === 工具类 === */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }

/* === 动画 === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
