/* ========================================
   泰斯特（天津）智能科技有限公司 - 企业官网样式
   风格：扁平化 · 科技感 · 现代简约
   ======================================== */

/* CSS Variables - 扁平化科技配色 */
:root {
  /* Primary Colors - 科技蓝 */
  --primary: #0066FF;
  --primary-dark: #0052CC;
  --primary-light: #2684FF;
  --primary-bg: #E6F0FF;
  --primary-bg-light: #F0F5FF;
  
  /* Secondary Colors - 科技青 */
  --secondary: #00D4AA;
  --secondary-dark: #00B894;
  --secondary-light: #55EFC4;
  
  /* Accent - 活力橙 */
  --accent: #FF6B35;
  
  /* Neutral Colors - 简洁灰白 */
  --gray-900: #1A1A2E;
  --gray-800: #16213E;
  --gray-700: #2D3748;
  --gray-600: #4A5568;
  --gray-500: #718096;
  --gray-400: #A0AEC0;
  --gray-300: #CBD5E0;
  --gray-200: #E2E8F0;
  --gray-100: #F7FAFC;
  --gray-50: #FFFFFF;
  --white: #FFFFFF;
  
  /* Functional Colors */
  --success: #00C853;
  --warning: #FFB300;
  --error: #FF5252;
  --info: #00BCD4;
  
  /* Typography */
  --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius - 更大圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Shadows - 柔和扁平阴影 */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.04), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.05), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-primary: 0 4px 14px rgba(0,102,255,0.25);
  
  /* Transitions */
  --transition: 0.25s ease;
  
  /* Header Height */
  --header-height: 80px;
  --top-bar-height: 40px;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--gray-50);
}

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

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

ul, ol {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* ========================================
   Top Bar - 扁平简洁
   ======================================== */
.top-bar {
  background: var(--gray-900);
  color: var(--white);
  font-size: 13px;
  padding: 10px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: var(--space-xl);
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0.9;
}

.top-bar-left i {
  color: var(--secondary);
  font-size: 12px;
}

.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 2px;
}

.lang-btn {
  padding: 6px 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.lang-btn:hover {
  color: var(--white);
}

.lang-btn.active {
  background: var(--primary);
  color: var(--white);
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
}

/* ========================================
   Header - 扁平简洁
   ======================================== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo - 简洁现代 */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  position: relative;
  overflow: hidden;
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  animation: logoShine 3s infinite;
}

@keyframes logoShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: 3px;
}

/* Navigation */
.nav {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  transition: all var(--transition);
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-100);
  }
}

/* ========================================
   Banner - 全屏简洁
   ======================================== */
.banner {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.banner-slider {
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.4) 60%, transparent 100%);
}

.banner-content .container {
  max-width: 1200px;
}

.banner-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.banner-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-xl);
}

.banner-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.banner-prev,
.banner-next {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.banner-prev:hover,
.banner-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.banner-dots {
  display: flex;
  gap: var(--space-sm);
}

.banner-dots .dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.banner-dots .dot.active {
  background: var(--secondary);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .banner {
    height: 380px;
  }
  
  .banner-content h1 {
    font-size: 1.75rem;
  }
}

/* ========================================
   Section Common - 添加装饰性标题
   ======================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 3px;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  position: relative;
}

.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: translateY(-50%);
}

.section-label::before {
  right: calc(100% + 12px);
}

.section-label::after {
  left: calc(100% + 12px);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-footer {
  text-align: center;
  margin-top: 40px;
}

/* ========================================
   About Section
   ======================================== */
.about {
  background: var(--white);
}

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

.about-media {
  position: relative;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: auto;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-primary);
}

.play-btn:hover {
  background: var(--secondary);
  transform: translate(-50%, -50%) scale(1.1);
}

.about-video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  width: 90%;
  max-width: 900px;
  position: relative;
}

.video-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: var(--radius-lg);
}

.close-video {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  cursor: pointer;
}

.about-content {
  padding: var(--space-lg) 0;
}

.about-content .section-label {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.about-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* Stats - 卡片式 */
.about-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-100);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: var(--space-sm);
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
  }
  
  .stat-item {
    min-width: 100px;
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

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

.btn-primary-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-small {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* ========================================
   Products Section - 增强卡片效果
   ======================================== */
.products {
  background: var(--gray-50);
}

.products-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  background: var(--white);
  padding: 8px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  background: transparent;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.tab-btn:hover {
  color: var(--primary);
  background: var(--primary-bg-light);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,102,255,0.15);
}

.product-card:hover::before {
  opacity: 0.05;
}

.product-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,102,255,0.95) 0%, rgba(0,102,255,0.6) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-content {
  padding: var(--space-lg);
  position: relative;
  z-index: 2;
}

