/* ============================================
   凯迪科电子 - 高端企业官网样式
   ============================================ */

/* === CSS Variables === */
:root {
  --primary: #0066b3;
  --primary-dark: #004d87;
  --primary-light: #00a0e9;
  --accent: #f5a623;
  --accent-light: #ffc857;
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-light: #a0aec0;
  --bg-white: #ffffff;
  --bg-light: #f7fafc;
  --bg-gray: #edf2f7;
  --bg-dark: #0f172a;
  --bg-darker: #0a0f1a;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-primary: 0 10px 30px rgba(0, 102, 179, 0.25);
  --gradient-primary: linear-gradient(135deg, #0066b3 0%, #004d87 100%);
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #0f2847 50%, #1a3a5c 100%);
  --gradient-accent: linear-gradient(135deg, #f5a623 0%, #f7b733 100%);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, li {
  list-style: none;
}

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

/* === Layout === */
.wrap {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

/* === Section Title === */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.section-title .en {
  font-size: 14px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 500;
  margin-bottom: 20px;
}

.section-title .line {
  width: 50px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.section-title .line::before,
.section-title .line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--border-color);
  transform: translateY(-50%);
}

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

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 102, 179, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 179, 0.4);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

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

.btn-accent {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.45);
  color: #fff;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--border-color);
}

.header .top-bar {
  background: linear-gradient(90deg, #0a1628 0%, #0f2847 100%);
  padding: 8px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.header .top-bar .wrap {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: center;
}

.header .top-bar a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  position: relative;
}

.header .top-bar a:hover {
  color: #fff;
}

.header .top-bar a.lang-switch.active {
  color: var(--accent-light);
  font-weight: 600;
}

.header .top-bar a:first-child::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
}

.header .main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  transition: height var(--transition-base);
}

.header.scrolled .main-header {
  height: 72px;
}

.header .logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header .logo img {
  height: 48px;
  transition: height var(--transition-base);
}

.header.scrolled .logo img {
  height: 40px;
}

.header .logo-text {
  font-size: 22px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  position: relative;
}

.header .logo-text::after {
  content: 'KAIDIKE ELECTRONICS';
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-light);
  -webkit-text-fill-color: var(--text-light);
  letter-spacing: 2px;
  margin-top: 2px;
}

/* === Navigation === */
.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav > li {
  position: relative;
}

.nav > li > a {
  display: block;
  padding: 0 22px;
  line-height: 88px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  transition: all var(--transition-base);
}

.header.scrolled .nav > li > a {
  line-height: 72px;
}

.nav > li > a:hover {
  color: var(--primary);
}

.nav > li.on > a {
  color: var(--primary);
  font-weight: 600;
}

.nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 30px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav > li:hover > a::after,
.nav > li.on > a::after {
  transform: translateX(-50%) scaleX(1);
  width: 30px;
}

/* Dropdown menu */
.nav .dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  transform: translateY(10px);
  min-width: 200px;
  background: #fff;
  box-shadow: var(--shadow-xl);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 999;
  border-radius: var(--radius-md);
  border-top: 3px solid var(--primary);
  overflow: hidden;
}

.nav > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav .dropdown > a {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
  position: relative;
}

.nav .dropdown > a:hover {
  color: var(--primary);
  background: #f0f7ff;
  padding-left: 28px;
}

.nav .dropdown > a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--primary);
  transition: height var(--transition-fast);
}

.nav .dropdown > a:hover::before {
  height: 60%;
}

/* Multi-column dropdown */
.nav .dropdown.multi-col {
  display: flex;
  min-width: 700px;
  padding: 24px;
  gap: 40px;
  left: auto;
  right: 0;
  transform: translateY(10px);
}

.nav > li:hover .dropdown.multi-col {
  transform: translateY(0);
}

.nav .dropdown.multi-col .col {
  flex: 1;
}

.nav .dropdown.multi-col .col h4 {
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  position: relative;
}

.nav .dropdown.multi-col .col h4::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.nav .dropdown.multi-col .col a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.nav .dropdown.multi-col .col a:hover {
  color: var(--primary);
  background: none;
  padding-left: 8px;
}

.nav .dropdown.multi-col .col a::before {
  display: none;
}

/* ============================================
   Banner / Hero Section
   ============================================ */
