/* ============================================
   Skyward Lighting - Global Stylesheet
   B2B LED Lighting Manufacturer Website
   ============================================ */

/* --- CSS Variables --- */
:root {
  --navy-dark: #0c1b36;
  --navy-medium: #142a52;
  --navy-light: #1e3a6b;
  --gold-accent: #b8860b;
  --gold-light: #e8c77a;
  --gold-dark: #b8923f;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #e9ecef;
  --medium-gray: #adb5bd;
  --dark-gray: #495057;
  --text-dark: #1a1a2e;
  --text-light: #6c757d;
  --success: #28a745;
  --font-primary: 'Montserrat', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --shadow-gold: 0 4px 20px rgba(184,134,11,0.35);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  background: #f4f5f7;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy-dark);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 500; }

p { margin-bottom: 1rem; color: var(--text-light); font-weight: 400; }

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

.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy-dark); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.text-center { text-align: center; }
.text-gold { color: var(--gold-accent); }
.text-white { color: var(--white); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header .subtitle {
  display: inline-block;
  color: var(--gold-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header p { color: var(--text-light); font-size: 1.05rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-accent);
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(184,134,11,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--gold-accent);
  border: 2px solid var(--gold-accent);
}
.btn-outline:hover {
  background: var(--gold-accent);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy-dark);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* --- Navigation --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 27, 54, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 20px rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(184,134,11,0.15);
}

.nav-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 2.3px;
  text-transform: uppercase;
}
.nav-logo .logo-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 45px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold-accent);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}
.nav-cta { display: flex; align-items: center; gap: 16px; }

/* 手机菜单里的语言入口（main.js 复制生成），桌面端不显示 */
.mobile-lang { display: none; width: 100%; }
.nav-cta .btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 24px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ==========================================
   非首页导航栏 - 渐变背景+动态效果
   ========================================== */
.sub-page .navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: linear-gradient(135deg, rgba(12,27,54,0.98), rgba(20,42,82,0.95)) !important;
    background-size: 200% 200% !important;
    animation: navbarGradient 8s ease infinite !important;
    border-bottom: none !important;
}
.sub-page .navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #ffc107 15%, #ffd700 50%, #ffc107 85%, transparent 100%);
    background-size: 200% 100%;
    animation: borderFlow 8s linear infinite;
}

.sub-page .navbar.navbar-scrolled {
    background: linear-gradient(135deg, rgba(12,27,54,0.98), rgba(20,42,82,0.95)) !important;
    background-size: 200% 200% !important;
    animation: navbarGradient 8s ease infinite !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

@keyframes navbarGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Hero --- */
.hero {
  position: relative;
  background: var(--navy-dark);
  color: var(--white);
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,27,54,0.92) 0%, rgba(20,42,82,0.85) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/general/hero-bg.png') center/cover no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(184,134,11,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(184,134,11,0.08) 0%, transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}
.hero h1 { color: #ffffff; margin-bottom: 20px; }
.hero h1 .highlight { color: var(--gold-accent); }
.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-badge .badge-icon {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--gold-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  font-size: 0.7rem;
  font-weight: 700;
}

/* Page Hero (smaller, for inner pages) */
.page-hero {
  background: var(--navy-dark);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,27,54,0.95), rgba(20,42,82,0.9));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--gold-accent); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--gold-accent); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* --- Cards & Grids --- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--navy-medium), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(184,134,11,0.15), transparent 60%);
}
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: 0.92rem; margin-bottom: 16px; }
.card-link {
  color: var(--gold-accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover { gap: 10px; }

/* Feature card with icon */
.feature-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--navy-dark);
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { font-size: 0.9rem; margin-bottom: 0; }

/* --- Product Category Cards --- */
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-dark);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  padding-top: 80px;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(12,27,54,0.7) 60%, rgba(12,27,54,0.95) 100%);
  z-index: 1;
}
.category-card .cat-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 2.5rem;
  opacity: 0.3;
  z-index: 1;
  display: none;
}
.category-card .cat-content { position: relative; z-index: 2; }
.category-card h3 { color: var(--white); margin-bottom: 8px; font-size: 1.4rem; }
.category-card p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-bottom: 16px; line-height: 1.6; }
.category-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card:hover .card-link { gap: 12px; }
.category-card:hover .cat-icon { opacity: 0.6; }

