/* ========================================
   竹猫智能 - 企业官网主样式
   ======================================== */

/* CSS 变量 */
:root {
  --primary: #1a56db;
  --primary-dark: #1242a8;
  --primary-light: #e8eefb;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text-dark: #1f2937;
  --text-medium: #4b5563;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-gray: #f3f4f6;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 80px;
}

/* 基础重置 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

/* ========================================
   通用工具类
   ======================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

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

.section-header .subtitle {
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  padding: 0 20px;
}

.section-header .subtitle::before,
.section-header .subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.section-header .subtitle::before {
  left: -20px;
}

.section-header .subtitle::after {
  right: -20px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  gap: 8px;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.35);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* ========================================
   头部导航
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  height: 64px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

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

.nav-menu a {
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-medium);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

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

.header-actions .btn {
  padding: 8px 20px;
  font-size: 14px;
}

/* 移动端菜单按钮 */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  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 区域
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-content {
  color: #fff;
}

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

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

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat .number {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
}

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

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  position: relative;
}

.hero-graphic .chip-visual {
  width: 100%;
  height: 100%;
  position: relative;
}

.chip-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(26, 86, 219, 0.3));
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-weight: 600;
}

.chip-pin {
  position: absolute;
  background: rgba(245, 158, 11, 0.4);
  border-radius: 2px;
}

.chip-pin.top {
  top: -8px;
  width: 12px;
  height: 20px;
}

.chip-pin.bottom {
  bottom: -8px;
  width: 12px;
  height: 20px;
}

.chip-pin.left {
  left: -8px;
  width: 20px;
  height: 12px;
}

.chip-pin.right {
  right: -8px;
  width: 20px;
  height: 12px;
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: #fff;
  animation: float 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 15%;
  left: -5%;
  animation-delay: 2s;
}

.hero-float-card .card-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.hero-float-card .card-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* 网格背景 */
.grid-bg {
  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;
}

/* ========================================
   核心业务区域
   ======================================== */
.services {
  background: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}

.service-icon.ic {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: var(--primary);
}

.service-icon.hw {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: var(--accent-dark);
}

.service-icon.sw {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #059669;
}

.service-icon.ai {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #7c3aed;
}

.service-icon.cloud {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  color: #db2777;
}

.service-icon.security {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #dc2626;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-card .learn-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.service-card:hover .learn-more {
  gap: 12px;
}

/* ========================================
   产品中心
   ======================================== */
.products {
  background: var(--bg-light);
}

.products-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.products-tabs .tab {
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.products-tabs .tab:hover,
.products-tabs .tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-gray), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.03) 100%);
}

.product-info {
  padding: 20px;
}

.product-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.product-info p {
  font-size: 13px;
  color: var(--text-medium);
  margin-bottom: 12px;
  line-height: 1.6;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tags span {
  padding: 3px 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 500;
  border-radius: 50px;
}

/* ========================================
   解决方案
   ======================================== */
.solutions {
  background: var(--bg-white);
}

.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.solution-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solution-item:nth-child(even) {
  direction: rtl;
}

.solution-item:nth-child(even) > * {
  direction: ltr;
}

.solution-visual {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-gray), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.solution-content .badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 16px;
}

.solution-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.solution-content p {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 24px;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solution-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-medium);
}

.solution-features li .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========================================
   为什么选择我们
   ======================================== */
.why-us {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
}

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

.why-us .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.why-card .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.3), rgba(245, 158, 11, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.why-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ========================================
   合作品牌
   ======================================== */
.partners {
  background: var(--bg-light);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 60px;
  overflow: hidden;
  padding: 20px 0;
}

.partner-logo {
  flex-shrink: 0;
  width: 160px;
  height: 60px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.partner-logo:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ========================================
   新闻动态
   ======================================== */
.news {
  background: var(--bg-white);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.news-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  background: var(--bg-white);
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.news-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-gray), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--text-light);
}

.news-body {
  padding: 24px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-light);
}

.news-meta .category {
  padding: 2px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 500;
}

.news-body h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-body p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   CTA 区域
   ======================================== */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ========================================
   页脚
   ======================================== */
.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo .logo-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

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

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

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

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

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

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   页面内页 Banner
   ======================================== */
.page-banner {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-banner .grid-bg {
  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;
}

.page-banner h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.page-banner .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}

.page-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.page-banner .breadcrumb a:hover {
  color: #fff;
}

.page-banner .breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   关于我们页面
   ======================================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-gray), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--text-light);
}

