/* ==========================================================================
   PROHUB® Automotive - Global B2B Wheel Hub & Bearings Export
   Design System & Master Stylesheet
   ========================================================================== */

:root {
  /* Brand & Core Palette */
  --color-primary: #0F172A;        /* Slate 900 - Deep Industrial Navy */
  --color-secondary: #1E293B;      /* Slate 800 - Secondary Dark */
  --color-tertiary: #0369A1;       /* Sky 700 - Deep Engineering Blue */
  --color-accent: #0284C7;         /* Sky 600 - High-Contrast Technical Blue */
  --color-accent-hover: #0369A1;
  --color-accent-glow: #38BDF8;    /* Sky 400 - Neon Technical Highlight */
  --color-accent-light: #E0F2FE;   /* Sky 100 - Badge Background */
  
  /* Neutral Surfaces & Backgrounds */
  --color-bg: #F8FAFC;             /* Slate 50 - Engineering Neutral Ground */
  --color-surface: #FFFFFF;        /* Crisp White */
  --color-surface-subtle: #F1F5F9; /* Slate 100 - Card Insets & Technical Badges */
  --color-surface-dark: #0B1120;   /* Deepest Navy for High-Tech Sections */
  
  /* Borders & Dividers */
  --color-border: #E2E8F0;         /* Slate 200 */
  --color-border-strong: #CBD5E1;  /* Slate 300 */
  --color-border-dark: #334155;    /* Slate 700 */
  
  /* Typography Colors */
  --color-text-main: #0F172A;      /* Slate 900 */
  --color-text-muted: #475569;     /* Slate 600 */
  --color-text-sub: #64748B;       /* Slate 500 */
  --color-text-inverse: #F8FAFC;   /* Slate 50 */
  --color-text-dim: #94A3B8;       /* Slate 400 */
  
  /* Functional Accents */
  --color-success: #15803D;        /* Green 700 */
  --color-success-bg: #DCFCE7;
  --color-warning: #B45309;        /* Amber 700 */
  --color-warning-bg: #FEF3C7;
  
  /* Typography System */
  --font-display: 'Arial Narrow', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  
  /* Shadows & Elevations */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --shadow-drawer: -10px 0 25px -5px rgba(15, 23, 42, 0.2);

  /* Layout Constants */
  --container-max: 1280px;
  --header-height: 76px;
  --utility-height: 38px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ==========================================================================
   Top Utility Bar & Header Navigation
   ========================================================================== */
.top-utility-bar {
  background-color: var(--color-surface-dark);
  color: var(--color-text-dim);
  font-size: 0.8125rem;
  height: var(--utility-height);
  border-bottom: 1px solid var(--color-border-dark);
  position: relative;
  z-index: 50;
}

.utility-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.iatf-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(56, 189, 248, 0.12);
  color: var(--color-accent-glow);
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.utility-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-text-dim);
  transition: color 0.15s ease;
}

.utility-link:hover {
  color: var(--color-text-inverse);
}

/* Main Header */
.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(8px);
  color: var(--color-text-inverse);
  height: var(--header-height);
  border-bottom: 1px solid var(--color-border-dark);
  z-index: 40;
  box-shadow: var(--shadow-md);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 40px;
  width: auto;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-surface);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.6875rem;
  color: var(--color-accent-glow);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-dim);
  transition: all 0.15s ease;
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link:hover::after, .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-accent-glow);
  border-radius: 2px;
}

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

.rfq-basket-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-secondary);
  color: var(--color-surface);
  border: 1px solid var(--color-border-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.15s ease;
}

.rfq-basket-trigger:hover {
  background: #283548;
  border-color: var(--color-accent);
}

.rfq-count-badge {
  background: var(--color-accent);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.125rem 0.4375rem;
  border-radius: 9999px;
  min-width: 1.25rem;
  text-align: center;
}

.mobile-menu-btn {
  display: none;
  color: white;
  padding: 0.5rem;
}

/* ==========================================================================
   Hero Section & Part Finder Widget
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-dark);
}

.hero-blueprint-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, rgba(15, 23, 42, 0) 70%);
  pointer-events: none;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 132, 199, 0.15);
  color: var(--color-accent-glow);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  font-weight: 600;
  border-left: 3px solid var(--color-accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-headline .highlight {
  color: var(--color-accent-glow);
}

.hero-subhead {
  font-size: 1.125rem;
  color: var(--color-text-dim);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #CBD5E1;
  font-weight: 500;
}

.trust-badge-item svg {
  color: var(--color-accent-glow);
  flex-shrink: 0;
}

/* Part Finder Box */
.part-finder-card {
  background: var(--color-secondary);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.part-finder-header {
  margin-bottom: 1.5rem;
}

.part-finder-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.part-finder-desc {
  font-size: 0.875rem;
  color: var(--color-text-dim);
}

.finder-tab-row {
  display: flex;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  padding: 0.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border-dark);
}

.finder-tab-btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-dim);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  text-align: center;
}

.finder-tab-btn.active {
  background: var(--color-accent);
  color: white;
  box-shadow: var(--shadow-sm);
}

