/* ==========================================================================
   RIJIN ELECTRONICS PVT. LTD. — HIGH-PRECISION SMT DESIGN SYSTEM
   Theme: Industrial Precision & Anti-Slop High-Tech Aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Color Palette - Precision Dark Engineering */
  --bg-dark: #07090f;
  --bg-surface: #0c111c;
  --bg-card: #111726;
  --bg-card-elevated: #162035;
  --bg-glass: rgba(12, 17, 28, 0.82);
  --bg-glass-card: rgba(17, 23, 38, 0.75);

  /* Border Tokens */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(0, 229, 255, 0.35);
  --border-active: #00e5ff;

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #07090f;

  /* Accent & Status Colors */
  --cyan: #00e5ff;
  --cyan-rgb: 0, 229, 255;
  --cyan-glow: rgba(0, 229, 255, 0.22);
  --blue: #2563eb;
  --blue-light: #60a5fa;
  --emerald: #10b981;
  --amber: #f59e0b;

  /* Typography Families — Anti-Slop Upgraded */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(0, 229, 255, 0.2);

  /* Layout Containers */
  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables Toggle */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #f1f5f9;
  --bg-card-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(241, 245, 249, 0.8);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.15);
  --border-highlight: rgba(14, 165, 233, 0.4);
  --border-active: #0284c7;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --text-inverse: #f8fafc;
  --cyan: #0284c7;
  --cyan-rgb: 2, 132, 199;
  --cyan-glow: rgba(2, 132, 199, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Light Theme Component Overrides */
[data-theme="light"] body::before {
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
}

[data-theme="light"] .hero-glow-1,
[data-theme="light"] .hero-glow-2 {
  opacity: 0.35;
}

[data-theme="light"] .hero-card-header {
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .hero-card-image-wrap,
[data-theme="light"] .product-media-side {
  background: #f1f5f9;
}

[data-theme="light"] .floating-stat-card {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .client-logo-item {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  filter: none;
  opacity: 0.92;
}

[data-theme="light"] .img-badge {
  background: rgba(255, 255, 255, 0.92);
  color: #0284c7;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .process-comparison {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .bento-benefit-1,
[data-theme="light"] .bento-benefit-4,
[data-theme="light"] .bento-benefit-6 {
  background: rgba(2, 132, 199, 0.035);
}

[data-theme="light"] .bento-card-badge {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
}

[data-theme="light"] .cap-flagship-tag {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
}

[data-theme="light"] .cap-number {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
  color: #0284c7;
}

[data-theme="light"] .cap-icon {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
  color: #0284c7;
}

[data-theme="light"] .cap-hl-val,
[data-theme="light"] .bento-kpi-callout {
  color: #0284c7;
}

[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .btn-primary svg {
  background: rgba(255, 255, 255, 0.2);
  stroke: #ffffff;
}

[data-theme="light"] .btn-primary:hover svg {
  background: rgba(255, 255, 255, 0.35);
}


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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Technical Grid Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header & Navigation — Floating Island Architecture
   ========================================================================== */
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  max-width: var(--container-max);
  margin: 0;
  background-color: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  z-index: 1000;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all var(--transition-smooth);
}

.site-header.is-scrolled {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: var(--border-highlight);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  padding: 0 1.25rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border: 1px solid var(--border-subtle);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-text-primary {
  font-weight: 800;
}

.brand-text-secondary {
  font-weight: 700;
}

.brand-name .zh {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cyan);
  padding: 1px 6px;
  background: rgba(var(--cyan-rgb), 0.1);
  border-radius: var(--radius-sm);
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 2rem);
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--cyan);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-cta {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Control Buttons */
.btn-control {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-control:hover {
  color: var(--text-main);
  border-color: var(--border-highlight);
  background: var(--bg-card-elevated);
}

.btn-primary {
  background: linear-gradient(135deg, #00e5ff 0%, #0091ff 100%);
  color: #07090e;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 10px 8px 22px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(0, 229, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 229, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* Button-in-Button Trailing Icon Bubble */
.btn-primary svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(7, 9, 14, 0.16);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.btn-primary:hover svg {
  transform: translate(2px, -2px) rotate(-15deg);
  background: rgba(7, 9, 14, 0.28);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.15);
}

.btn-outline:active {
  transform: translateY(0) scale(0.98);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

section {
  scroll-margin-top: 90px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 6.5rem 0 4rem;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  top: 30%;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  max-width: 100%;
  line-height: 1.4;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulseDot 2s infinite ease-in-out;
  flex-shrink: 0;
  margin-top: 5px;
}

.badge-text-mobile {
  display: none !important;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  hyphens: none;
  -webkit-hyphens: none;
  word-break: keep-all;
}

.hero-title .hero-title-lead {
  display: block;
}

.hero-title .hero-title-tail {
  display: block;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Light Mode Contrast Fixes */
[data-theme="light"] .hero-title {
  color: #0f172a;
}

[data-theme="light"] .hero-title .gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #1e3a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.facility-status-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.facility-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.facility-item strong {
  color: var(--text-main);
  font-family: var(--font-heading);
}

/* Hero Showcase Card */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  transition: transform var(--transition-smooth);
}

.hero-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.machine-tag {
  color: var(--cyan);
  font-weight: 600;
}

.hero-card-image-wrap {
  position: relative;
  height: 380px;
  background: #090e18;
  overflow: hidden;
}

.hero-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card:hover .hero-card-image-wrap img {
  transform: scale(1.03);
}

.laser-grid-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 12px var(--cyan);
  animation: laserScan 4s infinite linear;
}

@keyframes laserScan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.hero-card-footer {
  padding: 16px 20px;
  background: var(--bg-surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
}

.spec-mini {
  display: flex;
  flex-direction: column;
}

.spec-mini .label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-mini .val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cyan);
}

/* Floating Stats Badge */
.floating-stat-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.stat-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 229, 255, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.stat-content .stat-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.stat-content .stat-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Metrics Bar
   ========================================================================== */
.metrics-section {
  padding: 2.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.metric-card {
  text-align: center;
  padding: 0.75rem;
  border-right: 1px solid var(--border-subtle);
}

.metric-card:last-child {
  border-right: none;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.metric-number span {
  color: var(--cyan);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.metric-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Client Trust Marquee
   ========================================================================== */
.clients-section {
  padding: 3.5rem 0;
  overflow: hidden;
  background: var(--bg-dark);
}

.section-tag {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title-sm {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo-item {
  height: 52px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  filter: grayscale(100%) brightness(0.9);
  opacity: 0.8;
}

.client-logo-item:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.client-logo-item img {
  max-height: 34px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Company Overview & Strategic Hubs
   ========================================================================== */
.about-section {
  padding: 6rem 0;
  position: relative;
}

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

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.about-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-normal);
}

.feature-box:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-elevated);
  transform: translateY(-2px);
}

.feature-box h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-box h4 svg {
  color: var(--cyan);
}

.feature-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Strategic Hubs Cards */
.hubs-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.hub-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md);
}

.hub-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.hub-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.hub-location {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hub-specs {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Double-Bezel (Doppelrand) Architecture & Hardware Styling
   ========================================================================== */
.double-bezel {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-medium);
  border-radius: 22px;
  padding: 6px;
  position: relative;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.double-bezel:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45), 0 0 28px rgba(0, 229, 255, 0.15);
  transform: translateY(-4px);
}

.double-bezel .bezel-core {
  background: var(--bg-card);
  border-radius: calc(22px - 6px); /* 16px concentric inner radius */
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.09);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.85rem 1.65rem;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .double-bezel {
  background: rgba(0, 0, 0, 0.025);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .double-bezel:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08), 0 0 20px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .double-bezel .bezel-core {
  background: #ffffff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95), 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   4 Pillars / Capabilities Section — Asymmetrical Bento Ecosystem
   ========================================================================== */
.capabilities-section {
  padding: 6.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.capabilities-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-cap-01 {
  grid-column: span 4;
}

.bento-cap-02 {
  grid-column: span 8;
  border-color: rgba(0, 229, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.06) 0%, rgba(37, 99, 235, 0.04) 100%);
}

.bento-cap-02 .bezel-core {
  background: linear-gradient(145deg, #111a2f 0%, #0d1424 100%);
}

[data-theme="light"] .bento-cap-02 .bezel-core {
  background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
}

.bento-cap-03 {
  grid-column: span 6;
}

.bento-cap-04 {
  grid-column: span 6;
}

.cap-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cap-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 700;
  display: inline-block;
  padding: 4px 10px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-sm);
  width: max-content;
  letter-spacing: 0.05em;
}

.cap-flagship-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #07090e;
  background: linear-gradient(135deg, #00e5ff 0%, #60a5fa 100%);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cap-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

.cap-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.cap-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Flagship Inner Highlights Grid */
.cap-highlights-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

[data-theme="light"] .cap-highlights-row {
  background: rgba(2, 132, 199, 0.05);
  border-color: rgba(2, 132, 199, 0.15);
}

.cap-hl-item {
  display: flex;
  flex-direction: column;
}

.cap-hl-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cyan);
}

.cap-hl-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cap-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.15rem;
}

.cap-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cap-list li::before {
  content: "•";
  color: var(--cyan);
  font-size: 1.2rem;
  line-height: 1;
}

/* ==========================================================================
   Product Showcase Tabs
   ========================================================================== */
.products-section {
  padding: 6rem 0;
  position: relative;
}

.product-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  color: var(--text-main);
  border-color: var(--border-medium);
  background: var(--bg-card-elevated);
}

.tab-btn.active {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.tab-pane {
  display: none;
  animation: fadeIn 300ms ease forwards;
}

.tab-pane.active {
  display: block;
}

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

/* Product Card Layout */
.product-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
}

.product-content-side {
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.product-type-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.product-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.product-heading-zh {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.product-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Process Comparison Box (for AI copper mesh) */
.process-comparison {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.process-step-row {
  margin-bottom: 1rem;
}

.process-step-row:last-child {
  margin-bottom: 0;
}

.step-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.step-label.old { color: #f87171; }
.step-label.new { color: var(--emerald); }

.step-chain {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.step-item {
  background: var(--bg-card);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.step-arrow {
  color: var(--text-dim);
}

/* Product Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.85rem;
}

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

.specs-table td {
  padding: 10px 0;
}

.specs-table td:first-child {
  color: var(--text-dim);
  font-family: var(--font-mono);
  width: 35%;
}

.specs-table td:last-child {
  color: var(--text-main);
  font-weight: 500;
}

/* Product Benefits Checklist */
.benefits-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 2rem;
  font-size: 0.88rem;
}

.benefits-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.benefits-checklist li svg {
  color: var(--cyan);
  flex-shrink: 0;
}

/* Product Gallery Side */
.product-media-side {
  background: #090d16;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  border-left: 1px solid var(--border-subtle);
}

.main-product-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  max-height: 380px;
  cursor: pointer;
}

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

.main-product-img-wrap:hover img {
  transform: scale(1.04);
}

.img-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(7, 9, 15, 0.8);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  border: 1px solid var(--border-subtle);
}

.thumbnails-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.thumb-item {
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.thumb-item:hover,
.thumb-item.active {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fixtures Bento Grid (for Jigs) */
.fixtures-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.bento-fixture-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.bento-fixture-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bento-fixture-img {
  height: 200px;
  overflow: hidden;
}

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

.bento-fixture-card:hover .bento-fixture-img img {
  transform: scale(1.05);
}

.bento-fixture-info {
  padding: 1.25rem;
}

.bento-fixture-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.bento-fixture-zh {
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 8px;
}

.bento-fixture-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Manufacturing Facility & Machines
   ========================================================================== */
.factory-section {
  padding: 6rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.machine-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.machine-box {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.machine-img-side {
  height: 100%;
  min-height: 260px;
}

.machine-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.machine-text-side {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.machine-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.machine-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.machine-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.machine-stats-row {
  display: flex;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

/* Factory Photo Gallery */
.factory-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.factory-gallery-item {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.factory-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.factory-gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 15, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.gallery-caption {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   Quality Assurance & Standards
   ========================================================================== */
.qa-section {
  padding: 6rem 0;
  position: relative;
}

.qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.qa-standards-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.qa-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.qa-item:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-elevated);
}

.qa-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qa-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.qa-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.qa-visual-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.qa-photo-box {
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Customer Value / Benefits Section — Asymmetrical Bento Grid
   ========================================================================== */
.benefits-section {
  padding: 6.5rem 0;
  background: var(--bg-dark);
  position: relative;
}

.benefits-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-benefit-1 {
  grid-column: span 7;
  border-color: rgba(0, 229, 255, 0.25);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.05) 0%, rgba(16, 185, 129, 0.03) 100%);
}

.bento-benefit-2 {
  grid-column: span 5;
}

.bento-benefit-3 {
  grid-column: span 4;
}

.bento-benefit-4 {
  grid-column: span 8;
  border-color: rgba(37, 99, 235, 0.25);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(0, 229, 255, 0.03) 100%);
}

.bento-benefit-5 {
  grid-column: span 6;
}

.bento-benefit-6 {
  grid-column: span 6;
  border-color: rgba(16, 185, 129, 0.25);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(0, 229, 255, 0.03) 100%);
}

.bento-card-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bento-kpi-callout {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.bento-kpi-callout small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Contact & Regional Hubs — Bento Grid
   ========================================================================== */
.contact-section {
  padding: 6.5rem 0;
  background: var(--bg-dark);
  position: relative;
}

.contact-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-bento-grid .double-bezel .bezel-core {
  padding: 2rem 1.75rem;
}

/* ==========================================================================
   Contact Details, Numbers & Operational Shift Timings
   ========================================================================== */
.contact-cap-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-cap-list li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.contact-cap-list li strong {
  color: var(--text-main);
  min-width: 78px;
  flex-shrink: 0;
}

.contact-links-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

.mono-contact-link {
  font-family: var(--font-mono);
  color: var(--cyan) !important;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.mono-contact-link:hover {
  color: #fff !important;
  text-shadow: 0 0 8px var(--cyan-glow);
}

.mono-contact-link.muted {
  color: var(--text-muted) !important;
}

.mono-contact-link.muted:hover {
  color: var(--cyan) !important;
}

.num-divider {
  color: var(--text-dim);
  font-family: var(--font-mono);
  user-select: none;
}

/* Compact In-Card Schedule Box */
.contact-schedule-block {
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

[data-theme="light"] .contact-schedule-block {
  background: rgba(2, 132, 199, 0.04);
  border-color: rgba(2, 132, 199, 0.15);
}

.contact-schedule-block:hover {
  border-color: var(--border-highlight);
}

.schedule-block-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-subtle);
}

.schedule-block-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schedule-block-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  gap: 8px;
}

.schedule-block-row .s-tag {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.schedule-block-row .s-time {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.schedule-block-row .s-tag.night,
.schedule-block-row:has(.s-tag.night) .s-time {
  color: var(--cyan);
}

/* Full-Width Facility Operations & Shift Schedule Banner */
.facility-schedule-banner {
  margin-top: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.facility-schedule-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.facility-schedule-banner:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md), 0 0 24px var(--cyan-glow);
}

.schedule-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.schedule-banner-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.schedule-icon-pill {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--border-highlight);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="light"] .schedule-icon-pill {
  background: rgba(2, 132, 199, 0.08);
}

.schedule-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.schedule-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.schedule-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.schedule-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
}

.schedule-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.schedule-badge.day-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.schedule-badge.lunch-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.schedule-badge.night-badge {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
  border: 1px solid var(--border-highlight);
}

.schedule-time {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-top: 0.2rem;
}

.schedule-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Footer Direct Contact additions */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-sep {
  color: var(--text-dim);
  padding: 0 4px;
}

.footer-hours-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-shift-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-shift-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  gap: 8px;
}

.footer-shift-badge .shift-lbl {
  color: var(--text-muted);
}

.footer-shift-badge .shift-time {
  font-family: var(--font-mono);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.78rem;
}

.footer-shift-badge.night-badge .shift-time {
  color: var(--cyan);
}

/* ==========================================================================
   Scroll Entry Reveal Animations (GPU-safe)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Interactive Quote Calculator / Form
   ========================================================================== */
.quote-section {
  padding: 6.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.quote-left,
.quote-right {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.quote-left h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.quote-left p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.quote-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-quick-item a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-quick-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form Styles */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

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

.btn-quote-submit {
  width: 100%;
  justify-content: center;
  padding: 13px 26px;
  font-size: 0.98rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-links a,
.contact-bento-grid a,
.cap-list a {
  color: var(--text-muted);
  overflow-wrap: anywhere;
  word-break: break-all;
}

.footer-links a:hover,
.contact-bento-grid a:hover,
.cap-list a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Modal Lightbox
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--cyan);
  color: #000;
}

.modal-img-wrap {
  max-height: 550px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-wrap img {
  max-height: 550px;
  width: auto;
  object-fit: contain;
}

.modal-caption {
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .metric-card:nth-child(3) {
    border-right: none;
  }
  .capabilities-bento {
    grid-template-columns: repeat(12, 1fr);
  }
  .bento-cap-01, .bento-cap-03, .bento-cap-04 {
    grid-column: span 6;
  }
  .bento-cap-02 {
    grid-column: span 12;
  }
  .benefits-bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .bento-benefit-1, .bento-benefit-4 {
    grid-column: span 12;
  }
  .bento-benefit-2, .bento-benefit-3, .bento-benefit-5, .bento-benefit-6 {
    grid-column: span 6;
  }
  .contact-bento-grid {
    grid-template-columns: 1fr;
  }
  .product-showcase-card {
    grid-template-columns: 1fr;
  }
  .product-media-side {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
  .machine-highlight-grid {
    grid-template-columns: 1fr;
  }
  .factory-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-card {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 10px;
    width: calc(100% - 1.25rem);
    margin: 0;
    border-radius: 14px;
  }
  .hero-section {
    padding: 5.5rem 0 3rem;
  }
  section {
    scroll-margin-top: 76px;
  }
  .header-inner {
    height: 56px;
    padding: 0 0.85rem;
  }
  .brand-tagline {
    display: none;
  }
  .brand-logo-img {
    width: 36px;
    height: 36px;
  }
  .brand-name {
    font-size: 1rem;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .mobile-menu-cta {
    display: block;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-subtle);
  }
  .mobile-menu-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.15;
    hyphens: none;
    -webkit-hyphens: none;
    word-break: keep-all;
  }
  .nav-menu {
    display: none;
  }
  .nav-menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    gap: 1.15rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
    z-index: 100;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero-card-image-wrap {
    height: 240px;
  }
  .floating-stat-card {
    position: static;
    margin-top: 1rem;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-card {
    border-right: none;
  }
  .capabilities-bento {
    grid-template-columns: 1fr;
  }
  .bento-cap-01, .bento-cap-02, .bento-cap-03, .bento-cap-04 {
    grid-column: span 1;
  }
  .benefits-bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-benefit-1, .bento-benefit-2, .bento-benefit-3, .bento-benefit-4, .bento-benefit-5, .bento-benefit-6 {
    grid-column: span 1;
  }
  .contact-bento-grid {
    grid-template-columns: 1fr;
  }
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .facility-schedule-banner {
    padding: 1.35rem 1.15rem;
    margin-top: 1.5rem;
  }
  .schedule-title {
    font-size: 1.05rem;
  }
  .about-grid, .qa-grid {
    grid-template-columns: 1fr;
  }
  .hub-card {
    display: flex;
    flex-direction: column;
  }
  .hub-badge {
    position: static;
    display: inline-block;
    align-self: flex-start;
    width: fit-content;
    margin-bottom: 0.65rem;
  }
  .fixtures-bento-grid {
    grid-template-columns: 1fr;
  }
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .product-content-side {
    padding: 1.75rem;
  }
  .quote-card {
    padding: 2rem 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ==========================================================================
   Small Mobile & iPhone SE Standard (<= 480px, e.g. iPhone SE 375px)
   ========================================================================== */
@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  .site-header {
    top: 6px;
    width: calc(100% - 0.75rem);
    margin: 0;
    border-radius: 12px;
  }
  .header-inner {
    height: 48px;
    padding: 0 0.5rem;
  }
  .brand-wrapper {
    gap: 7px;
    min-width: 0;
    flex-shrink: 0;
  }
  .brand-titles {
    min-width: 0;
  }
  .brand-logo-img {
    width: 28px;
    height: 28px;
    padding: 2px;
    flex-shrink: 0;
  }
  .brand-name {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: 1;
    white-space: nowrap;
  }
  .brand-text-primary {
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--text-main);
  }
  .brand-text-secondary {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 1px;
  }
  .brand-name .zh {
    display: none;
  }
  .header-actions {
    gap: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  #lang-toggle #lang-text {
    display: none;
  }
  .btn-control,
  .mobile-toggle {
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    box-sizing: border-box;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
  }
  .btn-control svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
  }
  .mobile-toggle svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
  }
  .nav-menu.is-open {
    top: 56px;
    padding: 1.15rem 0.85rem;
    border-radius: 14px;
    gap: 0.85rem;
  }
  .hero-section {
    padding: 4.75rem 0 1.75rem;
  }
  section {
    scroll-margin-top: 65px;
  }
  .hero-grid {
    gap: 1.5rem;
  }
  .badge-text-desktop {
    display: none !important;
  }
  .badge-text-mobile {
    display: inline !important;
  }
  .hero-badge {
    border-radius: var(--radius-full);
    padding: 5px 11px;
    font-size: 0.72rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    box-sizing: border-box;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .badge-dot {
    margin-top: 0;
    width: 6px;
    height: 6px;
  }
  .hero-title {
    font-size: clamp(1.4rem, 6.2vw, 1.85rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: none;
    -webkit-hyphens: none;
  }
  .hero-title .hero-title-lead {
    display: block;
    white-space: normal;
  }
  .hero-title .hero-title-tail {
    display: block;
    white-space: normal;
  }
  .hero-subtitle {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 10px 14px;
    font-size: 0.86rem;
    white-space: nowrap;
    box-sizing: border-box;
  }
  .hero-cta-group .btn-primary svg {
    width: 22px;
    height: 22px;
    padding: 4px;
    flex-shrink: 0;
  }
  .facility-status-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 1rem;
  }
  .facility-item {
    font-size: 0.76rem;
  }
  .hero-card-image-wrap {
    height: 180px;
  }
  .hero-card-footer {
    padding: 8px 10px;
    gap: 6px;
  }
  .spec-mini .label {
    font-size: 0.64rem;
  }
  .spec-mini .val {
    font-size: 0.82rem;
  }
  .floating-stat-card {
    padding: 8px 12px;
    margin-top: 0.65rem;
    gap: 8px;
  }
  .floating-stat-card .stat-icon {
    width: 28px;
    height: 28px;
  }
  .floating-stat-card .stat-val {
    font-size: 1.05rem;
  }
  .floating-stat-card .stat-desc {
    font-size: 0.68rem;
  }
  .metrics-section {
    padding: 1.5rem 0;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem 0.4rem;
  }
  .metric-card {
    padding: 0.4rem 0.2rem;
  }
  .metric-card:last-child {
    grid-column: span 2;
  }
  .metric-number {
    font-size: 1.35rem;
  }
  .metric-label {
    font-size: 0.7rem;
    margin-top: 2px;
  }
  .metric-sub {
    font-size: 0.62rem;
  }
  .clients-section {
    padding: 2rem 0;
  }
  .section-title-sm {
    font-size: 0.95rem;
    line-height: 1.35;
  }
  .client-logo-item {
    min-width: 90px;
    height: 42px;
    padding: 4px 8px;
  }
  .about-section,
  .capabilities-section,
  .products-section,
  .factory-section,
  .qa-section,
  .benefits-section,
  .quote-section,
  .contact-section {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 0.65rem;
  }
  .section-desc {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .about-content h3 {
    font-size: 1.2rem;
  }
  .about-text {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .about-features {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .feature-box {
    padding: 0.85rem;
  }
  .hubs-card-wrap {
    gap: 0.85rem;
    margin-top: 1.25rem;
  }
  .hub-card {
    padding: 1.15rem 0.95rem;
    display: flex;
    flex-direction: column;
  }
  .hub-badge {
    position: static;
    display: inline-block;
    align-self: flex-start;
    width: fit-content;
    font-size: 0.68rem;
    padding: 3px 8px;
    margin-bottom: 0.55rem;
    border-radius: var(--radius-sm);
  }
  .hub-title {
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 0.55rem;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .hub-location {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 6px;
  }
  .hub-location svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .hub-specs {
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.74rem;
    padding-top: 0.65rem;
  }
  .double-bezel {
    padding: 3px;
    border-radius: 14px;
  }
  .double-bezel .bezel-core {
    padding: 1rem 0.85rem;
    border-radius: 11px;
  }
  .cap-header-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 0.85rem;
  }
  .cap-number {
    font-size: 0.72rem;
    padding: 3px 8px;
  }
  .cap-flagship-tag {
    font-size: 0.66rem;
    padding: 3px 7px;
    letter-spacing: 0.04em;
  }
  .cap-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.85rem;
  }
  .cap-icon svg {
    width: 20px;
    height: 20px;
  }
  .cap-title {
    font-size: 1.15rem;
  }
  .cap-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  .cap-highlights-row {
    grid-template-columns: repeat(3, 1fr);
    padding: 0.6rem 0.4rem;
    gap: 6px;
  }
  .cap-hl-item {
    align-items: center;
    text-align: center;
    min-width: 0;
  }
  .cap-hl-val {
    font-size: clamp(0.76rem, 3.2vw, 0.92rem);
    white-space: nowrap;
  }
  .cap-hl-lbl {
    font-size: 0.6rem;
    text-align: center;
    line-height: 1.25;
  }
  .cap-list {
    font-size: 0.76rem;
    gap: 5px;
    padding-top: 0.75rem;
  }
  .product-tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.55rem;
    gap: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .product-tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    flex-shrink: 0;
    padding: 5px 10px;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .product-content-side {
    padding: 1rem 0.85rem;
  }
  .product-type-badge {
    font-size: 0.66rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.45rem;
    line-height: 1.35;
  }
  .product-heading {
    font-size: clamp(1.2rem, 5.2vw, 1.45rem);
    line-height: 1.22;
    margin-bottom: 0.35rem;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .product-heading-zh {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .product-desc {
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 1.15rem;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .process-comparison {
    padding: 0.75rem 0.65rem;
    margin-bottom: 1.25rem;
  }
  .step-label {
    font-size: 0.7rem;
    margin-bottom: 4px;
  }
  .step-chain {
    font-size: 0.72rem;
    gap: 4px;
  }
  .step-item {
    padding: 2px 6px;
    font-size: 0.68rem;
  }
  .specs-table {
    font-size: 0.76rem;
    margin-bottom: 1.25rem;
  }
  .specs-table td {
    padding: 5px 0;
  }
  .specs-table td:first-child {
    width: 38%;
    font-size: 0.72rem;
  }
  .specs-table td:last-child {
    font-size: 0.75rem;
  }
  .benefits-checklist {
    grid-template-columns: 1fr;
    gap: 7px;
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
  }
  .benefits-checklist li {
    gap: 6px;
  }
  .benefits-checklist li svg {
    width: 15px;
    height: 15px;
  }
  .product-media-side {
    padding: 1.25rem 0.85rem;
  }
  .product-media-side .main-product-img-wrap {
    height: 180px;
  }
  .thumbnails-row {
    gap: 6px;
  }
  .thumb-item {
    width: 100%;
    height: 52px;
  }
  .modal-overlay {
    padding: 0.75rem;
  }
  .modal-content {
    border-radius: var(--radius-md);
  }
  .modal-close-btn {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }
  .modal-caption {
    padding: 10px 12px;
    font-size: 0.82rem;
  }
  .bento-fixture-img {
    height: 140px;
  }
  .bento-fixture-info {
    padding: 0.85rem;
  }
  .machine-highlight-grid {
    gap: 0.85rem;
  }
  .machine-box {
    grid-template-columns: 1fr;
  }
  .machine-img-side {
    height: 160px;
  }
  .machine-text-side {
    padding: 1rem 0.85rem;
  }
  .machine-title {
    font-size: 1.15rem;
  }
  .machine-desc {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .machine-stats-row {
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.74rem;
  }
  .factory-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
  .factory-gallery-item {
    height: 95px;
  }
  .gallery-caption {
    font-size: 0.68rem;
  }
  .qa-grid {
    gap: 1.25rem;
  }
  .qa-item {
    padding: 0.85rem 0.65rem;
    gap: 0.65rem;
  }
  .qa-icon-wrap {
    width: 32px;
    height: 32px;
  }
  .qa-info h4 {
    font-size: 0.9rem;
  }
  .qa-info p {
    font-size: 0.76rem;
    line-height: 1.45;
  }
  .qa-visual-mosaic {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
  .qa-photo-box {
    height: 95px;
  }
  .bento-kpi-callout {
    font-size: 1.45rem;
  }
  .quote-card {
    padding: 1rem 0.85rem;
    border-radius: 14px;
  }
  .quote-left h3 {
    font-size: 1.25rem;
  }
  .quote-left p {
    font-size: 0.82rem;
    margin-bottom: 1rem;
  }
  .contact-quick-item {
    gap: 8px;
  }
  .contact-quick-icon {
    width: 30px;
    height: 30px;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px !important;
    padding: 10px 11px;
  }
  .btn-quote-submit {
    padding: 11px 12px;
    font-size: 0.85rem;
  }
  .btn-quote-submit span {
    font-size: 0.8rem;
    line-height: 1.25;
  }
  .contact-bento-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .facility-schedule-banner {
    padding: 1.15rem 0.95rem;
    margin-top: 1.25rem;
  }
  .schedule-banner-header {
    gap: 0.65rem;
  }
  .schedule-icon-pill {
    width: 36px;
    height: 36px;
  }
  .schedule-icon-pill svg {
    width: 17px;
    height: 17px;
  }
  .schedule-title {
    font-size: 0.98rem;
  }
  .schedule-subtitle {
    font-size: 0.76rem;
  }
  .schedule-item {
    padding: 0.9rem;
  }
  .schedule-time {
    font-size: 1.15rem;
  }
  .contact-cap-list li strong {
    min-width: 65px;
    font-size: 0.8rem;
  }
  .mono-contact-link {
    font-size: 0.8rem;
  }
  .site-footer {
    padding: 2.5rem 0 1.25rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
  }
  .footer-brand-desc {
    font-size: 0.78rem;
  }
  .footer-links {
    gap: 6px;
    font-size: 0.78rem;
  }
  .footer-bottom {
    font-size: 0.68rem;
    gap: 6px;
    padding-top: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   Ultra-Compact Viewport (<= 360px, e.g. iPhone SE 1st Gen & 221px)
   ========================================================================== */
@media (max-width: 360px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .site-header {
    top: 4px;
    width: calc(100% - 0.5rem);
    margin: 0;
  }
  .hero-section {
    padding: 4.25rem 0 1.5rem;
  }
  section {
    scroll-margin-top: 55px;
  }
  .header-inner {
    height: 44px;
    padding: 0 0.35rem;
  }
  .brand-wrapper {
    gap: 5px;
  }
  .brand-logo-img {
    width: 24px;
    height: 24px;
    padding: 1.5px;
  }
  .brand-text-primary {
    font-size: 0.8rem;
  }
  .brand-text-secondary {
    font-size: 0.45rem;
  }
  .header-actions {
    gap: 3px;
  }
  #lang-toggle #lang-text {
    display: none;
  }
  .btn-control,
  .mobile-toggle {
    width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 0;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .btn-control svg {
    width: 13px;
    height: 13px;
  }
  .mobile-toggle svg {
    width: 15px;
    height: 15px;
  }
  .hero-title {
    font-size: clamp(1.2rem, 5.2vw, 1.45rem);
    line-height: 1.15;
  }
  .hero-badge {
    font-size: 0.65rem;
    padding: 4px 8px;
  }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline {
    padding: 9px 10px;
    font-size: 0.82rem;
  }
  .metric-number {
    font-size: 1.25rem;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .metric-card:last-child {
    grid-column: span 1;
  }
  .double-bezel .bezel-core {
    padding: 0.85rem 0.65rem;
  }
  .cap-header-flex {
    gap: 5px;
  }
  .cap-highlights-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.55rem 0.65rem;
  }
  .cap-hl-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid var(--border-subtle);
    text-align: left;
  }
  .cap-hl-item:last-child {
    border-bottom: none;
  }
  [data-theme="light"] .cap-hl-item {
    border-bottom-color: rgba(2, 132, 199, 0.12);
  }
  .cap-hl-val {
    font-size: 0.88rem;
    font-weight: 700;
  }
  .cap-hl-lbl {
    font-size: 0.66rem;
    text-align: right;
  }
  .product-content-side {
    padding: 0.85rem 0.65rem;
  }
  .product-heading {
    font-size: clamp(1.05rem, 5vw, 1.25rem);
  }
  .product-heading-zh {
    font-size: 0.74rem;
  }
  .product-desc {
    font-size: 0.78rem;
    line-height: 1.5;
  }
  .specs-table tr {
    display: flex;
    flex-direction: column;
    padding: 4px 0;
  }
  .specs-table td {
    padding: 1px 0;
    width: 100% !important;
  }
  .specs-table td:first-child {
    font-size: 0.68rem;
    color: var(--cyan);
  }
  .specs-table td:last-child {
    font-size: 0.75rem;
  }
  .quote-card {
    padding: 0.85rem 0.65rem;
  }
  .hub-card {
    padding: 0.95rem 0.75rem;
  }
  .hub-badge {
    font-size: 0.62rem;
    padding: 2px 6px;
    margin-bottom: 0.45rem;
  }
  .hub-title {
    font-size: 0.96rem;
    line-height: 1.25;
  }
  .hub-location {
    font-size: 0.74rem;
  }
  .hub-specs {
    font-size: 0.68rem;
  }
  .contact-links-inline {
    gap: 2px 4px;
  }
  .mono-contact-link {
    font-size: 0.74rem;
  }
  .schedule-time {
    font-size: 1.05rem;
  }
  .schedule-block-row {
    font-size: 0.75rem;
  }
  .schedule-block-row .s-time {
    font-size: 0.76rem;
  }
}

/* ==========================================================================
   Micro-Viewport Extreme Testing (<= 280px, e.g. resized DevTools 239px)
   ========================================================================== */
@media (max-width: 280px) {
  .site-header {
    top: 3px;
    width: calc(100% - 0.35rem);
    margin: 0;
  }
  .hero-section {
    padding: 3.85rem 0 1.25rem;
  }
  .header-inner {
    height: 42px;
    padding: 0 0.25rem;
  }
  .brand-wrapper {
    gap: 4px;
  }
  .brand-logo-img {
    width: 22px;
    height: 22px;
  }
  .brand-text-primary {
    font-size: 0.74rem;
  }
  .brand-text-secondary {
    font-size: 0.42rem;
  }
  .header-actions {
    gap: 2px;
  }
  .btn-control,
  .mobile-toggle {
    width: 25px;
    height: 25px;
    min-height: 25px;
    border-radius: 5px;
  }
  .btn-control svg {
    width: 12px;
    height: 12px;
  }
  .mobile-toggle svg {
    width: 13px;
    height: 13px;
  }
  .hero-title {
    font-size: 1.25rem;
  }
  .hero-subtitle {
    font-size: 0.78rem;
  }
  .hero-badge {
    font-size: 0.6rem;
    padding: 3px 6px;
  }
  .product-heading {
    font-size: 1.05rem;
  }
  .product-type-badge {
    font-size: 0.6rem;
  }
  .cap-title {
    font-size: 1.02rem;
  }
  .cap-hl-val {
    font-size: 0.82rem;
  }
  .cap-hl-lbl {
    font-size: 0.62rem;
  }
  .hub-card {
    padding: 0.85rem 0.55rem;
  }
  .hub-badge {
    font-size: 0.58rem;
    padding: 2px 5px;
    margin-bottom: 0.35rem;
  }
  .hub-title {
    font-size: 0.88rem;
    line-height: 1.22;
  }
  .hub-location {
    font-size: 0.7rem;
    gap: 4px;
  }
  .hub-specs {
    font-size: 0.64rem;
    gap: 0.25rem;
  }
}
