/* ============================================
   TRANSFRIO - Industrial Drying Equipment
   Global Stylesheet
   Color Scheme: Orange + Blue on Dark BG
   ============================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Primary Colors */
  --color-orange: #FF6B35;
  --color-orange-light: #FF8C5A;
  --color-orange-dark: #E55A2B;
  --color-blue: #0077CC;
  --color-blue-light: #3399DD;
  --color-blue-dark: #005A9C;

  /* Background Colors */
  --bg-primary: #0D1117;
  --bg-secondary: #1A1F2E;
  --bg-tertiary: #161B22;
  --bg-card: #1C2333;
  --bg-card-hover: #222D40;

  /* Text Colors */
  --text-primary: #E6EDF3;
  --text-secondary: #8B949E;
  --text-muted: #6A737D;

  /* Border & Accent */
  --border-color: #30363D;
  --border-light: #3D444D;

  /* Status Colors */
  --color-green: #3FB950;
  --color-yellow: #D29922;
  --color-red: #F85149;

  /* Gradients */
  --gradient-orange: linear-gradient(135deg, #FF6B35, #FF8C5A);
  --gradient-blue: linear-gradient(135deg, #0077CC, #3399DD);
  --gradient-hero: linear-gradient(135deg, rgba(13,17,23,0.95) 0%, rgba(26,31,46,0.9) 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  --gradient-card: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);

  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-accent: 'Roboto', sans-serif;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 100px 0;
  --section-padding-sm: 60px 0;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-orange-glow: 0 0 20px rgba(255,107,53,0.3), 0 0 60px rgba(255,107,53,0.1);
  --shadow-blue-glow: 0 0 20px rgba(0,119,204,0.3);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Aliases (fix undefined variables used in product/detail sections) */
  --bg-light: var(--bg-tertiary);
  --bg-white: var(--bg-card);
}

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

html {
  scroll-behavior: smooth;
  font-size: clamp(15px, 0.625rem + 0.5vw, 16px);
  -webkit-text-size-adjust: 100%;
}

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

/* Subtle grid pattern overlay for industrial feel */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255,107,53,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,53,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--color-blue-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-orange);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: 1px; }
h2 { font-size: clamp(26px, 4vw, 40px); letter-spacing: 0.5px; }
h3 { font-size: clamp(20px, 3vw, 28px); letter-spacing: 0.3px; }
h4 { font-size: 18px; }

p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.section-sm {
  padding: var(--section-padding-sm);
  position: relative;
  z-index: 1;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-orange { color: var(--color-orange); }
.text-blue { color: var(--color-blue-light); }
.text-green { color: var(--color-green); }

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

/* Section Title Component */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  margin-bottom: 16px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-orange);
  border-radius: 2px;
}

.section-title p {
  max-width: 650px;
  margin: 20px auto 0;
  font-size: 16px;
}

/* Accent Line (45-degree cut for industrial look) */
.accent-line {
  width: 80px;
  height: 3px;
  background: var(--gradient-orange);
  margin: 12px 0;
  position: relative;
}

.accent-line::before {
  content: '';
  position: absolute;
  right: -8px;
  top: -4px;
  width: 11px;
  height: 11px;
  background: var(--color-orange);
  transform: rotate(45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-orange);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange-glow);
  color: #fff;
}

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

.btn-secondary:hover {
  background: var(--color-orange);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border: 1px solid var(--color-blue);
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
}

.btn-outline:hover {
  background: var(--color-blue);
  color: #fff;
}

.spec-table .btn-outline.btn-sm {
  min-width: 96px;
  padding: 6px 14px;
  font-size: 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-blue {
  background: var(--gradient-blue);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-glow);
  color: #fff;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 13px;
}

.btn-lg {
  padding: 18px 42px;
  font-size: 16px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all var(--transition-normal);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(13, 17, 23, 0.97);
  border-bottom-color: var(--border-color);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: capitalize;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  border-bottom-color: var(--color-orange);
}

.nav-link.active {
  color: var(--color-orange);
}

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

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  border-color: var(--color-orange);
  color: var(--text-primary);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all var(--transition-fast);
  z-index: 9999;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--border-color);
}

.lang-dropdown a:last-child {
  border-bottom: none;
}

.lang-dropdown a:hover {
  background: var(--bg-tertiary);
  color: var(--color-orange);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  transition: all var(--transition-normal);
  border-radius: 2px;
  origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -320px;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-secondary);
  z-index: 999;
  padding: 90px 24px 30px;
  overflow-y: auto;
  transition: right var(--transition-normal);
  border-left: 1px solid var(--border-color);
}

.mobile-menu.show {
  right: 0;
}

.mobile-menu .nav-link {
  padding: 14px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--border-color);
  border-bottom-style: dashed;
}

.mobile-menu .lang-selector {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

/* ============================================
   HERO BANNER / CAROUSEL
   ============================================ */
.hero {
  position: relative;
  padding: 80px 0 50px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
  margin-top: 72px;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-orange), transparent);
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-video-wrapper {
  position: relative;
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
}

.hero-video-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-ctrl-btn {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-ctrl-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 107, 53, 0.5);
  transform: scale(1.1);
}

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

  .video-tabs {
  width: 100%;
}

.video-tabs-nav {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.video-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 107, 53, 0.1);
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-radius: 8px;
  color: var(--color-orange);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.video-tab-btn:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 107, 53, 0.6);
}

.video-tab-btn.active {
  background: var(--gradient-orange);
  color: #fff;
  border-color: var(--color-orange);
}

.video-tab-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.video-tabs-content {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}

.video-tab-panel {
  display: none;
}

.video-tab-panel.active {
  display: block;
}

.video-wrapper {
  position: relative;
  width: 100%;
}

.tab-video {
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
}

.video-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.video-cover:hover {
  background: rgba(0, 0, 0, 0.5);
}

.video-cover-playing {
  display: none;
}

.video-cover-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
}

.video-cover-play-btn {
  width: 72px;
  height: 72px;
  background: rgba(255, 107, 53, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-orange-glow);
}

.video-cover-play-btn:hover {
  transform: scale(1.1);
}

.video-cover-play-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  margin-left: 4px;
}

.video-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.video-modal-overlay.show {
  display: flex;
  opacity: 1;
}

.video-modal {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: 1200px;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.video-modal-overlay.show .video-modal {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.video-modal-close:hover {
  background: rgba(255, 107, 53, 0.8);
  border-color: var(--color-orange);
}

.video-modal-close svg {
  width: 20px;
  height: 20px;
}

.video-modal video {
  width: 100%;
  height: auto;
  max-height: 85vh;
}

/* CSS-generated placeholder backgrounds for hero slides */
.hero-slide-bg.slide-1 {
  background:
    linear-gradient(135deg, rgba(255,107,53,0.15) 0%, transparent 50%),
    linear-gradient(225deg, rgba(0,119,204,0.15) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      var(--bg-secondary),
      var(--bg-secondary) 40px,
      var(--bg-tertiary) 40px,
      var(--bg-tertiary) 80px
    );
  background-color: var(--bg-primary);
}

.hero-slide-bg.slide-2 {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,119,204,0.2) 0%, transparent 60%),
    repeating-linear-gradient(
      -45deg,
      var(--bg-secondary),
      var(--bg-secondary) 60px,
      rgba(255,107,53,0.05) 60px,
      rgba(255,107,53,0.05) 61px
    );
  background-color: var(--bg-primary);
}