.finder-form-group {
  margin-bottom: 1.25rem;
}

.finder-label {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--color-text-dim);
  text-transform: uppercase;
  margin-bottom: 0.375rem;
  font-weight: 600;
}

.finder-input {
  width: 100%;
  background: var(--color-primary);
  border: 1px solid var(--color-border-dark);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  transition: border-color 0.15s ease;
}

.finder-input:focus {
  outline: none;
  border-color: var(--color-accent-glow);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.finder-select-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.finder-submit-btn {
  width: 100%;
  background: var(--color-accent);
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.15s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.finder-submit-btn:hover {
  background: var(--color-tertiary);
}

/* ==========================================================================
   Metrics & Proof Counter Strip
   ========================================================================== */
.metrics-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0;
}

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

.metric-item {
  display: flex;
  flex-direction: column;
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-border);
  transition: border-color 0.2s ease;
}

.metric-item:hover {
  border-left-color: var(--color-accent);
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.metric-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
}

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

/* ==========================================================================
   Section Headers & Common Layout
   ========================================================================== */
.section-pad {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-tertiary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

/* ==========================================================================
   Product Catalog & SKU Grid
   ========================================================================== */
.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  background: var(--color-surface);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.gen-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gen-tab-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--color-surface-subtle);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  transition: all 0.15s ease;
}

.gen-tab-btn:hover {
  background: #E2E8F0;
  color: var(--color-primary);
}

.gen-tab-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.catalog-search-wrap {
  position: relative;
  min-width: 280px;
}

.catalog-search-input {
  width: 100%;
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  font-size: 0.875rem;
  background: white;
}

.catalog-search-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.search-icon-pos {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-sub);
  pointer-events: none;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-strong);
}

.product-image-wrap {
  background: #F8FAFC;
  padding: 1.5rem;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.product-image-wrap img {
  max-height: 100%;
  object-fit: contain;
}

.card-gen-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-primary);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
}

.card-popular-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-warning-bg);
  color: var(--color-warning);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-part-num {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-tertiary);
  margin-bottom: 0.25rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.product-position-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-text-sub);
  margin-bottom: 1rem;
  background: var(--color-surface-subtle);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
}

/* Cross Reference Mini Matrix */
.cross-ref-strip {
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.cross-ref-title {
  color: var(--color-text-sub);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
  font-weight: 600;
}

.cross-ref-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.cross-ref-pill {
  background: white;
  border: 1px solid var(--color-border);
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  color: var(--color-text-main);
}

.cross-ref-pill strong {
  color: var(--color-tertiary);
}

/* Tech Specs Summary */
.card-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
}

.card-spec-item {
  display: flex;
  flex-direction: column;
}

.card-spec-label {
  color: var(--color-text-sub);
  font-size: 0.6875rem;
  text-transform: uppercase;
}

.card-spec-val {
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-mono);
}

.card-actions-row {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.btn-secondary {
  flex: 1;
  background: white;
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-main);
  padding: 0.625rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.15s ease;
}

.btn-secondary:hover {
  background: var(--color-surface-subtle);
  border-color: var(--color-text-muted);
}

.btn-primary {
  flex: 1.2;
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: white;
  padding: 0.625rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  transition: background-color 0.15s ease;
}

.btn-primary:hover {
  background: var(--color-tertiary);
}

/* ==========================================================================
   Cross-Reference Master Interchange Table
   ========================================================================== */
.table-section {
  background: white;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.table-search-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.table-container {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.oem-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
  min-width: 900px;
}

.oem-table th {
  background: var(--color-primary);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.875rem 1rem;
  border-right: 1px solid var(--color-border-dark);
}

.oem-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  vertical-align: middle;
}

.oem-table tr:hover td {
  background-color: #F8FAFC;
}

.oem-table .part-cell {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-tertiary);
}

.oem-table .ref-cell {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-text-main);
}

.oem-table .vehicle-cell {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  max-width: 220px;
}