/* --- Product Category Cards V2 (Image Top, Text Bottom) --- */
.category-card-v2 {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}
.category-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-accent);
}
.category-card-v2 .cat-img {
  height: 200px;
  background: var(--off-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-card-v2 .cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-card-v2:hover .cat-img img {
  transform: scale(1.05);
}
.category-card-v2 .cat-content-v2 {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.category-card-v2 h3 {
  color: var(--navy-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.category-card-v2 p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.category-card-v2 .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.category-card-v2:hover .card-link {
  gap: 12px;
}

/* --- Stats --- */
.stats-row, .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  padding: 40px 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.stat-item .stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold-accent);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.stat-item .stat-label {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

@media (max-width: 900px) {
  .stats-row, .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .stats-row, .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stat-item .stat-number {
    font-size: 2.2rem;
  }
}

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.form-group label .required { color: #e74c3c; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(184,134,11,0.15);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-honeypot { position: absolute; left: -9999px; }

/* --- FAQ --- */
/* --- FAQ Section --- */
.faq-section {
  padding-top: 6px;
  padding-bottom: 80px;
}

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-dark);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.faq-question:hover { color: var(--gold-accent); }
.faq-question .faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d4a858;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 16px;
  position: relative;
  transition: all 0.3s ease;
}
.faq-question .faq-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #fff;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-question .faq-icon::after { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}
.faq-answer p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; }

/* --- Certification Badges --- */
.cert-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1.5px solid var(--gold-accent);
  border-radius: var(--radius-pill);
  color: var(--gold-accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}
.cert-badge .cert-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-accent);
  border-radius: 50%;
}

/* --- CTA Section --- */
.cta-section {
  background: #141414;
  color: var(--white);
  text-align: center;
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(184,134,11,0.1), transparent 60%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 28px; }

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-col p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-accent); padding-left: 4px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item .fc-icon {
  color: var(--gold-accent);
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 0; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--gold-accent); }

