/* ============================================
   政府产业园区算力补贴平台 - 设计系统
   ============================================ */

/* ===== CSS 变量 ===== */
:root {
  /* 主色系 - 政务蓝 */
  --primary-900: #0a1f44;
  --primary-800: #122a5e;
  --primary-700: #1a3a6b;
  --primary-600: #234a7a;
  --primary-500: #2d5a8e;
  --primary-400: #4a7ab0;
  --primary-300: #7aa0c8;
  --primary-200: #b8d0e6;
  --primary-100: #e0edf6;
  --primary-50: #f0f7fc;

  /* 强调色 - 中国红 */
  --accent-red: #c8102e;
  --accent-red-dark: #a00d24;
  --accent-red-light: #e63946;

  /* 科技色 - 青绿 */
  --tech-600: #00807a;
  --tech-500: #00a6a0;
  --tech-400: #2dbcb5;
  --tech-300: #5fd4ce;
  --tech-100: #d0f5f3;
  --tech-50: #edfffd;

  /* 功能色 */
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --info: #3b82f6;

  /* 中性色 */
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* 过渡 */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* 布局 */
  --header-height: 72px;
  --topbar-height: 36px;
  --max-width: 1280px;
  --sidebar-width: 240px;
}

/* ===== 全局重置 ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-800);
}

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

ul, ol {
  list-style: none;
}

/* ===== 通用容器 ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 顶部信息栏 ===== */
.topbar {
  background: var(--primary-900);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-left .gov-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-left .gov-badge svg {
  width: 16px;
  height: 16px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-right a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

.topbar-right a:hover {
  color: #fff;
}

.topbar-divider {
  color: rgba(255,255,255,0.3);
}

/* ===== 导航栏 ===== */
.navbar {
  background: #fff;
  height: var(--header-height);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--primary-700);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.nav-brand .logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-700), var(--tech-500));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-brand .brand-text h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-900);
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.nav-brand .brand-text p {
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--primary-700);
  background: var(--primary-50);
}

.nav-menu > li > a.active {
  font-weight: 600;
}

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

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

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

.btn-primary:hover {
  background: var(--primary-800);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

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

.btn-accent:hover {
  background: var(--accent-red-dark);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-tech {
  background: linear-gradient(135deg, var(--tech-500), var(--tech-600));
  color: #fff;
}

.btn-tech:hover {
  box-shadow: 0 8px 20px rgba(0,166,160,0.35);
  transform: translateY(-1px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary-700);
  border: 2px solid var(--primary-300);
}

.btn-outline:hover {
  background: var(--primary-50);
  border-color: var(--primary-500);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  padding: 8px 16px;
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 17px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* ===== Hero 区域 ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 50%, var(--primary-600) 100%);
  color: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(0,166,160,0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(200,16,46,0.12) 0%, transparent 40%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--gray-50);
  clip-path: polygon(0 100%, 100% 100%, 100% 60%, 0 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 13px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--tech-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--tech-400), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--tech-400);
  line-height: 1.2;
}

.hero-stat .num .unit {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.hero-stat .label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

/* Hero 可视化卡片 */
.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-xl);
}

.hero-card-title {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-title .live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.token-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.token-flow-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.token-flow-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(4px);
}

.token-flow-item .model-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.token-flow-item .info {
  flex: 1;
}

.token-flow-item .info .name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.token-flow-item .info .desc {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.token-flow-item .amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--tech-400);
}

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

.section-gray {
  background: var(--gray-100);
}

.section-dark {
  background: var(--primary-900);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--tech-600);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 16px;
  background: var(--tech-50);
  border-radius: var(--radius-full);
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto;
}

.section-dark .section-header h2 {
  color: #fff;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.7);
}

.section-dark .section-header .eyebrow {
  background: rgba(0,166,160,0.15);
  color: var(--tech-400);
}

/* ===== 功能卡片网格 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--primary-200);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  background: var(--primary-50);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

.feature-card .tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: var(--tech-50);
  color: var(--tech-600);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

/* ===== 流程步骤 ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-300), var(--tech-300));
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}

.step-card .step-num {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #fff;
  border: 3px solid var(--primary-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-700);
  transition: var(--transition);
  position: relative;
}

.step-card:hover .step-num {
  border-color: var(--tech-500);
  background: var(--tech-50);
  color: var(--tech-600);
  transform: scale(1.05);
}

.step-card .step-num .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: var(--accent-red);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== 统计数据条 ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.stats-bar .stat {
  text-align: center;
  color: #fff;
  position: relative;
}

.stats-bar .stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

.stats-bar .stat .num {
  font-size: 36px;
  font-weight: 800;
  color: var(--tech-400);
  line-height: 1.2;
}

.stats-bar .stat .num .unit {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.stats-bar .stat .label {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* ===== 补贴计算器 ===== */
.calculator {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-form .form-group {
  margin-bottom: 20px;
}

.calc-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.calc-form select,
.calc-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: var(--transition);
}

