/* ==========================================================================
   BUSINESS TACTS INTERNATIONAL (BTI) — FLAGSHIP v3 DESIGN SYSTEM
   THE ARCHITECTURAL CLINICAL LIGHT THEME ($1,000,000 ENTERPRISE STANDARD)
   ========================================================================== */

:root {
  /* Surface & Background Hierarchy */
  --bg-pure: #ffffff;
  --bg-cleanroom: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);

  /* Borders & Hairlines */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-accent: rgba(79, 70, 229, 0.28);

  /* Primary Brand & Clinical Colors */
  --primary-indigo: #4f46e5;
  --primary-indigo-hover: #4338ca;
  --primary-indigo-light: #eef2ff;
  
  --medical-emerald: #059669;
  --medical-emerald-light: #ecfdf5;
  
  --aerospace-cyan: #0284c7;
  --warning-amber: #d97706;

  /* Typography Colors */
  --text-headline: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  /* Typography Stacks */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation Shadows (Soft Optical Light Diffusion) */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 16px 36px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-indigo: 0 10px 25px -3px rgba(79, 70, 229, 0.2);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.v3-body {
  background-color: var(--bg-cleanroom);
  color: var(--text-body);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Global Container */
.v3-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, .v3-title {
  font-family: var(--font-display);
  color: var(--text-headline);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.15;
}

/* Top Executive Ribbon */
.v3-top-ribbon {
  background: var(--bg-pure);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.v3-ribbon-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v3-ribbon-left, .v3-ribbon-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.v3-live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--medical-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--medical-emerald-light);
  display: inline-block;
  animation: v3Pulse 2s infinite;
}

@keyframes v3Pulse {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.v3-ribbon-badge {
  background: var(--bg-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-headline);
  font-weight: 600;
  font-size: 0.72rem;
}

.v3-ribbon-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.v3-ribbon-link:hover {
  color: var(--primary-indigo);
}

/* Floating Glassmorphic Header */
.v3-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.v3-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.v3-logo-anchor {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.v3-main-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

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

.v3-nav-item {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.v3-nav-item:hover {
  color: var(--primary-indigo);
  background: var(--primary-indigo-light);
}

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

.v3-btn-search-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.v3-btn-search-trigger:hover {
  border-color: var(--border-accent);
  background: var(--bg-pure);
  box-shadow: var(--shadow-sm);
}

.v3-kbd-shortcut {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.7rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.v3-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-indigo);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-indigo);
  transition: all 0.25s var(--ease-spring);
}

.v3-btn-primary:hover {
  background: var(--primary-indigo-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -4px rgba(79, 70, 229, 0.3);
}

.v3-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-pure);
  color: var(--text-headline);
  border: 1px solid var(--border-medium);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.v3-btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--text-headline);
}

/* ==========================================================================
   HERO SECTION: 3D THREE.JS WEBGL CLEANROOM DIGITAL TWIN
   ========================================================================== */
.v3-hero-section {
  position: relative;
  padding: 48px 0 64px;
  background: radial-gradient(circle at 75% 20%, rgba(238, 242, 255, 0.8) 0%, rgba(248, 250, 252, 0) 65%);
  border-bottom: 1px solid var(--border-subtle);
}

.v3-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 48px;
  align-items: center;
}

.v3-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-pure);
  border: 1px solid var(--border-accent);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--primary-indigo);
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.v3-hero-headline {
  font-size: 3.4rem;
  line-height: 1.08;
  margin-bottom: 20px;
}

.v3-hero-gradient-text {
  background: linear-gradient(135deg, var(--primary-indigo) 0%, #2563eb 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.v3-hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 540px;
}

.v3-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

/* Hero Live Engineering Telemetry Strip */
.v3-hero-telemetry-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.v3-telemetry-item h4 {
  font-size: 1.8rem;
  font-family: var(--font-mono);
  color: var(--text-headline);
  margin-bottom: 4px;
}

.v3-telemetry-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* 3D WebGL Canvas Card */
.v3-webgl-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  height: 540px;
  display: flex;
  flex-direction: column;
}

.v3-webgl-viewport {
  width: 100%;
  height: 100%;
  cursor: grab;
}
.v3-webgl-viewport:active {
  cursor: grabbing;
}

/* WebGL Floating Controls HUD */
.v3-webgl-hud {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.v3-hud-pill {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-headline);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.v3-hud-mode-bar {
  pointer-events: auto;
  display: flex;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.v3-mode-btn {
  background: transparent;
  border: none;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.v3-mode-btn.active {
  background: var(--primary-indigo);
  color: #ffffff;
}

.v3-webgl-footer-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.v3-hud-spec-tag {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-body);
}

/* ==========================================================================
   FLAGSHIP 3D MACHINERY SHOWCASE (PHOTOREALISTIC RENDERS)
   ========================================================================== */
.v3-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.v3-section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.v3-section-badge {
  display: inline-block;
  background: var(--primary-indigo-light);
  color: var(--primary-indigo);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.v3-section-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

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

.v3-machinery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.v3-machinery-card {
  background: var(--bg-pure);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.35s var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.v3-machinery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-accent);
}

.v3-card-media {
  position: relative;
  height: 320px;
  background: #f1f5f9;
  overflow: hidden;
}

.v3-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
}

.v3-machinery-card:hover .v3-card-img {
  transform: scale(1.03);
}

.v3-card-badge-top {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
}

.v3-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.v3-card-title {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.v3-card-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.55;
}

.v3-spec-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.v3-spec-chip {
  background: var(--bg-cleanroom);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-body);
}