.about-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-text p {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* 时间轴 */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 60px;
  margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 60px;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.timeline-content {
  width: calc(50% - 60px);
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.timeline-content .year {
  display: inline-block;
  padding: 2px 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
}

/* 团队 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--bg-gray));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--text-light);
}

.team-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 13px;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ========================================
   联系我们页面
   ======================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
}

.contact-info-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-info-card > p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-item .icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail-item .info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail-item .info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
}

.contact-form-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color var(--transition);
  font-family: inherit;
}

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

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

/* ========================================
   地图区域
   ======================================== */
.map-section {
  width: 100%;
  height: 400px;
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-light);
  margin-top: 40px;
}

/* ========================================
   回到顶部
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--primary-dark);
}

/* ========================================
   产品详情列表（产品页）
   ======================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-detail-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.product-detail-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-detail-card .product-image {
  aspect-ratio: auto;
  min-height: 220px;
}

.product-detail-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.product-detail-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-detail-info p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-medium);
}

.spec-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ========================================
   产品详情页
   ======================================== */
.pd-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pd-gallery {
  position: sticky;
  top: 100px;
}

.pd-main-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-gray), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  color: var(--text-light);
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.pd-thumbs {
  display: flex;
  gap: 10px;
}

.pd-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--bg-gray), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-light);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}

.pd-thumb:hover,
.pd-thumb.active {
  border-color: var(--primary);
}

.pd-info h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.pd-info .pd-subtitle {
  font-size: 15px;
  color: var(--text-medium);
  margin-bottom: 20px;
}

.pd-info .pd-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pd-tag {
  padding: 4px 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  border-radius: 50px;
}

.pd-tag.hot {
  background: #fee2e2;
  color: #dc2626;
}

.pd-tag.new {
  background: #d1fae5;
  color: #059669;
}

.pd-desc {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.9;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

/* 规格参数表 */
.pd-specs {
  margin-bottom: 28px;
}

.pd-specs h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

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

.spec-table tr:nth-child(odd) {
  background: var(--bg-light);
}

.spec-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.spec-table td:first-child {
  font-weight: 500;
  color: var(--text-dark);
  width: 140px;
  white-space: nowrap;
}

.spec-table td:last-child {
  color: var(--text-medium);
}

/* 操作按钮 */
.pd-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pd-actions .btn {
  min-width: 160px;
}

/* 产品详情 tabs */
.pd-tabs-section {
  margin-top: 60px;
}

.pd-tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}

.pd-tabs-nav .pd-tab {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-medium);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition);
}

.pd-tabs-nav .pd-tab:hover,
.pd-tabs-nav .pd-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.pd-tab-content {
  display: none;
}

.pd-tab-content.active {
  display: block;
}

.pd-tab-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.pd-tab-content p {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* 接线说明列表 */
.wiring-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.wiring-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.wiring-item .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.wiring-item .step-text h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.wiring-item .step-text p {
  font-size: 13px;
  margin-bottom: 0;
}

/* 相关产品 */
.related-products {
  margin-top: 20px;
}

/* ========================================
   新闻详情页
   ======================================== */
.news-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.news-detail-main {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.news-detail-banner {
  width: 100%;
  aspect-ratio: 21/9;
  background: linear-gradient(135deg, var(--bg-gray), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--text-light);
}

.news-detail-body {
  padding: 40px;
}

.news-detail-body .nd-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-light);
}

.news-detail-body .nd-meta .category {
  padding: 4px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 500;
}

.news-detail-body h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.news-detail-body .nd-content {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 2;
}

.news-detail-body .nd-content p {
  margin-bottom: 20px;
}

.news-detail-body .nd-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 16px;
}

.news-detail-body .nd-content ul {
  margin-bottom: 20px;
  padding-left: 0;
}

.news-detail-body .nd-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 15px;
}

.news-detail-body .nd-content ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 10px;
}

/* 上下篇导航 */
.nd-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.nd-nav a {
  display: block;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nd-nav a:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.nd-nav a .dir {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.nd-nav a .title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 侧栏 */
.news-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
}

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  color: var(--text-dark);
}

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

.sidebar-list a {
  display: block;
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  transition: color var(--transition);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-list a:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-list a:hover {
  color: var(--primary);
}

.sidebar-list a .date {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

/* 详情页响应式 */
@media (max-width: 992px) {
  .pd-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pd-gallery {
    position: static;
  }

  .news-detail-layout {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .pd-info h1 {
    font-size: 22px;
  }

  .news-detail-body {
    padding: 24px;
  }

  .news-detail-body h1 {
    font-size: 22px;
  }

  .nd-nav {
    grid-template-columns: 1fr;
  }
}