/* --- Product Detail Specific --- */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
}
.product-gallery {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  z-index: 1;`n}
.gallery-main {
  aspect-ratio: 1;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: opacity 0.3s ease;
}
.gallery-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(184,134,11,0.1), transparent 60%);
  pointer-events: none;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.gallery-thumb {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}
.gallery-thumb:hover {
  border-color: var(--gold-accent);
  transform: translateY(-2px);
}
.gallery-thumb.active {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 2px rgba(184,134,11,0.3);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery img {
  max-width: 100%;
}
.product-info {
  position: relative;
  z-index: 2;
}

.product-info h1 { margin-bottom: 12px; }
.product-sku {
  display: inline-block;
  background: var(--gold-accent);
  color: var(--navy-dark);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-desc { font-size: 1.05rem; color: var(--text-light); margin-bottom: 24px; }
.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.spec-item {
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
}
.spec-item .spec-label { font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.spec-item .spec-value { font-weight: 700; color: var(--navy-dark); font-size: 0.95rem; }

/* --- Table --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}
.data-table th, .data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}
.data-table th {
  background: var(--navy-dark);
  color: var(--white);
  font-weight: 600;
}
.data-table tr:nth-child(even) { background: var(--off-white); }
.data-table tr:hover { background: rgba(184,134,11,0.06); }

/* --- Timeline / Process --- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline-step {
  text-align: center;
  position: relative;
}
.timeline-step .step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--gold-accent);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}
.timeline-step h4 { margin-bottom: 8px; }
.timeline-step p { font-size: 0.88rem; margin-bottom: 0; }

/* --- Contact Info Cards --- */
.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  align-items: flex-start;
}
.contact-info-card .ci-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--navy-dark);
  flex-shrink: 0;
}
.contact-info-card h4 { margin-bottom: 4px; }
.contact-info-card p { font-size: 0.9rem; margin-bottom: 0; }

/* --- Solution Page --- */
.solution-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.solution-visual {
  background: linear-gradient(135deg, var(--navy-medium), var(--navy-light));
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gold-accent);
  position: relative;
  overflow: hidden;
}
.solution-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.benefit-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.benefit-list li .check {
  color: var(--gold-accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- 404 Page --- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--gold-accent);
  line-height: 1;
  margin-bottom: 16px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .product-hero { grid-template-columns: 1fr; }
  .solution-hero-grid { grid-template-columns: 1fr; }
}

/* 导航栏提前切换到汉堡菜单（平板宽度） */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }

    /* 手机端语言入口：放进菜单面板，样式与导航一致 */
    .mobile-lang { display: block; }

    .nav-links .mobile-lang .lang-switcher {
        display: block;
        width: 100%;
        margin: 12px 0 0;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-links .mobile-lang .lang-select {
        width: 100%;
    }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .product-specs { grid-template-columns: 1fr; }
  .hero { min-height: 500px; }
  .hero-content { padding: 30px 24px 20px; }
  /* 移动端hero证书徽章调整，避免重叠 */
  .hero-badges-left, .hero-badges-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .hero-badges-center {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 8px;
    order: -1;
    margin-bottom: 4px;
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    justify-content: center;
  }
  .badge-icon {
    width: 22px;
    height: 22px;
    font-size: 0.55rem;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
/* Hero 轮播 */
.hero { position: relative; overflow: hidden; min-height: 80vh; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    display: flex; align-items: center;
    opacity: 0; transition: opacity 0.8s ease;
    padding-top: 120px;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,0.45);
}
.hero-slide .container { position: relative; z-index: 2; color: #fff; }
.hero-slide h1 { color: #fff; font-size: 3rem; margin-bottom: 16px; }
.hero-slide p { color: rgba(255,255,255,0.9); font-size: 1.2rem; margin-bottom: 32px; }

.hero-dots {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 12px; z-index: 10;
}
.hero-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,0.5); cursor: pointer;
    transition: all 0.3s ease;
}
.hero-dot.active { background: #ffc107; transform: scale(1.3); }

/* 移动端菜单 */
.menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; }
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav {
        position: fixed; top: 70px; left: 0; right: 0;
        background: #fff; flex-direction: column; padding: 24px;
        transform: translateY(-150%); transition: transform 0.3s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid #eee; }
}

/* FAQ 手风琴 */
.faq-question { cursor: pointer; padding: 16px; font-weight: 600; display: flex; justify-content: space-between; }


.faq-answer { padding: 0 16px; color: #666; }


/* ========== 以下为轮播/FAQ/导航补充样式 ========== */
/* ==========================================
   Hero Slider 轮播样式
   ========================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,20,40,0.75) 0%, rgba(10,20,40,0.45) 100%);
    z-index: 1;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    color: #fff;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 168, 88, 0.15);
    border: 1px solid rgba(212, 168, 88, 0.4);
    border-radius: 50px;
    color: #d4a858;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

  /* 手机端：hero 小标签缩小并强制单行，避免换行挤压标题 */
  @media (max-width: 768px) {
      .hero-tag {
        white-space: nowrap;
        max-width: calc(100vw - 16px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
  }

.hero-slide h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero-slide p {
    color: rgba(255,255,255,0.9);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 650px;
}

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

.hero-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
}

.badge-icon {
    font-weight: 700;
    color: #ffc107;
}

/* 箭头按钮 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-arrow:hover {
    background: rgba(255,193,7,0.9);
    border-color: #ffc107;
    color: #1a1a1a;
    transform: translateY(-50%) scale(1.1);
}

.hero-prev { left: 24px; }
.hero-next { right: 24px; }

  /* 桌面/平板（≥769px）：箭头移到底部圆点两侧，避免压住左对齐的标题与描述 */
  @media (min-width: 769px) {
      .hero-arrow {
          top: auto;
          bottom: 26px;
          transform: none;
          width: 44px;
          height: 44px;
      }
      .hero-arrow:hover {
          transform: scale(1.1);
      }
      .hero-prev {
          left: 50%;
          margin-left: -98px;
      }
      .hero-next {
          right: 50%;
          margin-right: -98px;
      }
  }

/* 指示器圆点 */
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hero-dot.active {
    background: #ffc107;
    width: 36px;
    border-radius: 6px;
}

/* ==========================================
   FAQ 手风琴展开动画
   ========================================== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 2000px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--gold-accent, #ffc107);
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-answer p {
    padding: 0 24px 20px;
    margin: 0;
    color: #555;
    line-height: 1.7;
}

/* ==========================================
   Navbar 滚动变色效果
   ========================================== */
.navbar-scrolled {
    background: rgba(10, 20, 40, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    backdrop-filter: blur(12px);
}

.navbar-scrolled .nav-logo span,
.navbar-scrolled .nav-links a {
    color: #ffffff !important;
}

.navbar-scrolled .nav-links a.active,
.navbar-scrolled .nav-links a:hover {
    color: var(--gold-accent, #ffc107) !important;
}

/* ==========================================
   移动端响应式补充
   ========================================== */
@media (max-width: 768px) {
    .hero-slider {
        height: 80vh;
        min-height: 500px;
    }

    .hero-arrow {
        display: none; /* 触屏用滑动+圆点，避免箭头压住标题与描述 */
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }

    .hero-prev { left: 8px; }
    .hero-next { right: 8px; }


/* ===== Contact Grid - Unified Style ===== */
.hl-contact-grid {
    max-width: 1000px !important;
    margin: 0 0 0 auto !important;
    padding: 0 24px !important;
}

@media (max-width: 1024px) {
    .hl-contact-grid {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    .hl-contact-grid {
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 16px !important;
    }
}

@keyframes borderFlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

}
/* Newsletter 订阅反馈信息（main.js 动态插入，替代原来的 alert） */
.f-news-msg {
    margin: 10px 0 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #d4a858;
}
.f-news-msg.error {
    color: #ff7b7b;
}

/* ===== 2026-11-08 A 档：以下规则原在 348 页内联 <style>，迁到此处统一维护 ===== */
.lang-switcher {display: inline-block;
        margin-right: 12px;
        vertical-align: middle;}
.lang-select {background: rgba(255,255,255,0.1) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255,255,255,0.4) !important;
        padding: 6px 28px 6px 10px !important;
        border-radius: 4px !important;
        font-size: 0.8rem !important;
        cursor: pointer !important;
        font-family: inherit !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 8px center !important;}
.lang-select option {background: #0c1b36 !important;
        color: #ffffff !important;
        padding: 8px !important;}
.lang-select:hover {border-color: rgba(212,168,88,0.6) !important;
        background: rgba(212,168,88,0.1) !important;}
#mainNavbar.scrolled .lang-select,
#mainNavbar.navbar-scrolled .lang-select,
.navbar:not(#mainNavbar) .lang-select {color: #ffffff !important;
        border-color: rgba(212,168,88,0.4) !important;}
[dir="rtl"] .lang-switcher {margin-right: 0;
    margin-left: 12px;}
.hero-slide.active .hero-tag {animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;}
.back-to-top .text { display: none; }
@media (max-width: 1024px) {
    .nav-cta .lang-switcher { display: none; }
}
