﻿/* ========================================
   DWIN Enterprise Website - Global Styles
   ======================================== */

/* CSS Variables */
:root {
  --primary: #5da5ca;
  --primary-dark: #4a8db0;
  --primary-light: #7db8d9;
  --accent: #e8b638;
  --accent-hover: #d4a530;
  --text: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --max-width: 1280px;
  --header-height: 72px;
}

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

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

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}

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

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

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.lang-btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light);
}

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

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: white;
  box-shadow: var(--shadow);
  padding: 20px 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav-mobile .nav-link {
  font-size: 1.1rem;
  padding: 8px 0;
}

.nav-mobile .lang-switcher {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
  margin-top: 8px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  color: white;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232, 182, 56, 0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

/* ========================================
   Section Common Styles
   ======================================== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================================
   Services Grid
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.75;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link:hover {
  gap: 8px;
  color: var(--primary-dark);
}

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

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.product-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: var(--bg-light);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.product-desc p {
  margin-bottom: 6px;
}

.product-desc p:last-child {
  margin-bottom: 0;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.about-content .section-title::after {
  margin: 12px 0 0;
}

.about-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.about-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(93, 165, 202, 0.3);
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-light);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  display: block;
}

/* ========================================
   Accordion
   ======================================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

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

.accordion-item.open {
  box-shadow: var(--shadow-hover);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--bg-light);
}

.accordion-item.open .accordion-header {
  border-bottom: 1px solid var(--border);
}

.accordion-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}

.accordion-item.open .accordion-body {
  grid-template-rows: 1fr;
}

.accordion-body-inner {
  overflow: hidden;
}

.accordion-content {
  padding: 16px 24px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease 0.1s, transform 0.35s cubic-bezier(0.32, 0.72, 0, 1) 0.1s;
}

.accordion-item.open .accordion-content {
  opacity: 1;
  transform: translateY(0);
}

.accordion-content:first-child {
  padding-top: 20px;
}

.accordion-content:last-child {
  padding-bottom: 20px;
}

/* ========================================
   Process Steps
   ======================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

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

.process-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 12px;
}

.process-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.process-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.stat-num {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 8px;
  word-break: break-word;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.stat-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.75;
}

/* ========================================
   Why Choose
   ======================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  text-align: center;
  padding: 40px 24px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.why-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.why-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.75;
}

.why-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.why-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================================
   Numbers Grid (Dwin in Numbers)
   ======================================== */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.number-card {
  background: rgba(93, 165, 202, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

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

.number-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.number-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.75;
}

.number-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 8px;
}

.number-label {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ========================================
   Services Page Specific
   ======================================== */
.process-steps-large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-large {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}

.step-large:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.step-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-item {
  font-size: 0.95rem;
  color: var(--text-light);
  padding-left: 20px;
  position: relative;
}

.step-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 50%;
}

/* Process Flow Loop Diagram */
.process-flow-loop {
  margin: 40px 0;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow-loop-svg {
  width: 100%;
  height: auto;
}

/* OEM Features */
.oem-section-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.oem-section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.oem-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.oem-feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition);
}

.oem-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.oem-feature-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.oem-feature-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.oem-feature-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
}

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

.logistic-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
}

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

.logistic-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--bg-light);
}

.logistic-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.logistic-icon {
  margin-bottom: 16px;
  color: var(--primary);
}

.logistic-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.75;
}

.logistic-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
  padding: 20px 24px 0;
}

.logistic-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 24px 20px;
}

.logistic-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   Factory Show
   ======================================== */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.factory-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  aspect-ratio: 4 / 3;
}

.factory-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.factory-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   Supply Sources Grid (2x2)
   ======================================== */
.supply-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.supply-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.supply-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.supply-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.75;
}

.supply-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

/* ========================================
   Shipping Plan Cards (2x2 with images)
   ======================================== */
.shipping-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.shipping-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.shipping-card-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--bg-light);
}

.shipping-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.shipping-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
  padding: 24px 28px 0;
}

.shipping-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 28px 24px;
}

.shipping-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card-large {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

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

.contact-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.75;
}