.table-action-btn {
  background: var(--color-accent-light);
  color: var(--color-tertiary);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.table-action-btn:hover {
  background: var(--color-accent);
  color: white;
}

/* ==========================================================================
   Manufacturing & QC Section
   ========================================================================== */
.qc-section {
  background: var(--color-surface-dark);
  color: white;
}

.qc-section .section-title {
  color: white;
}

.qc-section .section-desc {
  color: var(--color-text-dim);
}

.stepper-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.stepper-card {
  background: var(--color-secondary);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.stepper-num {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent-glow);
  margin-bottom: 0.5rem;
}

.stepper-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.stepper-desc {
  font-size: 0.875rem;
  color: var(--color-text-dim);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.stepper-metric-pill {
  margin-top: auto;
  background: var(--color-primary);
  border: 1px solid var(--color-border-dark);
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent-glow);
}

/* Lab Testing Cards */
.labs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.lab-card {
  background: var(--color-secondary);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.lab-image-wrap {
  height: 180px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lab-image-wrap img {
  max-height: 100%;
}

.lab-card-body {
  padding: 1.5rem;
}

.lab-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.lab-desc {
  font-size: 0.875rem;
  color: var(--color-text-dim);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.lab-specs-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* ==========================================================================
   Wholesale & OEM Section
   ========================================================================== */
.oem-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.pillar-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pillar-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  color: var(--color-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Commercial Terms Grid */
.commercial-terms-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.terms-header {
  margin-bottom: 1.5rem;
}

.terms-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.term-item {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--color-tertiary);
  padding-left: 1rem;
}

.term-title {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--color-text-sub);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.term-val {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.term-detail {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Technical Resource Hub
   ========================================================================== */
.tech-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.article-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.article-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.article-cat-badge {
  background: var(--color-accent-light);
  color: var(--color-tertiary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.article-read-time {
  font-size: 0.75rem;
  color: var(--color-text-sub);
}

.article-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.article-summary {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.article-link-btn {
  margin-top: auto;
  align-self: flex-start;
  color: var(--color-tertiary);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.article-link-btn:hover {
  color: var(--color-accent);
}

/* Downloads Box */
.downloads-panel {
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: center;
}

.downloads-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.downloads-info p {
  color: var(--color-text-dim);
  font-size: 0.9375rem;
}

.downloads-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-row-item {
  background: var(--color-secondary);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dl-file-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: white;
}

.dl-file-meta {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--color-accent-glow);
}

.dl-btn {
  background: var(--color-accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.dl-btn:hover {
  background: var(--color-tertiary);
}

/* ==========================================================================
   Contact, Inquiry & FAQ Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  min-width: 0;
  width: 100%;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.contact-info-desc {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  color: var(--color-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-body h4 {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--color-text-sub);
  margin-bottom: 0.25rem;
}

.contact-item-body {
  min-width: 0;
}

.contact-item-body p {
  font-weight: 600;
  color: var(--color-primary);
  overflow-wrap: anywhere;
}

/* RFQ Form */
.rfq-form-card {
  min-width: 0;
  width: 100%;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.rfq-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.rfq-form-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.375rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  font-size: 0.9375rem;
  background: white;
  transition: border-color 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

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

.form-submit-btn {
  width: 100%;
  background: var(--color-primary);
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.15s ease;
}

.form-submit-btn:hover {
  background: var(--color-secondary);
}

/* FAQ Accordion */
.faq-wrap {
  margin-top: 4rem;
  border-top: 1px solid var(--color-border);
  padding-top: 3.5rem;
}

.faq-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
}

.faq-header:hover {
  background: var(--color-surface-subtle);
}

.faq-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  display: none;
}

.faq-card.open .faq-body {
  display: block;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-primary);
  color: var(--color-text-dim);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--color-border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-text-dim);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--color-accent-glow);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #64748B;
  line-height: 1.5;
  margin-top: 1.5rem;
  text-align: center;
}

/* ==========================================================================
   Slide-in RFQ Drawer
   ========================================================================== */
.rfq-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.rfq-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.rfq-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: white;
  z-index: 100;
  box-shadow: var(--shadow-drawer);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.rfq-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-surface);
}

.drawer-title-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.drawer-title-wrap p {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
}

.drawer-close-btn {
  padding: 0.5rem;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
}

.drawer-close-btn:hover {
  background: var(--color-surface-subtle);
  color: var(--color-primary);
}

.drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.drawer-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.drawer-item-card {
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.drawer-item-sku {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-tertiary);
  font-size: 0.9375rem;
}

.drawer-item-name {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.drawer-item-del-btn {
  color: #94A3B8;
  padding: 0.25rem;
}

.drawer-item-del-btn:hover {
  color: #DC2626;
}

.drawer-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: white;
}

.qty-btn {
  padding: 0.25rem 0.625rem;
  color: var(--color-text-main);
  font-weight: 700;
}

.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
}

.qty-input:focus {
  outline: none;
}

/* Weight estimate pill */
.drawer-calc-box {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
}

.drawer-calc-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.375rem;
}

.drawer-calc-row strong {
  color: var(--color-primary);
  font-family: var(--font-mono);
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

/* ==========================================================================
   Product Detail Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-content {
  background: white;
  width: 100%;
  max-width: 760px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 120;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--color-accent);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stepper-grid, .oem-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .downloads-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .top-utility-bar {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .main-nav.mobile-nav-open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem 0.75rem;
    background: var(--color-primary);
    border-top: 1px solid var(--color-border-dark);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  }
  .main-nav.mobile-nav-open .nav-link {
    display: block;
    padding: 0.8rem 0.25rem;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-headline {
    font-size: 2.25rem;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .labs-grid {
    grid-template-columns: 1fr;
  }
  .tech-articles-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .contact-info-card,
  .rfq-form-card {
    width: 100%;
    max-width: 100%;
    padding: 1.25rem;
  }
  .hero-headline {
    font-size: 1.875rem;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .stepper-grid, .oem-pillars-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card,
  .rfq-form-card {
    padding: 1.5rem;
  }
}
