/* ===========================
   基础重置与全局样式
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1d4ed8;
  --primary-light: #2563eb;
  --primary-dark: #1e40af;
  --primary-glow: rgba(37, 99, 235, 0.15);
  --accent: #0ea5e9;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --dark-3: #334155;
  --text: #1e293b;
  --text-2: #475569;
  --text-3: #94a3b8;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --bg-3: #f1f5f9;
  --border: #e2e8f0;
  --border-2: #cbd5e1;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-blue: 0 8px 32px rgba(37, 99, 235, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

img { max-width: 100%; }

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

.header.scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.company-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.5px;
}

.company-sub {
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.8px;
  font-weight: 400;
}

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

.nav-link {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

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

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   Hero 轮播（顶部独立展示）
   =========================== */
.hero {
  position: relative;
  width: 100%;
  /* 移除 overflow:hidden，避免裁剪图片 */
  background: #0f172a;
}

.hero-carousel {
  position: relative;
  width: 100%;
}

.carousel-item {
  position: relative;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  background: #0f172a;
  will-change: opacity;
  backface-visibility: hidden;
  /* 默认隐藏但保留文档流位置 */
  position: absolute;
  top: 0;
  left: 0;
}

.carousel-item.active {
  opacity: 1;
  z-index: 1;
  /* active 时回到文档流，撑开容器 */
  position: relative;
  top: auto;
  left: auto;
}

.carousel-img {
  width: 100%;
  height: auto;
  display: block;
  decoding: async;
  /* 完整显示整张图片，不裁剪 */
  object-fit: contain;
  background: #0f172a;
}

/* 轮播指示器 */
.carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.carousel-dot.active {
  background: white;
  width: 28px;
  border-radius: 5px;
}

/* 轮播箭头 */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  font-size: 24px;
  font-weight: 300;
}

.carousel-arrow:hover {
  background: rgba(0,0,0,0.6);
  border-color: white;
}

.carousel-arrow.prev { left: 32px; }
.carousel-arrow.next { right: 32px; }

/* ===========================
   首页内容区（轮播图下方）
   =========================== */
.hero-content-section {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

@media (max-width: 768px) {
  .hero-content-section {
    padding: 48px 0 40px;
  }
}


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

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(37,99,235,0.4);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #93c5fd;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  color: white;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* 按钮样式 */
.btn {
  padding: 13px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.35);
}

.btn-outline {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}

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

.btn-outline-dark {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline-dark:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* Hero 统计 */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px 40px;
  max-width: 640px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
  gap: 4px;
}

.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

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

/* 向下滚动提示 */
.hero-scroll {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 1px;
  transition: var(--transition);
  z-index: 10;
}

.hero-scroll:hover { color: rgba(255,255,255,0.8); }

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}

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

/* ===========================
   Advantages Strip
   =========================== */
.advantages {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.adv-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  gap: 14px;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.adv-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,0.2);
}

.adv-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-glow);
  border-radius: 14px;
  color: var(--primary);
  border: 1px solid rgba(37,99,235,0.15);
}

.adv-icon svg { width: 28px; height: 28px; }

.adv-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

.adv-item p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 3px;
  margin-bottom: 12px;
  opacity: 0.8;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto;
}

/* ===========================
   About Section
   =========================== */
.about {
  padding: 100px 0;
  background: var(--bg);
}

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

.about-visual {
  position: relative;
}

.about-card-main {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow);
}

.about-icon-big svg { width: 200px; height: 150px; }

.about-card-info {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-2);
}

.about-year {
  background: var(--primary-glow);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 12px;
}

.about-card-side {
  position: absolute;
  top: -16px;
  right: -16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-blue);
  color: white;
}

.side-stat .s-num {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.side-stat .s-label {
  font-size: 11px;
  opacity: 0.8;
  margin-top: 4px;
  white-space: nowrap;
}

.about-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-content p {
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

.feat-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.about-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cert-badge {
  padding: 6px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

/* ===========================
   Products Section
   =========================== */
.products {
  padding: 100px 0;
  background: var(--bg-2);
}

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

.tab-btn {
  padding: 9px 22px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.2);
}

.product-visual {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  padding: 24px;
}

.product-visual svg { width: 200px; height: 150px; }

.product-info {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  width: fit-content;
}

.product-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.product-info p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.product-specs {
  list-style: none;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.product-specs li {
  font-size: 13px;
  color: var(--text-2);
  padding: 6px 10px;
  background: var(--bg-2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-specs li::before {
  content: '•';
  color: var(--primary);
  font-size: 16px;
  line-height: 1;
}

.btn-product {
  width: 100%;
  padding: 11px 24px;
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: auto;
}

.btn-product:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

/* OEM/ODM Section */
.oem-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.oem-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.oem-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.oem-text .section-tag { color: #60a5fa; }

.oem-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 12px 0 16px;
}

.oem-text p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.oem-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.step-num {
  font-size: 12px;
  font-weight: 700;
  color: #60a5fa;
}

.step span:last-child {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  white-space: nowrap;
}

.step-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 18px;
}

.oem-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.oem-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.oem-badge:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(37,99,235,0.4);
}

.ob-icon { font-size: 28px; }

.oem-badge span {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
  padding: 100px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  border: 1px solid rgba(37,99,235,0.15);
}

.info-icon svg { width: 20px; height: 20px; }

.info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 4px;
}

.info-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.social-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

.social-btn svg { width: 20px; height: 20px; }

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

.contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-desc {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 28px;
}

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

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.required { color: #ef4444; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 72px 0 0;
}

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

.footer-brand .footer-logo .company-name,
.footer-brand .footer-logo .logo-icon {
  filter: brightness(1.1);
}

.footer-brand .footer-logo .logo-img {
  filter: brightness(1.1);
  height: 42px;
  width: auto;
}

.footer-brand .company-name { color: white; }
.footer-brand .company-sub { color: rgba(255,255,255,0.35); }

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;
}

.footer-links h4,
.footer-products h4,
.footer-contact h4 {
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.footer-links a,
.footer-products a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-products a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(16px);
  z-index: 999;
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.4);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.show { display: flex; }

.modal {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.modal h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.modal p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 28px;
}

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

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

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid { gap: 48px; }
  .products-grid { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .oem-content { gap: 40px; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    backdrop-filter: blur(20px);
  }
  .nav-menu.open { display: flex; }
  .nav-link { text-align: center; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 0 60px; }
  .hero-stats {
    padding: 20px 24px;
    gap: 0;
  }
  .stat-item { padding: 0 16px; }
  .stat-num { font-size: 22px; }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-card-side { top: auto; right: 0; bottom: -16px; }

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

  .oem-section { padding: 40px 28px; }
  .oem-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .oem-steps {
    gap: 8px;
    justify-content: center;
  }
  .step-arrow { display: none; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

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

  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat-item {
    flex: 1;
    min-width: 80px;
    padding: 12px 8px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .adv-grid { grid-template-columns: 1fr; gap: 12px; }
  .section-header { margin-bottom: 40px; }
  .about, .products, .contact { padding: 72px 0; }
  .contact-form-wrap { padding: 28px 20px; }
  .oem-badges { grid-template-columns: 1fr 1fr; }
  .product-tabs { gap: 6px; }
  .tab-btn { padding: 7px 16px; font-size: 13px; }
  .company-name { font-size: 14px; }
  .company-sub { display: none; }
}