.hero-slide-bg.slide-3 {
  background:
    linear-gradient(180deg, rgba(255,107,53,0.08) 0%, transparent 40%),
    linear-gradient(0deg, rgba(0,119,204,0.1) 0%, transparent 50%),
    conic-gradient(from 180deg at 70% 30%, rgba(255,107,53,0.06) 0deg, transparent 120deg, rgba(0,119,204,0.06) 240deg, transparent 360deg);
  background-color: var(--bg-primary);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 17, 23, 0.92) 0%,
    rgba(13, 17, 23, 0.75) 50%,
    rgba(26, 31, 46, 0.88) 100%
  );
  z-index: 1;
}

.hero-content {
  display: none;
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,107,53,0.12);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--color-orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.6;
}

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

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.carousel-dot {
  width: 40px;
  height: 4px;
  background-color: rgba(255,255,255,0.25);
  background-clip: content-box;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 14px 0;
}

.carousel-dot.active {
  width: 60px;
  background-color: var(--color-orange);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce-down 2s infinite;
  display: none;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-muted);
}

@keyframes bounce-down {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(10px); }
  60% { transform: translateX(-50%) translateY(5px); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

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

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

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .suffix {
  font-size: 0.5em;
  color: var(--color-blue-light);
}

.stat-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  background: var(--border-color);
  align-self: stretch;
}

/* ============================================
   STICKY SECTION (Homepage Top Solutions & Cases)
   ============================================ */
.sticky-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.sticky-solution,
.sticky-case {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.sticky-solution {
  border-left: 3px solid var(--color-blue);
}

.sticky-case {
  border-left: 3px solid var(--color-orange);
}

.sticky-solution:hover,
.sticky-case:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
  box-shadow: var(--shadow-lg);
}

.sticky-badge {
  display: inline-block;
  padding: 6px 18px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  margin-bottom: 20px;
  transition: all var(--transition-normal);
}

.solution-badge {
  background: rgba(0, 119, 204, 0.15);
  color: var(--color-blue-light);
  border: 1px solid rgba(0, 119, 204, 0.3);
}

.case-badge {
  background: rgba(255, 107, 53, 0.15);
  color: var(--color-orange);
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.sticky-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.3;
}

.sticky-summary {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sticky-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
}

.sticky-link:hover {
  gap: 12px;
  color: var(--color-orange-light);
}

.sticky-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.sticky-link:hover svg {
  transform: translateX(4px);
}

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--color-orange);
  box-shadow: var(--shadow-orange-glow);
}

.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CSS placeholder images with different patterns */
.card-image.placeholder-1 {
  background:
    linear-gradient(135deg, rgba(255,107,53,0.15), rgba(0,119,204,0.1)),
    repeating-linear-gradient(45deg, var(--bg-tertiary), var(--bg-tertiary) 10px, var(--bg-secondary) 10px, var(--bg-secondary) 20px);
}

.card-image.placeholder-2 {
  background:
    radial-gradient(circle at 50% 50%, rgba(0,119,204,0.15), transparent 70%),
    repeating-linear-gradient(-45deg, var(--bg-tertiary), var(--bg-tertiary) 10px, var(--bg-secondary) 10px, var(--bg-secondary) 20px);
}

.card-image.placeholder-3 {
  background:
    conic-gradient(from 0deg at 50% 50%, rgba(255,107,53,0.08) 0deg, transparent 90deg, rgba(0,119,204,0.08) 180deg, transparent 270deg, rgba(255,107,53,0.08) 360deg),
    var(--bg-tertiary);
}

.card-image.placeholder-4 {
  background:
    linear-gradient(180deg, rgba(255,107,53,0.1) 0%, transparent 50%, rgba(0,119,204,0.1) 100%),
    repeating-conic-gradient(var(--bg-tertiary) 0deg, var(--bg-secondary) 4deg, var(--bg-tertiary) 8deg);
}

.card-image.placeholder-5 {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,107,53,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(0,119,204,0.12) 0%, transparent 50%),
    var(--bg-tertiary);
}

.card-image.placeholder-6 {
  background:
    linear-gradient(135deg, rgba(0,119,204,0.12) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,107,53,0.12) 25%, transparent 25%),
    var(--bg-tertiary);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

/* SVG Icon in card image area */
.card-image svg {
  width: 64px;
  height: 64px;
  opacity: 0.5;
}

.card-body {
  padding: 24px;
}

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-orange);
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 50px;
  margin-bottom: 12px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  min-height: 60px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 95px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
}

.card-link:hover {
  gap: 12px;
  color: var(--color-orange-light);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* ============================================
   FEATURES / WHY CHOOSE US
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: center;
}

.feature-item {
  display: flex;
  gap: 24px;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.feature-item:hover {
  border-color: rgba(255,107,53,0.3);
  background: var(--bg-card-hover);
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: var(--radius-md);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-orange);
}

.feature-text h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-text p {
  font-size: 14px;
  line-height: 1.7;
}

/* Alternating layout */
.features-alt .feature-item:nth-child(even) {
  direction: rtl;
}

.features-alt .feature-item:nth-child(even) > * {
  direction: ltr;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(0,119,204,0.08) 100%),
    var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 80px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-orange);
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  max-width: 550px;
  margin: 0 auto 32px;
  font-size: 17px;
}

/* ============================================
   PAGE HEADER (Inner Pages)
   ============================================ */
.page-header {
  margin-top: 72px;
  padding: 80px 0 50px;
  background:
    linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-orange), transparent);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-orange);
}

.breadcrumb .separator {
  color: var(--border-color);
}

.page-header h1 {
  font-size: clamp(32px, 5vw, 48px);
}

