/* ==========================================================================
   PRECISION UMBRELLA - INDUSTRIAL B2B MASTER DESIGN SYSTEM
   Strict Defensively Hardened CSS for B2B Precision Manufacturing
   ========================================================================== */

:root {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-light: #f1f5f9;
  --border-light: #e2e8f0;
  --border-accent: #38bdf8;
  --primary: #0284c7;
  --primary-light: #0369a1;
  --primary-glow: rgba(2, 132, 199, 0.12);
  --accent-green: #16a34a;
  --accent-amber: #d97706;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Defensive Typography & General Resets */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  min-width: 0;
  word-break: break-word;
}

p, span, li, a {
  min-width: 0;
  word-break: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* CAD Technical Blueprint Grid Background */
.cad-grid-bg {
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.65) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.65) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ==========================================================================
   HEADER & NAVIGATION (Hardened for Mobile <= 58px)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  height: 70px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 38px;
  max-width: 290px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(0.4rem, 1.2vw, 1.35rem);
  flex-shrink: 1;
}

.nav-menu li {
  flex-shrink: 0;
}

.nav-menu a {
  font-size: clamp(0.813rem, 0.95vw, 0.938rem);
  font-weight: 600;
  color: #334155;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
  white-space: nowrap !important;
  display: inline-block;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #0284c7;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0.5rem;
  right: 0.5rem;
  height: 2px;
  background: #0284c7;
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS (High Contrast & Defensive Styling)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.938rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary-light);
  box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
  background: #0369a1;
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  font-weight: 600;
}
.btn-secondary:hover {
  background: #f8fafc !important;
  color: #0284c7 !important;
  border-color: #0284c7 !important;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: var(--primary-light) !important;
  color: var(--primary-light) !important;
}

.btn-outline-primary {
  background: transparent !important;
  color: var(--primary-light) !important;
  border: 1px solid var(--primary-light) !important;
}

.btn-outline-primary:hover {
  background: var(--primary-glow) !important;
  color: #ffffff !important;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.813rem;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.063rem;
}

/* ==========================================================================
   HERO SECTION (Cinema Full-Bleed & Macro Specimen Switcher)
   ========================================================================== */
.hero-cinema {
  position: relative;
  min-height: 82vh;
  padding-top: 100px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  background-color: var(--bg-dark);
  background-image: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 45%, rgba(255, 255, 255, 0.65) 75%, rgba(255, 255, 255, 0.3) 100%),
    url('../images/hero-umbrella-full.jpg');
  background-size: cover;
  background-position: right center;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 10;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-h1 {
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
  color: #0f172a !important;
}

.hero-h1 span.highlight {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #cbd5e1;
}

.metric-item {
  min-width: 0;
}

