/* ============================================
   LONGHAI MACHINERY - Industrial Tech Theme
   Design: Dark Industrial + Electric Blue
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&family=Orbitron:wght@400;700;900&display=swap');

/* ── CSS Variables ── */
:root {
  --primary: #00a8ff;
  --primary-dark: #0077cc;
  --primary-glow: rgba(0,168,255,0.15);
  --orange: #ff6b35;
  --orange-dark: #e55a2b;
  --bg-dark: #0a1929;
  --bg-darker: #060f1d;
  --bg-card: #0f2340;
  --bg-card-hover: #152c50;
  --text-primary: #e8f4ff;
  --text-secondary: #7aa8cc;
  --text-muted: #4a6a8a;
  --border: rgba(0,168,255,0.15);
  --border-hover: rgba(0,168,255,0.5);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(0,168,255,0.2);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Typography ── */
h1,h2,h3,h4 { font-family: 'Rajdhani', 'Noto Sans SC', sans-serif; font-weight: 700; }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  width: 100%;
}
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Container ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6,15,29,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
#header.scrolled {
  background: rgba(6,15,29,0.98);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,168,255,0.3);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Nav */
.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.6rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-item.active .nav-link {
  color: #fff;
  background: var(--primary-glow);
}
.nav-item.active .nav-link { color: var(--primary); }
.nav-arrow { font-size: 0.6rem; transition: transform 0.2s; opacity: 0.6; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,25,50,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 0.5rem 0.5rem;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow), var(--shadow-glow);
  pointer-events: none;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.nav-dropdown-item a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-dropdown-item a:hover {
  background: var(--primary-glow);
  color: var(--primary);
}

/* Header Right */
.header-right { display: flex; align-items: center; gap: 1rem; }
.header-tel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}
.header-tel-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-glow);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-btn {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-glow); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.menu-toggle:hover { background: var(--primary-glow); }
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Page Banner ── */
.page-banner {
  height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 72px;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,119,204,0.3) 0%, rgba(6,15,29,0.7) 100%);
}
.page-banner-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,168,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,168,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
.page-banner-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.8s ease both;
}
.page-banner-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  animation: fadeInUp 0.8s 0.2s ease both;
}
.page-banner-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  animation: fadeInUp 0.8s 0.3s ease both;
}
.page-banner-breadcrumb a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}
.page-banner-breadcrumb a:hover { color: var(--primary); }
.page-banner-breadcrumb span { color: var(--text-muted); font-size: 0.85rem; }
.page-banner-breadcrumb .current { color: var(--primary); }

/* ── Section ── */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-darker); }

