/* ==========================================================================
   JEWELL TYRES - PREMIUM B2B & B2C INDUSTRIAL LUXURY DESIGN SYSTEM
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
  --bg-main: #07090e;
  --bg-section-alt: #0b0e14;
  --bg-card: rgba(18, 22, 32, 0.65);
  --bg-card-hover: rgba(28, 34, 48, 0.85);
  --bg-glow-panel: rgba(255, 159, 28, 0.03);
  
  /* Brand Accent Colors */
  --accent-gold: #ff9f1c;
  --accent-gold-rgb: 255, 159, 28;
  --accent-orange: #f25c54;
  --accent-orange-rgb: 242, 92, 84;
  --accent-green: #2ec4b6;
  
  /* Neutral Color Palette */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-light: rgba(148, 163, 184, 0.12);
  --border-glow: rgba(255, 159, 28, 0.3);
  --border-heavy: rgba(148, 163, 184, 0.25);
  
  /* Typography */
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions & Visual Effects */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --glass-blur: blur(12px);
  --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(255, 159, 28, 0.2);
}

/* ==========================================================================
   GLOBAL RESET & SCROLL STYLING
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.2);
  border-radius: 5px;
  border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

/* Helper Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.font-bold {
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sections Base */
.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  margin-bottom: 4rem;
  z-index: 2;
  position: relative;
}

.section-title {
  font-size: 2.75rem;
  letter-spacing: 0.05em;
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
  margin: 0 auto 1.5rem auto;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
}

/* Glassmorphic Base Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-heavy);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  color: #000;
  box-shadow: 0 4px 20px rgba(255, 159, 28, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 159, 28, 0.5);
  color: #000;
}

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

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-heavy);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: #000;
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.1rem;
}

.btn-full-width {
  width: 100%;
}

/* Badge Utility */
.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 159, 28, 0.08);
  border: 1px solid rgba(255, 159, 28, 0.25);
  color: var(--accent-gold);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-gold);
  animation: pulse-glow 2s infinite;
}

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


/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.glass-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.65);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  padding: 1.25rem 0;
}

.glass-navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(7, 9, 14, 0.85);
  border-bottom-color: rgba(255, 159, 28, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo Design */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.logo-svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 8px rgba(255, 159, 28, 0.3));
  transition: var(--transition);
}

.brand-logo:hover .logo-svg {
  transform: rotate(45deg) scale(1.05);
}

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

.brand-name {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--accent-gold);
  line-height: 1;
  margin-top: 2px;
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-header);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link:hover {
  color: var(--text-primary);
}

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

.nav-link.active {
  color: var(--accent-gold);
}

.nav-cta {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 6rem;
  background: radial-gradient(circle at 10% 20%, rgba(26, 20, 10, 0.45) 0%, rgba(7, 9, 14, 1) 90%);
  position: relative;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.45;
  pointer-events: none;
}

.hero-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

/* Stats Row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  width: 100%;
}

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

.stat-number {
  font-family: var(--font-header);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 159, 28, 0.25);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.stat-item-separator {
  width: 1px;
  height: 40px;
  background-color: var(--border-light);
}

/* Hero Image & HUD UI Overlay */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.15) 0%, transparent 70%);
  z-index: 1;
}

.hero-card-container {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  overflow: visible;
  width: 100%;
}

.hero-main-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.hero-card-container:hover .hero-main-img {
  transform: translateY(-5px);
  border-color: var(--border-glow);
}

/* HUD Overlay Widgets */
.hud-widget {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  z-index: 10;
  animation: float 6s ease-in-out infinite;
  box-shadow: var(--shadow-premium);
}