.calc-form select:focus,
.calc-form input:focus {
  outline: none;
  border-color: var(--primary-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45,90,142,0.1);
}

.calc-result {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
  text-align: center;
}

.calc-result .label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.calc-result .amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--tech-400);
  line-height: 1.2;
  margin-bottom: 8px;
}

.calc-result .amount .currency {
  font-size: 24px;
}

.calc-result .detail {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.calc-result .detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.calc-result .detail-row:last-child {
  margin-bottom: 0;
}

/* ===== 模型卡片 ===== */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.model-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.model-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--primary-200);
}

.model-card .model-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.model-card .model-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.model-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

.model-card .provider {
  font-size: 13px;
  color: var(--gray-500);
}

.model-card .model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.model-card .tag {
  padding: 4px 10px;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
}

.model-card .tag.tag-tech {
  background: var(--tech-50);
  color: var(--tech-600);
}

.model-card .tag.tag-primary {
  background: var(--primary-50);
  color: var(--primary-600);
}

.model-card .tag.tag-accent {
  background: #fef2f2;
  color: var(--accent-red);
}

.model-card .model-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.model-card .price-text {
  font-size: 13px;
  color: var(--gray-500);
}

.model-card .price-text strong {
  font-size: 20px;
  color: var(--accent-red);
}

.model-card .badge-hot {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 2px 10px;
  background: var(--accent-red);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}

/* ===== 表格 ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table thead {
  background: var(--primary-700);
  color: #fff;
}

.data-table th {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.data-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.data-table tbody tr {
  transition: var(--transition);
}

.data-table tbody tr:hover {
  background: var(--primary-50);
}

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

/* ===== 标签页 ===== */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}

.tab:hover {
  color: var(--primary-600);
}

.tab.active {
  color: var(--primary-700);
  border-bottom-color: var(--primary-700);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 表单 ===== */
.form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--accent-red);
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--gray-800);
  background: #fff;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(45,90,142,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-hint {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 6px;
}

/* ===== 状态卡片 ===== */
.status-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-500);
  transition: var(--transition);
}

.status-card:hover {
  box-shadow: var(--shadow-md);
}

.status-card .status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.status-card .status-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
}

.status-badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.status-badge.success {
  background: #dcfce7;
  color: #15803d;
}

.status-badge.pending {
  background: #fef3c7;
  color: #b45309;
}

.status-badge.processing {
  background: #dbeafe;
  color: #2563eb;
}

.status-card .status-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.status-card .status-body .item {
  font-size: 13px;
}

.status-card .status-body .item .label {
  color: var(--gray-400);
  display: block;
  margin-bottom: 2px;
}

.status-card .status-body .item .value {
  color: var(--gray-800);
  font-weight: 600;
}

/* ===== 时间线 ===== */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-500);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary-200);
}

.timeline-item.completed::before {
  background: var(--success);
  box-shadow: 0 0 0 2px #dcfce7;
}

.timeline-item.current::before {
  background: var(--warning);
  box-shadow: 0 0 0 2px #fef3c7;
  animation: pulse 2s infinite;
}

.timeline-item .time {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.timeline-item .title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.timeline-item .desc {
  font-size: 14px;
  color: var(--gray-500);
}

/* ===== 信息卡片 ===== */
.info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.info-card .card-banner {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.info-card .card-body {
  padding: 24px;
}

.info-card .card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.info-card .card-body p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.info-card .card-footer {
  padding: 0 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-card .card-footer .date {
  font-size: 13px;
  color: var(--gray-400);
}

/* ===== 对标表格特殊样式 ===== */
.compare-table td .region {
  font-weight: 700;
  color: var(--primary-700);
}

.compare-table td .ratio {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-red);
}

/* ===== CTA 区域 ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-700));
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 100%, rgba(0,166,160,0.2) 0%, transparent 50%);
}

.cta-section .container-inner {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ===== 页脚 ===== */
.footer {
  background: var(--primary-900);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-brand .contact-info {
  font-size: 14px;
  line-height: 2;
}

.footer-brand .contact-info span {
  display: block;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--tech-400);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
}

.footer-bottom .links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 8px;
}

.footer-bottom .links a {
  color: rgba(255,255,255,0.4);
}

/* ===== 面包屑导航 ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  font-size: 14px;
  color: var(--gray-400);
}

.breadcrumb a {
  color: var(--gray-500);
}

.breadcrumb a:hover {
  color: var(--primary-600);
}

.breadcrumb .separator {
  color: var(--gray-300);
}

.breadcrumb .current {
  color: var(--gray-700);
  font-weight: 600;
}

/* ===== 页面标题区 ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-700));
  color: #fff;
  padding: 60px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 50%, rgba(0,166,160,0.1) 0%, transparent 50%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
}

/* ===== 告警/提示框 ===== */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 20px;
}

