/* ========================================
   立得评估平台 — 网站样式（v7 深蓝金橙商务系）
   60-30-10 法则 · WCAG AA 对比度 ≥ 4.5:1 · 不超过3种主色
   
   主色 60%：深蓝 #0A2A5E（背景、大区块、Hero）
   辅色 30%：低饱和金 #D4AF37（导航、图标、卡片边框）+ 浅灰 #F5F5F5（背景分隔）
   强调 10%：橙红 #FF6B35（CTA按钮、重点提示）
   ======================================== */

/* ---------- 基础重置 ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* === 主色系：深蓝（60%） === */
  --navy-950: #050F1F;
  --navy-900: #0A2A5E;
  --navy-800: #0E3A7D;
  --navy-700: #134B9C;
  --navy-600: #1A5FC0;
  --navy-500: #3A7FD5;
  --navy-400: #6BA3E0;
  --navy-300: #9FC3EB;
  --navy-200: #C8DFF5;
  --navy-100: #E8F0FA;
  --navy-50:  #F2F7FC;

  /* === 辅助色系：低饱和金（30%） === */
  --gold-700: #8B7310;
  --gold-600: #A68A14;
  --gold-500: #D4AF37;
  --gold-400: #E0C55E;
  --gold-300: #EAD78A;
  --gold-200: #F2E6B2;
  --gold-100: #F9F2D6;
  --gold-50:  #FDFBEF;

  /* === 强调色系：橙红（10%） === */
  --orange-700: #CC4A1A;
  --orange-600: #E85A24;
  --orange-500: #FF6B35;
  --orange-400: #FF8C5A;
  --orange-300: #FFB08A;
  --orange-200: #FFD4BF;
  --orange-100: #FFF0E8;

  /* === 中性色：灰白至深灰 === */
  --gray-50:  #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EBEBEB;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  /* === 功能色映射 === */
  --primary:       #0A2A5E;
  --primary-light: #1A5FC0;
  --primary-deep:  #050F1F;
  --accent:        #D4AF37;
  --accent-hover:  #B8960E;
  --accent-light:  #F2E6B2;
  --orange:        #FF6B35;
  --orange-light:  #FFD4BF;

  /* === 背景色（60%主色 + 30%浅灰） === */
  --bg-white:  #FAFAFA;
  --bg-warm:   #F5F5F5;
  --bg-gold:   #FDFBEF;
  --bg-blue:   #E8F0FA;
  --bg-slate:  #F0F0F0;
  --bg-card:   #FFFFFF;

  /* === 文字色（对比度 ≥ 4.5:1） === */
  --text-dark:  #171717;    /* 深灰正文，对比白底 > 16:1 */
  --text-body:  #333333;    /* 标准正文，对比白底 > 12:1 */
  --text-muted: #525252;    /* 次要文字，对比白底 > 7.5:1 */
  --text-light: #737373;    /* 辅助文字，对比白底 > 4.6:1 ✓ */

  /* === 边框/阴影 === */
  --border-color: #EBEBEB;
  --border-light: #F0F0F0;
  --shadow-sm:  0 1px 3px rgba(10,42,94,0.06);
  --shadow-md:  0 4px 20px rgba(10,42,94,0.1);
  --shadow-lg:  0 12px 40px rgba(10,42,94,0.14);
  --shadow-glow: 0 0 40px rgba(212,175,55,0.08);
  --shadow-accent: 0 4px 16px rgba(255,107,53,0.25);

  /* === 圆角/过渡 === */
  --radius:    16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.3s ease;
  --header-height: 72px;

  /* === 渐变（仅2个品牌渐变，保持简洁） === */
  --gradient-hero:      linear-gradient(160deg, #050F1F 0%, #0A2A5E 30%, #0E3A7D 65%, #134B9C 100%);
  --gradient-accent:    linear-gradient(135deg, #FF6B35 0%, #E85A24 100%);
  --gradient-gold:      linear-gradient(135deg, #D4AF37 0%, #B8960E 100%);
  --gradient-section-tag: linear-gradient(135deg, #FFD4BF 0%, #F2E6B2 50%, #C8DFF5 100%);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text-body); background: var(--bg-white); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 28px; border-radius: 50px; font-size: 0.95rem; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); white-space: nowrap; font-family: inherit; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
/* CTA按钮用强调色橙红（10%） */
.btn-primary { background: var(--gradient-accent); color: #fff; border-color: transparent; box-shadow: var(--shadow-accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(255,107,53,0.4); }
.btn-glass { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.25); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }
.btn-glass-dark { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.15); }
.btn-glass-dark:hover { background: rgba(255,255,255,0.12); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }
.text-left { text-align: left; }

/* ========== 顶部导航 ========== */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-height); z-index: 1000; transition: all var(--transition); background: transparent; }
.site-header.scrolled { background: rgba(255,255,255,0.97); box-shadow: 0 1px 20px rgba(10,42,94,0.08); backdrop-filter: blur(20px); }
.site-header.scrolled .logo-text, .site-header.scrolled .nav-link, .site-header.scrolled .btn-login { color: var(--text-dark); }
.site-header.scrolled .nav-link:hover, .site-header.scrolled .nav-link.active { color: var(--orange); }
.site-header.scrolled .btn-register { color: #fff; }
.site-header.scrolled .mobile-toggle span { background: var(--text-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 700; color: #fff; z-index: 1001; flex-shrink: 0; }
.site-header.scrolled .logo { color: var(--primary-deep); }
.logo-img { height: 46px; width: auto; border-radius: 6px; transition: transform var(--transition); object-fit: contain; }
.footer-logo-img { height: 38px; width: auto; border-radius: 6px; object-fit: contain; }
.logo:hover .logo-img { transform: scale(1.05); }
.logo-icon { font-size: 1.8rem; color: var(--accent); }
.logo-text { font-weight: 800; letter-spacing: -0.5px; }
.logo-badge { display: inline-block; padding: 2px 8px; background: var(--gradient-accent); color: #fff; font-size: 0.65rem; font-weight: 600; border-radius: 4px; letter-spacing: 1px; vertical-align: middle; margin-left: 2px; }
.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-link { padding: 8px 14px; font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.85); border-radius: 8px; transition: all var(--transition); }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,0.1); }
.arrow { font-size: 0.7rem; margin-left: 3px; opacity: 0.6; }
.nav-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 8px; min-width: 180px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all 0.25s ease; z-index: 100; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a { display: block; padding: 10px 16px; font-size: 0.9rem; color: var(--text-body); border-radius: var(--radius-xs); transition: all var(--transition); }
.dropdown-menu li a:hover { background: var(--bg-gold); color: var(--accent); }
.header-actions { display: flex; gap: 10px; z-index: 1001; }
.btn-login { padding: 8px 20px; font-size: 0.9rem; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.25); border-radius: 50px; transition: all var(--transition); background: transparent; cursor: pointer; font-family: inherit; }
.btn-login:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-register { padding: 8px 20px; font-size: 0.9rem; color: #fff; background: var(--gradient-accent); border: none; border-radius: 50px; transition: all var(--transition); cursor: pointer; font-family: inherit; }
.btn-register:hover { box-shadow: var(--shadow-accent); transform: translateY(-1px); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; z-index: 1001; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--transition); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== Hero（60%主色深蓝） ========== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 120px 0 80px; }
.hero-bg { position: absolute; inset: 0; background: var(--gradient-hero); z-index: 0; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(212,175,55,0.06) 0%, transparent 50%), radial-gradient(ellipse at 80% 60%, rgba(255,107,53,0.04) 0%, transparent 40%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px); background-size: 80px 80px; }
.hero-particles { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-particles .particle { position: absolute; width: 4px; height: 4px; background: rgba(212,175,55,0.35); border-radius: 50%; animation: particleFloat 15s infinite ease-in-out; }
@keyframes particleFloat { 0%, 100% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 50% { transform: translateY(-200px) translateX(100px); } }
.hero-content { position: relative; z-index: 1; text-align: left; color: #fff; }
.hero-layout { display: flex; align-items: flex-start; gap: 24px; }
.hero-logo-col { flex-shrink: 0; padding-top: 8px; }
.hero-logo-img { width: 140px; height: auto; max-width: 160px; }
.hero-text-col { flex: 1; min-width: 0; }
.hero-badge { display: inline-block; padding: 8px 24px; background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.2); border-radius: 50px; font-size: 0.9rem; margin-bottom: 28px; backdrop-filter: blur(10px); animation: fadeInDown 0.8s ease 0.1s both; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.hero-title { font-size: 3.4rem; font-weight: 900; line-height: 1.2; margin-bottom: 16px; letter-spacing: -1px; animation: fadeInUp 0.8s ease 0.15s both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-subtitle { font-size: 1.3rem; font-weight: 400; color: rgba(255,255,255,0.7); margin-bottom: 20px; letter-spacing: 2px; animation: fadeInUp 0.8s ease 0.25s both; }
.hero-desc { font-size: 1.05rem; max-width: 640px; margin: 0 auto 40px; color: rgba(255,255,255,0.55); line-height: 1.8; animation: fadeInUp 0.8s ease 0.35s both; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; animation: fadeInUp 0.8s ease 0.45s both; }
.hero-stats { display: flex; gap: 48px; justify-content: center; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); animation: fadeInUp 0.8s ease 0.55s both; }
.stat-item { text-align: center; }
.stat-number { display: inline; font-size: 2.6rem; font-weight: 900; color: var(--gold-400); line-height: 1.2; }
.stat-suffix { font-size: 1.4rem; font-weight: 700; color: var(--gold-400); }
.stat-label { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-top: 4px; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 1; }
.hero-scroll a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,0.3); font-size: 0.7rem; letter-spacing: 2px; animation: scrollBounce 2.5s ease-in-out infinite; }
.scroll-arrow { width: 18px; height: 18px; border-right: 2px solid rgba(255,255,255,0.3); border-bottom: 2px solid rgba(255,255,255,0.3); transform: rotate(45deg); }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* ========== Section 通用 ========== */
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; padding: 5px 16px; background: var(--gradient-section-tag); color: var(--orange-600); border-radius: 50px; font-size: 0.82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-size: 2.2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 14px; letter-spacing: -0.5px; }
.section-desc { font-size: 1.02rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ========== 分区装饰线 ========== */
.section-divider { height: 1px; background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--gold-400) 50%, var(--border-color) 80%, transparent 100%); margin: 0; }
.section-divider-alt { height: 1px; background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--navy-300) 50%, var(--border-color) 80%, transparent 100%); margin: 0; }