.hud-top-right {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.hud-bottom-left {
  bottom: 10%;
  left: -5%;
  animation-delay: 3s;
}

.hud-icon {
  font-size: 1.5rem;
}

.hud-data {
  display: flex;
  flex-direction: column;
}

.hud-title {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hud-value {
  font-family: var(--font-header);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.hero-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
}

.hero-wave-bottom svg {
  display: block;
  width: 100%;
  height: 60px;
}


/* ==========================================================================
   DYNAMIC INVENTORY SECTION & CONSOLE
   ========================================================================== */
.inventory-section {
  background-color: var(--bg-main);
  position: relative;
}

.inventory-console {
  padding: 2rem;
  margin-bottom: 3.5rem;
}

.filter-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Search Bar styling */
.search-box {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.search-box input {
  width: 100%;
  padding: 1.125rem 1.25rem 1.125rem 3.25rem;
  border-radius: 12px;
  background-color: rgba(7, 9, 14, 0.7);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--accent-gold);
  background-color: rgba(7, 9, 14, 0.9);
  outline: none;
  box-shadow: 0 0 15px rgba(255, 159, 28, 0.15);
}

/* Dropdowns filters styling */
.filters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.filter-dropdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-dropdown label {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.filter-dropdown select {
  padding: 0.875rem 1.25rem;
  border-radius: 8px;
  background-color: rgba(7, 9, 14, 0.7);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.filter-dropdown select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(255, 159, 28, 0.1);
}

.inventory-stats-bar {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.results-count {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.btn-clear-filters {
  background: transparent;
  border: none;
  color: var(--accent-gold);
  cursor: pointer;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  transition: var(--transition);
}

.btn-clear-filters:hover {
  color: var(--accent-orange);
}

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

/* Product Card Styling */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 30px rgba(255, 159, 28, 0.08);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  background: radial-gradient(circle, rgba(148, 163, 184, 0.05) 0%, rgba(7, 9, 14, 0.6) 100%);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 1.5rem;
  transition: var(--transition);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

/* Brand badge on top of card */
.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  z-index: 5;
}

.brand-bridgestone { background-color: #e63946; color: #fff; }
.brand-michelin { background-color: #1d3557; color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); }
.brand-goodyear { background-color: #ffb703; color: #000; }
.brand-yokohama { background-color: #000814; color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }

.condition-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 5;
}

.tag-new { background-color: rgba(46, 196, 182, 0.15); color: var(--accent-green); border: 1px solid rgba(46, 196, 182, 0.3); }
.tag-secondhand { background-color: rgba(255, 159, 28, 0.15); color: var(--accent-gold); border: 1px solid rgba(255, 159, 28, 0.3); }
.tag-surplus { background-color: rgba(242, 92, 84, 0.15); color: var(--accent-orange); border: 1px solid rgba(242, 92, 84, 0.3); }

/* Card Content details */
.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.product-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem 0.5rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

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

.spec-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.spec-value {
  font-family: var(--font-header);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-actions {
  margin-top: auto;
}

/* Zero results handler state */
.zero-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
}

.zero-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.zero-results h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.zero-results p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 1.5rem auto;
}


/* ==========================================================================
   B2B VALUE OPTIMIZATION ENGINE (CALCULATOR)
   ========================================================================== */
.calculator-section {
  background-color: var(--bg-section-alt);
}

.calc-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.calc-panel {
  padding: 2.5rem;
}

.calc-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
}

.calc-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.calc-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  background-color: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.form-select:focus {
  border-color: var(--accent-gold);
}

/* Quantity Slider Customization */
.label-with-value {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.slider-badge {
  background-color: var(--accent-gold);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.85rem;
}

.form-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.15);
  outline: none;
  cursor: pointer;
}

.form-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  box-shadow: 0 0 10px rgba(255, 159, 28, 0.5);
  cursor: pointer;
  transition: transform 0.2s;
}

.form-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Radio Choice Cards */
.radio-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background-color: rgba(7, 9, 14, 0.4);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card.active {
  border-color: var(--accent-gold);
  background-color: rgba(255, 159, 28, 0.04);
  box-shadow: 0 0 15px rgba(255, 159, 28, 0.05);
}

.radio-heading {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.radio-card.active .radio-heading {
  color: var(--accent-gold);
}

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

/* Calculator Outputs panel */
.calc-results-panel {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, rgba(18, 22, 32, 0.8) 0%, rgba(7, 9, 14, 0.95) 100%);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.results-top {
  text-align: center;
  margin-bottom: 2.5rem;
}

.results-tag {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.total-saved-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
  margin: 0.5rem 0;
}

.saved-symbol {
  font-family: var(--font-header);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-top: 0.5rem;
}

.saved-amount {
  font-family: var(--font-header);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  text-shadow: 0 0 25px rgba(255, 159, 28, 0.25);
  transition: all 0.3s ease;
}

.saved-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 320px;
  margin: 0 auto;
}

/* Comparison Bar Visualizer */
.comparison-visualizer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2rem 0;
}

.comp-bar-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.bar-container {
  width: 100%;
  height: 12px;
  background-color: rgba(148, 163, 184, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.bar {
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-retail {
  background-color: var(--text-muted);
}

.bar-jewell {
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
  box-shadow: 0 0 10px rgba(255, 159, 28, 0.4);
}

/* Stats in Output card */
.savings-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.metric-card {
  background-color: rgba(7, 9, 14, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.metric-val {
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.metric-title {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}


/* ==========================================================================
   LOGISTICS ENGINE SHOWCASE
   ========================================================================== */
.logistics-section {
  background-color: var(--bg-main);
}

.logistics-showcase {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 480px;
  overflow: hidden;
}

/* Steps select bar */
.logistics-nav {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-light);
  background-color: rgba(7, 9, 14, 0.3);
}

.log-step-btn {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  outline: none;
}

.log-step-btn:last-child {
  border-bottom: none;
}

.log-step-btn::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: transparent;
  transition: var(--transition);
}

.log-step-btn.active {
  background-color: rgba(255, 159, 28, 0.03);
}

.log-step-btn.active::after {
  background-color: var(--accent-gold);
}

.step-num {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: var(--transition);
}

.log-step-btn.active .step-num {
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(255, 159, 28, 0.2);
}

.step-text {
  font-family: var(--font-header);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
}

.log-step-btn.active .step-text {
  color: var(--text-primary);
}

/* Steps content panel container */
.logistics-content-panel {
  padding: 3.5rem;
  display: flex;
  align-items: center;
}

.log-step-content {
  display: none;
  width: 100%;
  animation: slideIn 0.5s ease-out;
}

.log-step-content.active {
  display: block;
}

@keyframes slideIn {
  from { transform: translateX(15px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.step-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.step-label {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.step-text-col h4 {
  font-size: 2.25rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.step-text-col p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.step-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-primary);
  font-weight: 500;
}

.step-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

/* Technical Vector representation styling */
.step-img-col {
  display: flex;
  justify-content: center;
}

.logistics-step-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-light);
}

.vector-hud-mockup {
  width: 100%;
  max-width: 280px;
  background-color: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-premium);
}

.inspection-vector,
.logistics-vector,
.synergy-vector {
  width: 100%;
  max-width: 180px;
  height: 180px;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 10px rgba(255, 159, 28, 0.15));
}

.vector-hud-caption {
  font-family: var(--font-header);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}


/* ==========================================================================
   HERITAGE TIMELINE
   ========================================================================== */
.about-section {
  background-color: var(--bg-section-alt);
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, var(--border-light) 0%, var(--accent-gold) 50%, var(--border-light) 100%);
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.timeline-card {
  position: relative;
  width: 45%;
  padding: 2.25rem;
}

/* Stagger layout on Desktop */
.timeline-card:nth-child(odd) {
  align-self: flex-start;
  float: left;
  clear: both;
}

.timeline-card:nth-child(even) {
  align-self: flex-end;
  float: right;
  clear: both;
  margin-top: 2rem;
}

.timeline-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  color: #000;
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 0.95rem;
}

.timeline-card h4 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  padding-right: 4.5rem;
}

.timeline-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Interactive point on line */
.timeline-card::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: var(--bg-main);
  border: 3px solid var(--accent-gold);
  border-radius: 50%;
  top: 2.25rem;
  box-shadow: 0 0 10px var(--accent-gold);
  z-index: 10;
}

.timeline-card:nth-child(odd)::before {
  right: -10.5%;
}

.timeline-card:nth-child(even)::before {
  left: -11.5%;
}


/* ==========================================================================
   RFQ MULTI-STEP B2B PORTAL
   ========================================================================== */
.rfq-section {
  background-color: var(--bg-main);
}

.rfq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

/* Indicators navigation */
.rfq-steps-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-header);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-main);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.step-indicator.active {
  color: var(--accent-gold);
}

