/* ============================================
   杭州赛昂软件科技有限公司 - V2 样式（改版）
   全屏宽度自适应布局 + 交互地图 + 浮动联系
   Inspired by dicomclub.com design patterns
   ============================================ */

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

:root {
  --color-primary: #1565C0;
  --color-primary-light: #1E88E5;
  --color-primary-dark: #0D47A1;
  --color-primary-50: #E3F2FD;
  --color-primary-100: #BBDEFB;
  --color-primary-200: #90CAF9;
  --color-accent: #00897B;
  --color-accent-light: #26A69A;
  --color-white: #FFFFFF;
  --color-gray-50: #FAFBFC;
  --color-gray-100: #F5F7FA;
  --color-gray-150: #EEF1F6;
  --color-gray-200: #E8EDF2;
  --color-gray-300: #D1D9E6;
  --color-gray-400: #A4B4CC;
  --color-gray-500: #7B8FA8;
  --color-gray-600: #5A6B83;
  --color-gray-700: #3D4F65;
  --color-gray-800: #2C3E50;
  --color-gray-900: #1A252F;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --header-height: 72px;
  --max-width: 1200px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-gray-800);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================
   Full-Width Section Layout
   Like dicomclub.com: full-width bg, contained content
   ============================================ */
.section-fullwidth {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.section-fullwidth .section-bg-inner {
  width: 100%;
  position: relative;
}

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

.header.scrolled {
  border-bottom-color: var(--color-gray-200);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-gray-900);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.nav-links a {
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gray-600);
  border-radius: 8px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 20px;
}

.nav-cta { margin-left: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

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

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

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-gray-700);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ---------- Hero Carousel (Full-viewport) ---------- */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 520px;
  max-height: 780px;
  overflow: hidden;
}

.hero-carousel .swiper {
  width: 100%;
  height: 100%;
}

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

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.swiper-slide-active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 30, 80, 0.75) 0%, rgba(0, 50, 120, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero-slide-inner {
  max-width: 620px;
  padding-left: 40px;
}

.hero-slide-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-slide-title {
  font-size: 48px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-slide-line {
  width: 48px;
  height: 3px;
  background: var(--color-accent-light);
  margin: 20px 0;
  border-radius: 2px;
}

.hero-slide-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-slide-actions {
  display: flex;
  gap: 16px;
}

/* Swiper pagination custom */
.hero-carousel .swiper-pagination {
  bottom: 48px !important;
}

.hero-carousel .swiper-pagination-bullet {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all var(--transition-normal);
}

.hero-carousel .swiper-pagination-bullet-active {
  width: 48px;
  background: white;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 48px;
  right: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  letter-spacing: 2px;
}

.scroll-indicator-line {
  width: 2px;
  height: 48px;
  background: rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.scroll-indicator-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: white;
  animation: scrollDown 2s infinite;
  border-radius: 1px;
}

@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 150%; }
}

/* ---------- Section Common ---------- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  background: var(--color-primary-50);
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag-en {
  display: block;
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-gray-400);
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  color: var(--color-gray-900);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--color-gray-500);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---------- About Section (Full-width) ---------- */
.about.section-fullwidth {
  background: var(--color-white);
}

.about .section-bg-inner,
.products .section-bg-inner,
.coverage .section-bg-inner {
  padding: 50px 0;
}

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

.about-left {
  max-width: 520px;
}

.about-left .section-tag-en {
  text-align: left;
}

.about-left .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text {
  font-size: 16px;
  color: var(--color-gray-600);
  line-height: 1.9;
  margin-bottom: 20px;
}

/* Address block inside About */
.about-address {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--color-primary-50);
  border-radius: 12px;
  margin-top: 24px;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.about-address:hover {
  background: var(--color-primary-100);
}

.about-address-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-address-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 2px;
}

.about-address-text span {
  font-size: 14px;
  color: var(--color-gray-500);
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  margin-top: 12px;
  transition: gap var(--transition-fast);
}

.about-link:hover {
  gap: 14px;
}

.about-right {
  position: relative;
}

