/* ==========================================================================
   中深鑫华精密技术企业网站统一样式文件
   包含：基础样式、组件样式、页面样式、工具类
   主色调：#1a1a2eb3，按钮色调：#e63946
   ========================================================================== */

:root {
  --primary-color: #1a1a2eb3;
  --secondary-color: #e63946;
  --light-gray: #f8f9fa;
  --dark-gray: #6c757d;
  --white: #ffffff;
  --text-dark: #333333;
  --border-color: #dee2e6;
}

/* 1. 基础样式 (Base Styles)
   ========================================================================== */
html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 2. 布局样式 (Layout Styles)
   ========================================================================== */
.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

.main-content {
  flex: 1;
  padding: 20px 0;
}

.footer {
  margin-top: auto;
  width: 100%;
  background-color: var(--primary-color) !important;
  color: var(--white);
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
}

.footer h5 {
  color: var(--white);
  font-weight: 600;
}

.footer a {
  color: var(--white) !important;
  text-decoration: none;
}

.footer a:hover {
  color: var(--secondary-color) !important;
}

/* 3. 导航栏样式 (Navigation Styles)
   ========================================================================== */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  background-color: var(--primary-color) !important;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
  color: var(--white) !important;
  padding: 0.75rem 1rem !important;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color) !important;
  background-color: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 4. 表单样式 (Form Styles)
   ========================================================================== */
.btn {
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn:focus, 
.btn:active:focus, 
.btn-link.nav-link:focus, 
.form-control:focus, 
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #d32f2f;
  border-color: #d32f2f;
  transform: translateY(-1px);
}

.btn-outline-light {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--primary-color);
}

.form-control {
  border-radius: 6px;
  border: 1px solid #ced4da;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.25);
}

.form-floating > .form-control-plaintext::placeholder, 
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, 
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* 5. 卡片和容器样式 (Card & Container Styles)
   ========================================================================== */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  font-weight: 600;
}

/* 6. 联系页面样式 (Contact Page Styles)
   ========================================================================== */
.contact-info {
  background-color: #f8f9fa;
}

.headquarters-highlight {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c2c54 100%);
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.headquarters-badge {
  opacity: 0.9;
}

.contact-card {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef !important;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary-color) !important;
}

.contact-icon {
  margin-bottom: 1rem;
}

.company-info-section {
  padding: 1rem;
}

