/* ========================================
   Zhengzhou Meiyihua Chemical - Main Styles
   ======================================== */

/* --- CSS Variables --- */
:root {
  --color-primary: #1B2A4A;
  --color-primary-light: #2a3f6b;
  --color-accent: #E8850C;
  --color-accent-hover: #d4780a;
  --color-bg: #F4F6F9;
  --color-bg-alt: #EBF0F7;
  --color-text: #2D3748;
  --color-text-light: #5A6577;
  --color-white: #FFFFFF;
  --color-border: #D8DEE8;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(27, 42, 74, 0.08);
  --shadow-md: 0 4px 12px rgba(27, 42, 74, 0.1);
  --shadow-lg: 0 8px 30px rgba(27, 42, 74, 0.12);
  --radius: 6px;
  --radius-lg: 8px;
  --transition: 0.3s ease;
  --container-width: 1400px;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-family);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  padding: 0 10px;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 133, 12, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  color: var(--color-white);
  transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
  color: var(--color-primary);
}

.logo-text {
  font-weight: 500;
  letter-spacing: -0.01em;
}

.logo-text strong {
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link {
  color: var(--color-text);
}

.navbar.scrolled .nav-link:hover {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

.nav-link-cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 8px 20px;
  margin-left: 8px;
}

.nav-link-cta:hover {
  background: var(--color-accent-hover) !important;
  transform: translateY(-1px);
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--color-bg);
  color: var(--color-primary);
  padding-left: 24px;
}

.dropdown-item-all {
  color: var(--color-accent);
  font-weight: 600;
}

.dropdown-item-all:hover {
  color: var(--color-accent-hover);
  background: rgba(232, 133, 12, 0.05);
}

.dropdown-divider {
  height: 1px;
  background: var(--color-border);
  margin: 8px 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--color-primary);
}



/* ===== 语言切换样式 START ===== */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* 滚动后导航栏变白时的样式 */
.navbar.scrolled .lang-btn {
  border-color: #e2e8f0;
  color: #2d3748;
}

.navbar.scrolled .lang-btn:hover {
  border-color: #e8850c;
  color: #e8850c;
  background: #f7fafc;
}

.lang-arrow {
  transition: transform 0.3s ease;
}

.lang-switcher:hover .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  /*top: calc(100% + 8px);*/
  right: 0;
  /*background: #fff;*/
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  overflow: hidden;
  pointer-events: none;
  padding-top: 10px;
}

/* 鼠标悬停显示下拉菜单 */
.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #2d3748;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #fff;
}

.lang-option:hover {
  background: #f7fafc;
  color: #e8850c;
}

.lang-option.active {
  background: #e8850c;
  color: #fff;
}

.lang-option.active:hover {
  background: #c9700a;
  color: #fff;
}

.lang-flag {
  font-size: 16px;
}
.lang-flag img{width:35px;}
/* ===== 语言切换样式 END ===== */

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("/template/default/images/b2.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  /*background: var(--color-primary);*/
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(232, 133, 12, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232, 133, 12, 0.04) 0%, transparent 50%);
  z-index: 0;
}

/* Hero Slider (Swiper) */
.hero-swiper {
  width: 100%;
  height: 100%;
  min-height: 100vh;
}

.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

/* Hero Indicators (Swiper Pagination) */
.hero-swiper .swiper-pagination {
  bottom: 80px !important;
}

.hero-swiper .swiper-pagination-bullet {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all var(--transition);
  margin: 0 6px !important;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--color-accent);
  width: 48px;
}

/* Hero Arrows (Swiper Navigation) */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-white);
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(232, 133, 12, 0.3);
  border-radius: 4px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-highlight {
  color: var(--color-accent);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

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

/* Hero Product Showcase */
.hero-product-showcase {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-product-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-product-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.hero-product-main .main-img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-color);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-product-side {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.hero-product-thumb {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hero-product-thumb:hover {
  transform: translateY(-4px);
}

.hero-product-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

.hero-product-showcase .hero-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: auto;
  max-width: none;
  aspect-ratio: auto;
}

.hero-product-showcase .hero-badge {
  margin: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-grid {
  width: 100%;
  height: 100%;
  animation: float 6s ease-in-out infinite;
}

.hex-svg {
  width: 100%;
  height: 100%;
}

.hero-badge {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: var(--radius);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.3; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 0.8; }
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 100%;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  background: var(--color-white);
}

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

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

.about-text strong {
  color: var(--color-primary);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.03) 0%, rgba(232, 133, 12, 0.05) 100%);
  border: 1px solid rgba(27, 42, 74, 0.12);
  box-shadow: 0 2px 8px rgba(27, 42, 74, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.highlight-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a4a7f 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.highlight-item > * {
  position: relative;
  z-index: 1;
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.15), 0 2px 8px rgba(232, 133, 12, 0.1);
  border-color: transparent;
  color: #fff;
}

.highlight-item:hover::before {
  opacity: 1;
}

.highlight-item:hover svg {
  stroke: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.highlight-item svg {
  flex-shrink: 0;
  padding: 6px;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.08) 0%, rgba(232, 133, 12, 0.1) 100%);
  border-radius: 8px;
  transition: all 0.35s ease;
}

.about-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2d4a7a 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.2);
}

.about-learn-more:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(27, 42, 74, 0.3);
  background: linear-gradient(135deg, #2d4a7a 0%, var(--color-primary) 100%);
}

.about-learn-more svg {
  transition: transform 0.3s ease;
}