.step-indicator.active .step-circle {
  border-color: var(--accent-gold);
  background-color: var(--accent-gold);
  color: #000;
  box-shadow: var(--shadow-glow);
}

.step-indicator.completed {
  color: var(--accent-green);
}

.step-indicator.completed .step-circle {
  border-color: var(--accent-green);
  background-color: var(--accent-green);
  color: #000;
}

.step-indicator-connector {
  flex-grow: 1;
  height: 2px;
  background-color: var(--border-light);
  margin: 0 1rem;
}

/* Form panels styling */
.form-step-panel {
  display: none;
  animation: fadeEffect 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-step-panel.active {
  display: block;
}

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

.form-step-header {
  margin-bottom: 2rem;
}

.form-step-header h4 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.form-step-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Input elements styling */
.form-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.form-fields-grid-wide {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  background-color: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-gold);
  background-color: rgba(7, 9, 14, 0.95);
  box-shadow: 0 0 10px rgba(255, 159, 28, 0.1);
}

.required {
  color: var(--accent-orange);
  margin-left: 2px;
}

/* Checkbox Custom styling */
.checkbox-group {
  margin-top: 0.5rem;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-left: 2rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-secondary);
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 3px;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: var(--bg-main);
  border: 2px solid var(--border-light);
  border-radius: 4px;
  transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--accent-gold);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark::after {
  display: block;
}