.metric-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.metric-lbl {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

/* Macro Specimen Switcher (Interactive Strip) */
.macro-switcher-section {
  padding: 2.5rem 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.switcher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.switcher-card {
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.switcher-card:hover,
.switcher-card.active {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
  transform: translateY(-2px);
}

.switcher-thumb {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.switcher-meta {
  min-width: 0;
}

.switcher-tag {
  font-size: 0.688rem;
  color: var(--primary-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.switcher-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-dark {
  background: var(--bg-dark);
}

.section-surface {
  background: var(--bg-surface);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid var(--border-accent);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.063rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   PRODUCT CATALOG CARDS (Defensive Layout Hardened)
   ========================================================================== */
.catalog-tabs {
  display: flex;
  flex-wrap: wrap !important; /* Critical for zero horizontal scroll on mobile */
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding: 0.5rem 0;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary-light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

/* Layout Hardening: Card flex-direction column and footer margin-top: auto */
.product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   TOP 10 B2B BENCHMARKING & HIGH-CONVERSION ENHANCEMENTS
   ========================================================================== */
.benchmark-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.benchmark-badge {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: var(--accent-green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.product-card-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  background: #f8fafc;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.product-card-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.factory-direct-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(2, 132, 199, 0.9);
  color: #fff;
  font-size: 0.688rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.benchmark-table-wrapper {
  overflow-x: auto;
  margin-top: 2.5rem;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.benchmark-table th {
  background: #f1f5f9;
  color: #0f172a;
  padding: 1.1rem 1.25rem;
  font-size: 0.938rem;
  border-bottom: 2px solid #cbd5e1;
  font-weight: 800;
}

.benchmark-table th.highlight-col {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-top: 3px solid #0369a1;
  font-weight: 800;
}

.benchmark-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 0.875rem;
}

.benchmark-table td strong {
  color: #0f172a;
  font-weight: 700;
}

.benchmark-table td.highlight-col {
  background: #f0f9ff !important;
  color: #0369a1 !important;
  font-weight: 800 !important;
  border-left: 2px solid #bae6fd;
  border-right: 2px solid #bae6fd;
}

.benchmark-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.benchmark-table tr:hover td.highlight-col {
  background: rgba(2, 132, 199, 0.15);
}

.check-icon {
  color: var(--accent-green);
  font-weight: 900;
  margin-right: 0.25rem;
}

.cross-icon {
  color: #ef4444;
  margin-right: 0.25rem;
}

.product-badge-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: var(--primary-light);
  border: 1px solid var(--border-accent);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.688rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-sku-id {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.product-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  line-height: 1.35;
}

.spec-list {
  list-style: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.813rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 0.35rem;
  min-width: 0;
  word-break: break-word;
}

.spec-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.spec-value {
  font-size: 0.813rem;
  font-weight: 600;
  color: #0f172a;
}

.moq-pill {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.75rem;
  font-size: 0.75rem;
  color: #166534;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.moq-pill strong {
  color: var(--primary-light);
}

/* Hardened: Card Footer strictly aligned to bottom */
.product-card-footer {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-card-footer .btn {
  flex: 1;
}

/* ==========================================================================
   TRUST & ABOUT US ARCHITECTURE
   ========================================================================== */
.trust-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.trust-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
}

.trust-pillar-card:hover {
  border-color: var(--primary-light);
  background: var(--bg-card-hover);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-size: 1.188rem;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.factory-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.gallery-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: relative;
  padding: 1.25rem;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.gallery-sub {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}

/* Chief Engineer Statement Box */
.engineer-letter {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.engineer-letter::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: rgba(56, 189, 248, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.engineer-body {
  font-size: 1.063rem;
  line-height: 1.8;
  color: #1e293b !important;
  font-weight: 500;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.engineer-sign {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.engineer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  border: 2px solid var(--primary-light);
}

.engineer-name {
  font-size: 1.063rem;
  font-weight: 800;
  color: #0f172a;
}

.engineer-title {
  font-size: 0.875rem;
  color: #475569;
}

/* Certifications Bar */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: center;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem 0.5rem;
  text-align: center;
  transition: var(--transition);
}

.cert-card:hover {
  border-color: var(--primary-light);
}

.cert-title {
  font-size: 0.813rem;
  font-weight: 700;
  color: var(--primary-light);
}

.cert-detail {
  font-size: 0.688rem;
  color: var(--text-dim);
}

/* ==========================================================================
   OEM / ODM 6-STAGE WORKFLOW
   ========================================================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
}

.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(56, 189, 248, 0.2);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.step-time {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   BLOG / KNOWLEDGE HUB & ARTICLES
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
  background: #000;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.blog-meta span.author {
  color: var(--primary-light);
  font-weight: 600;
}

.blog-card-title {
  font-size: 1.188rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.blog-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.read-more-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.read-more-link:hover {
  gap: 0.5rem;
}

/* Article Page Specific Layout */
.article-header {
  padding: 120px 0 40px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #1e293b !important;
}

.article-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
  color: #0f172a !important;
  border-bottom: 2px solid #cbd5e1;
  padding-bottom: 0.5rem;
}

.article-content h3 {
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--primary-light);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul, 
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-figure {
  margin: 2.5rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.article-figure img {
  width: 100%;
  height: auto;
}

.figure-caption {
  padding: 0.85rem 1.25rem;
  font-size: 0.813rem;
  color: var(--text-dim);
  background: var(--bg-dark);
  border-top: 1px solid var(--border-light);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.938rem;
}

.tech-table th {
  background: var(--bg-surface);
  color: var(--primary-light);
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--border-accent);
  font-weight: 700;
}

.tech-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
}

.tech-table tr:hover td {
  background: rgba(14, 165, 233, 0.04);
}

/* Callout Box */
.callout-box {
  background: rgba(14, 165, 233, 0.08);
  border-left: 4px solid var(--primary-light);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.callout-title {
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   TREND RADAR
   ========================================================================== */
.radar-hero {
  padding: 120px 0 50px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.radar-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.radar-chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.radar-stats-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.radar-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.stat-growth {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-green);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
}

/* ==========================================================================
   RFQ FORM & CONTACT LEADS FUNNEL (Layout Hardened: Single-column on mobile)
   ========================================================================== */
.rfq-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-light);
}

.rfq-container {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.rfq-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-label span.req {
  color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 1rem; /* 16px to prevent iOS Safari auto-zoom */
  min-height: 44px; /* Apple HIG touch area >= 44px */
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 10px var(--primary-glow);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-guarantee {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(14, 165, 233, 0.08);
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-size: 0.813rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* ==========================================================================
   SITE FOOTER - ULTRA HIGH CONTRAST THEME
   ========================================================================== */
.site-footer,
footer.footer,
.site-footer-dark {
  background: #090e1a !important;
  color: #f1f5f9 !important;
  border-top: 1px solid #1e293b;
  padding: 4.5rem 0 2.5rem;
}

.site-footer p,
.site-footer .footer-col p {
  color: #cbd5e1 !important;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff !important;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #cbd5e1 !important;
  font-size: 0.938rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: #38bdf8 !important;
  padding-left: 5px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: #cbd5e1 !important;
  font-size: 0.938rem;
}

.footer-contact-list strong {
  color: #ffffff !important;
  display: inline-block;
  margin-bottom: 0.2rem;
}

.footer-contact-list a {
  color: #38bdf8 !important;
  text-decoration: none;
  font-weight: 600;
}

.footer-contact-list a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8 !important;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: #cbd5e1 !important;
  text-decoration: none;
  margin-left: 1.25rem;
}

.footer-bottom a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* ==========================================================================
   MODAL (Quote / Sample Popup)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE HARDENING & MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .switcher-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .radar-grid {
    grid-template-columns: 1fr;
  }
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  /* Strict: Navigation drawer activates on tablets and small screens */
  .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  height: 70px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

  .nav-menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .brand-logo img {
    height: 32px;
  }

  /* Strict: GET QUOTE pill button always visible on mobile without folding */
  .nav-actions .btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .hero-cinema {
    padding-top: 80px;
    background-image: 
      linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 60%, rgba(255, 255, 255, 0.95) 100%),
      url('../images/hero-umbrella-full.jpg');
    background-position: center top;
  }

  .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #cbd5e1;
}

  .product-grid {
    grid-template-columns: 1fr;
  }

  .factory-gallery-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  /* Strict: RFQ form single column on mobile */
  .rfq-form-grid {
    grid-template-columns: 1fr !important;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.site-footer .brand-logo img {
  filter: brightness(0) invert(1);
}

/* HIGH CONTRAST ACCESSIBILITY FIXES */
.form-label, label, .rfq-form label {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 0.938rem !important;
  margin-bottom: 0.45rem !important;
  display: block !important;
}

.hero-h1 {
  color: #0f172a !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9) !important;
}

.hero-subtitle {
  color: #334155 !important;
  font-weight: 500 !important;
}

.hero-eyebrow {
  color: #0284c7 !important;
  font-weight: 800 !important;
}

.metric-val {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.metric-lbl {
  color: #475569 !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   CATALOG ADVANCED SEARCH & LIVE FILTER TOOLBAR
   ========================================================================== */
.catalog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.catalog-search-wrap {
  position: relative;
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
}

.catalog-search-wrap svg {
  position: absolute;
  left: 1rem;
  color: #64748b;
  pointer-events: none;
}

.catalog-search-input {
  width: 100%;
  padding: 0.7rem 2.25rem 0.7rem 2.75rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.938rem;
  color: #0f172a !important;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.catalog-search-input:focus {
  outline: none;
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn-clear-search {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
  display: none;
}

.btn-clear-search:hover {
  color: #0f172a;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-select {
  padding: 0.7rem 1.75rem 0.7rem 0.85rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.filter-select:focus {
  outline: none;
  border-color: #0284c7;
}

.results-badge {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Table scroll guide for mobile */
.table-scroll-hint {
  display: none;
  font-size: 0.813rem;
  color: #64748b;
  margin-bottom: 0.5rem;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 768px) {
  .table-scroll-hint {
    display: flex;
  }
}


/* 3-Tier Risk Reversal Trust Banner */
.risk-reversal-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.risk-reversal-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.risk-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.risk-reversal-item strong {
  display: block;
  font-size: 0.938rem;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.risk-reversal-item p {
  font-size: 0.813rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 860px) {
  .risk-reversal-banner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
}


/* FINAL CONTRAST & ACCESSIBILITY POLISH */
.brand-logo img {
  max-width: 290px !important;
  width: auto !important;
  height: 38px !important;
  object-fit: contain !important;
}

.hero-subtitle {
  color: #334155 !important;
  font-weight: 500;
}

.product-card-title {
  color: #0f172a !important;
}

.product-sku-id {
  color: #0284c7 !important;
}

.spec-label {
  color: #475569 !important;
}

.spec-value {
  color: #0f172a !important;
}

.gallery-sub {
  color: #475569 !important;
}

/* Ensure no text wrap breakdown in header links */
.nav-menu a, .nav-links a {
  white-space: nowrap !important;
  word-break: keep-all !important;
}


/* SPEC SHEET MODAL (ZERO FORMS - PURE ENGINEERING DATA) */
.spec-modal-card {
  max-width: 780px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3) !important;
  padding: 2.25rem !important;
}

.spec-modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.spec-modal-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.spec-modal-img-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.spec-modal-img-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.spec-param-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem;
}

.spec-param-item {
  font-size: 0.813rem;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 0.35rem;
}

.spec-param-label {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-param-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
}

.spec-compliance-bar {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
}

.spec-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.25rem;
}

/* Quote modal specific styling */
.quote-modal-card {
  max-width: 580px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  padding: 2.25rem !important;
}

.selected-product-banner {
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: #0369a1;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .spec-modal-body {
    grid-template-columns: 1fr;
  }
  .spec-modal-card, .quote-modal-card {
    padding: 1.5rem !important;
  }
  .spec-modal-footer {
    flex-direction: column;
  }
  .spec-modal-footer .btn {
    width: 100%;
  }
}


/* ==========================================================================
   ENHANCED CAPABILITIES & OEM ENGINEERING SUITE
   ========================================================================== */
.cap-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.cap-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.cap-stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #38bdf8;
  transform: translateY(-3px);
}

.cap-stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.cap-stat-label {
  font-size: 0.813rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* 6-Pillar Customization Spectrum Grid */
.cap-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.cap-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cap-pillar-card:hover {
  border-color: #0284c7;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.12);
}

.cap-pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.cap-pillar-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.cap-pillar-desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.cap-pillar-bullets {
  list-style: none;
  border-top: 1px dashed #e2e8f0;
  padding-top: 1rem;
  margin-top: auto;
}

.cap-pillar-bullets li {
  font-size: 0.813rem;
  color: #334155;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.45;
}

.cap-pillar-bullets li::before {
  content: "✔";
  color: #16a34a;
  font-weight: bold;
  flex-shrink: 0;
}

/* 5-Gate QA Inspection Flow */
.qa-gate-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.qa-gate-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #0284c7;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  position: relative;
  transition: all 0.25s ease;
}

.qa-gate-card:hover {
  transform: translateY(-4px);
  border-top-color: #16a34a;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
}

.qa-gate-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.qa-gate-name {
  font-size: 0.938rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.qa-gate-desc {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
}

/* Tooling Rebate Calculation Breakdown Box */
.rebate-calc-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 1.5rem;
}

.rebate-calc-header {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rebate-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.rebate-step-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.rebate-step-item strong {
  display: block;
  font-size: 0.875rem;
  color: #0284c7;
  margin-bottom: 0.25rem;
}

.rebate-step-item p {
  font-size: 0.813rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 1024px) {
  .cap-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cap-pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qa-gate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cap-stats-grid {
    grid-template-columns: 1fr;
  }
  .cap-pillar-grid {
    grid-template-columns: 1fr;
  }
  .qa-gate-grid {
    grid-template-columns: 1fr;
  }
  .rebate-step-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   SUPERIOR HIGH-CONTRAST TYPOGRAPHY: BLOG & ENGINEERING WHITEPAPERS
   ========================================================================== */
.article-header {
  background: #ffffff !important;
  border-bottom: 1px solid #cbd5e1 !important;
  padding: 100px 0 40px !important;
}

.article-header h1 {
  color: #0f172a !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

.article-header p {
  color: #334155 !important;
  font-size: 1.125rem !important;
  line-height: 1.7 !important;
}

.blog-meta {
  color: #64748b !important;
  font-size: 0.813rem !important;
}

.blog-meta .author, .blog-meta span.author {
  color: #0284c7 !important;
  font-weight: 700 !important;
}

/* Article Body Typography */
.article-container {
  background: transparent;
  max-width: 880px !important;
  margin: 0 auto !important;
  padding: 3rem 1.5rem !important;
}

.article-content {
  color: #1e293b !important;
  font-size: 1.125rem !important;
  line-height: 1.85 !important;
}

.article-content h2 {
  color: #0f172a !important;
  font-weight: 800 !important;
  border-bottom: 2px solid #cbd5e1 !important;
  margin: 3rem 0 1.25rem !important;
  padding-bottom: 0.65rem !important;
}

.article-content h3 {
  color: #0369a1 !important;
  font-weight: 700 !important;
  margin: 2rem 0 0.85rem !important;
}

.article-content h4 {
  color: #0f172a !important;
  font-weight: 700 !important;
  margin: 1.5rem 0 0.65rem !important;
}

.article-content p {
  color: #1e293b !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.85 !important;
}

.article-content ul, .article-content ol {
  color: #1e293b !important;
  margin-bottom: 1.75rem !important;
  padding-left: 1.75rem !important;
}

.article-content li {
  color: #1e293b !important;
  margin-bottom: 0.65rem !important;
  line-height: 1.75 !important;
}

.article-content strong, .article-content b {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* Figure & Captions in Articles */
.article-figure {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
  margin: 2.5rem 0 !important;
  overflow: hidden !important;
}

.figure-caption {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  padding: 0.85rem 1.25rem !important;
  line-height: 1.5 !important;
}

/* Tables inside Articles */
.article-content .tech-table {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

.article-content .tech-table th {
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.article-content .tech-table td {
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.article-content .tech-table tr:hover td {
  background: #f1f5f9 !important;
}

/* Blog Index Cards */
.blog-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

.blog-card:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 12px 24px -4px rgba(2, 132, 199, 0.15) !important;
}

.blog-card-title {
  color: #0f172a !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  margin-bottom: 0.75rem !important;
}

.blog-card-excerpt {
  color: #475569 !important;
  font-size: 0.938rem !important;
  line-height: 1.65 !important;
  margin-bottom: 1.25rem !important;
}

.blog-card-footer {
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 1rem !important;
}

.read-more-link {
  color: #0284c7 !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
}

.read-more-link:hover {
  color: #0369a1 !important;
}


/* ==========================================================================
   SUPERIOR HIGH-CONTRAST ENGINEERING EQUATIONS & FORMULAS
   ========================================================================== */
.formula-callout {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-left: 4px solid #0284c7 !important;
  border-radius: var(--radius-sm) !important;
  padding: 1.25rem 1.75rem !important;
  margin: 2rem 0 !important;
  text-align: center !important;
  font-family: 'JetBrains Mono', 'Fira Code', 'Roboto Mono', Menlo, Consolas, monospace !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
  overflow-x: auto !important;
}

/* Fallback protection for any legacy callout with monospace */
.callout-box[style*="monospace"], .article-content div[style*="monospace"] {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-left: 4px solid #0284c7 !important;
}


/* ==========================================================================
   TREND RADAR HIGH-CONTRAST TYPOGRAPHY & CARD SYSTEM
   ========================================================================== */
.radar-grid {
  display: grid;
  grid-template-columns: 1.75fr 1.25fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.radar-chart-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-md) !important;
  padding: 2rem !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

.radar-chart-card h2 {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1.45rem !important;
  margin-bottom: 1rem !important;
}

.radar-chart-card p {
  color: #1e293b !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

.radar-stats-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.radar-stat-box {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-md) !important;
  padding: 1.5rem !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s ease;
}

.radar-stat-box:hover {
  border-color: #0284c7 !important;
  transform: translateX(4px);
}

.stat-growth {
  font-size: 1.75rem !important;
  font-weight: 900 !important;
  color: #16a34a !important;
  line-height: 1 !important;
  margin-bottom: 0.35rem !important;
}

.stat-label {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0284c7 !important;
  margin-bottom: 0.35rem !important;
}

.radar-stat-box p {
  font-size: 0.875rem !important;
  color: #334155 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* Strategic Forecasts Workflow Cards in Trend Radar */
.workflow-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-md) !important;
  padding: 2rem !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

.workflow-card:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 12px 24px -4px rgba(2, 132, 199, 0.12) !important;
}

.workflow-card .step-title {
  color: #0284c7 !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
  margin-bottom: 0.75rem !important;
}

.workflow-card .step-desc {
  color: #1e293b !important;
  font-size: 0.938rem !important;
  line-height: 1.7 !important;
}

.workflow-card .step-desc strong {
  color: #0f172a !important;
  font-weight: 700 !important;
}


/* ==========================================================================
   AUTHENTIC FACTORY DOCUMENTARY HERITAGE CARDS
   ========================================================================== */
.factory-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.factory-photo-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.factory-photo-card:hover {
  transform: translateY(-4px);
  border-color: #0284c7;
  box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.12);
}

.factory-photo-wrap {
  position: relative;
  width: 100%;
  height: 290px;
  background: #0f172a;
  overflow: hidden;
}

.factory-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.factory-photo-card:hover .factory-photo-wrap img {
  transform: scale(1.04);
}

.factory-photo-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.factory-photo-caption {
  padding: 1.5rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  flex-grow: 1;
}

@media (max-width: 860px) {
  .factory-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .factory-photo-wrap {
    height: 240px;
  }
}


/* ==========================================================================
   CAPABILITIES & OEM ALL-MODULE HIGH-CONTRAST ACCESSIBILITY ENGINE
   ========================================================================== */
.cad-grid-bg .section-dark,
.section-dark {
  background-color: #f8fafc !important;
}

/* Ensure all headings and descriptions in capabilities have pure high contrast */
.section-title,
h2.section-title,
.section-header h2 {
  color: #0f172a !important;
  font-weight: 900 !important;
}

.section-desc,
.section-header p,
p.section-desc {
  color: #334155 !important;
  font-weight: 500 !important;
  line-height: 1.75 !important;
}

/* 6-Pillar Customization Cards */
.cap-pillar-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05) !important;
}

.cap-pillar-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.cap-pillar-desc {
  color: #334155 !important;
  line-height: 1.65 !important;
  font-size: 0.938rem !important;
}

.cap-pillar-bullets li {
  color: #1e293b !important;
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  padding: 0.35rem 0 !important;
  position: relative !important;
  padding-left: 1.25rem !important;
}

.cap-pillar-bullets li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0284c7;
  font-weight: 900;
  font-size: 0.85rem;
}

/* 4-Stage Timeline Cards */
.workflow-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

.workflow-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.workflow-desc {
  color: #334155 !important;
  line-height: 1.65 !important;
  font-size: 0.9rem !important;
}

.step-num {
  color: #0284c7 !important;
  font-weight: 900 !important;
}

.step-duration {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
  font-weight: 700 !important;
  display: inline-block !important;
  margin-top: 1rem !important;
  padding: 0.25rem 0.65rem !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.75rem !important;
}

/* 5-Gate Quality Cards */
.qa-gate-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
  padding: 1.75rem !important;
  border-radius: var(--radius-md) !important;
}

.qa-gate-badge {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
  display: inline-block !important;
  padding: 0.25rem 0.65rem !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.75rem !important;
}

.qa-gate-name {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  margin-bottom: 0.5rem !important;
}

.qa-gate-desc {
  color: #334155 !important;
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Testing Table High-Contrast */
.tech-table {
  width: 100% !important;
  border-collapse: collapse !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

.tech-table th {
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  padding: 1rem 1.25rem !important;
  border: 1px solid #1e293b !important;
  text-align: left !important;
}

.tech-table td {
  padding: 0.85rem 1.25rem !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
}

.tech-table tbody tr:nth-child(even) td {
  background: #f8fafc !important;
}

.tech-table tbody tr:hover td {
  background: #f0f9ff !important;
}

/* Risk Reversal Banner in RFQ */
.risk-reversal-banner {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-md) !important;
  padding: 1.25rem 1.5rem !important;
  margin-bottom: 2rem !important;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05) !important;
}

.risk-reversal-item strong {
  color: #0f172a !important;
  font-weight: 800 !important;
  display: block !important;
}

.risk-reversal-item p {
  color: #334155 !important;
  margin: 0 !important;
  font-size: 0.813rem !important;
}

/* RFQ Form Elements */
.rfq-form .form-label {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.rfq-form .form-input,
.rfq-form .form-select,
.rfq-form .form-textarea {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

.rfq-form .form-input:focus,
.rfq-form .form-select:focus,
.rfq-form .form-textarea:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

.table-scroll-hint {
  color: #475569 !important;
  font-weight: 600 !important;
}


/* Real Chinese Executive / Engineer Avatar Styling */
.engineer-avatar {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 2px solid #0284c7 !important;
  box-shadow: 0 4px 8px -2px rgba(2, 132, 199, 0.25) !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f1f5f9 !important;
}

.engineer-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}


/* Fact Sheet Grid & Hero Umbrella Showcase */
.fact-sheet-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: stretch;
}

.fact-sheet-product {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.fact-sheet-product-img {
  position: relative;
  flex: 1;
  min-height: 200px;
  overflow: hidden;
  background: #0f172a;
}

.fact-sheet-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .fact-sheet-grid {
    grid-template-columns: 1fr;
  }
  .fact-sheet-product-img {
    min-height: 220px;
  }
}