/* ── Hero / Homepage Banner ── */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.hero-bg-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,50,100,0.6) 0%, rgba(6,15,29,0.85) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s infinite;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0,168,255,0.1);
  border: 1px solid rgba(0,168,255,0.3);
  border-radius: 30px;
  font-size: 0.75rem;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.1s ease both;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.2s ease both;
}
.hero-title em { color: var(--primary); font-style: normal; }
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s 0.3s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.4s ease both;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 1s 0.8s ease both;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Hero Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
.hero-dot {
  width: 32px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active { background: var(--primary); width: 48px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,168,255,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: 0 6px 25px rgba(0,168,255,0.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-glow);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(0,168,255,0.2);
}
.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}
.btn-orange:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255,107,53,0.5);
}
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card-img img { transform: scale(1.05); }
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,15,29,0.9) 0%, transparent 50%);
}
.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.card-body { padding: 1.25rem; }
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}
.card:hover .card-title { color: var(--primary); }
.card-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.card-arrow {
  width: 28px;
  height: 28px;
  background: var(--primary-glow);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
  font-size: 0.7rem;
}
.card:hover .card-arrow {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px rgba(0,168,255,0.4);
}

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  group: true;
}
.product-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  filter: brightness(0.5);
}
.product-card:hover .product-card-bg { transform: scale(1.1); filter: brightness(0.3); }
.product-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(6,15,29,0.95) 0%, rgba(6,15,29,0) 60%);
}
.product-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,168,255,0.15);
  border: 1px solid rgba(0,168,255,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  transition: var(--transition);
}
.product-card:hover .product-card-icon {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(0,168,255,0.5);
}
.product-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.product-card-sub {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}
.product-card-desc {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
.product-card:hover .product-card-desc { max-height: 80px; opacity: 1; }
.product-card-line {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  transition: width 0.4s ease;
  margin-bottom: 0.75rem;
}
.product-card:hover .product-card-line { width: 60px; }

/* ── News Grid ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.news-card-img {
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.news-card-date {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.news-card-tag {
  background: var(--primary-glow);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.news-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  transition: var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover .news-card-title { color: var(--primary); }
.news-card-text {
  color: var(--text-secondary);
  font-size: 0.83rem;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-more {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 1rem;
  transition: var(--transition);
}
.news-card:hover .news-card-more { color: var(--primary); }

/* ── Stats ── */
.stats-section {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darker) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--border);
}
.stat-item:last-child::after { display: none; }
.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
}
.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-glow);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-glow);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(0,168,255,0.4);
}
.feature-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.feature-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ── Cert Gallery ── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.cert-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.cert-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.cert-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cert-card:hover .cert-card-img img { transform: scale(1.08); }
.cert-card-body {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cert-card-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.cert-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

/* ── Video Grid ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.video-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-card-thumb img,
.video-card-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.video-card:hover .video-card-thumb img,
.video-card:hover .video-card-thumb video { transform: scale(1.05); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: var(--transition);
  pointer-events: none;
}
.video-card:hover .video-play-btn { background: rgba(0,168,255,0.2); }
.video-play-icon {
  width: 60px;
  height: 60px;
  background: rgba(0,168,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 0 30px rgba(0,168,255,0.5);
  transition: var(--transition);
}
.video-card:hover .video-play-icon {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(0,168,255,0.7);
}
.video-card-body { padding: 1.25rem; }
.video-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.4rem;
}
.video-card-sub { color: var(--text-muted); font-size: 0.8rem; }

/* ── Photo Gallery ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.photo-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.photo-item:hover img { transform: scale(1.1); }
.photo-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,168,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: #fff;
  font-size: 1.5rem;
}
.photo-item:hover .photo-item-overlay { opacity: 1; }

/* ── Contact ── */
.contact-section { padding: 5rem 0; }
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.contact-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.contact-card-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-glow);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
}
.contact-card:hover .contact-card-icon {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(0,168,255,0.4);
}
.contact-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.contact-card-text { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; }

/* ── Form ── */
.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.form-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-row-full { margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0,168,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'Noto Sans SC', sans-serif;
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,168,255,0.1);
  background: rgba(0,168,255,0.08);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-submit { display: flex; justify-content: center; margin-top: 1.5rem; }

