/* ===== TMKG 企业官网 - 全局样式 ===== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== CSS变量 ===== */
:root {
  --primary: #0066cc;
  --primary-dark: #0052a3;
  --primary-light: #3385d6;
  --secondary: #00aaff;
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --light: #f5f5f5;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 基础重置 ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 64px;
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ===== 导航栏（与首页 home.css 统一） ===== */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: all 0.25s ease;
  border-bottom: 1px solid transparent;
}

.nav-bar.scrolled {
  border-bottom-color: #f0f0f2;
  box-shadow: 0 1px 8px rgba(0,0,0,0.03);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.nav-logo:hover {
  color: #1a6dd4;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  display: block;
  padding: 0 24px;
  height: 64px;
  line-height: 64px;
  font-size: 14px;
  font-weight: 400;
  color: #4b5563;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  letter-spacing: 0.02em;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: #1a6dd4;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #1a6dd4;
}

.nav-menu li a.active::after,
.nav-menu li a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 500;
  color: #1a6dd4 !important;
  border: 1px solid #1a6dd4;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  background: #1a6dd4;
  color: white !important;
}

/* 移动端汉堡按钮 */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  height: 1.5px;
  background: #1f2937;
  border-radius: 1px;
  transition: all 0.25s ease;
}

/* 移动端菜单 */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: white;
  z-index: 999;
  flex-direction: column;
  border-bottom: 1px solid #f0f0f2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.mobile-drawer a {
  display: block;
  padding: 14px 48px;
  font-size: 14px;
  color: #4b5563;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f2;
  transition: all 0.25s ease;
}

.mobile-drawer a:last-child { border-bottom: none; }

.mobile-drawer a:hover,
.mobile-drawer a.active {
  color: #1a6dd4;
  background: rgba(26, 109, 212, 0.06);
}

/* ===== 以下为 style.css 原有样式 ===== */

/* ===== 英雄区域 ===== */
.hero-section {
  background: linear-gradient(135deg, #0a1628 0%, #0d2444 40%, #0052a3 100%);
  position: relative;
  overflow: hidden;
  padding-top: 0;
  margin-top: -64px;
  padding-bottom: 60px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(0, 170, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 102, 204, 0.15) 0%, transparent 50%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero-particles::before {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,170,255,0.08) 0%, transparent 70%);
  right: -100px;
  top: 10%;
}

.hero-particles::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,102,204,0.1) 0%, transparent 70%);
  left: -50px;
  bottom: 10%;
  animation-delay: -4s;
  animation-duration: 10s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(5deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--secondary), #60c5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(12px);
  color: white;
}

.hero-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tech-tag {
  padding: 5px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* ===== 区块通用样式 ===== */
.section {
  padding: 100px 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: rgba(0,102,204,0.08);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  margin: 16px auto 0;
}

/* ===== 卡片样式 ===== */
.card-base {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.card-base:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,102,204,0.2);
}

/* ===== 服务卡片 ===== */
.service-card {
  padding: 36px 32px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,102,204,0.12);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(0,102,204,0.1), rgba(0,170,255,0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.service-card:hover .service-icon svg {
  color: white;
}

/* ===== 新闻卡片 ===== */
.news-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-img {
  transform: scale(1.04);
}

.news-card-img-wrap {
  overflow: hidden;
  position: relative;
}

.news-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}

.news-card-body {
  padding: 24px;
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.news-read-more:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* ===== 新闻轮播 ===== */
.news-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.news-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.news-carousel-slide {
  flex: 0 0 calc(33.333% - 19px);
  margin-right: 28px;
  min-width: 0;
}

.news-carousel-slide:last-child {
  margin-right: 0;
}

/* 新闻卡片链接（旧版兼容） */
.news-card-link {
  display: block;
  text-decoration: none;
}

/* 新闻占位图 */
.news-card-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #0a1628, #0052a3);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== 新闻融合区域（深蓝背景内） ===== */
.news-fused {
  position: relative;
  z-index: 2;
  padding: 60px 0 80px;
  background: linear-gradient(180deg, rgba(0,50,120,0.3) 0%, rgba(0,30,80,0.5) 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.news-fused-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.news-fused-more {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s, gap 0.3s;
  white-space: nowrap;
}

.news-fused-more:hover {
  color: white;
  gap: 10px;
}

/* 毛玻璃新闻卡片 */
.news-card-glass {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  height: 100%;
}

.news-card-glass:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
}

.news-card-glass-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.news-card-glass-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card-glass:hover .news-card-glass-img img {
  transform: scale(1.05);
}

.news-card-glass-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,40,100,0.8), rgba(0,80,160,0.6));
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-glass-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,170,255,0.8);
  color: white;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}