.about-learn-more:hover svg {
  transform: translateX(4px);
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-company-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.about-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.about-icon-item:hover .icon-circle {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-icon-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products {
  background: var(--color-bg);
}

.product-category {
  margin-bottom: 60px;
}

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

.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-border);
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(232, 133, 12, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
}

.category-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

/* Product Image Grid */
.product-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-image-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.product-image-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 133, 12, 0.3);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg);
}

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

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

.product-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 42, 74, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.product-image-info {
  padding: 24px;
}

.product-image-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.product-image-info p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-bg-alt);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* ========================================
   ADVANTAGES SECTION
   ======================================== */
.advantages {
  background: var(--color-white);
}

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

.advantage-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 133, 12, 0.2);
}

.advantage-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.06;
  line-height: 1;
}

.advantage-icon {
  margin-bottom: 20px;
}

.advantage-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  background: var(--color-bg);
}

.services-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
}

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

.service-step {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.service-icon {
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.service-connector {
  width: 40px;
  height: 2px;
  background: var(--color-border);
  margin-top: 80px;
  flex-shrink: 0;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  background: var(--color-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 16px;
  margin-top: 12px;
}

.contact-desc {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(232, 133, 12, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--color-border);
}

.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: var(--font-family);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 133, 12, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A6577' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-primary);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

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

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

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

/* ========================================
   PAGE HERO (内页通用Banner)
   ======================================== */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a3f6a 100%);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(232, 133, 12, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-hero .breadcrumb a:hover {
  color: var(--color-accent);
}

.page-hero .breadcrumb span:last-child {
  color: var(--color-accent);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
  }

  .hero-product-showcase {
    max-width: 400px;
  }

  .hero-product-thumb img {
    height: 70px;
  }

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

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

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

  .services-grid {
    flex-wrap: wrap;
    gap: 16px;
  }

  .service-connector {
    display: none;
  }

  .service-card {
    min-width: calc(50% - 16px);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .page-hero h1 {
    font-size: 42px;
  }

  .page-hero p {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 24px;
    gap: 4px;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    color: var(--color-text);
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-link:hover {
    background: var(--color-bg);
    color: var(--color-primary);
  }

  .nav-link-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Mobile Dropdown */
  .nav-dropdown {
    position: static;
  }

  .nav-link-dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown-arrow {
    transition: transform 0.3s ease;
  }

  .nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: var(--color-bg);
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.active .dropdown-menu {
    max-height: 300px;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-item {
    padding: 10px 32px;
    font-size: 14px;
  }

  .dropdown-item:hover {
    padding-left: 36px;
  }

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

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    min-width: 80px;
    text-align: center;
  }

  .hero-product-showcase {
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-product-thumb img {
    height: 60px;
  }

  .hero-product-showcase .hero-card {
    bottom: -10px;
    left: -10px;
  }

  .product-image-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding-bottom: 16px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
  }

  .product-image-grid::-webkit-scrollbar {
    height: 4px;
  }

  .product-image-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .product-image-grid::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
  }

  .product-image-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

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

  .service-card {
    min-width: 100%;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }

  .page-hero {
    padding: 100px 0 50px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .page-hero .breadcrumb {
    font-size: 13px;
    gap: 8px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-container {
    padding: 100px 16px 60px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

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

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ========================================
   FLOATING SOCIAL MEDIA
   ======================================== */
.floating-social {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 997;
}

.social-float-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
}

.social-float-item::before {
  content: attr(aria-label);
  position: absolute;
  right: 54px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  pointer-events: none;
}

.social-float-item::after {
  content: '';
  position: absolute;
  right: 46px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--color-primary);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  pointer-events: none;
}

.social-float-item:hover::before,
.social-float-item:hover::after {
  opacity: 1;
  visibility: visible;
}

.social-float-item:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* WhatsApp */
.social-float-item.whatsapp {
  background: #25D366;
}

.social-float-item.whatsapp:hover {
  background: #20bd5a;
}

/* Facebook */
.social-float-item.facebook {
  background: #1877F2;
}

.social-float-item.facebook:hover {
  background: #1565d8;
}

/* LinkedIn */
.social-float-item.linkedin {
  background: #0A66C2;
}

.social-float-item.linkedin:hover {
  background: #0955a3;
}

/* TikTok */
.social-float-item.tiktok {
  background: #000000;
}

.social-float-item.tiktok:hover {
  background: #25F4EE;
  color: #000;
}

/* Mobile: hide tooltips, smaller icons */
@media (max-width: 768px) {
  .floating-social {
    right: 12px;
    gap: 8px;
  }

  .social-float-item {
    width: 38px;
    height: 38px;
  }

  .social-float-item svg {
    width: 18px;
    height: 18px;
  }

  .social-float-item::before,
  .social-float-item::after {
    display: none;
  }
}

.pagelink{ height: 35px;text-align: center;margin: 50px 0 30px 0;*+margin-left:30px;}

.pagelink .page-index , .pagelink .page-pre , .pagelink .page-next , .pagelink .page-last{ list-style: none;border: 1px solid #C7CFC2; display: inline-block;margin: 0 3px;*+display:block;*+float:left;}

.pagelink .page-status {list-style: none;border: 1px solid #C7CFC2; display: inline-block;margin: 0 3px;*+display:block;*+float:left; padding: 3px 8px;}

.pagelink .page-index a, .pagelink .page-pre a, .pagelink .page-next a, .pagelink .page-last a{color:#000;padding: 3px 8px; display:block;}

.pagelink .page-numbar .page-num{ list-style: none;border: 1px solid #C7CFC2;padding: 3px 8px;display: inline-block;margin: 0 3px;*+display:block;*+float:left;}

.pagelink a.page-num-current, .pagelink a:hover{ background: #CCC;color: #FFF; display:block;}
