/* ==========================================================================
   VULCAN STEEL CORPORATION - DESIGN SYSTEM & INDUSTRIAL STYLESHEET
   ========================================================================== */

:root {
  /* Color Palette - Forged Obsidian & Molten Core */
  --bg-primary: #07090E;
  --bg-secondary: #0D111A;
  --bg-tertiary: #131A26;
  --bg-card: rgba(19, 26, 38, 0.7);
  --bg-card-hover: rgba(26, 36, 54, 0.85);
  
  --forge-orange: #FF4500;
  --forge-amber: #FF8000;
  --forge-gold: #FFB703;
  --forge-glow: rgba(255, 69, 0, 0.35);
  --forge-glow-intense: rgba(255, 128, 0, 0.6);
  
  --steel-100: #F8FAFC;
  --steel-200: #E2E8F0;
  --steel-300: #CBD5E1;
  --steel-400: #94A3B8;
  --steel-500: #64748B;
  --steel-600: #475569;
  --steel-700: #334155;
  --steel-800: #1E293B;
  --steel-900: #0F172A;
  
  --tech-cyan: #00E5FF;
  --tech-cyan-glow: rgba(0, 229, 255, 0.3);
  --green-eco: #10B981;
  --green-eco-glow: rgba(16, 185, 129, 0.3);
  
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-focus: rgba(255, 128, 0, 0.5);
  --border-cyan: rgba(0, 229, 255, 0.4);
  
  /* Typography */
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', 'JetBrains Mono', Consolas, monospace;
  
  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  --shadow-forge: 0 10px 30px -10px rgba(255, 69, 0, 0.3);
  --shadow-cyan: 0 10px 30px -10px rgba(0, 229, 255, 0.25);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  
  --container-max: 1320px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--steel-200);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--steel-300);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--steel-700);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--forge-orange);
}

::selection {
  background: var(--forge-orange);
  color: #FFFFFF;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--steel-100);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  color: var(--steel-400);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient-forge {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--forge-amber) 60%, var(--forge-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--tech-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-steel {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--steel-300) 60%, var(--steel-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forge-amber);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 128, 0, 0.08);
  border: 1px solid rgba(255, 128, 0, 0.25);
  padding: 4px 12px;
  border-radius: 4px;
}

.mono-tag.cyan {
  color: var(--tech-cyan);
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.25);
}

.mono-tag.eco {
  color: var(--green-eco);
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--forge-orange);
  box-shadow: 0 0 10px var(--forge-orange);
  animation: pulse-glow 2s infinite ease-in-out;
}

.badge-pulse.cyan {
  background-color: var(--tech-cyan);
  box-shadow: 0 0 10px var(--tech-cyan);
}

.badge-pulse.eco {
  background-color: var(--green-eco);
  box-shadow: 0 0 10px var(--green-eco);
}

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

/* ==========================================================================
   BUTTONS & INTERACTIVE CONTROLS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-forge {
  background: linear-gradient(135deg, var(--forge-orange) 0%, #D83A00 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-forge:hover {
  background: linear-gradient(135deg, #FF5714 0%, var(--forge-orange) 100%);
  box-shadow: 0 6px 30px rgba(255, 69, 0, 0.65), 0 0 15px rgba(255, 128, 0, 0.4);
  transform: translateY(-2px);
}

.btn-outline-steel {
  background: rgba(30, 41, 59, 0.5);
  color: var(--steel-100);
  border: 1px solid var(--steel-600);
  backdrop-filter: blur(8px);
}

.btn-outline-steel:hover {
  background: rgba(51, 65, 85, 0.7);
  border-color: var(--steel-300);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-cyan {
  background: rgba(0, 229, 255, 0.1);
  color: var(--tech-cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.btn-cyan:hover {
  background: var(--tech-cyan);
  color: #07090E;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
  transform: translateY(-2px);
}

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

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.header-nav.scrolled {
  background: rgba(7, 9, 14, 0.95);
  border-bottom-color: rgba(255, 128, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-symbol svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(255, 69, 0, 0.6));
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #FFFFFF;
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--forge-amber);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--forge-orange), var(--forge-amber));
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: #FFFFFF;
}

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

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

.audio-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--steel-700);
  color: var(--steel-400);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.audio-toggle-btn:hover {
  color: var(--forge-amber);
  border-color: var(--forge-amber);
}

.audio-toggle-btn.active {
  color: var(--forge-orange);
  border-color: var(--forge-orange);
  box-shadow: 0 0 10px var(--forge-glow);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--steel-100);
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   HERO SECTION & FORGE CANVAS
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
}

#forge-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(255, 69, 0, 0.12) 0%, transparent 65%),
              linear-gradient(180deg, rgba(7, 9, 14, 0.2) 0%, rgba(7, 9, 14, 0.9) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.hero-tag-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title span.emphasis {
  display: block;
}

.hero-description {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--steel-300);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Hero Stats Bar */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: rgba(13, 17, 26, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(12px);
  position: relative;
}