.company-highlights .highlight-item {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.company-highlights .highlight-item:hover {
  background-color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.office-hours-card {
  border: 1px solid #e9ecef;
}

.social-links .btn {
  transition: all 0.3s ease;
}

.social-links .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.office-card {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.office-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.quick-contact {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c2c54 100%);
}

.quick-contact-buttons .btn {
  transition: all 0.3s ease;
}

.quick-contact-buttons .btn:hover {
  transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .headquarters-highlight {
    text-align: center;
  }
  
  .headquarters-highlight .row {
    flex-direction: column;
  }
  
  .headquarters-badge {
    margin-top: 1rem;
  }
  
  .contact-card {
    margin-bottom: 1rem;
  }
  
  .social-links .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .quick-contact-buttons .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .company-highlights .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .office-card {
    text-align: center;
  }
}

/* 7. 错误页面样式 (Error Page Styles)
   ========================================================================== */
.error-page {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
  text-align: center;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(45deg, #dc3545, #fd7e14);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #495057;
}

.error-message {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.countdown-alert {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(255, 234, 167, 0.3);
}

.countdown-number {
  font-weight: bold;
  color: #dc3545;
  font-size: 1.4rem;
  text-shadow: 0 1px 2px rgba(220, 53, 69, 0.2);
}

.error-actions {
  margin-top: 2rem;
}

.error-actions .btn {
  margin: 0.5rem;
  min-width: 160px;
  padding: 12px 24px;
  font-size: 1.1rem;
}

/* 7. 首页样式 (Homepage Styles)
   ========================================================================== */

/* Modern Hero Section */
.modern-hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Hero Background */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(26, 26, 46, 0.95) 0%, 
    rgba(44, 44, 84, 0.9) 25%,
    rgba(230, 57, 70, 0.8) 75%,
    rgba(255, 87, 87, 0.85) 100%);
  z-index: 2;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,0.2), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: particleFloat 20s linear infinite;
  z-index: 1;
}

@keyframes particleFloat {
  0% { transform: translateY(0px) translateX(0px); }
  33% { transform: translateY(-10px) translateX(10px); }
  66% { transform: translateY(5px) translateX(-5px); }
  100% { transform: translateY(0px) translateX(0px); }
}

/* Hero Content */
.hero-content {
  z-index: 10;
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-highlight {
  background: linear-gradient(135deg, #ff6b6b, #ffd93d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stats {
  animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-actions {
  animation: fadeInUp 1s ease-out 1s both;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), #ff6b6b);
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
  background: linear-gradient(135deg, #ff6b6b, var(--secondary-color));
}

.hero-btn-secondary {
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

/* Hero Visual Elements */
.hero-visual {
  z-index: 10;
  position: relative;
  animation: fadeInRight 1s ease-out 0.5s both;
}

.hero-image-container {
  height: 600px;
  position: relative;
}

/* 3D Product Showcase */
.product-showcase-3d {
  position: absolute;
  transition: all 0.4s ease;
  cursor: pointer;
}

.das-showcase {
  top: 5%;
  left: 5%;
  width: 280px;
  height: 180px;
  animation: float3d 8s ease-in-out infinite;
  animation-delay: 0s;
}

.ofdr-showcase {
  top: 35%;
  right: 8%;
  width: 300px;
  height: 190px;
  animation: float3d 8s ease-in-out infinite;
  animation-delay: 2.5s;
}

.network-showcase {
  bottom: 10%;
  left: 15%;
  width: 260px;
  height: 170px;
  animation: float3d 8s ease-in-out infinite;
  animation-delay: 5s;
}

@keyframes float3d {
  0%, 100% { 
    transform: translateY(0px) rotateX(5deg) rotateY(-5deg) scale(1);
  }
  33% { 
    transform: translateY(-15px) rotateX(-2deg) rotateY(3deg) scale(1.02);
  }
  66% { 
    transform: translateY(-8px) rotateX(3deg) rotateY(-2deg) scale(0.98);
  }
}

.product-image-3d {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
  transform-style: preserve-3d;
}

.main-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(0.9) contrast(1.1);
}

.product-showcase-3d:hover .main-product-image {
  filter: brightness(1) contrast(1.2);
  transform: scale(1.05);
}

.product-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.das-glow {
  background: radial-gradient(ellipse at center, rgba(0,123,255,0.4) 0%, rgba(0,123,255,0.1) 50%, transparent 100%);
  box-shadow: 0 0 30px rgba(0,123,255,0.3);
}

.ofdr-glow {
  background: radial-gradient(ellipse at center, rgba(40,167,69,0.4) 0%, rgba(40,167,69,0.1) 50%, transparent 100%);
  box-shadow: 0 0 30px rgba(40,167,69,0.3);
}

.network-glow {
  background: radial-gradient(ellipse at center, rgba(255,107,107,0.4) 0%, rgba(255,107,107,0.1) 50%, transparent 100%);
  box-shadow: 0 0 30px rgba(255,107,107,0.3);
}

.product-showcase-3d:hover .product-glow {
  opacity: 1;
}

.product-showcase-3d:hover .product-image-3d {
  transform: translateY(-10px) rotateX(10deg) rotateY(-5deg) scale(1.05);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.product-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 20px 15px 15px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.product-showcase-3d:hover .product-info-overlay {
  transform: translateY(0);
}

.product-title-3d {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}

.product-subtitle-3d {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 10px;
}

.product-features-3d {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-badge {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Tech Hub */
.tech-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(2);
  z-index: 5;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,123,255,0.1) 0%, rgba(0,123,255,0.05) 70%, transparent 100%);
  border-radius: 50%;
  animation: rotate 20s linear infinite, pulse 4s ease-in-out infinite;
}

.hub-circle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255,255,255,0.3);
  animation: rotate 20s linear infinite;
}

.hub-inner {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #2c2c54);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

.pulse-ring-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border: 2px solid rgba(230, 57, 70, 0.4);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite 1s;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@keyframes rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: fadeInUp 1s ease-out 1.5s both;
}

.scroll-arrow {
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: color 0.3s ease;
}

.scroll-arrow:hover {
  color: rgba(255,255,255,1);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Modern Hero Section Responsive Design */
@media (max-width: 1200px) {
  .hero-image-container {
    height: 500px;
  }
  
  .das-showcase {
    width: 240px;
    height: 150px;
  }
  
  .ofdr-showcase {
    width: 260px;
    height: 160px;
  }
  
  .network-showcase {
    width: 220px;
    height: 140px;
  }
  
  .product-title-3d {
    font-size: 1.1rem;
  }
  
  .product-subtitle-3d {
    font-size: 0.8rem;
  }
  
  .feature-badge {
    font-size: 0.7rem;
    padding: 3px 6px;
  }
}

@media (max-width: 992px) {
  .modern-hero-section {
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .hero-image-container {
    height: 450px;
  }
  
  .das-showcase {
    width: 200px;
    height: 130px;
    top: 8%;
    left: 8%;
  }
  
  .ofdr-showcase {
    width: 220px;
    height: 140px;
    top: 40%;
    right: 5%;
  }
  
  .network-showcase {
    width: 180px;
    height: 120px;
    bottom: 15%;
    left: 20%;
  }
  
  .product-title-3d {
    font-size: 1rem;
  }
  
  .product-subtitle-3d {
    font-size: 0.75rem;
  }
  
  .feature-badge {
    font-size: 0.65rem;
    padding: 2px 5px;
  }
  
  .product-info-overlay {
    padding: 15px 10px 10px;
  }
}

@media (max-width: 768px) {
  .modern-hero-section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: 100%;
    padding: 15px 30px;
  }
  
  .hero-visual {
    display: none;
  }
  
  .tech-hub {
    display: none;
  }
}

@media (max-width: 576px) {
  .modern-hero-section {
    padding: 40px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-particles {
    display: none;
  }
  
  .scroll-indicator {
    bottom: 20px;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  
  .hero-visual {
    display: none;
  }
}

/* Legacy Homepage Hero (for compatibility) */
.homepage-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.homepage-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.homepage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.homepage-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.homepage-card:hover .card-img-top {
  transform: scale(1.05);
}

/* 8. 加载和状态样式 (Loading & State Styles)
   ========================================================================== */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 9. 工具类 (Utility Classes)
   ========================================================================== */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.box-shadow-sm {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.box-shadow-lg {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.border-radius-sm {
  border-radius: 6px;
}

.border-radius-lg {
  border-radius: 12px;
}

.gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-secondary {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* 10. 响应式设计 (Responsive Design)
   ========================================================================== */

/* 移动端优先设计 */
@media (max-width: 576px) {
  .error-code {
    font-size: 4rem;
  }
  
  .error-title {
    font-size: 1.8rem;
  }
  
  .error-page {
    padding: 2rem 1rem;
    margin: 1rem 0;
  }
  
  .error-actions .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    min-width: auto;
  }
  
  .countdown-alert {
    font-size: 1rem;
    padding: 1rem;
  }
  
  .mobile-hide {
    display: none !important;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  /* 企业网站移动端优化 */
  .homepage-hero {
    padding: 2rem 0;
    text-align: center;
  }
  
  .homepage-hero h1 {
    font-size: 1.8rem;
  }
  
  .homepage-hero p {
    font-size: 1rem;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* 产品卡片移动端优化 */
  .product-card {
    margin-bottom: 1.5rem;
  }
  
  .product-card .card-body {
    padding: 1rem;
  }
  
  .tech-specs {
    font-size: 0.85rem;
  }
  
  /* 导航栏移动端优化 */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

@media (max-width: 768px) {
  .error-code {
    font-size: 5rem;
  }
  
  .error-title {
    font-size: 2rem;
  }
  
  .tablet-hide {
    display: none !important;
  }
  
  .homepage-hero {
    padding: 2.5rem 0;
  }
  
  .main-content {
    padding: 15px 0;
  }
  
  /* 平板端优化 */
  .row.g-4 {
    --bs-gutter-x: 1rem;
  }
  
  .col-md-6 {
    margin-bottom: 1.5rem;
  }
  
  .homepage-hero h1 {
    font-size: 2.2rem;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  /* 技术规格表格优化 */
  .table-responsive {
    font-size: 0.9rem;
  }
  
  .table th,
  .table td {
    padding: 0.5rem;
  }
}

@media (max-width: 992px) {
  .desktop-hide {
    display: none !important;
  }
  
  /* 中等屏幕优化 */
  .homepage-hero h1 {
    font-size: 2.5rem;
  }
  
  .card-columns {
    column-count: 2;
  }
}

/* 大屏幕优化 */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .homepage-hero h1 {
    font-size: 3rem;
  }
  
  .card-columns {
    column-count: 3;
  }
}

/* 超大屏幕优化 */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .homepage-hero {
    padding: 5rem 0;
  }
}

/* 11. 企业网站专用样式 (Corporate Website Styles)
   ========================================================================== */

/* 产品展示区域 */
.product-showcase {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem 0;
  margin: 2rem 0;
}

.product-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-card .card-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c2c54 100%);
  color: white;
  border: none;
  padding: 1.5rem;
  text-align: center;
}

.product-card .card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0;
}

.product-card .card-body {
  padding: 2rem;
}

.product-features {
  list-style: none;
  padding: 0;
}

.product-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 1.5rem;
}

.product-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.product-features li:last-child {
  border-bottom: none;
}

/* 技术规格表格 */
.tech-specs-table {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tech-specs-table .table {
  margin-bottom: 0;
}

.tech-specs-table .table th {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem;
  font-weight: 600;
}

.tech-specs-table .table td {
  padding: 0.75rem 1rem;
  border-color: #f0f0f0;
}

.tech-specs-table .table tbody tr:hover {
  background-color: #f8f9fa;
}

/* 技术优势区域 */
.tech-advantages {
  background: white;
  padding: 3rem 0;
}

.advantage-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #f0f0f0;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary-color);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ff6b6b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.advantage-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.advantage-description {
  color: var(--dark-gray);
  line-height: 1.6;
}

/* 应用场景区域 */
.application-scenarios {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 0;
}

.scenario-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  backdrop-filter: blur(10px);
}

.scenario-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.scenario-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

.scenario-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.scenario-description {
  opacity: 0.9;
  line-height: 1.6;
}

/* 行动号召区域 */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c2c54 100%);
  color: white;
  padding: 3rem 0;
  margin-bottom: 5rem;
  padding-bottom: 2rem;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons .btn {
  margin: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* 公司介绍区域 */
.company-intro {
  padding: 3rem 0;
  background: white;
}

/* 联系页面样式 */
.quick-contact {
  margin-bottom: 5rem;
  padding-bottom: 2rem;
}

.global-offices {
  margin-bottom: 5rem;
  padding-bottom: 2rem;
}

/* 产品页面样式 */
.product-showcase {
  margin-bottom: 5rem;
  padding-bottom: 2rem;
}

/* 应用领域页面样式 */
.application-scenarios {
  margin-bottom: 5rem;
  padding-bottom: 2rem;
}

.applications-page {
  margin-bottom: 5rem;
  padding-bottom: 2rem;
}

/* 关于页面样式 */
.company-intro {
  margin-bottom: 5rem;
  padding-bottom: 2rem;
}

.tech-advantages {
  margin-bottom: 5rem;
  padding-bottom: 2rem;
}

/* 新闻页面样式 */
.news-page {
  margin-bottom: 5rem;
  padding-bottom: 2rem;
}

.news-section {
  margin-bottom: 3rem;
}

.newsletter-subscription {
  margin-bottom: 8rem !important;
  padding-bottom: 4rem !important;
}

/* 通用页面底部间距 */
section:last-child {
  margin-bottom: 8rem;
  padding-bottom: 4rem;
}

.company-hero {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(44, 44, 84, 0.9) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.company-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  opacity: 0.3;
}

.company-hero .container {
  position: relative;
  z-index: 1;
}

.company-slogan {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* 产品页面样式 */
.product-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.product-image-container img {
  transition: transform 0.3s ease;
}

.product-image-container:hover img {
  transform: scale(1.05);
}

.product-details h2 {
  position: relative;
}

.product-details h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.spec-card {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.spec-card:hover {
  background: var(--primary-color) !important;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.spec-card:hover h6,
.spec-card:hover p {
  color: white !important;
}

#product-menu .nav-link {
  background: white;
  border: 2px solid #e9ecef;
  color: var(--text-dark);
  font-weight: 600;
  padding: 1rem 2rem;
  margin: 0 0.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#product-menu .nav-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#product-menu .nav-link.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#product-menu .nav-link i {
  font-size: 1.2rem;
}

.product-details .btn {
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.product-details .btn-outline-primary {
  border: 2px solid var(--primary-color);
}

.product-details .btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-details .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 12. 现代产品展示区域样式 (Modern Products Section Styles)
   ========================================================================== */

/* Products Section Container */
.modern-products-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.modern-products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
  opacity: 0.5;
}

.modern-products-section .container {
  position: relative;
  z-index: 1;
}

/* Section Title */
.products-section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.products-section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.products-section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--secondary-color), #ff6b6b);
  border-radius: 2px;
}

.products-section-subtitle {
  font-size: 1.2rem;
  color: var(--dark-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Modern Product Cards */
.modern-product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  height: 100%;
  cursor: pointer;
  border: 2px solid transparent;
}

.modern-product-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  border-color: var(--secondary-color);
}

/* Product Image Container */
.product-image-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(0.9);
}

/* Product Image Size Classes */
.product-image-70 {
  width: 70% !important;
  height: auto !important;
  object-fit: contain !important;
}

.product-image-75 {
  width: 75% !important;
  height: auto !important;
  object-fit: contain !important;
}

.product-image-80 {
  width: 80% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* 应用领域样式 */
.applications-section {
    background: #f8fafc;
}

.application-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid #e2e8f0;
    height: 100%;
}

.application-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-color: #cbd5e1;
}

.application-card .card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.application-card .card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(51, 65, 85, 0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.application-card:hover .card-image::before {
    opacity: 1;
}

.application-card .card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.application-card .card-icon i {
    font-size: 2rem;
    color: white;
}

.application-card:hover .card-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255,255,255,0.25);
}

.application-card .card-content {
    padding: 24px;
}

.application-card .card-content h4 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.application-card .card-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.application-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-badge {
    background: linear-gradient(135deg, #e63946, #f77f00);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

/* 企业新闻样式 */
.news-section {
    background: #f8fafc;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* 旧的news-date样式已被新的横条式布局样式替代 */
/* .news-date {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
} */

.date-day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e63946;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.news-content {
    padding: 24px;
}

.news-category {
    background: linear-gradient(135deg, #e63946, #f77f00);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 12px;
}

.news-title {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.news-excerpt {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.news-meta i {
    margin-right: 4px;
}

.news-link {
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #dc2626;
    text-decoration: none;
}

.news-link i {
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(4px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .application-card .card-content,
    .news-content {
        padding: 20px;
    }
    
    .application-card .card-content h4,
    .news-title {
        font-size: 1.1rem;
    }
    
    .application-card .card-image,
    .news-image {
        height: 180px;
    }
    
    .application-card .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .application-card .card-icon i {
        font-size: 1.5rem;
    }
}

.modern-product-card:hover .product-image-wrapper img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* Product Overlay */
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(26, 26, 46, 0.8) 0%, 
    rgba(230, 57, 70, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.modern-product-card:hover .product-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.modern-product-card:hover .overlay-content {
  transform: translateY(0);
}

.overlay-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.overlay-text {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.overlay-subtext {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Product Content */
.product-content {
  padding: 2rem;
  position: relative;
}

.product-badge {
  position: absolute;
  top: -15px;
  left: 2rem;
  background: linear-gradient(135deg, var(--secondary-color), #ff6b6b);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.product-description {
  color: var(--dark-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Product Features */
.product-features-modern {
  margin-bottom: 1.5rem;
}

.feature-tag {
  display: inline-block;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: var(--text-dark);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0.2rem 0.3rem 0.2rem 0;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.modern-product-card:hover .feature-tag {
  background: linear-gradient(135deg, var(--primary-color), #2c2c54);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Product Action Button */
.product-action {
  text-align: center;
}

.product-btn {
  background: linear-gradient(135deg, var(--primary-color), #2c2c54);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 26, 46, 0.3);
}

.product-btn:hover {
  background: linear-gradient(135deg, var(--secondary-color), #ff6b6b);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
  text-decoration: none;
}

.product-btn i {
  transition: transform 0.3s ease;
}

.product-btn:hover i {
  transform: translateX(3px);
}

/* 横条式新闻布局样式 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item {
  display: flex;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e1;
}

.news-image-wrapper {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image {
  transform: scale(1.05);
}

.news-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.news-category {
  background: linear-gradient(135deg, #ff8c42, #ff6b35);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-date {
  color: #1a202c !important;
  font-size: 0.85rem;
  font-weight: 600;
  background: #ffffff !important;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

.news-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.btn-view {
  background: linear-gradient(135deg, #ff8c42, #ff6b35);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
}

.btn-view:hover {
  background: linear-gradient(135deg, #e63946, #dc2626);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
  text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
  }
  
  .news-image-wrapper {
    width: 100%;
    height: 300px;
  }
  
  .news-content {
    padding: 1.25rem;
  }
  
  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .news-title {
    font-size: 1rem;
    -webkit-line-clamp: 3;
  }
  
  .news-excerpt {
    font-size: 0.85rem;
    -webkit-line-clamp: 4;
  }
  
  .news-action {
    padding: 0 1.25rem 1.25rem;
    justify-content: center;
  }
  
  .btn-view {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .news-list {
    gap: 1rem;
  }
  
  .news-content {
    padding: 1rem;
  }
  
  .news-action {
    padding: 0 1rem 1rem;
  }
  
  .news-title {
    font-size: 0.95rem;
  }
  
  .news-excerpt {
    font-size: 0.8rem;
  }
}

/* Product Stats */
.product-stats {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 2rem 0;
  margin-top: 3rem;
  border-radius: 15px;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--dark-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Design for Products Section */
@media (max-width: 992px) {
  .modern-products-section {
    padding: 3rem 0;
  }
  
  .products-section-title h2 {
    font-size: 2rem;
  }
  
  .modern-product-card {
    margin-bottom: 2rem;
  }
  
  .product-image-wrapper {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .modern-products-section {
    padding: 2rem 0;
  }
  
  .products-section-title h2 {
    font-size: 1.8rem;
  }
  
  .products-section-subtitle {
    font-size: 1rem;
  }
  
  .product-content {
    padding: 1.5rem;
  }
  
  .product-title {
    font-size: 1.3rem;
  }
  
  .product-image-wrapper {
    height: 220px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .modern-product-card:hover {
    transform: translateY(-8px) scale(1.01);
  }
}

@media (max-width: 576px) {
  .products-section-title h2 {
    font-size: 1.6rem;
  }
  
  .product-content {
    padding: 1rem;
  }
  
  .product-badge {
    left: 1rem;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  
  .product-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .product-stats {
    margin-top: 2rem;
    padding: 1.5rem 0;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .overlay-icon {
    font-size: 2.5rem;
  }
}

/* 13. 打印样式 (Print Styles)
   ========================================================================== */
@media print {
  .navbar,
  .footer,
  .error-actions,
  .countdown-alert,
  .cta-buttons {
    display: none !important;
  }
  
  .error-page,
  .product-card,
  .advantage-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .company-hero,
  .application-scenarios,
  .cta-section {
    background: white !important;
    color: black !important;
  }
  
  #product-menu,
  .product-image-container {
    display: none !important;
  }
  
  .tab-content .tab-pane {
    display: block !important;
    opacity: 1 !important;
  }
}