.banner {
  position: relative;
  height: 680px;
  overflow: hidden;
  background: var(--gradient-hero);
  margin-top: 128px;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(0, 102, 179, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(245, 166, 35, 0.15) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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;
  z-index: 1;
  opacity: 0.5;
}

.banner .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner .slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(10, 22, 40, 0.85) 0%, rgba(15, 40, 71, 0.6) 50%, rgba(26, 58, 92, 0.3) 100%);
}

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

.banner .slide.active .slide-content h2,
.banner .slide.active .slide-content p,
.banner .slide.active .slide-content .btn {
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.banner .slide.active .slide-content h2 { animation-delay: 0.2s; }
.banner .slide.active .slide-content p { animation-delay: 0.4s; }
.banner .slide.active .slide-content .btn { animation-delay: 0.6s; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner .slide-content {
  position: absolute;
  top: 50%;
  left: 12%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 600px;
  z-index: 10;
}

.banner .slide-content .badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(245, 166, 35, 0.2);
  border: 1px solid rgba(245, 166, 35, 0.4);
  border-radius: 20px;
  font-size: 13px;
  color: var(--accent-light);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.banner .slide-content h2 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
}

.banner .slide-content p {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.8;
  opacity: 0.9;
  font-weight: 300;
  opacity: 0;
}

.banner .slide-content .btn {
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  opacity: 0;
}

.banner .slide-content .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.banner .slide-content .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: #fff;
  color: var(--primary-dark);
}

.banner .slide-content .btn-outline {
  margin-left: 16px;
}

/* Dots */
.banner .dots {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.banner .dots span {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.banner .dots span::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: 2px;
  transition: width 5s linear;
}

.banner .dots span.active {
  width: 60px;
  background: rgba(255, 255, 255, 0.3);
}

.banner .dots span.active::before {
  width: 100%;
}

/* Banner arrow buttons */
.banner .banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 10;
  opacity: 0;
}

.banner:hover .banner-arrow {
  opacity: 1;
}

.banner .banner-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.banner .banner-arrow.prev { left: 40px; }
.banner .banner-arrow.next { right: 40px; }

/* Scroll indicator */
.banner .scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   Product Categories
   ============================================ */
.product-cats {
  padding: 100px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.product-cats::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 179, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.product-cats .cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-cats .cat-item {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
  position: relative;
  cursor: pointer;
}

.product-cats .cat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
  z-index: 2;
}

.product-cats .cat-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.product-cats .cat-item:hover::before {
  transform: scaleX(1);
}

.product-cats .cat-item .cat-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.product-cats .cat-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-cats .cat-item:hover img {
  transform: scale(1.1);
}

.product-cats .cat-item .cat-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-cats .cat-item:hover .cat-img-wrapper::after {
  opacity: 1;
}

.product-cats .cat-item .cat-info {
  padding: 28px 24px;
  text-align: left;
  position: relative;
}

.product-cats .cat-item h3 {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 600;
  transition: color var(--transition-base);
}

.product-cats .cat-item:hover h3 {
  color: var(--primary);
}

.product-cats .cat-item .en {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-cats .cat-item .sub-cats {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 2;
}

.product-cats .cat-item .sub-cats span {
  display: inline-block;
  margin-right: 8px;
  position: relative;
  padding-right: 8px;
}

.product-cats .cat-item .sub-cats span::after {
  content: '·';
  position: absolute;
  right: -2px;
  color: var(--text-light);
}

.product-cats .cat-item .sub-cats span:last-child::after {
  display: none;
}

.product-cats .cat-item .cat-more {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  gap: 6px;
  transition: gap var(--transition-base);
}

.product-cats .cat-item:hover .cat-more {
  gap: 12px;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
  padding: 120px 0;
  background: #fff;
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 200px;
  background: var(--gradient-primary);
  border-radius: 0 4px 4px 0;
}

.about-section .about-content {
  display: flex;
  gap: 80px;
  align-items: center;
}

.about-section .about-text {
  flex: 1;
}

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

.about-section .about-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--primary);
  transform: translateY(-50%);
}

.about-section .about-text h2 {
  font-size: 42px;
  color: var(--text-primary);
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.about-section .about-text h2 span {
  color: var(--primary);
  position: relative;
}

.about-section .about-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 20px;
}

.about-section .about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 36px 0;
}

.about-section .about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.about-section .about-feature:hover {
  background: #f0f7ff;
  transform: translateX(5px);
}

.about-section .about-feature .feature-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.about-section .about-feature h4 {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-weight: 600;
}

.about-section .about-feature p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.about-section .about-text .btn {
  margin-top: 10px;
  padding: 14px 36px;
  border-radius: 50px;
}