.hero-stats-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--forge-amber), transparent);
}

.stat-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-value .unit {
  font-size: 1rem;
  color: var(--forge-amber);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--steel-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ==========================================================================
   LIVE INDUSTRIAL STEEL TICKER
   ========================================================================== */

.ticker-wrap {
  width: 100%;
  background: #0B0F17;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 15;
}

.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
  width: max-content;
}

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

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--steel-300);
}

.ticker-code {
  font-weight: 700;
  color: #FFFFFF;
}

.ticker-price {
  color: var(--steel-200);
}

.ticker-change.up {
  color: #10B981;
}

.ticker-change.down {
  color: #EF4444;
}

/* ==========================================================================
   SECTION COMMON WRAPPERS
   ========================================================================== */

.section-block {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-top: 14px;
  margin-bottom: 18px;
  font-weight: 800;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--steel-400);
  line-height: 1.7;
}

/* ==========================================================================
   INTERACTIVE METALLURGY PROCESS PIPELINE
   ========================================================================== */

.process-grid-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.process-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step-card {
  padding: 20px 24px;
  border-radius: 10px;
  background: rgba(19, 26, 38, 0.5);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.process-step-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
  transition: background var(--transition-fast);
}

.process-step-card:hover {
  background: rgba(26, 36, 54, 0.7);
  border-color: rgba(255, 128, 0, 0.3);
  transform: translateX(4px);
}

.process-step-card.active {
  background: rgba(255, 69, 0, 0.08);
  border-color: var(--forge-orange);
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.15);
}

.process-step-card.active::before {
  background: var(--forge-orange);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--steel-500);
  background: var(--bg-primary);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.process-step-card.active .step-num {
  color: var(--forge-amber);
  border-color: var(--forge-orange);
  background: rgba(255, 69, 0, 0.15);
}

.step-body h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--steel-100);
}

.step-body p {
  font-size: 0.88rem;
  color: var(--steel-400);
  margin: 0;
}

/* Process Visualizer Panel */
.process-visualizer-panel {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.furnace-core-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--forge-glow-intense) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  transition: all var(--transition-slow);
}

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

.vis-temp-gauge {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forge-amber);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vis-diagram-area {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  background: radial-gradient(circle, rgba(19, 26, 38, 0.8) 0%, rgba(7, 9, 14, 0.95) 100%);
  margin-bottom: 24px;
  overflow: hidden;
}

.schematic-svg {
  width: 100%;
  height: 100%;
  max-height: 200px;
}

.vis-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: rgba(19, 26, 38, 0.6);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.vis-spec-item .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--steel-500);
  text-transform: uppercase;
}

.vis-spec-item .val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 2px;
}

/* ==========================================================================
   PRODUCT CATALOG & LIVE ENGINEERING CONFIGURATOR
   ========================================================================== */

.products-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(19, 26, 38, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--steel-300);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(30, 41, 59, 0.9);
  color: #FFFFFF;
  border-color: var(--steel-500);
}

.filter-btn.active {
  background: var(--forge-orange);
  color: #FFFFFF;
  border-color: var(--forge-orange);
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}

.product-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 128, 0, 0.4);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 69, 0, 0.15);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.product-grade-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 128, 0, 0.12);
  color: var(--forge-amber);
  border: 1px solid rgba(255, 128, 0, 0.3);
}