.checkbox-container .checkmark::after {
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text {
  line-height: 1.4;
}

/* Form buttons navigation bar */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

/* Dynamic Success Screen */
.form-success-panel {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
  animation: scaleUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-panel.active {
  display: flex;
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgba(46, 196, 182, 0.1);
  border: 2px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 15px rgba(46, 196, 182, 0.2));
}

.success-icon-circle svg {
  width: 32px;
  height: 32px;
}

.form-success-panel h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-success-panel p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.success-next-steps {
  background-color: rgba(7, 9, 14, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  max-width: 540px;
  width: 100%;
  text-align: left;
  margin-bottom: 2.5rem;
}

.success-next-steps h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.success-next-steps ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.success-next-steps li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-primary);
  position: relative;
  padding-left: 1.5rem;
}

.success-next-steps li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}


/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  background-color: #040508;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 3rem 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo .logo-svg {
  width: 40px;
  height: 40px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-link span {
  font-size: 1.1rem;
}

.contact-link:hover {
  color: var(--accent-gold);
}

.footer-links-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links-col a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links-col a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

/* Compliance Badges Layout */
.compliance-badges {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.compliance-badge .badge-icon {
  font-size: 1.5rem;
}

.compliance-badge .badge-text {
  display: flex;
  flex-direction: column;
}

.compliance-badge .b-title {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.compliance-badge .b-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

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

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 720px;
}

.footer-meta-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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


/* ==========================================================================
   RESPONSIVENESS MEDIA QUERIES
   ========================================================================== */

/* Large Tablets & Desktop Scalings (992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .filters-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .calc-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .logistics-showcase {
    grid-template-columns: 1fr;
  }
  
  .logistics-nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  
  .log-step-btn {
    flex-shrink: 0;
    padding: 1.5rem;
    border-bottom: none;
    border-right: 1px solid var(--border-light);
  }
  
  .log-step-btn::after {
    bottom: -1px;
    top: auto;
    width: 100%;
    height: 3px;
    right: 0;
  }
  
  .timeline-line {
    left: 2rem;
  }
  
  .timeline-card {
    width: 85%;
    float: none !important;
    margin-left: 4rem !important;
    margin-top: 1.5rem !important;
  }
  
  .timeline-card::before {
    left: -6.5% !important;
    right: auto !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Small Tablets & Mobile Landscape (768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-title {
    font-size: 2.25rem;
  }

  /* Sticky Header Menu Mobile toggle */
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: -10px 0 35px rgba(0,0,0,0.8);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border-light);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  /* Mobile close animations toggle state */
  .mobile-menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .form-fields-grid {
    grid-template-columns: 1fr;
  }
  
  .rfq-steps-indicator {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  
  .step-indicator-connector {
    display: none;
  }
  
  .rfq-container {
    padding: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Mobile Portrait (480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .filters-grid {
    grid-template-columns: 1fr;
  }
  
  .inventory-console {
    padding: 1.25rem;
  }
  
  .calc-results-panel {
    padding: 1.5rem;
  }
  
  .saved-amount {
    font-size: 3.5rem;
  }
  
  .savings-metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .logistics-content-panel {
    padding: 1.5rem;
  }
  
  .step-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .step-text-col h4 {
    font-size: 1.75rem;
  }
  
  .timeline-card {
    width: 80%;
  }
  
  .timeline-card::before {
    left: -10% !important;
  }
}