.about-image-main {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.about-image-main:hover img {
  transform: scale(1.03);
}

.about-image-float {
  position: absolute;
  bottom: -24px;
  left: -32px;
  background: white;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-image-float-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.about-image-float-text strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.about-image-float-text span {
  font-size: 13px;
  color: var(--color-gray-500);
}

/* ---------- Products (Full-width bg) ---------- */
.products.section-fullwidth {
  background: var(--color-gray-50);
}

.product-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.product-tab {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-500);
  background: transparent;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
}

.product-tab:hover {
  color: var(--color-primary);
  border-color: var(--color-primary-200);
}

.product-tab.active {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

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

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
}

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

.product-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  border-radius: 6px;
}

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

.product-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 10px;
}

.product-card-desc {
  font-size: 14px;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  transition: gap var(--transition-fast);
}

.product-card-link:hover {
  gap: 10px;
}

/* ---------- Stats (Full-width gradient) ---------- */
.stats.section-fullwidth {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative;
}

.stats .section-bg-inner {
  padding: 80px 0;
  position: relative;
}

.stats .section-bg-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.stat-item { text-align: center; color: white; }

.stat-number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  opacity: 0.85;
}

/* ============================================
   Coverage + Partners Section (Full-width)
   ============================================ */
.coverage.section-fullwidth {
  background: var(--color-white);
}

.coverage .section-tag-en {
  color: var(--color-gray-300);
}

/* Section header with inline stat cards */
.coverage .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.section-header-left {
  flex: 1;
  min-width: 0;
}

.coverage .coverage-stat-cards {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.coverage .coverage-stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 14px;
  padding: 16px 24px;
  text-align: center;
  min-width: 90px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coverage .coverage-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.coverage .coverage-stat-card strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.coverage .coverage-stat-card span {
  font-size: 12px;
  color: var(--color-gray-500);
  font-weight: 500;
}

/* Map area - full width */
.coverage-content {
  display: block;
}

.coverage-map-col {
  width: 100%;
}

/* Map container */
.coverage-map-wrap {
  position: relative;
  width: 100%;
}

.coverage-map {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  padding: 20px;
}

.map-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-select: none;
}

.map-markers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-marker {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--color-accent-light);
  border: 3px solid rgba(38, 166, 154, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 5;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.map-marker::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(38, 166, 154, 0.4);
  border-radius: 50%;
  animation: markerRipple 2s ease-out infinite;
}

.map-marker::after {
  content: '';
  position: absolute;
  top: -14px;
  left: -14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(38, 166, 154, 0.15);
  border-radius: 50%;
  animation: markerRipple 2s ease-out 0.6s infinite;
}

@keyframes markerRipple {
  0% { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.map-marker.hover {
  transform: translate(-50%, -50%) scale(1.5);
  background: white;
  border-color: var(--color-accent);
  z-index: 10;
}

.map-marker-hq {
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-color: rgba(38, 166, 154, 0.6);
  animation: hqGlow 1.6s ease-in-out infinite;
}

.map-marker-hq::before {
  top: -10px;
  left: -10px;
  width: 32px;
  height: 32px;
  border-color: rgba(38, 166, 154, 0.6);
  animation: markerRipple 1.6s ease-out infinite;
}

.map-marker-hq::after {
  top: -20px;
  left: -20px;
  width: 52px;
  height: 52px;
  border-color: rgba(38, 166, 154, 0.25);
  animation: markerRipple 1.6s ease-out 0.5s infinite;
}

.map-marker-hq.hover {
  background: white;
  border-color: rgba(0, 121, 107, 0.9);
  transform: translate(-50%, -50%) scale(1.4);
}

@keyframes hqGlow {
  0%, 100% { box-shadow: 0 0 6px rgba(38, 166, 154, 0.5); }
  50% { box-shadow: 0 0 18px rgba(38, 166, 154, 0.9); }
}

.map-marker-tooltip {
  position: fixed;
  z-index: 9999;
  padding: 6px 14px;
  background: rgba(21, 101, 192, 0.9);
  color: white;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  white-space: nowrap;
}

.map-marker-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   Partner Horizontal Scroll
   ============================================ */
.partner-scroll-section {
  margin-top: 48px;
}

.partner-scroll-section .section-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gray-800);
  margin-bottom: 18px;
  padding-left: 2px;
}

.partner-scroll-wrap {
  position: relative;
}

.partner-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gray-300) transparent;
}

.partner-scroll::-webkit-scrollbar {
  height: 6px;
}