.about-section .about-image {
  flex: 1;
  position: relative;
}

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

.about-section .about-image .img-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.3;
}

.about-section .about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-section .about-image .floating-card {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: #fff;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-section .about-image .floating-card .card-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
}

.about-section .about-image .floating-card .card-text h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.about-section .about-image .floating-card .card-text p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
  padding: 80px 0;
  background: var(--gradient-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 160, 233, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(245, 166, 35, 0.1) 0%, transparent 40%);
}

.stats-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.stats-section .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stats-section .stat-item {
  padding: 30px 20px;
  position: relative;
}

.stats-section .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

.stats-section .stat-item .number {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #a0d8ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stats-section .stat-item .number .suffix {
  font-size: 32px;
  -webkit-text-fill-color: var(--accent-light);
}

.stats-section .stat-item .label {
  font-size: 16px;
  opacity: 0.8;
  font-weight: 400;
  letter-spacing: 1px;
}

/* ============================================
   News Section
   ============================================ */
.news-section {
  padding: 100px 0;
  background: var(--bg-light);
}

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

.news-section .news-item {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.news-section .news-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.news-section .news-item .news-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.news-section .news-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-section .news-item:hover img {
  transform: scale(1.08);
}

.news-section .news-item .news-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: rgba(0, 102, 179, 0.9);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 500;
  z-index: 2;
}

.news-section .news-item .news-info {
  padding: 28px 24px;
}

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

.news-section .news-item .news-date::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.news-section .news-item h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.6;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-base);
}

.news-section .news-item:hover h3 {
  color: var(--primary);
}

.news-section .news-item .news-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.news-section .news-item .news-more {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  gap: 6px;
  transition: gap var(--transition-base);
}

.news-section .news-item:hover .news-more {
  gap: 12px;
}

.news-section .view-more {
  text-align: center;
  margin-top: 50px;
}

.news-section .view-more .btn {
  padding: 14px 48px;
  border-radius: 50px;
  font-size: 16px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-darker);
  color: var(--text-light);
  padding: 80px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer .footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 24px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 16px;
  color: var(--text-light);
}

.footer .footer-about .footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer .footer-about .footer-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer .footer-links li {
  margin-bottom: 12px;
}

.footer .footer-links a {
  color: var(--text-light);
  font-size: 14px;
  transition: all var(--transition-fast);
  position: relative;
  padding-left: 12px;
}

.footer .footer-links a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.footer .footer-links a:hover {
  color: #fff;
  padding-left: 16px;
}

.footer .footer-contact p {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer .footer-contact a {
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.footer .footer-contact a:hover {
  color: var(--primary-light);
}

.footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

.footer .footer-bottom .partners {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer .footer-bottom .partners a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0 10px;
}

.footer .footer-bottom .partners a:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -10px;
  color: rgba(255, 255, 255, 0.1);
}

.footer .footer-bottom .partners a:hover {
  color: #fff;
}

/* ============================================
   Side Contact Bar
   ============================================ */
.side-contact {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.side-contact a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 12px;
  font-size: 11px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
  min-width: 64px;
}

.side-contact a:last-child {
  border-bottom: none;
}

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

.side-contact a .icon {
  font-size: 20px;
  margin-bottom: 4px;
}

/* ============================================
   Content Layout (with sidebar)
   ============================================ */
.contentl-r {
  padding: 50px 0 80px;
}

.contentl-r .wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.sidemenu {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 140px;
}

.sidemenu .title {
  background: var(--gradient-primary);
  color: #fff;
  padding: 32px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
  overflow: hidden;
}

.sidemenu .title::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.sidemenu .title h2.tit {
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.sidemenu .title h2.en {
  font-size: 12px;
  font-weight: normal;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.sidemenu .menu {
  background: #fff;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sidemenu .menu > ul > li > a {
  display: block;
  padding: 16px 24px;
  font-size: 15px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--bg-gray);
  position: relative;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.sidemenu .menu > ul > li > a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform var(--transition-base);
}

.sidemenu .menu > ul > li > a::after {
  content: '+';
  position: absolute;
  right: 20px;
  color: var(--text-light);
  font-size: 16px;
  transition: all var(--transition-base);
}

.sidemenu .menu > ul > li > a:hover,
.sidemenu .menu > ul > li.on > a {
  color: var(--primary);
  background: #f8fbff;
  padding-left: 28px;
}

.sidemenu .menu > ul > li > a:hover::before,
.sidemenu .menu > ul > li.on > a::before {
  transform: scaleY(1);
}

.sidemenu .menu > ul > li.on > a::after {
  content: '−';
  color: var(--primary);
}

.sidemenu .menu .sub {
  display: none;
  background: #fafbfc;
}

.sidemenu .menu li.on .sub {
  display: block;
}

.sidemenu .menu .sub a {
  display: block;
  padding: 12px 24px 12px 44px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--bg-gray);
  transition: all var(--transition-fast);
  position: relative;
}

.sidemenu .menu .sub a::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-light);
  transform: translateY(-50%);
  transition: all var(--transition-fast);
}

