/* Modern Business Style - DALON 2025 */
:root {
  /* 新的现代颜色方案 */
  --primary-color: #6366f1;        /* 现代紫色 */
  --primary-dark: #4f46e5;         /* 深紫色 */
  --primary-light: #a5b4fc;        /* 浅紫色 */
  --secondary-color: #0f172a;      /* 深蓝灰色 */
  --secondary-light: #1e293b;      /* 中蓝灰色 */
  --accent-color: #10b981;         /* 翠绿色 */
  --accent-orange: #f59e0b;        /* 现代橙色 */
  --text-primary: #1e293b;         /* 主要文字颜色 */
  --text-secondary: #64748b;       /* 次要文字颜色 */
  --text-light: #94a3b8;           /* 浅色文字 */
  --bg-primary: #ffffff;           /* 白色背景 */
  --bg-secondary: #f8fafc;         /* 浅灰背景 */
  --bg-dark: #0f172a;              /* 深色背景 */
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --bg-hero: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  --border-color: #e2e8f0;         /* 边框颜色 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Hero背景图片透明度控制 */
  --hero-bg-opacity: 0.15;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Header Bar */
.top-header {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--secondary-light);
}

.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.top-header .header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.top-header .logo a {
  transition: all 0.3s ease;
}

.top-header .logo a:hover {
  transform: scale(1.02);
}

.top-header .logo span {
  background: linear-gradient(135deg, #a5b4fc 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.top-header.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

.contact-info span:hover {
  color: var(--primary-light);
}

.contact-info i {
  font-size: 0.875rem;
  opacity: 0.8;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-selector a {
  color: inherit;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-selector a:hover,
.language-selector a.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

/* Main Header - Now simplified sticky header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-dark);
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--secondary-light);
}

.main-header.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

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

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

/* Hero Section - 全新设计 */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* 底部轮换背景图片层 - 使用多层实现平滑过渡 */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  --current-bg-image: url('/images/slider/dalon-workshop-01.webp');
}

/* 主要轮换背景 - 使用CSS动画 */
.hero-background {
  background-size: cover;
  background-position: center;
  opacity: var(--hero-bg-opacity);
  animation: heroBackgroundSlideMain 20s infinite;
}

/* 备用方案：如果CSS动画不支持，使用JavaScript控制 */
.hero-background.fallback {
  background-image: var(--current-bg-image);
  transition: background-image 1s ease-in-out;
  animation: none;
}

@keyframes heroBackgroundSlideMain {
  0%, 24% {
    background-image: url('/images/slider/application-01-desktop.webp');
  }
  25%, 49% {
    background-image: url('/images/slider/application-02-desktop.webp');
  }
  50%, 74% {
    background-image: url('/images/slider/application-03-desktop.webp');
  }
  75%, 100% {
    background-image: url('/images/slider/application-04-desktop.webp');
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.6) 50%, rgba(71, 85, 105, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  color: white;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  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.2), transparent);
  transition: left 0.5s;
}

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

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

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Search Box in Hero */
.search-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-box h2 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.search-input-wrapper {
  position: relative;
  max-width: 100%;
  display: flex;
  align-items: stretch;
}

.search-input-container {
  position: relative;
  flex: 1;
  display: flex;
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.2);
}

.input-group button {
  background: var(--accent-color);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.input-group button:hover {
  background: #059669;
  border-color: #059669;
  transform: translateY(-1px);
}

.input-group button i {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .input-group button {
    width: 100px;
    font-size: 0.9rem;
  }
  
  .input-group button i {
    font-size: 0.8rem;
  }
}

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

.hero-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-visual::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.1;
  right: 0;
  animation: float 4s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--bg-secondary);
  position: relative;
}

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

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: block;
  transition: transform 0.3s ease;
}