.partner-scroll::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.partner-scroll::-webkit-scrollbar-thumb {
  background: var(--color-gray-300);
  border-radius: 3px;
}

.partner-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-400);
}

.partner-scroll .partner-card {
  position: relative;
  flex: 0 0 auto;
  width: 210px;
  background: white;
  border: 1px solid var(--color-gray-150);
  border-radius: 16px;
  padding: 24px 16px 16px;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
  animation: partnerFadeIn 0.6s ease-out backwards;
  text-align: center;
}

.partner-scroll .partner-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--color-primary-50), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.partner-scroll .partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10), 0 0 0 1px var(--color-primary-200);
  border-color: var(--color-primary-300);
}

.partner-scroll .partner-card:hover::after { opacity: 1; }

.partner-scroll .partner-card:hover .partner-rank {
  transform: translateX(-50%) scale(1.15);
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.35);
}

.partner-scroll .partner-rank {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--color-gray-100);
  color: var(--color-gray-500);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  z-index: 2;
  border: 2px solid white;
}

/* .partner-scroll .partner-card[data-rank="1"] .partner-rank {
  background: linear-gradient(135deg, #FFD700, #FFA000);
  color: #5D4037;
  box-shadow: 0 2px 8px rgba(255, 160, 0, 0.4);
  width: 28px;
  height: 28px;
  font-size: 13px;
  border-radius: 10px;
} */

/* .partner-scroll .partner-card[data-rank="1"] {
  border-color: rgba(255, 160, 0, 0.25);
  background: linear-gradient(180deg, #FFFDE7, white);
} */

/* .partner-scroll .partner-card[data-rank="1"]:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10), 0 0 20px rgba(255, 160, 0, 0.20);
  border-color: #FFA000;
} */

/* .partner-scroll .partner-card[data-rank="2"] .partner-rank {
  background: linear-gradient(135deg, #CFD8DC, #90A4AE);
  color: #37474F;
  box-shadow: 0 2px 6px rgba(120, 144, 156, 0.35);
}

.partner-scroll .partner-card[data-rank="2"] {
  border-color: rgba(144, 164, 174, 0.20);
}

.partner-scroll .partner-card[data-rank="2"]:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10), 0 0 16px rgba(144, 164, 174, 0.20);
}

.partner-scroll .partner-card[data-rank="3"] .partner-rank {
  background: linear-gradient(135deg, #FFCC80, #FF8A65);
  color: #4E342E;
  box-shadow: 0 2px 6px rgba(255, 138, 101, 0.30);
}

.partner-scroll .partner-card[data-rank="3"] {
  border-color: rgba(255, 138, 101, 0.15);
}

.partner-scroll .partner-card[data-rank="3"]:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10), 0 0 14px rgba(255, 138, 101, 0.18);
} */

.partner-scroll .partner-card-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.partner-scroll .partner-card-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-800);
  line-height: 1.4;
}

.partner-scroll .partner-card-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.partner-scroll .partner-card-level {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.3px;
}

.partner-scroll .level-a {
  background: var(--color-primary-50);
  color: var(--color-primary);
}

.partner-scroll .level-b {
  background: rgba(0, 137, 123, 0.08);
  color: #00897B;
}

.partner-scroll .level-c {
  background: var(--color-gray-100);
  color: var(--color-gray-500);
}

.partner-scroll .partner-card-city {
  font-size: 11px;
  color: var(--color-gray-400);
}