/* ========== 服务总览（12卡） ========== */
.services { background: var(--bg-warm); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; background: var(--bg-card); padding: 28px 22px; border-radius: var(--radius); border: 1px solid var(--border-light); transition: all var(--transition); text-decoration: none; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-accent); opacity: 0; transition: opacity var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card-featured { border-color: var(--accent); border-width: 1.5px; background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-gold) 100%); }
.service-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.service-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-100) 0%, var(--gold-200) 100%); border-radius: 12px; flex-shrink: 0; }
.service-icon svg { width: 24px; height: 24px; color: var(--navy-800); }
.service-card-tag { padding: 3px 10px; background: var(--gradient-gold); color: #fff; font-size: 0.72rem; font-weight: 600; border-radius: 50px; }
.tag-orange { background: var(--gradient-accent) !important; }
.tag-blue { background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%) !important; }
.service-name { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.service-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; flex-grow: 1; }
.service-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.service-tags span { padding: 2px 8px; background: var(--bg-slate); color: var(--text-muted); font-size: 0.75rem; border-radius: 50px; border: 1px solid var(--border-light); }
.service-arrow { font-size: 0.85rem; font-weight: 600; color: var(--primary-light); transition: all var(--transition); }
.service-card:hover .service-arrow { color: var(--orange); padding-left: 4px; }