.v3-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Full Width Featured Machinery Banner */
.v3-featured-cleanroom-box {
  margin-top: 40px;
  background: var(--bg-pure);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.v3-cleanroom-media {
  height: 480px;
  position: relative;
}

.v3-cleanroom-info {
  padding: 48px;
}

/* ==========================================================================
   TURNKEY PLANT ARCHITECT & LIVE BOM CALCULATOR
   ========================================================================== */
.v3-architect-wrapper {
  background: var(--bg-pure);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.v3-architect-header {
  padding: 24px 32px;
  background: var(--bg-cleanroom);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v3-architect-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px;
}

.v3-architect-step-col h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.v3-step-number {
  background: var(--primary-indigo-light);
  color: var(--primary-indigo);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.v3-machine-radio-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v3-machine-option {
  position: relative;
  background: var(--bg-cleanroom);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.v3-machine-option:hover {
  background: #ffffff;
  border-color: var(--border-accent);
}

.v3-machine-option.selected {
  background: #ffffff;
  border-color: var(--primary-indigo);
  box-shadow: 0 0 0 2px var(--primary-indigo-light);
}

.v3-option-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-headline);
  margin-bottom: 4px;
}

.v3-option-specs {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Dynamic Architect Telemetry Console (Bar at Bottom) */
.v3-architect-telemetry-bar {
  background: #0f172a;
  color: #ffffff;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.v3-arch-metric-box span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 4px;
}

.v3-arch-metric-box strong {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: #f8fafc;
}

/* ==========================================================================
   PRESSURE CASCADE & HVAC ZONING SIMULATOR
   ========================================================================== */
.v3-pressure-simulator {
  background: var(--bg-pure);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.v3-cascade-flow-visual {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.v3-room-zone-box {
  flex: 1;
  background: var(--bg-cleanroom);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.v3-room-zone-box.active-zone {
  border-color: var(--primary-indigo);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.v3-zone-pressure {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-indigo);
  margin: 10px 0;
}

/* ==========================================================================
   2,574 DEALT PRODUCTS OMNIBOX SEARCH COMMAND CENTER
   ========================================================================== */
.v3-omnibox-box {
  background: var(--bg-pure);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.v3-search-input-wrap {
  position: relative;
  margin-bottom: 24px;
}

.v3-search-input {
  width: 100%;
  padding: 18px 24px 18px 52px;
  font-size: 1.1rem;
  font-family: var(--font-sans);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-cleanroom);
  color: var(--text-headline);
  transition: all 0.2s ease;
}

.v3-search-input:focus {
  outline: none;
  border-color: var(--primary-indigo);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-indigo-light);
}

.v3-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.v3-category-pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.v3-category-pill {
  background: var(--bg-cleanroom);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.v3-category-pill:hover, .v3-category-pill.active {
  background: var(--primary-indigo);
  color: #ffffff;
  border-color: var(--primary-indigo);
}

.v3-catalog-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 8px;
}

.v3-result-card {
  background: var(--bg-cleanroom);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.v3-result-card:hover {
  background: #ffffff;
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
}

.v3-result-card h5 {
  font-size: 0.92rem;
  color: var(--text-headline);
  margin-bottom: 8px;
  line-height: 1.35;
}

.v3-result-category {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ==========================================================================
   OFFICIAL RFQ MODAL & EXECUTIVE PROPOSAL DOSSIER
   ========================================================================== */
.v3-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.v3-modal-overlay.active {
  display: flex;
}

.v3-modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
}

.v3-modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v3-modal-close-btn {
  background: var(--bg-subtle);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.v3-modal-body {
  padding: 32px;
}

.v3-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.v3-form-group {
  margin-bottom: 16px;
}

.v3-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-headline);
  margin-bottom: 6px;
}

.v3-form-input, .v3-form-select, .v3-form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.92rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  background: var(--bg-cleanroom);
  color: var(--text-headline);
}

.v3-form-input:focus, .v3-form-select:focus, .v3-form-textarea:focus {
  outline: none;
  border-color: var(--primary-indigo);
  background: #ffffff;
}

/* Footer (Architectural Light Theme) */
.v3-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.v3-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.v3-footer-col h5 {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.v3-footer-col ul {
  list-style: none;
}

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

.v3-footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.v3-footer-col a:hover {
  color: var(--primary-indigo);
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .v3-hero-grid {
    grid-template-columns: 1fr;
  }
  .v3-machinery-grid {
    grid-template-columns: 1fr;
  }
  .v3-featured-cleanroom-box {
    grid-template-columns: 1fr;
  }
  .v3-cleanroom-media {
    height: 320px;
  }
  .v3-architect-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .v3-architect-telemetry-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .v3-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .v3-hero-headline {
    font-size: 2.5rem;
  }
  .v3-nav-menu {
    display: none;
  }
  .v3-form-grid {
    grid-template-columns: 1fr;
  }
  .v3-architect-steps-grid {
    grid-template-columns: 1fr;
  }
  .v3-cascade-flow-visual {
    flex-direction: column;
  }
}