.partner-scroll .partner-card:nth-child(1)  { animation-delay: 0.03s; }
.partner-scroll .partner-card:nth-child(2)  { animation-delay: 0.06s; }
.partner-scroll .partner-card:nth-child(3)  { animation-delay: 0.09s; }
.partner-scroll .partner-card:nth-child(4)  { animation-delay: 0.12s; }
.partner-scroll .partner-card:nth-child(5)  { animation-delay: 0.15s; }
.partner-scroll .partner-card:nth-child(6)  { animation-delay: 0.18s; }
.partner-scroll .partner-card:nth-child(7)  { animation-delay: 0.21s; }
.partner-scroll .partner-card:nth-child(8)  { animation-delay: 0.24s; }
.partner-scroll .partner-card:nth-child(9)  { animation-delay: 0.27s; }
.partner-scroll .partner-card:nth-child(10) { animation-delay: 0.30s; }
.partner-scroll .partner-card:nth-child(11) { animation-delay: 0.33s; }
.partner-scroll .partner-card:nth-child(12) { animation-delay: 0.36s; }
.partner-scroll .partner-card:nth-child(13) { animation-delay: 0.39s; }
.partner-scroll .partner-card:nth-child(14) { animation-delay: 0.42s; }
.partner-scroll .partner-card:nth-child(15) { animation-delay: 0.45s; }
.partner-scroll .partner-card:nth-child(16) { animation-delay: 0.48s; }
.partner-scroll .partner-card:nth-child(17) { animation-delay: 0.51s; }
.partner-scroll .partner-card:nth-child(18) { animation-delay: 0.54s; }
.partner-scroll .partner-card:nth-child(19) { animation-delay: 0.57s; }

@keyframes partnerFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-gray-900);
  color: white;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

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

.footer-brand .logo-icon {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: white;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

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

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover { color: white; }

.footer-col ul li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
}

.footer-qr span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p a:hover { color: white; }

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover { color: white; }

/* ============================================
   Floating Contact Widget (Right-bottom)
   ============================================ */
.float-contact {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 998;
}

.float-contact-popups {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.95);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.35s;
  pointer-events: none;
}

.float-contact.active .float-contact-popups {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
}

.float-contact-popup {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  width: 220px;
}

.float-contact.active .float-contact-phone {
  transition-delay: 0.05s;
}

.float-contact.active .float-contact-wechat {
  transition-delay: 0.12s;
}

.float-popup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--color-primary-50);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
}

.float-popup-header svg {
  flex-shrink: 0;
}

.float-popup-body {
  padding: 18px;
  text-align: center;
}

.float-phone-number {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.float-phone-hint {
  font-size: 12px;
  color: var(--color-gray-400);
}

.float-popup-qr {
  padding: 16px;
}

.float-qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.float-qr-placeholder span {
  font-size: 12px;
  color: var(--color-gray-400);
}

/* Main trigger button */
.float-contact-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.35);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.float-contact-trigger .trigger-icon-close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
  transition: all 0.3s ease;
}

.float-contact.active .float-contact-trigger .trigger-icon-phone {
  opacity: 0;
  transform: rotate(90deg);
}

.float-contact.active .float-contact-trigger .trigger-icon-close {
  opacity: 1;
  transform: rotate(0deg);
}

.float-contact-trigger .trigger-icon-phone {
  transition: all 0.3s ease;
}

.float-contact-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(21, 101, 192, 0.45);
}

.float-contact-trigger svg {
  position: relative;
  z-index: 2;
}

/* Pulse ring animation */
.float-contact-trigger::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  animation: contactPulse 2.5s ease-in-out infinite;
}

@keyframes contactPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0; }
}