.product-grade-badge.cyan {
  background: rgba(0, 229, 255, 0.12);
  color: var(--tech-cyan);
  border-color: rgba(0, 229, 255, 0.3);
}

.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--steel-400);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-spec-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  background: rgba(7, 9, 14, 0.5);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.spec-bar-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-bar-label-val {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.spec-bar-label {
  color: var(--steel-400);
  font-family: var(--font-mono);
}

.spec-bar-val {
  color: var(--steel-200);
  font-family: var(--font-mono);
  font-weight: 700;
}

.spec-progress-track {
  height: 6px;
  background: rgba(51, 65, 85, 0.5);
  border-radius: 3px;
  overflow: hidden;
}

.spec-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--forge-amber), var(--forge-orange));
  border-radius: 3px;
  transition: width 1s ease;
}

.spec-progress-fill.cyan {
  background: linear-gradient(90deg, #00B4D8, var(--tech-cyan));
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.card-spec-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forge-amber);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-spec-link:hover {
  color: #FFFFFF;
  gap: 10px;
}

/* ==========================================================================
   ENGINEERING CALCULATOR & ESTIMATOR SUITE
   ========================================================================== */

.calc-container {
  background: linear-gradient(145deg, rgba(13, 17, 26, 0.95), rgba(7, 9, 14, 0.98));
  border: 1px solid rgba(255, 128, 0, 0.25);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 69, 0, 0.08);
}

.calc-tabs-bar {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.calc-tab-btn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--steel-400);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(30, 41, 59, 0.4);
}

.calc-tab-btn.active {
  color: var(--forge-amber);
  background: rgba(255, 128, 0, 0.1);
  border: 1px solid rgba(255, 128, 0, 0.3);
}

.calc-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--steel-300);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

.calc-input, .calc-select {
  background: var(--bg-primary);
  border: 1px solid var(--steel-700);
  border-radius: 8px;
  padding: 12px 16px;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.calc-input:focus, .calc-select:focus {
  border-color: var(--forge-orange);
  box-shadow: 0 0 10px var(--forge-glow);
}

.calc-select option {
  background: var(--bg-secondary);
  color: #FFFFFF;
}

.calc-results-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.calc-results-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--forge-orange), var(--tech-cyan));
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.calc-res-item {
  background: rgba(19, 26, 38, 0.6);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.calc-res-item.highlight {
  border-color: rgba(255, 128, 0, 0.4);
  background: rgba(255, 69, 0, 0.05);
}

.calc-res-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--steel-400);
  text-transform: uppercase;
}

.calc-res-val {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 4px;
}

.calc-res-val .unit {
  font-size: 0.9rem;
  font-family: var(--font-mono);
  color: var(--forge-amber);
  font-weight: 400;
}

.calc-formula-box {
  background: rgba(7, 9, 14, 0.7);
  border: 1px dashed var(--steel-700);
  padding: 12px 16px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--steel-400);
}

/* ==========================================================================
   GREEN STEEL & DECARBONIZATION HUB
   ========================================================================== */

.green-steel-wrapper {
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
              var(--bg-secondary);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}

.green-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--green-eco);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.green-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.comparison-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.comparison-card.eco {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.2);
}

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

.comparison-title {
  font-size: 1.25rem;
  color: #FFFFFF;
}

.comparison-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.metric-label {
  color: var(--steel-400);
}

.metric-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
}

.metric-number.bad {
  color: #EF4444;
}

.metric-number.good {
  color: var(--green-eco);
}

/* ==========================================================================
   GLOBAL MEGAPROJECTS & BLUEPRINT EXPLORER
   ========================================================================== */

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

.project-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: var(--shadow-cyan);
}

.project-visual-wrapper {
  position: relative;
  height: 260px;
  background: #060910;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-blueprint-canvas {
  width: 100%;
  height: 100%;
}

.project-badge-floating {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
}

.project-view-mode-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 5;
  background: rgba(13, 17, 26, 0.85);
  border: 1px solid var(--steel-700);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--steel-300);
  cursor: pointer;
  transition: var(--transition-fast);
}