.contact-card-label {
  font-size: 0.85rem;
  color: var(--text-lighter);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-card-value {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

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

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

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

.info-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.info-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 12px;
}

.info-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

.info-label {
  font-size: 0.85rem;
  color: var(--text-lighter);
  margin-bottom: 4px;
}

.info-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #2c3e50;
  color: #e0e6ed;
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-brand .logo-icon {
  background: var(--accent);
  color: var(--text);
}

.footer-brand .logo-img {
  height: 72px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.95rem;
  opacity: 0.65;
  line-height: 1.7;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.95rem;
  opacity: 0.6;
  transition: var(--transition);
}

.footer-link:hover {
  opacity: 1;
  color: var(--primary-light);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  opacity: 0.7;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.5;
}

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

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

/* Page Entry Animations */
.page-loaded .page-header {
  animation: fadeInUp 0.8s ease;
}

.page-loaded .page-header-title {
  animation: fadeInUp 0.8s ease 0.15s both;
}

.page-loaded .page-header-subtitle {
  animation: fadeInUp 0.8s ease 0.3s both;
}

.page-loaded .hero-title {
  animation: fadeInUp 0.8s ease;
}

.page-loaded .hero-subtitle {
  animation: fadeInUp 0.8s ease 0.2s both;
}

.page-loaded .hero-cta {
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* Scroll Reveal Animations */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.92);
}

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Staggered children animation */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 480ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 560ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(9) { transition-delay: 640ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(10) { transition-delay: 720ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(11) { transition-delay: 800ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(12) { transition-delay: 880ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(n+13) { opacity: 1; transform: translateY(0); }

/* ========================================
   Page Header (for inner pages)
   ======================================== */
.page-header {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  text-align: center;
}

.page-header-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header-subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Clients / Cases
   ======================================== */
.client-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.client-type {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.client-type-icon {
  margin-bottom: 8px;
  color: var(--primary);
}

.client-type-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.75;
}

.client-type-label {
  font-size: 0.9rem;
  font-weight: 500;
}

.quote-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.quote-box::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
  position: absolute;
  top: 10px;
  left: 20px;
}

.quote-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================================
   Sourcing Coverage
   ======================================== */
.coverage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.coverage-map-wrapper {
  position: relative;
}

.coverage-map-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
}

.coverage-map-img {
  width: 100%;
  height: auto;
  display: block;
}

/* China map province dots */
.china-dot {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.china-dot-tier1 {
  width: 14px;
  height: 14px;
  background: #dc2626;
  border: 2.5px solid white;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
  animation: pulse-core 2s ease-in-out infinite;
}

.china-dot-tier2 {
  width: 10px;
  height: 10px;
  background: #f59e0b;
  border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3);
}

/* Coverage text content */
.coverage-info {
  padding: 10px 0;
}

.coverage-big-num {
  font-size: 3rem;
  font-weight: 800;
  color: #dc2626;
  line-height: 1.1;
}

.coverage-big-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.coverage-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.coverage-categories-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.coverage-categories {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Coverage legend */
.coverage-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coverage-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coverage-legend-dot {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.coverage-legend-dot-1 {
  width: 14px;
  height: 14px;
  background: #dc2626;
}

.coverage-legend-dot-2 {
  width: 14px;
  height: 14px;
  background: #5e5e5e;
}

.coverage-legend-dot-3 {
  width: 14px;
  height: 14px;
  background: #cac9c9;
}

.coverage-legend-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  min-width: 38px;
}

.coverage-legend-text {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========================================
   Markets We Serve
   ======================================== */
.markets-map-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.markets-map-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
}

.markets-map-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Fill areas for core markets */
.map-fill {
  position: absolute;
  background: rgba(220, 38, 38, 0.10);
  pointer-events: none;
  z-index: 1;
}

.map-fill-europe {
  left: 42.5%;
  top: 36%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.map-fill-south-america {
  left: 27.5%;
  top: 69%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

/* Map dots */
.map-dot {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.map-dot-core {
  width: 10px;
  height: 10px;
  background: #dc2626;
  border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.3);
  animation: pulse-core 2s ease-in-out infinite;
}

.map-dot-secondary {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border: 1.5px solid white;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
}

.map-dot-niche {
  width: 6px;
  height: 6px;
  background: #f87171;
  border: 1px solid white;
  box-shadow: 0 0 0 1.5px rgba(248, 113, 113, 0.2);
}

@keyframes pulse-core {
  0%, 100% { box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.08); }
}

/* On-map region labels */
.map-label {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  z-index: 5;
  transform: translateY(-50%);
}

.map-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  border: 1.5px solid white;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.label-dot-core { background: #dc2626; }
.label-dot-secondary { background: #ef4444; }
.label-dot-niche { background: #f87171; }

.map-label-content {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 6px 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.map-label-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.map-label-countries {
  font-size: 0.7rem;
  color: var(--text-light);
  line-height: 1.3;
  margin-top: 1px;
}

/* Map legend */
.map-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.legend-dot {
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.legend-dot-core {
  width: 10px;
  height: 10px;
  background: #dc2626;
}

.legend-dot-secondary {
  width: 8px;
  height: 8px;
  background: #ef4444;
}

.legend-dot-niche {
  width: 6px;
  height: 6px;
  background: #f87171;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .services-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps-large {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-flow-loop {
    margin: 32px 0;
    padding: 16px 0;
  }

  .oem-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logistic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .factory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid,
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-types {
    grid-template-columns: repeat(2, 1fr);
  }

  .coverage-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .coverage-big-num {
    font-size: 2.4rem;
  }

  .map-label-content {
    padding: 4px 8px;
  }

  .map-label-name {
    font-size: 0.72rem;
  }

  .map-label-countries {
    font-size: 0.62rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .services-grid,
  .products-grid,
  .stats-grid,
  .why-grid,
  .numbers-grid,
  .process-grid,
  .process-steps-large,
  .oem-features-grid,
  .logistic-grid,
  .factory-grid,
  .supply-grid,
  .shipping-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .process-flow-loop {
    margin: 24px 0;
    padding: 12px 0;
  }

  .contact-grid,
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .client-types {
    grid-template-columns: 1fr;
  }

  .map-label {
    display: none;
  }

  .map-legend {
    gap: 12px;
  }

  .legend-item {
    font-size: 0.78rem;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }

  .page-header {
    padding: 120px 0 60px;
  }

  .page-header-title {
    font-size: 2rem;
  }

  .lang-switcher {
    margin-left: auto;
    padding-left: 0;
    border-left: none;
  }

  .quote-box {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-cta {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .stat-num {
    font-size: 1.1rem;
  }

  .step-num {
    font-size: 1.5rem;
  }
}