/* ============================================
   Back to Top (FIXED)
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: white;
  color: var(--color-gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1.5px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-normal);
  z-index: 999;
}

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

.back-to-top:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .coverage-content { flex-direction: column; gap: 36px; }
  .coverage-map-col { flex: 1; width: 100%; }
  .coverage-partner-col { min-width: 0; }
  .coverage-partner-col .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .coverage-stat-cards { gap: 10px; margin-top: 12px; }
}

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

  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0; bottom: 0;
    background: white;
    z-index: 999;
    padding: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
  }

  .mobile-nav.active { transform: translateX(0); }

  .mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--color-gray-700);
    border-bottom: 1px solid var(--color-gray-100);
  }

  .mobile-nav .btn { width: 100%; margin-top: 16px; }

  /* Hero */
  .hero-carousel { height: 64vh; min-height: 380px; }
  .hero-slide-title { font-size: 24px; }
  .hero-slide-subtitle { font-size: 14px; }
  .hero-slide-inner { padding-left: 16px; padding-right: 16px; }
  .scroll-indicator { display: none; }

  /* About */
  .about .section-bg-inner,
  .products .section-bg-inner,
  .stats .section-bg-inner,
  .coverage .section-bg-inner { padding: 48px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-text { font-size: 14px; }
  .about-image-float { bottom: -12px; left: 12px; }
  .section-title { font-size: 24px; }
  .section-header { margin-bottom: 32px; }

  /* Products */
  .product-grid { grid-template-columns: 1fr; }
  .product-card-image { height: 180px; }
  .product-card-body { padding: 14px 16px 16px; }
  .product-card-title { font-size: 16px; }
  .product-card-desc { font-size: 13px; }

  .product-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .product-tab { padding: 8px 16px; font-size: 13px; flex-shrink: 0; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-number { font-size: 32px; }
  .stat-label { font-size: 13px; }

  /* Coverage */
  .coverage-map { padding: 10px; }
  .coverage .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .coverage .coverage-stat-cards { gap: 10px; }
  .coverage .coverage-stat-card { padding: 10px 16px; min-width: 70px; }
  .coverage .coverage-stat-card strong { font-size: 22px; }
  .coverage .coverage-stat-card span { font-size: 11px; }
  .partner-scroll-section { margin-top: 32px; }
  .partner-scroll { gap: 12px; }
  .partner-scroll .partner-card { width: 180px; padding: 20px 12px 14px; }
  .partner-scroll .partner-card-name { font-size: 12px; }
  .partner-scroll .partner-rank { width: 24px; height: 24px; font-size: 10px; top: -6px; }

  /* Footer */
  .footer { padding: 40px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand p { font-size: 13px; }
  .footer-col h4 { font-size: 14px; }
  .footer-col ul li, .footer-col ul li a { font-size: 13px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; padding: 16px 0; }
  .footer-bottom p, .footer-bottom-links a { font-size: 12px; }

  /* Float contact */
  .float-contact { bottom: 76px; right: 16px; }
  .float-contact-popup { width: 200px; }
  .float-phone-number { font-size: 18px; }
  .float-contact-trigger { width: 50px; height: 50px; }
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .hero-carousel { height: 56vh; min-height: 320px; }
  .hero-slide-title { font-size: 22px; }
  .hero-slide-subtitle { font-size: 13px; }
  .hero-slide-actions { flex-direction: column; gap: 10px; }
  .hero-slide-actions .btn { width: 100%; text-align: center; }

  .about .section-bg-inner,
  .products .section-bg-inner,
  .stats .section-bg-inner,
  .coverage .section-bg-inner { padding: 40px 0; }
  .about-grid { gap: 24px; }
  .about-text { font-size: 13px; }
  .about-address { padding: 14px 16px; }
  .about-address-text strong { font-size: 14px; }
  .about-address-text span { font-size: 12px; }
  .section-title { font-size: 22px; }

  .product-card-image { height: 160px; }
  .product-card-body { padding: 12px 14px 14px; }
  .product-card-title { font-size: 15px; }
  .product-card-desc { font-size: 12px; }
  .product-tab { padding: 7px 14px; font-size: 12px; }

  .stats-grid { gap: 20px; }
  .stat-number { font-size: 28px; }
  .stat-label { font-size: 12px; }

  .coverage-map { padding: 6px; }
  .coverage .section-header { gap: 12px; }
  .coverage .coverage-stat-cards { gap: 8px; }
  .coverage .coverage-stat-card { padding: 8px 12px; min-width: 60px; }
  .coverage .coverage-stat-card strong { font-size: 18px; margin-bottom: 3px; }
  .coverage .coverage-stat-card span { font-size: 10px; }
  .partner-scroll-section { margin-top: 24px; }
  .partner-scroll-section .section-subtitle { font-size: 14px; margin-bottom: 12px; }
  .partner-scroll { gap: 10px; }
  .partner-scroll .partner-card { width: 160px; padding: 18px 10px 12px; }
  .partner-scroll .partner-card-name { font-size: 11px; }
  .partner-scroll .partner-rank { width: 22px; height: 22px; font-size: 9px; top: -5px; }
  .partner-scroll .partner-card-level { font-size: 9px; padding: 1px 5px; }
  .partner-scroll .partner-card-city { font-size: 10px; }

  .footer { padding: 32px 0 0; }
  .footer-grid { gap: 20px; }

  .float-contact { bottom: 72px; right: 12px; }
  .float-contact-trigger { width: 44px; height: 44px; }
  .float-contact-popup { width: 180px; }
  .float-phone-number { font-size: 16px; }
  .back-to-top { bottom: 12px; right: 12px; width: 36px; height: 36px; }
}