/* ========== 地图模块 ========== */
.map-section { background: var(--bg-blue); }
.map-filters { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; padding: 20px 24px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border-light); }
.map-filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-label { font-size: 0.88rem; font-weight: 600; color: var(--text-dark); }
.filter-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--border-color); border-radius: 50px; font-size: 0.82rem; font-weight: 500; color: var(--text-body); background: var(--bg-card); cursor: pointer; transition: all var(--transition); font-family: inherit; }
.filter-btn:hover, .filter-btn.active { border-color: var(--accent); color: var(--accent-hover); background: var(--bg-gold); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot-green { background: var(--navy-500); }
.dot-orange { background: var(--accent); }
.dot-red { background: var(--orange); }
.map-container { width: 100%; height: 480px; border-radius: var(--radius); border: 2px solid var(--border-color); overflow: hidden; background: var(--bg-warm); }
.map-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.map-placeholder-inner { text-align: center; color: var(--text-muted); }
.map-placeholder-inner svg { margin: 0 auto 16px; }
.map-placeholder-inner p { font-size: 1rem; margin-bottom: 8px; }
.map-note { font-size: 0.85rem !important; color: var(--text-muted); opacity: 0.7; line-height: 1.8 !important; }
.map-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.map-stat { text-align: center; padding: 20px; background: var(--bg-card); border-radius: var(--radius-sm); border: 1px solid var(--border-light); }
.map-stat-num { display: block; font-size: 1.8rem; font-weight: 900; color: var(--navy-700); }
.map-stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ========== 招标、入围专题 ========== */
.bidding-section { background: var(--bg-gold); }
.bidding-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bidding-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px 24px; transition: all var(--transition); }
.bidding-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--gold-500); }
.bidding-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.bidding-type { padding: 4px 12px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; }
.type-bank { background: var(--navy-100); color: var(--navy-800); }
.type-court { background: var(--orange-100); color: var(--orange-700); }
.type-gov { background: var(--gold-100); color: var(--gold-700); }
.bidding-date { font-size: 0.82rem; color: var(--text-muted); }
.bidding-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.5; }
.bidding-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.bidding-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.bidding-tags span { padding: 3px 10px; background: var(--bg-slate); color: var(--text-muted); font-size: 0.78rem; border-radius: 50px; }