.product-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  transition: color 0.3s ease;
}

.product-card:hover .product-content h3 {
  color: var(--primary);
}

.product-content p {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: var(--space-md);
}

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

.product-tags a {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-bg-light);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.product-tags a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.product-tags .more {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--gray-400);
}

/* ========================================
   Videos Section - 深色科技风
   ======================================== */
.videos {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: var(--white);
  padding: 80px 0;
}

.videos .section-label {
  color: var(--secondary);
}

.videos .section-title {
  color: var(--white);
}

.videos-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-lg);
}

.video-card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}

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

.video-card.main {
  grid-row: span 2;
}

.video-thumbnail {
  position: relative;
  height: 160px;
  overflow: hidden;
  cursor: pointer;
}

.video-card.main .video-thumbnail {
  height: 240px;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.1);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
}

.video-card:hover .play-button {
  background: var(--secondary);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.7);
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.video-info {
  padding: var(--space-lg);
}

.video-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.video-info p {
  font-size: 13px;
  color: var(--gray-400);
}

@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
  
  .video-card.main {
    grid-row: span 1;
  }
  
  .video-card.main .video-thumbnail {
    height: 160px;
  }
}

/* ========================================
   News Section - 卡片悬浮效果
   ======================================== */
.news {
  background: var(--white);
}

.news-slider {
  position: relative;
}

.news-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.news-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid transparent;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-bg);
}

.news-image {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.news-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-card:hover .news-image::after {
  opacity: 1;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: var(--space-lg);
}

.news-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
  transition: color 0.3s ease;
}

.news-card:hover .news-content h3 {
  color: var(--primary);
}

.news-content h3 a:hover {
  color: var(--primary);
}

.news-content p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.news-meta .date {
  color: var(--gray-400);
}

.news-meta .read-more {
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition);
}

.news-meta .read-more:hover {
  color: var(--secondary);
  gap: 8px;
}

.news-meta .read-more i {
  transition: transform var(--transition);
}

.news-card:hover .news-meta .read-more i {
  transform: translateX(3px);
}

.news-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.news-prev,
.news-next {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: all var(--transition);
}

.news-prev:hover,
.news-next:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.news-dots {
  display: flex;
  gap: 6px;
}

.news-dots .dot {
  width: 8px;
  height: 8px;
  background: var(--gray-300);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.news-dots .dot.active {
  background: var(--primary);
  width: 20px;
}

@media (max-width: 992px) {
  .news-track {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Partners Section - Logo墙悬浮效果
   ======================================== */
.partners {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 60px 0;
}

.partners-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.partner-logo {
  width: 160px;
  height: 80px;
  background: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.partner-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.partner-logo:hover::before {
  transform: scaleX(1);
}

.partner-logo img {
  max-width: 100%;
  max-height: 50px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition);
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ========================================
   Contact Section - 现代表单样式
   ======================================== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-2xl);
}

.contact-form-wrapper {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 16px;
}

.form-group label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  transition: all var(--transition);
  outline: none;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--gray-300);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,102,255,0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

@media (max-width: 768px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.info-card {
  background: linear-gradient(135deg, var(--primary-bg-light) 0%, var(--primary-bg) 100%);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
}

.info-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.info-item .label {
  font-size: 12px;
  color: var(--gray-500);
  display: block;
}

.info-item .value {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-800);
}

.map-wrapper h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.map-placeholder {
  height: 180px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--gray-400);
}

.map-placeholder i {
  font-size: 32px;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
}

.footer-main {
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-2xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-brand .logo-icon {
  width: 40px;
  height: 40px;
  font-size: 18px;
}

.footer-brand .logo-brand {
  color: var(--white);
}

.footer-address {
  font-size: 14px;
  margin-bottom: var(--space-md);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: 14px;
}

.footer-nav h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav a {
  font-size: 14px;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--secondary);
}

.footer-qrcode h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.qrcode-placeholder {
  width: 90px;
  height: 90px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  color: var(--gray-400);
  font-size: 11px;
}

.qrcode-placeholder i {
  font-size: 28px;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-500);
  margin: var(--space-xs) 0;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-primary);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

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

.animate-target {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Utility
   ======================================== */
.hidden {
  display: none !important;
}
