/* 启畅新能源企业官网样式 */
:root {
  --primary: #1e3a8a;
  --primary-dark: #172554;
  --primary-light: #3b82f6;
  --accent: #06b6d4;
  --accent-light: #67e8f9;
  --highlight: #10b981;
  --highlight-light: #6ee7b7;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
}

.section-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(30, 58, 138, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

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

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--accent);
}

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

.nav-link {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 9999px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(30, 58, 138, 0.06);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f0fdf4 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.05) 0%, transparent 50%);
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--highlight), var(--accent));
  bottom: -80px;
  right: 20%;
  animation-delay: -3s;
}

.hero-lines {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.hero-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: lineMove 12s linear infinite;
}

.hero-line:nth-child(1) { top: 20%; width: 60%; animation-duration: 14s; }
.hero-line:nth-child(2) { top: 40%; width: 40%; animation-delay: -3s; }
.hero-line:nth-child(3) { top: 60%; width: 50%; animation-duration: 16s; animation-delay: -6s; }
.hero-line:nth-child(4) { top: 80%; width: 45%; animation-delay: -9s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

@keyframes lineMove {
  0% { left: -60%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--highlight);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--highlight) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
}

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

.hero-stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

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

.hero-image {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
}

.hero-image svg {
  width: 100%;
  height: 100%;
}

.hero-product-image {
  aspect-ratio: auto;
  max-width: 1320px;
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(224, 242, 254, 0.4));
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(10px);
  box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.15);
}

.hero-product-image img {
  width: 100%;
  height: auto;
  max-height: 1560px;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(30, 58, 138, 0.12));
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  animation: cardFloat 6s ease-in-out infinite;
}

.floating-card-1 {
  top: 15%;
  right: 0;
  animation-delay: -1s;
}

.floating-card-2 {
  bottom: 20%;
  left: 0;
  animation-delay: -3s;
}

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

.floating-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.floating-card-icon.green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--highlight);
}

.floating-card-icon.blue {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent);
}

.floating-card-title {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.floating-card-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

/* Sections */
.section {
  padding: 96px 0;
}

.all-products-fullpage {
  position: relative;
  min-height: 100vh;
  height: auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f0fdf4 100%);
  overflow: hidden;
  box-sizing: border-box;
}

.all-products-fullpage-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.section-header {
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--highlight));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

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

.product-card-image {
  width: calc(100% + 64px);
  height: 380px;
  margin: -40px -32px 24px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(135deg, var(--bg-alt), #e0f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: var(--transition);
}

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

.product-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.product-icon.blue {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.1));
  color: var(--primary);
}

.product-icon.cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(103, 232, 249, 0.1));
  color: var(--accent);
}

.product-icon.green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(110, 231, 183, 0.1));
  color: var(--highlight);
}