/* ── Footer ── */
#footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-brand-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--primary-glow);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px rgba(0,168,255,0.4);
}
.footer-col-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.footer-bottom-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--text-muted); font-size: 0.8rem; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* ── Mobile Nav Overlay ── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,15,29,0.98);
  z-index: 999;
  display: none;
  flex-direction: column;
  padding: 1rem;
  overflow-y: auto;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
}
.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}
.mobile-nav-close:hover { border-color: var(--primary); color: var(--primary); }
.mobile-nav-links { flex: 1; }
.mobile-nav-item { border-bottom: 1px solid var(--border); }
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-item.open .mobile-nav-link { color: var(--primary); }
.mobile-nav-sub {
  display: none;
  padding: 0.5rem 0 1rem;
}
.mobile-nav-item.open .mobile-nav-sub { display: block; }
.mobile-nav-sub a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.mobile-nav-sub a:hover { color: var(--primary); padding-left: 0.5rem; }

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.pagination-btn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
}
.pagination-btn:hover, .pagination-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px rgba(0,168,255,0.3);
}
.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Page Content Wrapper ── */
.page-content { padding: 4rem 0; }
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 2rem;
}
.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.content-grid-rev { direction: rtl; }
.content-grid-rev > * { direction: ltr; }
.content-img { border-radius: var(--radius-lg); overflow: hidden; }
.content-img img { width: 100%; border-radius: var(--radius-lg); }
.content-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}
.content-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  border-radius: 2px;
}
.content-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.content-list { margin: 1.5rem 0; }
.content-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.content-list-icon {
  width: 24px;
  height: 24px;
  background: var(--primary-glow);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid-2 { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .header-right .header-tel { display: none; }
  .menu-toggle { display: flex; }
  .page-banner { height: 300px; }
  .hero { min-height: 600px; }
  .section { padding: 3rem 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .news-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-item::after { display: none; }
  .hero-dots { bottom: 2rem; right: 1.5rem; }
  .content-card { padding: 1.5rem; }
  .form-section { padding: 1.5rem; }
  .contact-info-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .video-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
}

/* ── Floating Sidebar ── */
.float-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  pointer-events: none;
  font-family: 'Noto Sans SC', sans-serif;
}
/* icon column */
.float-sidebar-icons {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0f2340 0%, #0a1929 100%);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  box-shadow: -4px 0 24px rgba(0,0,0,0.4);
}
.float-sidebar-btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  border-bottom: 1px solid rgba(0,168,255,0.08);
}
.float-sidebar-btn:last-child { border-bottom: none; }
.float-sidebar-btn:hover { background: rgba(0,168,255,0.15); }
.float-sidebar-btn.active { background: rgba(0,168,255,0.2); }
.float-sidebar-btn svg { width: 22px; height: 22px; fill: var(--text-secondary); transition: fill 0.25s; }
.float-sidebar-btn:hover svg, .float-sidebar-btn.active svg { fill: var(--primary); }
/* tooltip on hover */
.float-sidebar-btn::before {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,168,255,0.95);
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.float-sidebar-btn:hover::before { opacity: 1; }
/* panel */
.float-sidebar-panel {
  position: fixed;
  right: 52px;
  top: 50%;
  pointer-events: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 200px;
}
.float-sidebar-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
/* wechat / douyin panel */
.qr-panel {
  text-align: center;
  padding: 1.25rem;
  min-width: 180px;
}
.qr-panel-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}
.qr-panel-title span {
  color: var(--primary);
}
.qr-panel-img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  border: 2px solid var(--border);
  overflow: hidden;
  margin: 0 auto 0.75rem;
  background: rgba(0,168,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qr-panel-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}
/* message panel */
.msg-panel {
  width: 260px;
}
.msg-panel-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.msg-panel-title svg { width: 16px; height: 16px; fill: var(--primary); }
.msg-panel label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.msg-panel input,
.msg-panel textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: rgba(0,168,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-family: 'Noto Sans SC', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 0.6rem;
  box-sizing: border-box;
}
.msg-panel input:focus,
.msg-panel textarea:focus {
  border-color: var(--primary);
}
.msg-panel textarea { resize: none; min-height: 72px; }
.msg-panel-submit {
  width: 100%;
  padding: 0.6rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'Noto Sans SC', sans-serif;
}
.msg-panel-submit:hover {
  box-shadow: 0 4px 18px rgba(0,168,255,0.4);
  transform: translateY(-1px);
}
.msg-panel-result {
  font-size: 0.8rem;
  padding: 0.5rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  text-align: center;
  display: none;
}
.msg-panel-result.ok { display: block; color: #4ade80; background: rgba(74,222,128,0.1); }
.msg-panel-result.err { display: block; color: #f87171; background: rgba(248,113,113,0.1); }
/* back-to-top btn */
.float-sidebar-top {
  margin-top: 4px;
}
/* mobile responsive */
@media (max-width: 768px) {
  .float-sidebar { right: 0; }
  .float-sidebar-btn { width: 44px; height: 44px; }
  .float-sidebar-btn svg { width: 18px; height: 18px; }
  .float-sidebar-panel { right: 44px; }
  .qr-panel { padding: 1rem; min-width: 160px; }
  .qr-panel-img { width: 130px; height: 130px; }
  .msg-panel { width: 230px; }
}


/* ── Utility ── */
.text-primary { color: var(--primary) !important; }
.text-orange { color: var(--orange) !important; }
.text-muted { color: var(--text-muted) !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* 新闻页Tab切换 */
.news-tab-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  color: var(--text2);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}
.news-tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.news-tab-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