.page-sub-description {
  margin: 18px 0 0 0;
  max-width: 820px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.page-header .accent-line {
  margin-top: 16px;
}

/* 详情页标题栏右上角返回按钮 */
.page-header .detail-header-container {
  position: relative;
}

.page-header .detail-back-btn {
  position: absolute;
  top: 6px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.page-header .detail-header-container h1 {
  padding-right: 120px;
}

@media (max-width: 768px) {
  .page-header .detail-back-btn {
    position: static;
    margin-bottom: 16px;
  }
  .page-header .detail-header-container h1 {
    padding-right: 0;
  }
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-intro-text h2 {
  margin-bottom: 20px;
}

.about-intro-text .accent-line {
  margin-bottom: 24px;
}

.about-intro-text p {
  margin-bottom: 16px;
  font-size: 15px;
}

.about-guide-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-orange);
  margin-bottom: 12px;
  line-height: 1.8;
}

.video-placeholder {
  aspect-ratio: 16/9;
  background:
    linear-gradient(135deg, rgba(255,107,53,0.08), rgba(0,119,204,0.06)),
    repeating-linear-gradient(45deg, var(--bg-card), var(--bg-card) 20px, var(--bg-tertiary) 20px, var(--bg-tertiary) 40px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

@supports not (aspect-ratio: 16 / 9) {
  .video-placeholder { padding-top: 56.25%; }
}

.video-placeholder video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity var(--transition-normal);
}

.video-placeholder video.play {
  opacity: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(0,0,0,0);
  transition: background var(--transition-normal);
  cursor: pointer;
}

.video-placeholder.video-playing .video-overlay {
  background: rgba(0,0,0,0);
}

.video-placeholder.video-playing .video-overlay .video-play-btn {
  opacity: 0;
  pointer-events: none;
}

.video-controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  background: rgba(0,0,0,0.6);
  padding: 8px 12px;
  border-radius: 24px;
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.video-placeholder:hover .video-controls,
.video-placeholder.video-playing .video-controls {
  opacity: 1;
  pointer-events: auto;
}

.video-control-btn {
  background: none;
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.video-control-btn:hover {
  background: rgba(255,255,255,0.2);
}

.video-control-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.video-control-btn .pause-icon,
.video-control-btn .unmuted-icon,
.video-control-btn .exit-fullscreen-icon {
  display: none;
}

.video-placeholder.video-playing .video-control-btn .play-icon {
  display: none;
}

.video-placeholder.video-playing .video-control-btn .pause-icon {
  display: block;
}

.video-placeholder.video-unmuted .video-control-btn .muted-icon {
  display: none;
}

.video-placeholder.video-unmuted .video-control-btn .unmuted-icon {
  display: block;
}

.video-placeholder.video-fullscreen .video-control-btn .fullscreen-icon {
  display: none;
}

.video-placeholder.video-fullscreen .video-control-btn .exit-fullscreen-icon {
  display: block;
}

.video-placeholder:hover {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-orange-glow);
}

.video-play-btn {
  width: 72px;
  height: 72px;
  background: var(--gradient-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.video-placeholder:hover .video-play-btn {
  transform: scale(1.1);
  box-shadow: var(--shadow-orange-glow);
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  margin-left: 4px;
}

.video-placeholder p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Data Highlights */
.data-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.data-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.data-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-orange);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

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

.data-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,107,53,0.3);
}

.data-card-number {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.data-card-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Culture/Values Grid */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.culture-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.culture-card:hover {
  border-color: var(--color-blue);
  box-shadow: 0 0 30px rgba(0,119,204,0.1);
}

.culture-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: rgba(0,119,204,0.1);
  border: 1px solid rgba(0,119,204,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.culture-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-blue-light);
}

.culture-card h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 12px;
}

.culture-card p {
  font-size: 14px;
  line-height: 1.7;
}



/* ============================================
   PRODUCTS PAGE - TABS & FILTERING
   ============================================ */
.tabs-wrapper {
  margin-bottom: 40px;
}

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

.tab-btn {
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-transform: capitalize;
}

.tab-btn:hover {
  border-color: var(--color-orange);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--gradient-orange);
  color: #fff;
  border-color: var(--color-orange);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Product Card (enhanced) */
.product-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-orange);
  box-shadow: var(--shadow-orange-glow);
}

.product-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.product-card-image .product-icon {
  width: 80px;
  height: 80px;
  opacity: 0.35;
  transition: all var(--transition-normal);
}

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

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

.product-card:hover .product-icon {
  opacity: 0.55;
  transform: scale(1.1);
}

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

.product-card-info h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 8px;
}

.product-card-info p {
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 64px;
  max-height: 64px;
  overflow: hidden;
  align-content: flex-start;
}

.product-spec-tag {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  height: auto;
  max-height: none;
}

/* ============================================
   PRODUCT CATEGORY ENTRY GRID (Products Page)
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

.category-entry-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-entry-card:hover {
  border-color: var(--color-orange);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.12);
  transform: translateY(-2px);
}

.category-entry-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.1);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.category-entry-card:nth-child(2) .category-entry-icon {
  background: rgba(0, 119, 204, 0.1);
}

.category-entry-card:nth-child(3) .category-entry-icon {
  background: rgba(63, 185, 80, 0.1);
}

.category-entry-card:nth-child(4) .category-entry-icon {
  background: rgba(139, 92, 246, 0.1);
}

.category-entry-icon svg {
  width: 40px;
  height: 40px;
}

.category-entry-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  min-height: 60px;
}

.category-entry-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 8px 0 0 0;
  min-height: 95px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.category-entry-content .btn {
  margin-top: 16px;
}

/* ============================================
   PRODUCT LIST PAGE (category.html)
   ============================================ */
.product-list {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-color);
}

.product-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.product-list-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

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

.product-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  position: relative;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* 列宽分配：型号20%，规格15%，电源18%，功率12%，电流9%，烘干量12%，操作14%（合计100%） */
.product-table col:nth-child(1),
.product-table th:nth-child(1),
.product-table td:nth-child(1) {
  width: 20%;
  min-width: 180px;
}
.product-table col:nth-child(2),
.product-table th:nth-child(2),
.product-table td:nth-child(2) {
  width: 15%;
  min-width: 130px;
}
.product-table col:nth-child(3),
.product-table th:nth-child(3),
.product-table td:nth-child(3) {
  width: 18%;
  min-width: 150px;
}
.product-table col:nth-child(4),
.product-table th:nth-child(4),
.product-table td:nth-child(4) {
  width: 12%;
  min-width: 90px;
}
.product-table col:nth-child(5),
.product-table th:nth-child(5),
.product-table td:nth-child(5) {
  width: 9%;
  min-width: 80px;
}
.product-table col:nth-child(6),
.product-table th:nth-child(6),
.product-table td:nth-child(6) {
  width: 12%;
  min-width: 110px;
}
.product-table col:nth-child(7),
.product-table th:nth-child(7),
.product-table td:nth-child(7) {
  width: 14%;
  min-width: 150px;
}

.product-table th,
.product-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  word-wrap: break-word;
  word-break: break-all;
}

.product-table th {
  background: var(--bg-light);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
}

.product-table td {
  font-size: 14px;
  color: var(--text-secondary);
}

.product-table td:nth-child(1) .product-link {
  white-space: nowrap;
  overflow: visible;
}

.product-table tr:hover {
  background: rgba(255, 107, 53, 0.04);
}