.project-view-mode-toggle:hover {
  color: var(--tech-cyan);
  border-color: var(--tech-cyan);
}

.project-details {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-title {
  font-size: 1.4rem;
  color: #FFFFFF;
}

.project-specs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: rgba(7, 9, 14, 0.6);
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

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

.project-spec-item .k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--steel-500);
  text-transform: uppercase;
}

.project-spec-item .v {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--steel-200);
}

/* ==========================================================================
   GLOBAL MANUFACTURING FACILITIES MAP / LOCATIONS
   ========================================================================== */

.facilities-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px;
}

.facilities-map-visual {
  position: relative;
  height: 380px;
  background: #07090F;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-svg {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.facility-hotspot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--forge-orange);
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--forge-orange);
  transition: all var(--transition-fast);
}

.facility-hotspot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--forge-amber);
  animation: pulse-glow 2s infinite ease-in-out;
}

.facility-hotspot:hover {
  transform: translate(-50%, -50%) scale(1.5);
  background: #FFFFFF;
}

.facility-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.facility-item-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.facility-item-card:hover, .facility-item-card.active {
  border-color: var(--forge-amber);
  background: rgba(255, 128, 0, 0.05);
  transform: translateX(4px);
}

.facility-item-title {
  font-weight: 700;
  color: #FFFFFF;
  font-size: 1rem;
}

.facility-item-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--steel-400);
}

.facility-capacity-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--forge-amber);
  background: rgba(255, 128, 0, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 128, 0, 0.25);
}

/* ==========================================================================
   REQUEST FOR QUOTATION (RFQ) / PROCUREMENT MODAL & SECTION
   ========================================================================== */

.rfq-cta-banner {
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.15) 0%, rgba(13, 17, 26, 0.95) 50%, rgba(0, 229, 255, 0.1) 100%);
  border: 1px solid rgba(255, 128, 0, 0.3);
  border-radius: 20px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
}

.rfq-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--forge-orange), var(--tech-cyan), transparent);
}

/* RFQ Modal Window */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 128, 0, 0.4);
  border-radius: 16px;
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 69, 0, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-normal);
  padding: 36px;
  position: relative;
}

.modal-backdrop.open .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--steel-700);
  color: var(--steel-400);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: #FFFFFF;
  border-color: var(--forge-orange);
  background: var(--forge-orange);
}

/* Modal Form Steps */
.rfq-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.rfq-steps-indicator::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--steel-800);
  z-index: 1;
}

.rfq-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.rfq-step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--steel-700);
  color: var(--steel-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.rfq-step-node.active .rfq-step-circle {
  background: var(--forge-orange);
  border-color: var(--forge-orange);
  color: #FFFFFF;
  box-shadow: 0 0 12px var(--forge-glow);
}

.rfq-step-node.completed .rfq-step-circle {
  background: var(--green-eco);
  border-color: var(--green-eco);
  color: #FFFFFF;
}

.rfq-step-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--steel-400);
  text-transform: uppercase;
}

.rfq-step-node.active .rfq-step-name {
  color: var(--steel-100);
  font-weight: 700;
}

.rfq-form-step {
  display: none;
}

.rfq-form-step.active {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rfq-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.rfq-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rfq-selection-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.rfq-selection-box:hover {
  border-color: var(--steel-500);
  background: rgba(30, 41, 59, 0.4);
}

.rfq-selection-box.selected {
  border-color: var(--forge-orange);
  background: rgba(255, 69, 0, 0.08);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #040609;
  border-top: 1px solid var(--border-subtle);
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links-list a {
  color: var(--steel-400);
  font-size: 0.9rem;
}

.footer-links-list a:hover {
  color: var(--forge-amber);
  padding-left: 4px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  font-size: 0.85rem;
  color: var(--steel-500);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .process-grid-container {
    grid-template-columns: 1fr;
  }
  .calc-layout-grid {
    grid-template-columns: 1fr;
  }
  .megaprojects-grid {
    grid-template-columns: 1fr;
  }
  .facilities-container {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none;
  }
  .green-comparison-grid {
    grid-template-columns: 1fr;
  }
  .rfq-grid-2, .rfq-grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