.sidemenu .menu .sub a:hover,
.sidemenu .menu .sub a.on {
  color: var(--primary);
  background: #f0f7ff;
}

.sidemenu .menu .sub a:hover::before,
.sidemenu .menu .sub a.on::before {
  background: var(--primary);
  left: 26px;
  width: 10px;
  height: 10px;
}

.sidemenu .support {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.sidemenu .support h4 {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
}

.sidemenu .support p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.8;
}

.sidemenu .support a {
  color: var(--primary);
  font-weight: 500;
}

/* Right Content */
.r-content {
  flex: 1;
  min-width: 0;
}

/* Breadcrumbs */
.crumbs {
  padding: 0 0 20px;
  font-size: 13px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crumbs a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.crumbs span {
  color: var(--text-light);
}

/* Page Title */
.page-title {
  margin-bottom: 30px;
}

.page-title h2 {
  font-size: 28px;
  color: var(--text-primary);
  font-weight: 700;
}

/* ============================================
   Product Overview & Table
   ============================================ */
.product-overview {
  background: var(--bg-light);
  padding: 28px;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  line-height: 2;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.product-overview h4 {
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}

.tablebox {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.c-table {
  width: 100%;
  border-collapse: collapse;
}

.c-table th {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-size: 14px;
  white-space: nowrap;
}

.c-table td {
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 14px;
  background: #fff;
}

.c-table tbody tr:hover td {
  background: #f8fbff;
}

.c-table .model-link {
  color: var(--primary);
  font-weight: 500;
}

.c-table .model-link:hover {
  text-decoration: underline;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  background: #fff;
  transition: all var(--transition-fast);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 102, 179, 0.15);
}

.pagination .current {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 102, 179, 0.3);
}

/* ============================================
   Product Detail
   ============================================ */
.product-detail {
  padding: 20px 0;
}

.product-detail .detail-header {
  display: flex;
  gap: 50px;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.product-detail .detail-image {
  width: 420px;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 30px;
  background: var(--bg-light);
}

.product-detail .detail-image img {
  width: 100%;
  height: 340px;
  object-fit: contain;
}

.product-detail .detail-info {
  flex: 1;
}

.product-detail .detail-info h1 {
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.product-detail .detail-info .model {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 600;
}

.product-detail .detail-info .desc {
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 24px;
  font-size: 15px;
}

.product-detail .detail-section {
  margin-bottom: 40px;
}

.product-detail .detail-section h3 {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  font-weight: 600;
}

.product-detail .detail-section p,
.product-detail .detail-section li {
  color: var(--text-secondary);
  line-height: 2;
}

.product-detail .detail-section ul {
  padding-left: 20px;
}

.product-detail .detail-section li {
  list-style: disc;
  margin-bottom: 8px;
}

/* Spec Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-table th,
.spec-table td {
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.spec-table th {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  font-weight: 600;
  color: var(--text-primary);
  width: 180px;
}

.spec-table td {
  color: var(--text-secondary);
  background: #fff;
}

/* ============================================
   News List / Detail
   ============================================ */
.news-list .news-item {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.news-list .news-item:hover {
  padding-left: 10px;
}

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

.news-list .news-item img {
  width: 260px;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.news-list .news-item:hover img {
  transform: scale(1.03);
}

.news-list .news-item .news-body {
  flex: 1;
  min-width: 0;
}

.news-list .news-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.5;
}

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

.news-list .news-item .news-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
  display: flex;
  gap: 20px;
}

.news-list .news-item .news-summary {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-detail {
  padding: 20px 0;
}

.news-detail .article-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.news-detail .article-header h1 {
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.news-detail .article-meta {
  color: var(--text-light);
  font-size: 14px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

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

.news-detail .article-content img {
  max-width: 100%;
  margin: 30px auto;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.news-detail .article-nav {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.news-detail .article-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 45%;
}

.news-detail .article-nav a:hover {
  color: var(--primary);
}

/* ============================================
   About Page
   ============================================ */
.about-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  background: var(--bg-light);
  padding: 6px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.about-tabs a {
  padding: 12px 28px;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition-base);
}

.about-tabs a:hover {
  color: var(--primary);
}

.about-tabs a.active {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 102, 179, 0.3);
}

.about-content-section {
  padding: 20px 0;
  line-height: 2;
  color: var(--text-secondary);
  font-size: 15px;
}

.about-content-section h3 {
  font-size: 22px;
  color: var(--text-primary);
  margin: 30px 0 18px;
  font-weight: 600;
  padding-left: 16px;
  position: relative;
}

.about-content-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.about-content-section p {
  margin-bottom: 18px;
}

.about-content-section img {
  max-width: 100%;
  margin: 30px 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Timeline */
.timeline {
  position: relative;
  padding: 30px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
}

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

.timeline-item .year {
  width: 120px;
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  padding-right: 40px;
  position: relative;
}

.timeline-item .dot {
  position: absolute;
  left: 112px;
  top: 10px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(0, 102, 179, 0.15);
}

.timeline-item .content {
  flex: 1;
  padding-left: 50px;
  padding-top: 4px;
  background: var(--bg-light);
  padding: 24px 24px 24px 50px;
  border-radius: var(--radius-lg);
  margin-left: 30px;
  transition: all var(--transition-base);
}

.timeline-item:hover .content {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.timeline-item .content h4 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

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

/* Jobs */
.job-list .job-item {
  padding: 28px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  transition: all var(--transition-base);
  background: #fff;
}

.job-list .job-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(0, 102, 179, 0.12);
  transform: translateX(5px);
}

.job-list .job-item h3 {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.job-list .job-item .job-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
  display: flex;
  gap: 20px;
}

.job-list .job-item .job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-list .job-item .job-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-page {
  padding: 20px 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.contact-card {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient-primary);
  transition: height var(--transition-base);
}

.contact-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.contact-card:hover::before {
  height: 100%;
}

.contact-card h3 {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  display: inline-block;
  font-weight: 600;
}

.contact-card p {
  color: var(--text-secondary);
  line-height: 2.2;
  margin-bottom: 8px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-card a {
  color: var(--primary);
  transition: color var(--transition-fast);
}

.contact-card a:hover {
  color: var(--primary-dark);
}

.map-placeholder {
  height: 450px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 102, 179, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

/* ============================================
   Application / Equipment Grid
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card-item {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-slow);
  cursor: pointer;
}

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

.card-item .card-img-wrapper {
  overflow: hidden;
  height: 220px;
  position: relative;
}

.card-item .card-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.2) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card-item:hover .card-img-wrapper::after {
  opacity: 1;
}

.card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-item .card-body {
  padding: 24px;
}

.card-item h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 600;
  transition: color var(--transition-base);
}

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

.card-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   404 Page
   ============================================ */
.error-page {
  padding: 120px 0;
  text-align: center;
  margin-top: 88px;
}

.error-page h1 {
  font-size: 140px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1;
}

.error-page p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.error-page .btn {
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 16px;
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 110px;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 998;
  font-size: 18px;
  box-shadow: var(--shadow-primary);
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 102, 179, 0.4);
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 1300px) {
  .wrap {
    width: 100%;
    padding: 0 24px;
  }
}

@media (max-width: 1024px) {
  .product-cats .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-section .about-content {
    flex-direction: column;
    gap: 50px;
  }
  
  .stats-section .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .stats-section .stat-item:not(:last-child)::after {
    display: none;
  }
  
  .footer .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .card-grid,
  .news-section .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .banner {
    height: 500px;
  }
  
  .banner .slide-content h2 {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .header .main-header {
    height: 70px;
  }
  
  .header.scrolled .main-header {
    height: 60px;
  }
  
  .nav {
    display: none;
  }
  
  .banner {
    height: 400px;
    margin-top: 70px;
  }
  
  .banner .slide-content {
    left: 8%;
    max-width: 85%;
  }
  
  .banner .slide-content h2 {
    font-size: 32px;
  }
  
  .banner .slide-content p {
    font-size: 16px;
  }
  
  .banner .dots {
    bottom: 30px;
  }
  
  .banner .banner-arrow {
    display: none;
  }
  
  .product-cats,
  .news-section {
    padding: 60px 0;
  }
  
  .product-cats .cat-grid,
  .news-section .news-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .about-section {
    padding: 60px 0;
  }
  
  .about-section .about-text h2 {
    font-size: 30px;
  }
  
  .about-section .about-features {
    grid-template-columns: 1fr;
  }
  
  .stats-section .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-section .stat-item .number {
    font-size: 42px;
  }
  
  .footer {
    padding: 50px 0 0;
  }
  
  .footer .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
  }
  
  .contentl-r {
    padding: 30px 0 60px;
    margin-top: 70px;
  }
  
  .contentl-r .wrap {
    flex-direction: column;
  }
  
  .sidemenu {
    width: 100%;
    position: static;
  }
  
  .side-contact {
    display: none;
  }
  
  .back-to-top {
    right: 20px;
    bottom: 20px;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .news-list .news-item {
    flex-direction: column;
  }
  
  .news-list .news-item img {
    width: 100%;
    height: 220px;
  }
  
  .product-detail .detail-header {
    flex-direction: column;
  }
  
  .product-detail .detail-image {
    width: 100%;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item .year {
    width: 80px;
    font-size: 20px;
    padding-right: 30px;
  }
  
  .timeline-item .dot {
    left: 13px;
    width: 16px;
    height: 16px;
  }
  
  .timeline-item .content {
    padding: 20px;
    margin-left: 15px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .about-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  
  .about-tabs a {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ============================================
   Admin Login Page
   ============================================ */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0f1a 0%, #0d1b2a 50%, #0a1428 100%);
  position: relative;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
}

/* 背景光球 */
.admin-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: adminOrbFloat 8s ease-in-out infinite;
}

.admin-bg-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0066b3, transparent 70%);
  top: -150px;
  left: -100px;
}

.admin-bg-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #f5a623, transparent 70%);
  bottom: -100px;
  right: -50px;
  animation-delay: 4s;
}

@keyframes adminOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}

/* 背景网格 */
.admin-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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: 50px 50px;
  pointer-events: none;
}

/* 登录卡片 */
.admin-login-card {
  display: flex;
  width: 900px;
  max-width: 92%;
  min-height: 520px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

/* 左侧品牌区 */
.admin-login-brand {
  width: 45%;
  background: linear-gradient(135deg, #0066b3 0%, #004d87 60%, #003a66 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}

.admin-login-brand::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.15), transparent 70%);
  border-radius: 50%;
}

.admin-login-brand::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 160, 233, 0.2), transparent 70%);
  border-radius: 50%;
}

.admin-brand-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.admin-brand-logo {
  font-size: 48px;
  margin-bottom: 20px;
  display: inline-block;
  width: 90px;
  height: 90px;
  line-height: 90px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.admin-brand-content h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: 2px;
}

.admin-brand-en {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0;
}

.admin-brand-line {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #f5a623, transparent);
  margin: 20px auto;
  border-radius: 2px;
}

.admin-brand-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 2;
  margin-bottom: 30px;
}

.admin-brand-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-brand-features span {
  display: inline-block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

/* 右侧表单区 */
.admin-login-form-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 50px;
}

.admin-form-inner {
  width: 100%;
  max-width: 340px;
}

.admin-form-title {
  font-size: 26px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
}

.admin-form-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  margin-bottom: 35px;
}