.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border-left: 4px solid var(--info);
}

.alert-warning {
  background: #fffbeb;
  color: #92400e;
  border-left: 4px solid var(--warning);
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border-left: 4px solid var(--success);
}

.alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border-left: 4px solid var(--danger);
}

.alert .icon {
  flex-shrink: 0;
  font-size: 20px;
}

/* ===== 进度条 ===== */
.progress {
  width: 100%;
  height: 8px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500), var(--tech-500));
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

/* ===== 徽章 ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.badge-primary { background: var(--primary-100); color: var(--primary-700); }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-warning { background: #fef3c7; color: #b45309; }
.badge-danger { background: #fee2e2; color: #dc2626; }
.badge-tech { background: var(--tech-100); color: var(--tech-600); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar .stat:nth-child(2)::after {
    display: none;
  }

  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-left .topbar-info {
    display: none;
  }

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

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

  .section {
    padding: 48px 0;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .stats-bar .stat::after {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 40px 24px;
  }

  .cta-section h2 {
    font-size: 24px;
  }

  .data-table {
    font-size: 12px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 8px;
  }
}

/* ===== 动画 ===== */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  animation: slideUp 0.6s ease forwards;
}

/* ===== 工具类 ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.full-width { width: 100%; }
.hidden { display: none; }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
 * 响应式改造（2026-08-24）：手机端 / 平板 / PC 全端自适应
 * 断点：1024px（平板） / 768px（手机横屏&平板竖屏） / 480px（手机竖屏）
 * ===================================================================== */

/* ---- 汉堡菜单按钮（桌面端隐藏，768px 以下显示） ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-700);
  transition: var(--transition);
}

.nav-toggle:hover {
  background: var(--primary-50);
}

/* 菜单展开时汉堡变叉号 */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- 平板（≤1024px）：多列网格降为 2 列 ---- */
@media (max-width: 1024px) {
  .grid-3,
  .grid-4,
  .feature-grid,
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- 手机（≤768px）：导航折叠 + 单列布局 ---- */
@media (max-width: 768px) {
  /* 导航栏：允许换行，菜单下拉展开 */
  .navbar {
    height: auto;
  }

  .navbar .container {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 16px;
    row-gap: 0;
  }

  .nav-brand {
    flex: 1;
    min-width: 0;
  }

  .nav-brand .brand-text h1 {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-brand .brand-text p {
    display: none;
  }

  .nav-brand .logo {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions {
    order: 2;
  }

  .nav-actions .btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .nav-menu {
    order: 3;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 2px;
    padding: 8px 0 2px;
    margin-top: 10px;
    border-top: 1px solid var(--gray-200);
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .nav-menu > li > a {
    padding: 13px 10px;
    font-size: 15px;
    border-radius: var(--radius-md);
  }

  /* 顶部信息栏 */
  .topbar {
    font-size: 12px;
  }

  .topbar .container {
    padding: 0 16px;
  }

  /* 通用容器收窄 */
  .container,
  .container-sm {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 选项卡：横向滑动 */
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* 表格：整体变为可横向滚动的块 */
  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  /* 代码块：允许横向滚动 */
  pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 12px !important;
    padding: 16px !important;
  }

  /* Hero 按钮组 */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* 卡片间距收紧 */
  .grid-2,
  .grid-3,
  .grid-4,
  .feature-grid,
  .model-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* CTA 按钮 */
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  /* 表单控件触控友好 */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* 防 iOS 聚焦自动放大 */
  }

  /* 章节头 */
  .section-header p {
    font-size: 14px;
  }
}

/* ---- 小屏手机（≤480px）---- */
@media (max-width: 480px) {
  .nav-actions {
    display: none; /* 小屏隐藏申报按钮，入口在展开菜单里 */
  }

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

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

  .section-header h2 {
    font-size: 22px;
  }

  .stat-card .value,
  .stat-card {
    font-size: 13px;
  }

  /* 双列小卡片保持 2 列（如指标小卡） */
  .grid-4.compact,
  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section h2 {
    font-size: 20px;
  }

  .data-table th,
  .data-table td {
    padding: 8px 10px;
    font-size: 12px;
  }

  .toast {
    left: 16px !important;
    right: 16px;
    transform: none !important;
    width: auto;
    font-size: 13px;
    padding: 12px 16px;
  }
}