/* 产品列表表格中的操作按钮：加长、不换行、对齐统一 */
table.product-table tbody td .btn.btn-secondary.btn-sm,
.product-table .btn-sm {
  min-width: 130px;
  width: 130px;
  padding: 10px 18px;
  font-size: 13px;
  white-space: nowrap !important;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.product-link {
  color: var(--color-orange);
  text-decoration: none;
  font-weight: 500;
}

.product-link:hover {
  text-decoration: underline;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ============================================
   PRODUCT DETAIL PAGE (product.html)
   ============================================ */
.product-detail {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-color);
}

.product-detail-header {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.product-image-carousel {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 7 / 5;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

@supports not (aspect-ratio: 7 / 5) {
  .product-image-carousel { height: 400px; }
}

.carousel-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
}

.carousel-slide.active {
  display: flex;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.carousel-prev,
.carousel-next {
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
}

.carousel-prev svg,
.carousel-next svg {
  width: 20px;
  height: 20px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel-indicator.active {
  background: var(--color-orange);
}

.product-image-placeholder {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 7 / 5;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@supports not (aspect-ratio: 7 / 5) {
  .product-image-placeholder { height: 200px; }
}

.product-basic-info {
  flex: 1;
}

.product-model-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.product-category {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
}

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

.product-tags .tag {
  padding: 4px 12px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--color-orange);
  font-size: 12px;
  border-radius: 20px;
}

.product-specs-section {
  margin-bottom: 28px;
}

.product-specs-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.specs-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 12px;
}

.spec-row {
  display: flex;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.spec-row label {
  font-weight: 500;
  color: var(--text-secondary);
  min-width: 140px;
  flex-shrink: 0;
}

.spec-row span {
  color: var(--text-primary);
  font-weight: 500;
}

.product-action {
  display: flex;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 767px) {
  .product-detail-header {
    flex-direction: column;
  }

  .specs-table {
    grid-template-columns: 1fr;
  }

  .product-action {
    flex-direction: column;
  }
}

/* ============================================
   PRODUCT CATEGORY SYSTEM (Products Page)
   ============================================ */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.category-tab {
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.category-tab:hover {
  border-color: var(--color-orange);
  color: var(--text-primary);
  background: rgba(255, 107, 53, 0.08);
}

.category-tab.active {
  background: var(--gradient-orange);
  color: #fff;
  border-color: var(--color-orange);
  box-shadow: 0 2px 12px rgba(255, 107, 53, 0.3);
}

.category-tab.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid var(--color-orange);
}

.subcategory-pills {
  margin-bottom: 32px;
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.subcategory-pill {
  padding: 7px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.subcategory-pill:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  background: rgba(0, 119, 204, 0.08);
}

.subcategory-pill.active {
  background: var(--color-blue);
  color: #fff;
  border-color: var(--color-blue);
  box-shadow: 0 2px 8px rgba(0, 119, 204, 0.3);
}

/* Product card hidden state for filter */
.product-card.filter-hidden {
  display: none !important;
}

/* Product card visible animation */
.product-card.filter-visible {
  animation: cardReveal 0.35s ease forwards;
}

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

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--bg-card);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(255,107,53,0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  gap: 16px;
}

.faq-question:hover {
  color: var(--color-orange);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.faq-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-orange);
  transition: transform var(--transition-normal);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

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

/* AI Chat Entry Banner */
.ai-entry-banner {
  background:
    linear-gradient(135deg, rgba(0,119,204,0.1), rgba(255,107,53,0.08)),
    var(--bg-card);
  border: 1px solid rgba(0,119,204,0.2);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

.ai-entry-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,119,204,0.1) 0%, transparent 70%);
  animation: float-blob 8s ease-in-out infinite;
}

.ai-entry-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
  animation: float-blob 10s ease-in-out infinite reverse;
}

@keyframes float-blob {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

.ai-entry-banner > * {
  position: relative;
  z-index: 1;
}

.ai-entry-banner h3 {
  margin-bottom: 12px;
}

.ai-entry-banner p {
  max-width: 480px;
  margin: 0 auto 24px;
}

/* AI Chat Modal */
.ai-chat-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ai-chat-overlay.show {
  opacity: 1;
  visibility: visible;
}
.ai-chat-modal {
  background: var(--bg-card, #fff);
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  height: 640px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.ai-chat-overlay.show .ai-chat-modal {
  transform: scale(1);
}
.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color, #e5e7eb);
  flex-shrink: 0;
}
.ai-chat-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.ai-chat-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary, #6b7280);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.ai-chat-close:hover {
  background: var(--bg-secondary, #f3f4f6);
}
.ai-chat-body {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.ai-chat-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-secondary, #6b7280);
  font-size: 14px;
}
.ai-chat-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
  text-align: center;
  gap: 16px;
}
.ai-chat-login p {
  color: var(--text-secondary, #6b7280);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 480px) {
  .ai-chat-modal {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}
.contact-grid > * {
  height: 100%;
}
.contact-info-card,
.contact-form-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-info-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  min-height: 560px;
}

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

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: var(--radius-md);
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-orange);
}

.contact-info-text h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-info-text a:hover {
  color: var(--color-orange);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-3px);
}

.social-link:hover svg {
  stroke: #fff;
}

.social-link svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  fill: none;
  transition: stroke var(--transition-fast);
}

/* Contact Form */
.contact-form-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  min-height: 560px;
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-form-card > p {
  margin-bottom: 28px;
  font-size: 14px;
}

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

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238B949E' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

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

/* ============================================
   SPEC TABLE STYLES
   ============================================ */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.spec-table th {
  background: var(--bg-tertiary);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:hover td {
  background: rgba(255,107,53,0.04);
}

.spec-table td:first-child {
  font-weight: 500;
  color: var(--text-primary);
  width: 35%;
  min-width: 120px;
}

/* Application Scenarios */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scenario-card {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-normal);
}

.scenario-card:hover {
  border-color: var(--color-blue);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(0,119,204,0.1);
}

.scenario-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(0,119,204,0.1);
  border: 1px solid rgba(0,119,204,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scenario-card-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--color-blue-light);
}

.scenario-card h4 {
  font-family: var(--font-heading);
  margin-bottom: 10px;
}

.scenario-card p {
  font-size: 14px;
}

/* ============================================
   SOLUTION PAGE
   ============================================ */
.search-section {
  max-width: 720px;
  margin: 0 auto 50px;
}

.search-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.search-box {
  flex: 1;
  display: flex;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.search-box:focus-within {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255,107,53,0.1);
}

.search-box input {
  flex: 1;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  background: none;
  border: none;
  outline: none;
  min-width: 0;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box button[data-i18n] {
  padding: 16px 28px;
  background: var(--gradient-orange);
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-box button[data-i18n]:hover {
  background: var(--color-orange-dark);
}

.search-ai-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  background: var(--gradient-orange);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(255,107,53,0.25);
}

.search-ai-btn:hover {
  background: var(--color-orange-dark);
  box-shadow: 0 6px 18px rgba(255,107,53,0.35);
  transform: translateY(-1px);
}

.search-ai-btn:active {
  transform: translateY(0);
}

.search-ai-btn svg {
  flex-shrink: 0;
}

.search-ai-btn-text {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .search-ai-btn {
    padding: 0 14px;
  }
  .search-ai-btn-text {
    display: none;
  }
}

/* Process Flow Steps */
.process-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  padding: 20px 0 60px;
}

.process-flow::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-color);
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.process-step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--gradient-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.process-step h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 13px;
  line-height: 1.5;
}

/* ============================================
   CASES PAGE
   ============================================ */
.case-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.case-card-link {
  text-decoration: none;
  display: block;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-orange);
  box-shadow: var(--shadow-orange-glow);
}

.case-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-image-bg {
  width: 100%;
  height: 100%;
  transition: transform var(--transition-slow);
  object-fit: cover;
  display: block;
}

.case-card:hover .case-image-bg {
  transform: scale(1.05);
}

.case-image-bg.c1 {
  background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(0,119,204,0.08)), repeating-linear-gradient(45deg, var(--bg-tertiary), var(--bg-tertiary) 12px, var(--bg-secondary) 12px, var(--bg-secondary) 24px);
}

.case-image-bg.c2 {
  background: radial-gradient(ellipse at 30% 40%, rgba(0,119,204,0.15) 0%, transparent 60%), var(--bg-tertiary);
}

.case-image-bg.c3 {
  background: conic-gradient(from 0deg at 50% 50%, rgba(255,107,53,0.07) 0deg, transparent 90deg, rgba(0,119,204,0.07) 180deg, transparent 270deg, rgba(255,107,53,0.07) 360deg), var(--bg-tertiary);
}