.admin-error-msg {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-form-group {
  margin-bottom: 22px;
}

.admin-form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  font-weight: 500;
}

.admin-input-icon {
  font-size: 14px;
}

.admin-form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.admin-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.admin-form-group input:focus {
  border-color: #0066b3;
  background: rgba(0, 102, 179, 0.08);
  box-shadow: 0 0 0 4px rgba(0, 102, 179, 0.12);
}

.admin-login-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #0066b3, #004d87);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.admin-login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.admin-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 179, 0.4);
}

.admin-login-btn:hover::before {
  left: 100%;
}

.admin-btn-arrow {
  transition: transform 0.3s;
}

.admin-login-btn:hover .admin-btn-arrow {
  transform: translateX(6px);
}

.admin-hint {
  margin-top: 25px;
  padding: 12px 16px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: 10px;
  font-size: 12px;
  color: rgba(245, 166, 35, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  justify-content: center;
}

.admin-login-footer {
  margin-top: 30px;
  text-align: center;
}

.admin-login-footer a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.admin-login-footer a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Admin login responsive */
@media (max-width: 768px) {
  .admin-login-card {
    flex-direction: column;
    width: 92%;
    min-height: auto;
  }
  
  .admin-login-brand {
    width: 100%;
    padding: 35px 30px;
  }
  
  .admin-login-form-area {
    padding: 35px 30px;
  }
  
  .admin-brand-content h1 {
    font-size: 22px;
  }
  
  .admin-brand-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================
   Admin Dashboard Layout
   ============================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f0f2f5;
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
}

/* Sidebar */
.admin-sidebar {
  width: 240px;
  background: linear-gradient(180deg, #0a0f1a 0%, #0d1b2a 100%);
  color: #fff;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  overflow-y: auto;
}

.admin-sidebar .logo {
  padding: 24px 20px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, #0066b3, #004d87);
  letter-spacing: 1px;
}

.admin-nav {
  padding: 12px 0;
  flex: 1;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.admin-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.admin-nav a.active {
  color: #fff;
  background: rgba(0,102,179,0.15);
  border-left-color: #00a0e9;
}

.nav-group-title {
  padding: 20px 24px 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Main Content */
.admin-main {
  flex: 1;
  margin-left: 240px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-header {
  height: 64px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-header h1 {
  font-size: 18px;
  color: #1a1a2e;
  font-weight: 600;
  margin: 0;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #666;
}

.admin-user a {
  color: #0066b3;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  transition: all 0.2s;
}

.admin-user a:hover {
  background: #f5f5f5;
  border-color: #0066b3;
}

.admin-content {
  padding: 30px;
  flex: 1;
}

/* Stats Cards */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066b3, #00a0e9);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.stat-card .stat-number {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, #0066b3, #00a0e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.stat-card .stat-label {
  font-size: 14px;
  color: #999;
  font-weight: 500;
}

/* Admin Card */
.admin-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

.admin-card h2 {
  font-size: 18px;
  color: #1a1a2e;
  font-weight: 600;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f0f2f5;
}

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  color: #999;
  font-weight: 600;
  background: #f8f9fb;
  border-bottom: 1px solid #e8e8e8;
  white-space: nowrap;
}

.admin-table th:first-child {
  border-radius: 8px 0 0 8px;
}

.admin-table th:last-child {
  border-radius: 0 8px 8px 0;
}

.admin-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}

.admin-table tbody tr {
  transition: background 0.15s;
}

.admin-table tbody tr:hover {
  background: #f8fbff;
}

.admin-table .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Admin Buttons */
.admin-table .btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-primary {
  background: linear-gradient(135deg, #0066b3, #004d87);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,102,179,0.3);
}

.btn-danger {
  background: #ef4444;
  color: #fff;
}

.btn-danger:hover {
  background: #dc2626;
  box-shadow: 0 4px 12px rgba(239,68,68,0.3);
}

.btn-success {
  background: #22c55e;
  color: #fff;
}

/* Status badge */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.status-active {
  background: #dcfce7;
  color: #16a34a;
}

.status-inactive {
  background: #fee2e2;
  color: #dc2626;
}

/* Admin Forms */
.admin-form-group {
  margin-bottom: 20px;
}

.admin-form-group label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 500;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  transition: all 0.2s;
  outline: none;
  box-sizing: border-box;
  background: #fff;
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  border-color: #0066b3;
  box-shadow: 0 0 0 3px rgba(0,102,179,0.1);
}

.admin-form-group textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

/* Admin form actions */
.admin-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.admin-form-actions .btn {
  padding: 10px 28px;
  font-size: 14px;
  border-radius: 8px;
}

/* Admin list header */
.admin-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-list-header h2 {
  font-size: 18px;
  margin: 0;
  font-weight: 600;
  color: #1a1a2e;
}

/* Pagination */
.admin-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 24px;
}

.admin-pagination a,
.admin-pagination span {
  padding: 8px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
}

.admin-pagination a:hover {
  border-color: #0066b3;
  color: #0066b3;
}

.admin-pagination .current {
  background: linear-gradient(135deg, #0066b3, #004d87);
  color: #fff;
  border-color: transparent;
}

/* Admin responsive */
@media (max-width: 1024px) {
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .admin-sidebar {
    width: 60px;
  }
  
  .admin-sidebar .logo {
    font-size: 12px;
    padding: 16px 8px;
  }
  
  .admin-nav a {
    padding: 12px 8px;
    font-size: 0;
  }
  
  .admin-nav a::first-letter {
    font-size: 18px;
  }
  
  .nav-group-title {
    display: none;
  }
  
  .admin-main {
    margin-left: 60px;
  }
  
  .admin-stats {
    grid-template-columns: 1fr;
  }
  
  .admin-content {
    padding: 16px;
  }
  
  .admin-table {
    font-size: 12px;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 8px;
  }
}

/* ============================================
   Enhanced Scroll Animations
   ============================================ */

/* Base animation state - hidden */
.anim-base {
  opacity: 0;
  will-change: opacity, transform;
}

/* Fade Up */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-fade-up.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from Left */
.anim-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-slide-left.anim-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from Right */
.anim-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-slide-right.anim-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale In */
.anim-scale-in {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.anim-scale-in.anim-visible {
  opacity: 1;
  transform: scale(1);
}

/* Keep old fade-in class working */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Header Hide/Show on Scroll
   ============================================ */
.header {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, height 0.3s ease;
}

.header.nav-hidden {
  transform: translateY(-100%);
}

/* ============================================
   Scroll Progress Bar
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 10000;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0066b3, #00a0e9, #f5a623);
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(0, 102, 179, 0.5);
}

/* ============================================
   Enhanced Hover Effects
   ============================================ */

/* Card 3D tilt effect */
.cat-item {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.cat-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* News item enhanced hover */
.news-item {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.news-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Card item enhanced hover */
.card-item {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.card-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 102, 179, 0.15);
}

/* Contact card enhanced hover */
.contact-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

/* Timeline item enhanced hover */
.timeline-item .content {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

/* ============================================
   Banner Slide Enhanced Animation
   ============================================ */
.banner .slide {
  transition: opacity 1s ease-in-out;
}

.banner .slide .slide-content > * {
  animation: slideContentIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.banner .slide .slide-content .badge {
  animation-delay: 0.2s;
}

.banner .slide .slide-content h2 {
  animation-delay: 0.4s;
}

.banner .slide .slide-content p {
  animation-delay: 0.6s;
}

.banner .slide .slide-content .btn {
  animation-delay: 0.8s;
}

@keyframes slideContentIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Floating Animation
   ============================================ */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.about-section .floating-card {
  animation: floatY 4s ease-in-out infinite;
}

/* ============================================
   Section Title Enhanced Animation
   ============================================ */
.section-title .line {
  position: relative;
  overflow: hidden;
}

.section-title.anim-visible .line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: lineShine 1.5s ease-out;
}

@keyframes lineShine {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

/* ============================================
   Glow Pulse for Stats
   ============================================ */
.stat-item {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-item:hover {
  transform: scale(1.08);
}

.stat-item .number {
  transition: text-shadow 0.3s;
}

.stat-item:hover .number {
  text-shadow: 0 0 20px rgba(0, 102, 179, 0.3);
}

/* ============================================
   Smooth Page Load
   ============================================ */
@keyframes pageLoadIn {
  from {
    opacity: 0.01;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: pageLoadIn 0.4s ease-out;
}

/* Prevent white flash during page transition */
html {
  background: #fff;
}

/* ============================================
   Back to Top Enhanced
   ============================================ */
.back-to-top {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.back-to-top:hover {
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 102, 179, 0.5);
}

/* ============================================
   Nav Link Underline Animation
   ============================================ */
.nav > li > a::after {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================
   Dropdown Menu Enhanced Animation
   ============================================ */
.nav > li:hover .dropdown {
  animation: dropdownIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes dropdownIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Side Contact Bar Hover
   ============================================ */
.side-contact a {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.side-contact a:hover {
  transform: translateX(-8px);
}

/* ============================================
   Button Shine Effect
   ============================================ */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* ============================================
   Section Reveal Mask
   ============================================ */
.section-title {
  position: relative;
}

.section-title.anim-visible h2 {
  animation: textReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes textReveal {
  from {
    opacity: 0;
    letter-spacing: 10px;
    filter: blur(5px);
  }
  to {
    opacity: 1;
    letter-spacing: normal;
    filter: blur(0);
  }
}

/* ============================================
   Product/Table Row Hover
   ============================================ */
.c-table tbody tr {
  transition: background 0.2s, transform 0.2s;
}

.c-table tbody tr:hover {
  background: #f0f7ff;
  transform: translateX(4px);
}

/* ============================================
   Image Zoom on Hover
   ============================================ */
.cat-img-wrapper, .news-img-wrapper, .card-img-wrapper {
  overflow: hidden;
}

.cat-img-wrapper img, .news-img-wrapper img, .card-img-wrapper img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-item:hover .cat-img-wrapper img,
.news-item:hover .news-img-wrapper img,
.card-item:hover .card-img-wrapper img {
  transform: scale(1.15);
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  
  .anim-base {
    opacity: 1;
    transform: none;
  }
}