/* ========== 资讯聚合 ========== */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* 法律法规5个分类卡片 — 各带不同色调的左边框 */
.info-category { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px 24px; transition: all var(--transition); cursor: pointer; position: relative; overflow: hidden; }
.info-category::before { content:''; position:absolute; left:0; top:0; bottom:0; width:4px; border-radius:3px 0 0 3px; transition:width var(--transition); }
/* 国家法律 — 深蓝 */
.info-category[data-type="national"]::before { background: linear-gradient(180deg, #0A2A5E, #134B9C); }
.info-category[data-type="national"]:hover { border-color: #134B9C; box-shadow: 0 4px 20px rgba(10,42,94,0.12); transform: translateY(-2px); }
/* 行政法规 — 金色 */
.info-category[data-type="administrative"]::before { background: linear-gradient(180deg, #D4AF37, #B8960E); }
.info-category[data-type="administrative"]:hover { border-color: #D4AF37; box-shadow: 0 4px 20px rgba(212,175,55,0.15); transform: translateY(-2px); }
/* 部门规章 — 蓝色 */
.info-category[data-type="department"]::before { background: linear-gradient(180deg, #3A7FD5, #6BA3E0); }
.info-category[data-type="department"]:hover { border-color: #3A7FD5; box-shadow: 0 4px 20px rgba(58,127,213,0.12); transform: translateY(-2px); }
/* 评估准则 — 橙红强调 */
.info-category[data-type="criteria"]::before { background: linear-gradient(180deg, #FF6B35, #E85A24); }
.info-category[data-type="criteria"]:hover { border-color: #FF6B35; box-shadow: 0 4px 20px rgba(255,107,53,0.15); transform: translateY(-2px); }
/* 地方政策 — 青绿 */
.info-category[data-type="local"]::before { background: linear-gradient(180deg, #27AE60, #2ECC71); }
.info-category[data-type="local"]:hover { border-color: #27AE60; box-shadow: 0 4px 20px rgba(39,174,96,0.12); transform: translateY(-2px); }
/* 默认 hover */
.info-category:hover { border-color: var(--navy-400); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.info-cat-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-100) 0%, var(--gold-200) 100%); border-radius: 10px; margin-bottom: 16px; }
/* 各卡片的图标背景色跟随左边框色调 */
.info-category[data-type="national"] .info-cat-icon { background: linear-gradient(135deg, #E8F0FA 0%, #C8DFF5 100%); }
.info-category[data-type="administrative"] .info-cat-icon { background: linear-gradient(135deg, #FDFBEF 0%, #F2E6B2 100%); }
.info-category[data-type="department"] .info-cat-icon { background: linear-gradient(135deg, #EBF4FD 0%, #D6EAFC 100%); }
.info-category[data-type="criteria"] .info-cat-icon { background: linear-gradient(135deg, #FFF0E8 0%, #FFE0D0 100%); }
.info-category[data-type="local"] .info-cat-icon { background: linear-gradient(135deg, #EAF9F1 0%, #D4EFDD 100%); }
.info-cat-icon svg { width: 22px; height: 22px; color: var(--navy-800); }
.info-category h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.info-category p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.info-count { font-size: 0.8rem; color: var(--navy-600); font-weight: 500; }
.info-count strong { color: var(--orange); }

/* ========== 技术交流 ========== */
.tech-exchange { background: var(--bg-slate); }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tech-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 32px 28px; transition: all var(--transition); }
.tech-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tech-icon { font-size: 2rem; margin-bottom: 14px; }
.tech-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.tech-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.tech-meta { display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--border-light); }
.tech-meta span { font-size: 0.8rem; color: var(--text-muted); }

/* ========== 智能工具 ========== */
.tools-showcase { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.tools-feature-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.tools-feature-icon { font-size: 2.2rem; margin-bottom: 12px; }
.tools-feature-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.tools-feature-card > p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.tools-demo { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border-color); }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--navy-900); color: var(--navy-300); font-size: 0.82rem; }
.demo-dot { width: 10px; height: 10px; border-radius: 50%; }
.demo-dot.red { background: var(--orange-400); }
.demo-dot.yellow { background: var(--gold-400); }
.demo-dot.green { background: #27AE60; }
.demo-title { margin-left: 8px; }
.demo-content { padding: 20px; background: var(--bg-warm); min-height: 200px; }
.demo-chat { display: flex; flex-direction: column; gap: 14px; }
.demo-msg { max-width: 85%; padding: 12px 16px; border-radius: 12px; font-size: 0.88rem; line-height: 1.6; }
.demo-msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%); color: #fff; border-bottom-right-radius: 4px; }
.demo-msg.bot { align-self: flex-start; background: var(--bg-card); color: var(--text-body); border: 1px solid var(--border-color); border-bottom-left-radius: 4px; }
.demo-msg.bot p { margin-bottom: 4px; }
.demo-msg.bot p:last-child { margin-bottom: 0; color: var(--orange); font-weight: 500; }
.tools-side { display: flex; flex-direction: column; gap: 16px; }
.tool-mini { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 20px; transition: all var(--transition); }
.tool-mini:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.tool-mini-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.tool-mini h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.tool-mini p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ========== 报告模板库 ========== */
.report-templates { background: var(--bg-gold); }
.templates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.template-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px 24px; transition: all var(--transition); text-align: center; }
.template-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold-500); }
.template-icon { font-size: 2.4rem; margin-bottom: 14px; }
.template-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.template-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.template-meta { display: flex; justify-content: center; gap: 20px; padding-top: 14px; border-top: 1px solid var(--border-light); }
.template-meta span { font-size: 0.8rem; color: var(--text-muted); }

/* ========== 法律法规 ========== */
.laws-section { background: var(--bg-slate); }
.laws-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.laws-grid .law-category:last-child { grid-column: 2 / span 2; }
.law-category { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px 24px; transition: all var(--transition); cursor: pointer; }
.law-category:hover { border-color: var(--navy-400); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.law-cat-icon { font-size: 2rem; margin-bottom: 12px; }
.law-category h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.law-category p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.law-count { font-size: 0.82rem; color: var(--orange); font-weight: 500; }

/* ========== 培训考试 ========== */
.training-section { background: var(--bg-blue); }
.training-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.training-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 32px 28px; transition: all var(--transition); position: relative; overflow: hidden; }
.training-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.training-badge { position: absolute; top: 16px; right: 16px; padding: 3px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.badge-upcoming { background: var(--navy-100); color: var(--navy-800); }
.badge-hot { background: var(--gold-100); color: var(--gold-700); }
.badge-free { background: var(--orange-100); color: var(--orange-700); }
.training-icon { font-size: 2.2rem; margin-bottom: 14px; }
.training-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.training-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.training-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.training-meta span { font-size: 0.8rem; color: var(--text-muted); }

/* ========== 课题/项目合作 ========== */
.cooperation-section { background: var(--bg-warm); }
.coop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.coop-card { border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px 24px; transition: all var(--transition); }
.coop-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.coop-research { background: linear-gradient(135deg, var(--bg-gold) 0%, var(--bg-card) 100%); border-left: 4px solid var(--accent); }
.coop-project { background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg-card) 100%); border-left: 4px solid var(--navy-400); }
.coop-card-tag { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; margin-bottom: 14px; }
.coop-research .coop-card-tag { background: var(--gold-100); color: var(--gold-700); }
.coop-project .coop-card-tag { background: var(--navy-100); color: var(--navy-800); }
.coop-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.5; }
.coop-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.coop-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.coop-meta span { font-size: 0.8rem; color: var(--text-muted); }

/* ========== 专业书籍 ========== */
.books-section { background: var(--bg-blue); }
.books-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.book-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.book-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.book-cover { height: 180px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: 2px; }
.book-info { padding: 20px; }
.book-info h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.4; }
.book-author { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
/* 书价用强调色橙红（10%） */
.book-price { font-size: 1.1rem; font-weight: 800; color: var(--orange); margin-bottom: 12px; }

/* ========== 平台年度活动 ========== */
.activities-section { background: var(--bg-gold); }
.activities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.activity-card { text-align: center; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 36px 28px; transition: all var(--transition); }
.activity-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--accent); }
.activity-trophy { font-size: 2.8rem; margin-bottom: 16px; }
.activity-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.activity-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.activity-meta { display: flex; justify-content: center; gap: 16px; }
.activity-meta span { font-size: 0.82rem; color: var(--text-muted); }

/* ========== 投诉与建议 ========== */
.feedback-section { background: var(--bg-slate); }
.feedback-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.feedback-form { background: var(--bg-card); padding: 36px; border-radius: var(--radius); border: 1px solid var(--border-light); }
.notice-card { background: var(--bg-card); padding: 36px; border-radius: var(--radius); border: 1px solid var(--border-light); }
.notice-icon { font-size: 2.2rem; margin-bottom: 12px; }
.notice-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }
.notice-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.notice-card li { font-size: 0.92rem; color: var(--text-body); line-height: 1.6; }
.notice-card li strong { color: var(--orange); }

/* ========== 数据安全横幅 ========== */
.data-security-banner { background: linear-gradient(135deg, var(--navy-600) 0%, var(--navy-500) 50%, var(--navy-400) 100%); padding: 60px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.dsb-inner { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.dsb-icon-wrap { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border-radius: 20px; box-shadow: var(--shadow-md); font-size: 2.4rem; }
.dsb-content h3 { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.dsb-content > p { font-size: 0.95rem; color: var(--text-body); line-height: 1.8; margin-bottom: 20px; }
.dsb-features { display: flex; gap: 20px; flex-wrap: wrap; }
.dsb-feature { display: flex; align-items: center; gap: 10px; padding: 10px 18px; background: var(--bg-card); border-radius: 50px; border: 1px solid var(--border-color); font-size: 0.88rem; font-weight: 500; color: var(--text-dark); }
.dsb-feature .icon { font-size: 1.1rem; }

/* ========== 平台优势（深蓝Hero背景 + 金色图标） ========== */
.why-us { background: var(--gradient-hero); color: #fff; }
.why-us .section-tag { background: rgba(212,175,55,0.12); color: var(--gold-400); }
.why-us .section-title { color: #fff; }
.why-us .section-desc { color: rgba(255,255,255,0.5); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-grid-6 { grid-template-columns: repeat(6, 1fr); }
.why-grid-5 { grid-template-columns: repeat(5, 1fr); }
.why-card { padding: 36px 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); transition: all var(--transition); text-align: center; }
.why-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.why-icon { width: 52px; height: 52px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: rgba(212,175,55,0.12); border-radius: 14px; }
.why-icon svg { width: 24px; height: 24px; color: var(--gold-400); }
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ========== 标准化建设 ========== */
.standards { background: var(--bg-blue); }
.standards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.standards-content .section-tag { margin-bottom: 12px; }
.standards-content .section-title { margin-bottom: 20px; }
.standards-desc { font-size: 0.95rem; color: var(--text-body); line-height: 1.8; margin-bottom: 28px; }
.standards-list { display: flex; flex-direction: column; gap: 16px; }
.standards-item { display: flex; gap: 14px; align-items: flex-start; }
.standards-check { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: rgba(10,42,94,0.1); color: var(--navy-700); border-radius: 50%; font-size: 0.75rem; flex-shrink: 0; margin-top: 2px; }
.standards-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.standards-item p { font-size: 0.85rem; color: var(--text-muted); }
.standards-visual { display: flex; justify-content: center; }
.standards-card-stack { position: relative; width: 320px; height: 360px; }
.scard { position: absolute; left: 0; width: 100%; padding: 20px 24px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 14px; font-size: 0.9rem; font-weight: 500; color: var(--text-dark); transition: all 0.5s ease; }
.scard:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow-lg); z-index: 10 !important; }
.scard-1 { top: 0; z-index: 4; }
.scard-2 { top: 70px; z-index: 3; opacity: 0.9; }
.scard-3 { top: 140px; z-index: 2; opacity: 0.8; }
.scard-4 { top: 210px; z-index: 1; opacity: 0.7; }
.scard-icon { font-size: 1.5rem; flex-shrink: 0; }

/* ========== 资源链接 ========== */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.resource-link { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); transition: all var(--transition); }
.resource-link:hover { border-color: var(--navy-400); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.resource-icon { font-size: 2rem; margin-bottom: 14px; }
.resource-link h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.4; }
.resource-link p { font-size: 0.82rem; color: var(--text-muted); }

/* ========== 我的空间 ========== */
.myspace-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.myspace-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ms-feature { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px 24px; transition: all var(--transition); }
.ms-feature:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ms-feature-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gold-200) 0%, var(--navy-100) 100%); border-radius: 12px; margin-bottom: 16px; }
.ms-feature-icon svg { width: 24px; height: 24px; color: var(--navy-800); }
.ms-feature h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.ms-feature p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.myspace-preview-card { position: sticky; top: 90px; }
.my-space-preview { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 380px; }
.msp-header { padding: 16px 20px; background: var(--gradient-hero); color: #fff; }
.msp-header h4 { font-size: 0.95rem; font-weight: 600; }
.msp-header p { font-size: 0.78rem; opacity: 0.7; }
.msp-body { padding: 20px; }
.msp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.msp-stat { text-align: center; padding: 10px; background: var(--bg-blue); border-radius: var(--radius-xs); }
.msp-stat strong { display: block; font-size: 1.1rem; color: var(--navy-700); }
.msp-stat span { font-size: 0.72rem; color: var(--text-muted); }
.msp-features { display: flex; flex-direction: column; gap: 8px; }
.msp-feature { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-body); }
.msp-feature .icon { width: 20px; text-align: center; }
.msp-data-notice { margin-top: 14px; padding: 10px 14px; background: linear-gradient(135deg, var(--bg-gold) 0%, var(--gold-100) 100%); border: 1px solid var(--gold-300); border-radius: var(--radius-xs); font-size: 0.78rem; color: var(--gold-700); line-height: 1.5; }
.data-sovereignty { margin-top: 60px; padding-top: 50px; border-top: 1px solid var(--border-light); }
.ds-card { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.ds-icon { font-size: 2.2rem; }
.ds-content h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.ds-content p { font-size: 0.92rem; color: var(--text-muted); }
.ds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ds-item { text-align: center; padding: 28px 20px; background: var(--bg-blue); border-radius: var(--radius); border: 1px solid var(--border-light); transition: all var(--transition); }
.ds-item:hover { border-color: var(--navy-400); box-shadow: var(--shadow-sm); }
.ds-item-icon { font-size: 1.8rem; margin-bottom: 12px; }
.ds-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.ds-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ========== CTA（深蓝背景 + 橙红按钮） ========== */
.cta { background: var(--gradient-hero); padding: 80px 0; }
.cta-inner { text-align: center; color: #fff; }
.cta-badge { display: inline-block; padding: 6px 20px; background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.2); border-radius: 50px; font-size: 0.88rem; margin-bottom: 24px; }
.cta-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.cta-desc { font-size: 1.05rem; color: rgba(255,255,255,0.6); max-width: 500px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 20px; }
.cta-note { font-size: 0.82rem; color: rgba(255,255,255,0.35); }

/* ========== 联系我们 ========== */
.contact { background: var(--bg-card); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-100) 0%, var(--gold-200) 100%); border-radius: 12px; flex-shrink: 0; }
.contact-icon svg { width: 22px; height: 22px; color: var(--navy-800); }
.contact-item h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-item p { font-size: 0.95rem; font-weight: 500; color: var(--text-dark); }
.contact-form { background: var(--bg-blue); padding: 36px; border-radius: var(--radius); border: 1px solid var(--border-light); }
.form-title { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--text-dark); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border-color); border-radius: var(--radius-xs); font-size: 0.92rem; font-family: inherit; color: var(--text-dark); background: var(--bg-card); transition: all var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy-400); box-shadow: 0 0 0 3px rgba(10,42,94,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 90px; }

/* ========== 页脚（深蓝主色60%） ========== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.6); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: #fff; }
.footer-desc { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.45); }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links li { font-size: 0.88rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 0.82rem; color: rgba(255,255,255,0.3); }

/* ========== 第三层详情页：Tab导航 + 准则列表 ========== */
.detail-tab-bar { display:flex; gap:4px; flex-wrap:wrap; }
.detail-tab-btn { padding:10px 22px; border:none; background:transparent; font-size:0.92rem; font-weight:500; color:var(--text-muted); cursor:pointer; font-family:inherit; border-radius:var(--radius-xs); transition:all var(--transition); border-bottom:2px solid transparent; }
.detail-tab-btn:hover { color:var(--navy-800); background:var(--bg-light); }
.detail-tab-btn.active { color:var(--navy-900); font-weight:700; border-bottom-color:var(--orange); background:var(--bg-gold); }

.panel-header { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:36px; padding-bottom:20px; border-bottom:2px solid var(--border-light); }
.panel-title { font-size:1.5rem; font-weight:800; color:var(--text-dark); }
.panel-desc { font-size:0.9rem; color:var(--text-muted); }
.panel-count { padding:4px 14px; background:linear-gradient(135deg,var(--gold-200) 0%,var(--navy-100) 100%); color:var(--accent-hover); font-size:0.8rem; font-weight:700; border-radius:50px; }

.std-item { background:var(--bg-card); border:1px solid var(--border-light); border-radius:var(--radius); padding:28px 28px; margin-bottom:20px; transition:all var(--transition); }
.std-item:hover { box-shadow:var(--shadow-md); border-color:var(--navy-300); transform:translateY(-2px); }
.std-item-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.std-code { font-family:'Courier New',monospace; font-size:0.82rem; font-weight:600; color:var(--navy-600); background:var(--navy-50); padding:3px 10px; border-radius:4px; }
.std-status { padding:3px 12px; border-radius:50px; font-size:0.78rem; font-weight:600; }
.std-current { background:#E6F9F0; color:#27AE60; }
.std-revoked { background:#FDECEC; color:#E74C3C; }
.std-name { font-size:1.12rem; font-weight:700; color:var(--text-dark); margin-bottom:8px; line-height:1.4; }
.std-summary { font-size:0.9rem; color:var(--text-body); line-height:1.7; margin-bottom:14px; }
.std-meta { display:flex; flex-wrap:wrap; gap:16px; margin-bottom:14px; }
.std-meta span { font-size:0.82rem; color:var(--text-muted); }
.std-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:18px; }
.std-tag-std { padding:3px 10px; background:var(--bg-slate); color:var(--text-muted); font-size:0.75rem; border-radius:50px; border:1px solid var(--border-light); }
.tag-core { background:var(--gold-100) !important; color:var(--gold-700) !important; border-color:var(--gold-300) !important; }
.tag-hot { background:var(--orange-100) !important; color:var(--orange-700) !important; border-color:var(--orange-200) !important; }
.tag-new { background:var(--navy-100) !important; color:var(--navy-800) !important; border-color:var(--navy-300) !important; }
.std-actions { display:flex; gap:10px; padding-top:14px; border-top:1px solid var(--border-light); }
.std-btn-outline { background:transparent; color:var(--navy-700); border:1px solid var(--navy-300); }
.std-btn-outline:hover { background:var(--navy-50); border-color:var(--navy-500); }

@media (max-width:768px) {
  .detail-tab-bar { gap:2px; }
  .detail-tab-btn { padding:8px 14px; font-size:0.85rem; }
  .panel-header { flex-direction:column; align-items:flex-start; gap:8px; }
  .panel-title { font-size:1.2rem; }
  .std-meta { flex-direction:column; gap:4px; }
  .std-actions { flex-direction:column; }
  .std-actions .btn { width:100%; text-align:center; }
}

/* ========== 回到顶部（橙红强调色10%） ========== */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: var(--gradient-accent); color: #fff; border: none; border-radius: 50%; font-size: 1.1rem; cursor: pointer; opacity: 0; visibility: hidden; transition: all var(--transition); box-shadow: var(--shadow-accent); z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* ========== 入场动画 ========== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .why-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero-title { font-size: 2.4rem; }
  .hero-logo-img { width: 110px; }
  .hero-layout { gap: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .why-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .tools-showcase { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr; }
  .standards-visual { display: none; }
  .myspace-layout { grid-template-columns: 1fr; }
  .myspace-preview-card { position: static; }
  .ds-grid { grid-template-columns: repeat(2, 1fr); }
  .dsb-inner { grid-template-columns: 1fr; text-align: center; }
  .dsb-icon-wrap { margin: 0 auto; }
  .dsb-features { justify-content: center; }
  .bidding-grid { grid-template-columns: 1fr; }
  .templates-grid { grid-template-columns: repeat(2, 1fr); }
  .laws-grid { grid-template-columns: repeat(2, 1fr); }
  .laws-grid .law-category:last-child { grid-column: auto; }
  .training-grid { grid-template-columns: 1fr; }
  .coop-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: 1fr; }
  .feedback-layout { grid-template-columns: 1fr; }
  .map-stats { grid-template-columns: repeat(2, 1fr); }
  .map-container { height: 360px; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .mobile-toggle { display: flex; }
  .header-actions { display: none; }
  .main-nav { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); box-shadow: -4px 0 20px rgba(0,0,0,0.1); padding: 90px 24px 40px; transition: right var(--transition); z-index: 1000; }
  .main-nav.open { right: 0; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-link { display: block; padding: 12px 14px; color: var(--text-dark) !important; font-size: 1rem; border-radius: var(--radius-xs); }
  .nav-link:hover, .nav-link.active { background: var(--bg-gold) !important; color: var(--accent) !important; }
  .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding: 0 0 0 16px; min-width: auto; display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .arrow { display: none; }
  .hero { min-height: 100svh; padding: 100px 0 60px; }
  .hero-content { text-align: center; }
  .hero-layout { flex-direction: column; align-items: center; gap: 16px; }
  .hero-logo-col { padding-top: 0; }
  .hero-text-col { text-align: center; }
  .hero-title { font-size: 2rem; }
  .hero-logo-img { width: 100px; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat-number { font-size: 2rem; }
  .sm-hide { display: none; }
  .section { padding: 70px 0; }
  .section-title { font-size: 1.7rem; }
  .services-grid, .info-grid, .resources-grid, .templates-grid, .laws-grid, .training-grid, .coop-grid, .books-grid, .activities-grid { grid-template-columns: 1fr; gap: 16px; }
  .tech-grid { grid-template-columns: 1fr; }
  .why-grid, .why-grid-6, .why-grid-5 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .myspace-features { grid-template-columns: 1fr; }
  .ds-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-title { font-size: 1.7rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .dsb-features { flex-direction: column; align-items: center; }
  .map-filters { flex-direction: column; align-items: flex-start; }
  .map-container { height: 300px; }
  .map-stats { grid-template-columns: repeat(2, 1fr); }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .feedback-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.65rem; }
  .hero-logo-img { width: 80px; }
  .hero-badge { font-size: 0.82rem; padding: 6px 16px; }
  .btn { padding: 11px 22px; font-size: 0.9rem; }
  .btn-lg { padding: 13px 28px; font-size: 0.98rem; }
  .hero-stats { gap: 20px; }
  .stat-number { font-size: 1.6rem; }
  .stat-suffix { font-size: 0.9rem; }
  .stat-label { font-size: 0.78rem; }
  .books-grid { grid-template-columns: 1fr; }
}