.case-image-bg.c4 {
  background: linear-gradient(180deg, rgba(255,107,53,0.1) 0%, transparent 40%, rgba(0,119,204,0.1) 100%), repeating-conic-gradient(var(--bg-tertiary) 0deg, var(--bg-secondary) 4deg, var(--bg-tertiary) 8deg);
}

.case-image-bg.c5 {
  background: linear-gradient(135deg, rgba(0,119,204,0.1) 25%, transparent 25%), linear-gradient(225deg, rgba(255,107,53,0.1) 25%, transparent 25%), var(--bg-tertiary);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
}

.case-image-bg.c6 {
  background: radial-gradient(ellipse at 20% 20%, rgba(255,107,53,0.1) 0%, transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(0,119,204,0.1) 0%, transparent 50%), var(--bg-tertiary);
}

.case-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(255,107,53,0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
}

.case-body {
  padding: 24px;
}

.case-body h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 10px;
  /* 固定 2 行高度，超出隐藏 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  min-height: 52px;
  max-height: 52px;
}

.case-body p {
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.7;
  /* 固定 3 行高度，超出隐藏 */
  min-height: 72px;
  max-height: 72px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.case-stats {
  display: flex;
  gap: 20px;
}

.case-stat {
  font-size: 13px;
}

.case-stat strong {
  color: var(--color-orange);
  font-weight: 600;
}

/* ============================================
   MIXED CARDS — 案例 / 方案 混合排列的类型徽标
   ============================================ */
/* 方案卡片（蓝色调，区别于案例的橙色调） */
.case-card.is-solution {
  border-color: rgba(0, 119, 204, 0.25);
}
.case-card.is-solution:hover {
  border-color: var(--color-blue);
  box-shadow: 0 10px 30px rgba(0, 119, 204, 0.18);
}

/* 类型徽标：右上角的小标签，区分 Case / Solution */
.case-type-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 50px;
  color: #ffffff !important;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  z-index: 5;
}
.case-type-badge.case-badge {
  background: rgba(255, 107, 53, 0.95);
}
.case-type-badge.solution-badge {
  background: rgba(0, 119, 204, 0.95);
}

/* 方案卡片的分类标签使用蓝色调（覆盖默认橙色） */
.case-category.case-category-blue {
  background: rgba(0, 119, 204, 0.9);
}

/* 详情页 content 中章节标题样式（由 importSolutionsV2.js textToHtml 生成） */
.detail-body h3.content-section,
#detailDescription h3.content-section {
  margin: 28px 0 14px;
  padding: 10px 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary, #1a1d24);
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.08), rgba(0, 119, 204, 0.04));
  border-left: 4px solid var(--color-orange, #FF6B35);
  border-radius: 4px;
}
.detail-body h3.content-section:first-child,
#detailDescription h3.content-section:first-child {
  margin-top: 0;
}
.detail-body p,
#detailDescription p {
  margin: 0 0 14px;
  line-height: 1.85;
  color: var(--text-primary, #1a1d24);
  font-size: 15px;
}

/* 详情页富文本正文排版（#detailDescription 容器，全局生效，不依赖 content 内联 <style>） */
#detailDescription {
  color: var(--text-secondary, #8B949E);
  font-size: 16px;
  line-height: 1.9;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
#detailDescription img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px 0;
  border-radius: 8px;
}
#detailDescription h3 {
  font-family: var(--font-heading, Oswald, sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin: 32px 0 16px;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(255,107,53,.18), rgba(255,107,53,.06));
  border-left: 4px solid var(--color-orange, #ff6b35);
  border-radius: 6px;
  letter-spacing: .5px;
}
#detailDescription h3:first-child { margin-top: 0; }
#detailDescription h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary, #f0f6fc);
  margin: 24px 0 12px;
  padding-left: 14px;
  border-left: 3px solid #ff8c5a;
  line-height: 1.5;
}
#detailDescription p {
  margin: 0 0 14px;
  line-height: 1.85;
  color: var(--text-secondary, #8B949E);
  font-size: 15px;
  text-align: justify;
}
#detailDescription table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
  background: var(--bg-card-dark, #1c2333);
  border-radius: 8px;
  overflow: hidden;
}
#detailDescription table thead th {
  background: linear-gradient(135deg, var(--color-orange, #ff6b35), #ff8c5a);
  color: #fff;
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.15);
  white-space: nowrap;
}
#detailDescription table tbody td {
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text-secondary, #8B949E);
  line-height: 1.6;
  vertical-align: top;
}
#detailDescription table tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
#detailDescription table tbody tr:hover { background: rgba(255,107,53,.08); }
#detailDescription ul, #detailDescription ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
#detailDescription ul { list-style: disc; }
#detailDescription ol { list-style: decimal; }
#detailDescription li {
  margin-bottom: 8px;
  color: var(--text-secondary, #8B949E);
}
#detailDescription strong { color: var(--text-primary, #E6EDF3); font-weight: 600; }
#detailDescription em { color: var(--color-orange, #ff6b35); font-style: italic; }
#detailDescription a { color: #3399DD; text-decoration: underline; }
#detailDescription a:hover { color: var(--color-orange, #ff6b35); }
#detailDescription blockquote {
  border-left: 4px solid var(--color-orange, #ff6b35);
  padding: 10px 16px;
  margin: 16px 0;
  background: rgba(255,255,255,.03);
  color: var(--text-secondary, #8B949E);
  border-radius: 0 6px 6px 0;
}

/* ============================================
   DETAIL PAGE (Solution & Case)
   ============================================ */
.detail-page {
  max-width: 800px;
  margin: 0 auto;
}

.detail-header {
  text-align: center;
  margin-bottom: 48px;
}

.detail-badge {
  display: inline-block;
  padding: 8px 24px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  margin-bottom: 16px;
  transition: all var(--transition-normal);
}

.solution-badge {
  background: rgba(0, 119, 204, 0.15);
  color: var(--color-blue-light);
  border: 1px solid rgba(0, 119, 204, 0.3);
}

.case-badge {
  background: rgba(255, 107, 53, 0.15);
  color: var(--color-orange);
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.detail-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 24px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.detail-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 500;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.detail-tag:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  background: rgba(255, 107, 53, 0.05);
}

.detail-content {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 40px;
}

/* 详情页配图（封面图）：单张全宽展示 */
.detail-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.detail-image-item {
  flex: 1 1 100%;
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #f5f5f5;
}

.detail-image-item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.detail-image-item:hover img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .detail-image-item img {
    max-height: 320px;
  }
}

.detail-body {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.9;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.detail-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px 0;
}

.detail-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.detail-body table td,
.detail-body table th {
  border: 1px solid var(--border-color);
  padding: 8px 12px;
}

.detail-body h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 32px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.detail-body h3:first-child {
  margin-top: 0;
}

.detail-body p {
  margin-bottom: 16px;
}

.detail-body ul,
.detail-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.detail-body ul {
  list-style: disc;
}

.detail-body ol {
  list-style: decimal;
}

.detail-body li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.detail-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.detail-body em {
  color: var(--color-orange);
  font-style: italic;
}