.product-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-name-en {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.product-feature svg {
  width: 18px;
  height: 18px;
  color: var(--highlight);
  flex-shrink: 0;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.product-link:hover {
  gap: 10px;
  color: var(--accent);
}

/* Solutions */
.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.solution-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.solution-item:nth-child(even) .solution-visual {
  order: 2;
}

.solution-visual {
  background: linear-gradient(135deg, var(--bg-alt), #e0f2fe);
  border-radius: var(--radius-lg);
  padding: 48px;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-visual svg {
  width: 100%;
  height: 100%;
}

.solution-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.solution-visual:hover .solution-image {
  transform: scale(1.02);
}

.solution-content .section-label {
  margin-bottom: 20px;
}

.solution-title {
  font-size: 28px;
  margin-bottom: 16px;
}

.solution-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.solution-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.solution-spec {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

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

.solution-spec-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.solution-spec-text {
  font-size: 13px;
  color: var(--text-secondary);
}

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

.stats-section::before {
  content: '';
  position: absolute;
  inset: 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");
}

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

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, white, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.about-visual {
  position: relative;
}

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

.about-image svg {
  width: 100%;
  height: auto;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  max-width: 220px;
}

.about-badge-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-badge-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.about-content {
  padding: 20px 0;
}

.about-content .section-subtitle {
  margin-bottom: 32px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.about-value {
  display: flex;
  gap: 12px;
}

.about-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(6, 182, 212, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.about-value-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-value-text {
  font-size: 14px;
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  background: var(--bg-alt);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 18px;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-info-item:hover {
  background: white;
  box-shadow: var(--shadow);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-info-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-text {
  font-size: 15px;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

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

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

.form-group.full {
  grid-column: 1 / -1;
}

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

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-alt);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

.map-section {
  margin-top: 64px;
}

.map-container {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #e0f2fe, #f0fdf4);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-placeholder {
  text-align: center;
  color: var(--text-secondary);
}

.map-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: 16px;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 80px 0 32px;
}

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

.footer-brand .logo-text {
  color: white;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 320px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
}

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

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: var(--transition);
}

.footer-link:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Page Hero */
.page-hero {
  position: relative;
  padding: 160px 0 96px;
  background: linear-gradient(to bottom, #93c5fd 0%, #60a5fa 100%);
  color: var(--primary-dark);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.22), transparent 50%);
}

/* 顶部背景上浅下深渐变，底部直接衔接白色内容区，不做额外过渡带 */

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero-desc {
  font-size: 18px;
  opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 14px;
}

.breadcrumb a {
  opacity: 0.8;
  transition: var(--transition);
}

.breadcrumb a:hover {
  opacity: 1;
}

.breadcrumb-separator {
  opacity: 0.5;
}

.breadcrumb-current {
  opacity: 1;
  font-weight: 600;
}

/* Product Detail Cards */
.product-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.product-detail-card:nth-child(even) .product-detail-visual {
  order: 2;
}

.product-detail-visual {
  background: linear-gradient(135deg, var(--bg-alt), #e0f2fe);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.product-detail-visual svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.product-detail-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(30, 58, 138, 0.15));
  transition: var(--transition);
}

.product-detail-visual:hover .product-detail-image {
  transform: scale(1.03);
}

.product-detail-content .section-label {
  margin-bottom: 16px;
}

.product-detail-title {
  font-size: 32px;
  margin-bottom: 8px;
}

.product-detail-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.product-detail-desc {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}

.product-specs-table tr {
  border-bottom: 1px solid var(--border);
}

.product-specs-table td {
  padding: 12px 0;
  font-size: 14px;
}

.product-specs-table td:first-child {
  color: var(--text-secondary);
  width: 40%;
}

.product-specs-table td:last-child {
  font-weight: 600;
}

/* Product Gallery */
.product-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.product-gallery-main {
  background: linear-gradient(135deg, var(--bg-alt), #e0f2fe);
  border-radius: var(--radius-lg);
  padding: 48px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

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

.gallery-thumb {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.gallery-thumb.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(16, 185, 129, 0.05));
}

.gallery-thumb:hover img {
  transform: scale(1.05);
}

/* Solution Cards */
.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.solution-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.solution-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(6, 182, 212, 0.1));
  color: var(--primary);
}

.solution-card-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.solution-card-desc {
  color: var(--text-secondary);
  font-size: 15px;
}

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

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-content,
  .about-grid,
  .contact-grid,
  .solution-item,
  .product-detail-card {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .solution-item:nth-child(even) .solution-visual,
  .product-detail-card:nth-child(even) .product-detail-visual {
    order: -1;
  }

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

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-product-image {
    max-width: 520px;
    padding: 32px;
  }

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 8px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .header-cta .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-content {
    padding-top: 80px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-stats {
    justify-content: center;
    gap: 32px;
  }

  .hero-visual {
    display: none;
  }

  .products-grid,
  .solution-cards,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .about-values,
  .solution-specs,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .product-gallery-main {
    padding: 24px;
  }

  .product-card-image {
    height: 160px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-box {
    padding: 48px 24px;
  }

  .contact-form {
    padding: 28px;
  }

  .section {
    padding: 64px 0;
  }

  .all-products-fullpage {
    min-height: 100vh;
    height: 100vh;
    aspect-ratio: auto;
    padding: 24px;
  }

  .all-products-fullpage-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* Download page */
.download-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.download-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 9999px;
  transition: var(--transition);
}

.download-tab:hover {
  color: var(--primary);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.download-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.download-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}

.download-card-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.download-card-img {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--bg-alt), #e0f2fe);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}

.download-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.download-card-series {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.download-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.download-card-tag {
  font-size: 14px;
  color: var(--text-secondary);
}

.download-card .btn {
  margin-top: auto;
}

.download-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  color: white;
  margin-top: 40px;
}

.download-all h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.download-all p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

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

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

@media (max-width: 768px) {
  .download-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .download-card {
    padding: 24px;
  }

  .download-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .download-card-img {
    width: 100%;
    height: 180px;
  }

  .download-all {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 20px;
  }

  .download-tabs {
    gap: 8px;
  }

  .download-tab {
    padding: 8px 16px;
    font-size: 13px;
  }
}


/* ============================================================
 * 语言切换器 Lang Switcher
 * ============================================================ */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(30, 58, 138, 0.18);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  border-color: var(--primary);
  background: rgba(30, 58, 138, 0.06);
}

.lang-current {
  min-width: 26px;
  text-align: center;
  letter-spacing: 0.02em;
}

.lang-caret {
  transition: transform 0.25s ease;
}

.lang-btn[aria-expanded="true"] .lang-caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #ffffff;
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1200;
}

.lang-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 9px 14px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(30, 58, 138, 0.07);
  color: var(--primary);
}

.lang-option.active {
  color: var(--primary);
  font-weight: 700;
  background: rgba(30, 58, 138, 0.08);
}

/* ============================================================
 * 地图 Map
 * ============================================================ */
.map-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-md, 0 8px 24px rgba(15, 23, 42, 0.08));
  border: 1px solid rgba(30, 58, 138, 0.08);
}

.map-embed {
  min-height: 380px;
  background: #eef2f7;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
}

.map-address {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 40px 36px;
}

.map-address-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.map-address p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

@media (max-width: 768px) {
  .map-container {
    grid-template-columns: 1fr;
  }

  .map-embed {
    min-height: 300px;
  }

  .map-embed iframe {
    min-height: 300px;
  }

  .map-address {
    padding: 28px 24px;
  }

  .lang-btn {
    padding: 7px 10px;
    font-size: 13px;
  }
}


/* ============================================================
 * 深色 Hero 页面导航高对比度 (products / solutions / downloads)
 * ============================================================ */
.dark-hero .header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.92);
}

.dark-hero .header:not(.scrolled) .nav-link:hover,
.dark-hero .header:not(.scrolled) .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.dark-hero .header:not(.scrolled) .mobile-menu-btn,
.dark-hero .header:not(.scrolled) .lang-btn {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.dark-hero .header:not(.scrolled) .lang-btn {
  background: rgba(255, 255, 255, 0.12);
}

.dark-hero .header:not(.scrolled) .lang-btn:hover,
.dark-hero .header:not(.scrolled) .lang-btn:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.dark-hero .header:not(.scrolled) .lang-caret {
  stroke: #ffffff;
}

/* ============================================================
 * 出口认证标签 (Export Certifications)
 * ============================================================ */
.cert-block {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: white;
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-xl);
  max-width: 260px;
  z-index: 2;
}

.cert-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-item {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 20px;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cert-block {
    position: static;
    margin-top: 20px;
    max-width: 100%;
    box-shadow: var(--shadow-md);
  }
  .about-badge {
    position: static;
    margin-top: 20px;
    max-width: 100%;
    box-shadow: var(--shadow-md);
  }
}

/* ============================================================
 * 产品详情双图展示 (Product Detail with Secondary Image)
 * ============================================================ */
.product-detail-visual.has-secondary {
  flex-direction: column;
  gap: 24px;
  padding: 32px;
}

.product-detail-visual.has-secondary .product-detail-image {
  max-width: 260px;
  max-height: 340px;
}

.product-detail-image-secondary {
  width: 100%;
  max-width: 160px;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  background: white;
  padding: 8px;
}

.product-detail-visual.has-secondary:hover .product-detail-image-secondary {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .product-detail-visual.has-secondary {
    padding: 24px;
    gap: 16px;
  }
  .product-detail-visual.has-secondary .product-detail-image {
    max-width: 200px;
  }
  .product-detail-image-secondary {
    max-width: 120px;
  }
}