.feature-card:hover i {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Products Section */
.products {
  padding: 6rem 0;
  background: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  group: hover;
}

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

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-secondary);
}

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

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

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.product-info p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.category-tag {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.product-actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Trust Section */
.trust-section {
  padding: 6rem 0;
  background: var(--bg-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.trust-overlay {
  position: relative;
  z-index: 2;
}

.trust-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.trust-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-card h3 i {
  color: var(--accent-color);
}

.trust-card p {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.trust-actions {
  margin-top: auto;
}

.trust-actions .btn {
  background: var(--accent-color);
  color: white;
  width: 100%;
  justify-content: center;
}

.trust-actions .btn:hover {
  background: #059669;
}

/* Customer Feedback Section */
.customer-feedback {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.testimonial-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: serif;
}

.customer-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.profile-info h4 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.profile-info span {
  color: var(--primary-color);
  font-weight: 500;
}

.testimonial-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
  bottom: -3rem;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.5;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  opacity: 1;
  transform: scale(1.2);
}

/* Get Started Section */
.get-started-section {
  padding: 6rem 0;
  background: var(--bg-gradient);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.get-started-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.get-started-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.get-started-section p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.get-started-section .btn {
  background: white;
  color: var(--primary-color);
  padding: 1rem 3rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.get-started-section .btn:hover {
  background: #f8fafc;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: white;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--secondary-light);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  color: #cbd5e1;
}

.footer-right {
  display: flex;
  gap: 2rem;
}

.footer-right a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* 图片预加载优化 */
.hero-background::before {
  background-image: 
    url('/images/slider/application-01-desktop.webp'),
    url('/images/slider/application-02-desktop.webp');
}

.hero-background::after {
  background-image: 
    url('/images/slider/application-03-desktop.webp'),
    url('/images/slider/application-04-desktop.webp');
}

/* 优雅降级 - 当不支持动画时显示静态背景 */
@media (prefers-reduced-motion: reduce) {
  .hero-background::before,
  .hero-background::after {
    animation: none;
  }
  
  .hero-background::before {
    background-image: url('/images/slider/application-01-desktop.webp');
    opacity: var(--hero-bg-opacity);
  }
  
  .hero-background::after {
    display: none;
  }
}

/* 移动端背景图片动画 */
@media (max-width: 768px) {
  @keyframes heroBackgroundSlideMain {
    0%, 24% {
      background-image: url('/images/slider/application-01-mobile.webp');
    }
    25%, 49% {
      background-image: url('/images/slider/application-02-mobile.webp');
    }
    50%, 74% {
      background-image: url('/images/slider/application-03-mobile.webp');
    }
    75%, 100% {
      background-image: url('/images/slider/application-04-mobile.webp');
    }
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .top-header .container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .top-header .header-left {
    order: 1;
    width: 100%;
    justify-content: space-between;
  }
  
  .contact-info {
    order: 2;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
  }
  
  .language-selector {
    order: 3;
    justify-content: center;
  }
  
  .top-header .logo span {
    font-size: 1.25rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero {
    min-height: 80vh;
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.125rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .features,
  .products,
  .trust-section,
  .customer-feedback,
  .get-started-section {
    padding: 4rem 0;
  }
  
  .feature-card,
  .product-card {
    padding: 2rem;
  }
  
  .trust-section .row {
    gap: 2rem;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 1rem;
  }
  
  .language-selector {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .feature-card,
  .product-card,
  .trust-card {
    padding: 1.5rem;
  }
  
  .testimonial-content {
    padding: 2rem 1rem;
  }
  
  .search-box {
    padding: 1.5rem;
  }
}

/* Header left and mobile menu styles */
.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.menu-btn:hover {
  background: var(--bg-secondary);
  color: var(--primary-color);
}

.menu-icon {
  font-size: 1.5rem;
}

.menu-text {
  font-size: 0.875rem;
  font-weight: 500;
  margin-left: 0.5rem;
}

/* Side Menu */
.side-menu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.side-menu-wrapper.active {
  visibility: visible;
  opacity: 1;
}

.side-menu {
  position: absolute;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100%;
  background: white;
  box-shadow: var(--shadow-xl);
  transition: right 0.3s ease;
  overflow-y: auto;
  z-index: 10000;
}

.side-menu-wrapper.active .side-menu {
  right: 0;
}

.side-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.side-menu-wrapper.active .side-menu-overlay {
  opacity: 1;
}

.side-menu-header {
  padding: 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
}

.close-menu {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.close-menu:hover {
  background: var(--primary-color);
  color: white;
}

.side-menu-content {
  padding: 2rem 0;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  border-bottom: 1px solid var(--border-color);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-link {
  display: block;
  padding: 1rem 2rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

.menu-link:hover {
  background: var(--bg-secondary);
  color: var(--primary-color);
  padding-left: 2.5rem;
}

.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--bg-secondary);
  display: none;
  border-top: 1px solid var(--border-color);
}

.submenu li {
  border-bottom: 1px solid var(--border-color);
}

.submenu li:last-child {
  border-bottom: none;
}

.submenu a {
  display: block;
  padding: 0.75rem 3rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

.submenu a::before {
  content: '→';
  position: absolute;
  left: 2.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.submenu a:hover {
  background: white;
  color: var(--primary-color);
  padding-left: 3.5rem;
}

.submenu a:hover::before {
  opacity: 1;
}

.has-submenu > .menu-link::after {
  content: '+';
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.has-submenu.active > .menu-link::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--primary-color);
}

.no-scroll {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

@media (max-width: 768px) {
  .menu-btn {
    display: flex;
    align-items: center;
  }
  
  .menu-text {
    display: none;
  }
  
  .side-menu {
    width: 280px;
  }
  
  .side-menu-wrapper.active .side-menu {
    right: 0;
  }
}

/* Scrollbar Styling */
.side-menu::-webkit-scrollbar {
  width: 6px;
}

.side-menu::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

.side-menu::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.side-menu::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

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

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.6s ease-out;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.shadow-hover {
  transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
  box-shadow: var(--shadow-xl);
}

/* 桌面端 */
@media (min-width: 1200px) {
  .hero-background {
    background-image: url('/images/slider/application-01-desktop.webp');
  }
}