.detail-body a {
  color: var(--color-blue-light);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.detail-body a:hover {
  color: var(--color-orange);
}

/* ============================================
   工艺手册内容排版优化（暗色主题适配）
   ============================================ */

/* 章节标题 【xxx】 */
.detail-body h3.content-section-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 32px 0 16px 0;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(255, 107, 53, 0.06));
  border-left: 4px solid #ff6b35;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.detail-body h3.content-section-title:first-child {
  margin-top: 0;
}

/* 小节标题 1.1 xxx */
.detail-body h4.content-subsection-title {
  font-size: 17px;
  font-weight: 600;
  color: #f0f6fc;
  margin: 24px 0 12px 0;
  padding-left: 14px;
  border-left: 3px solid #ff8c5a;
  line-height: 1.5;
}

/* 键值对段落 字段：值 */
.detail-body p.content-kv {
  margin-bottom: 10px;
  text-align: justify;
  line-height: 1.85;
}

.detail-body p.content-kv strong {
  color: #ff8c5a;
  font-weight: 600;
}

/* 编号子项 （1）xxx */
.detail-body p.content-numbered-item {
  margin-bottom: 10px;
  padding-left: 8px;
  line-height: 1.85;
  text-align: justify;
}

.detail-body .content-number {
  display: inline-block;
  min-width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: #ff6b35;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

/* 列表项（* / - / + 开头） */
.detail-body p.content-list-item {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  line-height: 1.85;
  text-align: justify;
  color: var(--text-secondary);
}

.detail-body p.content-list-item::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  color: #ff6b35;
  font-weight: 600;
}

/* 普通段落 */
.detail-body p {
  margin-bottom: 12px;
  text-align: justify;
  line-height: 1.85;
  color: var(--text-secondary);
}

/* 数据表格 */
.detail-body .content-table-wrap {
  overflow-x: auto;
  margin: 16px 0 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.detail-body table.content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #1c2333;
}

.detail-body table.content-table thead th {
  background: linear-gradient(135deg, #ff6b35, #ff8c5a);
  color: #fff;
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.detail-body table.content-table tbody td {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  line-height: 1.6;
  vertical-align: top;
}

.detail-body table.content-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.detail-body table.content-table tbody tr:hover {
  background: rgba(255, 107, 53, 0.08);
}

/* 响应式适配 */
@media (max-width: 768px) {
  .detail-body h3.content-section-title {
    font-size: 18px;
    padding: 10px 14px;
    margin: 24px 0 12px 0;
  }

  .detail-body h4.content-subsection-title {
    font-size: 16px;
    margin: 18px 0 10px 0;
  }

  .detail-body p,
  .detail-body p.content-kv,
  .detail-body p.content-numbered-item {
    font-size: 15px;
    line-height: 1.8;
  }

  .detail-body table.content-table {
    font-size: 13px;
  }

  .detail-body table.content-table thead th,
  .detail-body table.content-table tbody td {
    padding: 8px 10px;
  }
}

.detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.detail-action {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .detail-content {
    padding: 24px;
  }
  
  .detail-title {
    font-size: clamp(24px, 5vw, 36px);
  }
  
  .detail-action {
    flex-direction: column;
    align-items: center;
  }
  
  .detail-action .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.footer-main {
  padding: 70px 0 40px;
}

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

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-orange);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--color-orange);
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
  fill: none;
  transition: stroke var(--transition-fast);
}

.footer-social a:hover svg {
  stroke: #fff;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

/* Tablet Landscape */
@media (max-width: 991px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-overlay,
  .mobile-menu {
    display: block;
  }

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

  .stats-bar {
    padding: 30px 0;
  }

  .stat-item {
    padding: 12px;
  }

  .stat-divider {
    display: none;
  }

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

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

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

  .culture-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

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

  .process-flow {
    flex-wrap: wrap;
    justify-content: center;
  }

  .process-flow::before {
    display: none;
  }

  .process-step {
    flex: 0 0 45%;
    margin-bottom: 20px;
  }

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

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

/* Tablet Portrait */
@media (max-width: 767px) {
  :root {
    --section-padding: 60px 0;
    --section-padding-sm: 40px 0;
  }

  .sticky-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sticky-solution,
  .sticky-case {
    padding: 28px;
  }

  .sticky-title {
    font-size: 20px;
  }

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

  .hero-title {
    font-size: clamp(28px, 7vw, 42px);
  }

  .hero {
    min-height: auto;
    padding: 30px 0 16px;
    margin-top: 60px;
  }

  .hero-video-wrapper {
    width: 100%;
  }

  .hero-video {
    border-radius: 0;
  }

  .hero-video-controls {
    bottom: 12px;
    right: 12px;
    gap: 8px;
  }

  .hero-ctrl-btn {
    width: 38px;
    height: 38px;
  }

  .hero-ctrl-btn svg {
    width: 16px;
    height: 16px;
  }

  .carousel-indicators {
    gap: 8px;
  }

  .tabs-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    font-size: 14px;
    padding: 10px 18px;
  }

  /* Category system responsive */
  .category-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 12px;
  }

  .category-nav::-webkit-scrollbar {
    display: none;
  }

  .category-tab {
    font-size: 12px;
    padding: 10px 16px;
    letter-spacing: 0.3px;
  }

  .category-tab.active::after {
    display: none;
  }

  .subcategory-pills {
    gap: 6px;
  }

  .subcategory-pill {
    font-size: 13px;
    padding: 8px 14px;
  }

  .ai-entry-banner {
    padding: 32px 20px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 28px;
  }
}

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

  .hero {
    padding: 24px 0 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stats-bar {
    padding: 20px 0;
  }

  .stat-item {
    padding: 6px;
  }

  .stat-number {
    font-size: 32px;
  }

  .data-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .data-card {
    padding: 28px 16px;
  }

  .data-card-number {
    font-size: 28px;
  }

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

  .page-header {
    padding: 50px 0 30px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 13px;
  }

  .btn-lg {
    padding: 14px 30px;
  }

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

  .process-step {
    flex: 0 0 100%;
  }

  .spec-table th,
  .spec-table td {
    padding: 12px 14px;
    font-size: 13px;
  }

  .spec-table td:first-child {
    width: auto;
    min-width: 0;
  }

  .product-table th:first-child,
  .product-table td:first-child {
    position: sticky;
    left: 0;
    background: var(--bg-secondary);
    z-index: 1;
  }

  .product-table th:first-child {
    background: var(--bg-tertiary);
  }

  .search-result-image {
    width: 80px;
    height: 80px;
  }

  .search-result-item {
    gap: 14px;
    padding: 16px;
  }

  .social-links {
    flex-wrap: wrap;
  }
}

/* ============================================
   PRODUCT DETAIL MODAL
   ============================================ */
.product-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform var(--transition-normal);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.product-modal-overlay.show .product-modal {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.product-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border-color);
  gap: 16px;
  flex-shrink: 0;
}

.product-modal-title-wrap {
  flex: 1;
  min-width: 0;
}

.product-modal-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.product-modal-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.product-modal-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.product-modal-close:hover {
  background: var(--color-orange);
  color: #fff;
  transform: rotate(90deg);
}

.product-modal-close svg {
  width: 18px;
  height: 18px;
}

/* Modal Body - Two Column Layout */
.product-modal-body {
  display: flex;
  gap: 28px;
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.product-modal-left {
  flex: 0 0 45%;
  max-width: 45%;
}

.product-modal-right {
  flex: 1;
  min-width: 0;
}

/* Modal Carousel */
.product-modal-carousel {
  position: relative;
}

.modal-carousel-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-tertiary);
  aspect-ratio: 4 / 3;
}