.news-card-glass-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-glass-date {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}

.news-card-glass-title {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-glass-excerpt {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-glass-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #00aaff;
  transition: gap 0.3s;
}

.news-card-glass:hover .news-card-glass-link {
  gap: 10px;
}

/* 轮播指示器（深色背景版） */
.news-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
}

.news-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-carousel-dot:hover {
  background: rgba(255,255,255,0.4);
}

.news-carousel-dot.active {
  background: #00aaff;
  width: 24px;
  border-radius: 4px;
}

/* ===== 联系表单 ===== */
.contact-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background: white;
  transition: var(--transition);
  outline: none;
}

.contact-form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.contact-form-input::placeholder {
  color: #9ca3af;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius);
  padding: 40px;
  color: white;
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}


/* =====================================================
   首页同款导航栏（单排 Logo+菜单，深色）— 供 news.php / news-detail.php 使用
   ===================================================== */

.site-main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background: rgba(10, 16, 30, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.site-main-nav.scrolled {
  background: rgba(10, 16, 30, 0.98);
  border-bottom-color: rgba(255,255,255,0.08);
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.site-main-nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 36px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-nav-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}
.site-logo-sub {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

.site-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.site-nav-item {
  position: relative;
}
.site-nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  height: 64px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.25s;
  text-align: center;
  line-height: 1.2;
}
.site-nav-item a:hover,
.site-nav-item.active a {
  color: #fff;
}
.site-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 2px;
  background: #4a9eff;
  border-radius: 1px;
}
.site-nav-cn {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}
.site-nav-en {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.site-nav-item.active .site-nav-en,
.site-nav-item a:hover .site-nav-en {
  color: rgba(255,255,255,0.55);
}
.site-nav-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.12);
}

/* 移动端汉堡 */
.site-mob-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.site-mob-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 1px;
  transition: all 0.25s;
}

/* 移动端菜单 */
.site-mob-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(10, 16, 30, 0.98);
  z-index: 999;
  flex-direction: column;
}
.site-mob-menu a {
  display: block;
  padding: 14px 30px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: background 0.2s;
}
.site-mob-menu a:hover { background: rgba(255,255,255,0.05); }
.site-mob-menu.open { display: flex; }

@media (max-width: 768px) {
  .site-main-nav-inner { justify-content: space-between; }
  .site-nav-list { display: none; }
  .site-mob-toggle { display: flex; }
}



.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.55);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: white;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: #d1d5db;
}

.breadcrumb-current {
  color: var(--primary);
  font-weight: 500;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 12px rgba(0,102,204,0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,102,204,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-1px);
}

/* ===== 分页 ===== */
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.page-link {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  color: var(--text-main);
  background: white;
  border: 1.5px solid var(--border);
}

.page-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.page-link.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.page-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ===== 动画 ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ===== 返回顶部按钮 ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,102,204,0.3);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 8px 32px rgba(0,102,204,0.45);
  transform: translateY(-4px) scale(1.05);
}

.back-to-top:active {
  transform: translateY(-2px) scale(0.98);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  .mobile-drawer { display: flex; }
  .mobile-drawer.closed { display: none; }
  .nav-inner { padding: 0 20px; }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    text-align: center;
  }

  .hero-visual { display: none; }

  .hero-actions { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .section { padding: 70px 0; }
  .section-header { margin-bottom: 40px; }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ===== 数字计数器动画 ===== */
.counter-num {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ===== 通知提示 ===== */
.toast {
  position: fixed;
  bottom: 90px;
  right: 32px;
  background: #10b981;
  color: white;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 9999;
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.error {
  background: #ef4444;
}

/* ===== 轮播响应式 ===== */
@media (max-width: 1024px) {
  .news-carousel-slide {
    flex: 0 0 calc(50% - 14px);
    margin-right: 28px;
  }
}

@media (max-width: 640px) {
  .news-carousel-slide {
    flex: 0 0 100%;
    margin-right: 0;
  }
  .news-carousel-dots {
    margin-top: 24px;
  }
}

/* ===== 无障碍：减少动画 ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