.modal-carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.modal-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-carousel-slide.active {
  opacity: 1;
}

.modal-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.modal-carousel-prev,
.modal-carousel-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-carousel-prev:hover,
.modal-carousel-next:hover {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
}

.modal-carousel-prev svg,
.modal-carousel-next svg {
  width: 20px;
  height: 20px;
}

.modal-carousel-counter {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 50px;
  text-align: center;
  font-family: var(--font-heading);
}

.modal-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.modal-carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.modal-carousel-indicator.active {
  background: var(--color-orange);
  width: 24px;
  border-radius: 4px;
}

.modal-carousel-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-tertiary);
}

.modal-carousel-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal Tags */
.product-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-modal-tags .tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-orange);
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50px;
}

/* Modal Specs */
.product-modal-specs h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-orange);
  display: inline-block;
}

.product-modal-spec-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.modal-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-color);
  gap: 16px;
}

.modal-spec-row label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  flex-shrink: 0;
}

.modal-spec-row span {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

/* Modal Footer */
.product-modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 28px 20px;
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
  justify-content: flex-end;
}

.product-modal-footer .btn {
  flex: 0 0 auto;
  min-width: 180px;
}

/* Responsive: Mobile - Full Screen */
@media (max-width: 767px) {
  .product-modal-overlay {
    padding: 0;
  }

  .product-modal {
    max-width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    height: 100%;
  }

  .product-modal-body {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .product-modal-left {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .product-modal-header {
    padding: 16px 20px 14px;
  }

  .product-modal-title {
    font-size: 19px;
  }

  .product-modal-footer {
    padding: 12px 20px 16px;
  }

  .product-modal-footer .btn {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 575px) {
  .product-modal-close {
    width: 32px;
    height: 32px;
  }

  .product-modal-close svg {
    width: 16px;
    height: 16px;
  }

  .modal-carousel-prev,
  .modal-carousel-next {
    width: 36px;
    height: 36px;
  }

  .modal-spec-row {
    padding: 10px 0;
  }

  .modal-spec-row label,
  .modal-spec-row span {
    font-size: 13px;
  }
}

@media (max-width: 375px) {
  .product-modal-header {
    padding: 14px 16px 12px;
  }

  .product-modal-title {
    font-size: 17px;
  }

  .product-modal-body {
    padding: 16px;
  }

  .product-modal-footer {
    padding: 10px 16px 14px;
    flex-direction: column;
  }
}

/* ============================================
   FLOATING CUSTOMER SERVICE BUTTON
   ============================================ */
.float-service {
  position: fixed;
  right: calc((100vw - 1200px) / 2);
  top: 80px;
  z-index: 999;
}

@media (max-width: 1200px) {
  .float-service {
    right: 24px;
  }
}

.float-service-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px 0 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--color-orange), #ff8c5a);
  color: #fff;
  border: none;
  cursor: pointer;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
  transition: all var(--transition-normal);
  position: relative;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.float-service-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 30px rgba(255, 107, 53, 0.5);
}

.float-service-btn svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  flex-shrink: 0;
}

.float-service-btn span {
  white-space: nowrap;
  line-height: 1;
}

.float-service-panel {
  position: absolute;
  right: 0;
  top: 60px;
  width: 200px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
}

.float-service-panel.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-service-panel::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 20px;
  width: 16px;
  height: 16px;
  background: var(--bg-card);
  transform: rotate(45deg);
  border-left: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}

.float-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
  color: var(--text-primary);
  text-decoration: none;
}

.float-service-item:hover {
  background: rgba(255, 107, 53, 0.08);
}

.float-service-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-orange);
  flex-shrink: 0;
}

.float-service-item span {
  font-size: 14px;
  font-weight: 500;
}

/* ============================================
   ONLINE SERVICE MODAL
   ============================================ */
.service-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.service-modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 420px;
  padding: 0;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.service-modal-overlay.show .service-modal {
  transform: scale(1);
}

.service-modal-header {
  background: linear-gradient(135deg, var(--color-orange), #ff8c5a);
  padding: 24px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.service-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.service-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.service-modal-close svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
}

.service-modal-body {
  padding: 24px;
}

.service-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  margin-bottom: 12px;
  transition: transform var(--transition-fast);
}

.service-contact-item:last-child {
  margin-bottom: 0;
}

.service-contact-item:hover {
  transform: translateX(4px);
}

.service-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 119, 204, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-orange);
}

.service-contact-info {
  flex: 1;
}

.service-contact-info h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.service-contact-info p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  word-break: break-all;
}

.service-contact-info .contact-link {
  color: var(--color-orange);
  text-decoration: none;
}

.service-contact-info .contact-link:hover {
  text-decoration: underline;
}

.service-modal-tips {
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(0, 119, 204, 0.08);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   SEARCH MODAL
   ============================================ */
.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
}

.search-modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.search-modal-header {
  background: linear-gradient(135deg, var(--color-orange), #ff8c5a);
  padding: 24px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

#searchResultCount {
  font-size: 14px;
  opacity: 0.9;
}

.search-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.search-modal-close svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
}

/* ============================================
   HOME PAGE SOLUTION ENTRY CARDS
   ============================================ */
.solution-entry-card:hover {
  border-color: var(--color-orange) !important;
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.12);
  transform: translateY(-4px);
}

.solution-entry-card:nth-child(2):hover {
  border-color: var(--color-blue) !important;
  box-shadow: 0 8px 32px rgba(0, 119, 204, 0.12);
}

.search-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* 搜索结果 Tab 切换栏 */
.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}

.search-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 20px;
  color: var(--text-secondary, #8b949e);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.search-tab:hover {
  color: var(--text-primary, #e6edf3);
  border-color: var(--color-orange, #ff6b35);
  background: rgba(255, 107, 53, 0.06);
}

.search-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--color-orange, #ff6b35), #ff8c5a);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.search-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  line-height: 1;
}

.search-tab:not(.active) .search-tab-badge {
  background: rgba(255, 107, 53, 0.15);
  color: var(--color-orange, #ff6b35);
}

.search-result-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  margin-bottom: 16px;
}

.search-result-item:last-child {
  margin-bottom: 0;
}

.search-result-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-type {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 10px;
  background: rgba(255, 107, 53, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50px;
}

.search-result-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-result-category {
  font-size: 12px;
  color: var(--color-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.search-result-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.search-result-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 12px 0;
  flex: 1;
}

.search-result-content .card-link {
  margin-top: auto;
}

/* FAQ Page Contact Section */
.faq-contact-section {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 32px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
}

.faq-contact-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 24px 0;
  color: var(--text-primary);
}

.faq-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.faq-contact-card {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.faq-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.faq-contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 119, 204, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.faq-contact-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-orange);
}

.faq-contact-card h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-contact-card p {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.faq-contact-btn {
  padding: 10px 24px;
  background: var(--color-orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-contact-btn:hover {
  background: #e55a2b;
  transform: translateY(-2px);
}

/* Responsive for floating service */
@media (max-width: 575px) {
  .float-service {
    right: 16px;
    top: 96px;
  }

  .float-service-btn {
    width: auto;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    gap: 0;
    font-size: 13px;
    font-weight: 600;
  }
  .float-service-btn svg {
    display: none;
  }
  .float-service-btn span {
    display: inline;
  }

  .float-service-panel {
    width: 180px;
  }

  .faq-contact-section {
    padding: 20px;
  }

  .faq-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   AI Chat Dialog (Custom UI → Coze API)
   ============================================ */
.ai-chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.ai-chat-overlay.show {
  opacity: 1;
  visibility: visible;
}

.ai-chat-window {
  width: 420px;
  max-width: calc(100vw - 32px);
  height: 600px;
  max-height: calc(100vh - 64px);
  background: var(--bg-card, #1C2333);
  border: 1px solid var(--color-blue, #0077CC);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-chat-overlay.show .ai-chat-window {
  transform: translateY(0) scale(1);
}

/* Header */
.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--color-blue-dark, #005A9C), var(--color-blue, #0077CC));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ai-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ai-chat-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ai-chat-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}
.ai-chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}
.ai-chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3FB950;
  box-shadow: 0 0 6px rgba(63, 185, 80, 0.6);
}
.ai-chat-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
}
.ai-chat-close:hover {
  color: #fff;
}

/* Messages */
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-secondary, #1A1F2E);
  scroll-behavior: smooth;
}
.ai-chat-messages::-webkit-scrollbar {
  width: 6px;
}
.ai-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.ai-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}
.ai-chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.ai-chat-msg {
  display: flex;
  max-width: 85%;
  animation: ai-chat-msg-in 0.3s ease;
}
@keyframes ai-chat-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ai-chat-msg-bot {
  align-self: flex-start;
}
.ai-chat-msg-user {
  align-self: flex-end;
}
.ai-chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
  white-space: pre-wrap;
}
.ai-chat-msg-bot .ai-chat-bubble {
  background: var(--bg-card-hover, #222D40);
  color: var(--text-primary, #E6EDF3);
  border-bottom-left-radius: 4px;
  white-space: normal;
}
.ai-chat-msg-user .ai-chat-bubble {
  background: linear-gradient(135deg, var(--color-blue, #0077CC), var(--color-blue-dark, #005A9C));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-chat-bubble.ai-chat-error {
  color: var(--color-red, #F85149);
}

/* Typing indicator */
.ai-chat-typing {
  display: inline-flex;
  gap: 4px;
  padding: 4px 0;
}
.ai-chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-secondary, #8B949E);
  animation: ai-chat-typing-bounce 1.2s infinite ease-in-out;
}
.ai-chat-typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.ai-chat-typing span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes ai-chat-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Input area */
.ai-chat-input-area {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-card, #1C2333);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ai-chat-input {
  flex: 1;
  background: var(--bg-tertiary, #161B22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-primary, #E6EDF3);
  font-size: 14px;
  font-family: inherit;
  line-height: 1.5;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
  max-height: 120px;
}
.ai-chat-input:focus {
  border-color: var(--color-blue, #0077CC);
}
.ai-chat-input::placeholder {
  color: var(--text-muted, #6A737D);
}
.ai-chat-send {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-orange, #FF6B35), var(--color-orange-dark, #E55A2B));
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, opacity 0.2s;
}
.ai-chat-send:hover:not(.disabled) {
  transform: scale(1.06);
}
.ai-chat-send.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Mobile */
@media (max-width: 480px) {
  .ai-chat-window {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    border: none;
  }
  .ai-chat-overlay {
    align-items: stretch;
  }
}

/* Markdown rendering inside chat bubbles */
.ai-chat-bubble p {
  margin: 0 0 4px 0;
  line-height: 1.5;
}
.ai-chat-bubble p:last-child {
  margin-bottom: 0;
}
.ai-chat-bubble h1,
.ai-chat-bubble h2,
.ai-chat-bubble h3,
.ai-chat-bubble h4 {
  margin: 6px 0 3px 0;
  font-weight: 600;
  line-height: 1.3;
}
.ai-chat-bubble h1 { font-size: 15px; }
.ai-chat-bubble h2 { font-size: 14px; }
.ai-chat-bubble h3 { font-size: 13px; }
.ai-chat-bubble h4 { font-size: 12px; }
.ai-chat-bubble ul,
.ai-chat-bubble ol {
  margin: 2px 0 4px 0;
  padding-left: 18px;
}
.ai-chat-bubble li {
  margin: 1px 0;
  line-height: 1.5;
}
.ai-chat-bubble strong {
  font-weight: 600;
  color: var(--color-orange, #FF6B35);
}
.ai-chat-bubble em {
  font-style: italic;
}
.ai-chat-bubble code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'Courier New', monospace;
}
.ai-chat-bubble pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 12px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 6px 0;
}
.ai-chat-bubble pre code {
  background: none;
  padding: 0;
  font-size: 12px;
}
.ai-chat-bubble a {
  color: var(--color-blue-light, #3399DD);
  text-decoration: underline;
}
.ai-chat-bubble blockquote {
  border-left: 3px solid var(--color-blue, #0077CC);
  padding-left: 12px;
  margin: 6px 0;
  color: var(--text-secondary, #8B949E);
}
.ai-chat-bubble table {
  border-collapse: collapse;
  margin: 6px 0;
  font-size: 13px;
}
.ai-chat-bubble th,
.ai-chat-bubble td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 8px;
}
.ai-chat-bubble hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 10px 0;
}
/* User messages: plain text, no markdown styling needed */
.ai-chat-msg-user .ai-chat-bubble strong,
.ai-chat-msg-user .ai-chat-bubble em {
  color: inherit;
}

/* ============================================
   MODULAR UNITS - Module Detail Grid
   ============================================ */
.module-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 4px;
}
.module-detail-grid > div {
  background: var(--bg-tertiary);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.module-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-blue);
  margin-bottom: 6px;
}
.module-detail-grid > div > div:last-child {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
@media (max-width: 767px) {
  .module-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SMALL MOBILE (≤ 375px) - iPhone SE etc.
   ============================================ */
@media (max-width: 375px) {
  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: clamp(24px, 8vw, 32px);
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    font-size: 12px;
  }

  .hero-volume-btn {
    width: 40px;
    height: 40px;
    bottom: 16px;
    right: 16px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .card-body {
    padding: 18px;
  }

  .card-title {
    font-size: 17px;
    min-height: 50px;
  }

  .card-desc {
    font-size: 13px;
    min-height: 80px;
  }

  .card-image {
    height: 180px;
  }

  .case-body {
    padding: 18px;
  }

  .case-body h4 {
    font-size: 17px;
  }

  .case-image {
    height: 200px;
  }

  .product-detail {
    padding: 16px;
  }

  .product-model-title {
    font-size: 20px;
  }

  .footer-main {
    padding: 50px 0 30px;
  }

  .footer-grid {
    gap: 24px;
  }

  .float-service {
    right: 12px;
    bottom: 12px;
  }

  .float-service-btn {
    width: auto;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
  }
  .float-service-btn svg {
    display: none;
  }
  .float-service-btn span {
    display: inline;
  }

  .ai-chat-window {
    border-radius: 0;
  }

  .ai-chat-header {
    padding: 12px 14px;
  }

  .ai-chat-bubble {
    font-size: 13px;
    padding: 9px 12px;
  }
}
