/**
 * b2b.smartrade.pl — Core Design System & Stylesheet
 * Strict /taste-skill & /premium-web-experience compliance:
 * - Titanium / Obsidian Dark Mode (#0B0F17, #0F172A, #111827)
 * - Electric Cyan (#06B6D4) and Emerald (#10B981) Accents
 * - THE LILA RULE: ZERO PURPLE / VIOLET / INDIGO
 * - 60 FPS GPU-accelerated micro-interactions
 * - Zero CLS layout stability with locked aspect ratios
 */

/* ==========================================================================
   1. FONT DECLARATIONS (Local WOFF2)
   ========================================================================== */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/PlusJakartaSans-400-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/PlusJakartaSans-600-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/PlusJakartaSans-700-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/PlusJakartaSans-800-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/JetBrainsMono-400-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/JetBrainsMono-600-latin.woff2') format('woff2');
}

/* ==========================================================================
   2. DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */
:root {
  /* Canvas & Elevations */
  --bg-canvas: #0B0F17;
  --bg-surface: #0F172A;
  --bg-surface-elevated: #111827;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-subtle: rgba(15, 23, 42, 0.6);
  --bg-input: #070A10;

  /* Borders & Dividers */
  --border-subtle: #1E293B;
  --border-card: #334155;
  --border-cyan-glow: rgba(6, 182, 212, 0.35);
  --border-emerald-glow: rgba(16, 185, 129, 0.35);

  /* Brand Accents (Strict Anti-Slop - Zero Purple) */
  --accent-cyan: #06B6D4;
  --accent-cyan-hover: #22D3EE;
  --accent-cyan-glow: #00F0FF;
  --accent-cyan-bg: rgba(6, 182, 212, 0.12);
  --accent-emerald: #10B981;
  --accent-emerald-light: #34D399;
  --accent-emerald-bg: rgba(16, 185, 129, 0.12);

  /* Status Tokens */
  --status-success: #10B981;
  --status-warning: #F59E0B;
  --status-error: #EF4444;

  /* Text & Typography */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-cyan: #06B6D4;
  --text-emerald: #10B981;

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Shadows */
  --shadow-spotlight: 0 0 50px -10px rgba(6, 182, 212, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-emerald: 0 0 40px -10px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   3. BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-secondary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  background-color: var(--bg-canvas);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(6, 182, 212, 0.15), transparent 70%),
    radial-gradient(circle 600px at 90% 40%, rgba(16, 185, 129, 0.05), transparent);
  background-attachment: fixed;
  overflow-x: hidden;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   4. UTILITY & CONTAINER CLASSES
   ========================================================================== */
.container-b2b {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container-b2b {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.font-mono {
  font-family: var(--font-mono);
}

.text-cyan {
  color: var(--accent-cyan);
}

.text-emerald {
  color: var(--accent-emerald);
}

.text-white {
  color: var(--text-primary);
}

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

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

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
}

.glass-panel-elevated {
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 1rem;
}

/* Shimmer & Spotlight */
.badge-shimmer {
  position: relative;
  overflow: hidden;
}

.badge-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.15), transparent);
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* ==========================================================================
   5. NAVIGATION & TOP TRUST BAR
   ========================================================================== */
.top-trust-bar {
  background: rgba(7, 10, 16, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
  font-size: 0.75rem;
}

.top-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-muted);
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-emerald 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.header-b2b {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.875rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-logo-img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  object-fit: contain;
  background: #070A10;
  border: 1px solid var(--border-card);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.pillar-switch-nav {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  background: #070A10;
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
}

.pillar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-btn.active {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-card);
}

.pillar-btn.active.buyer-active {
  color: var(--accent-cyan);
  border-color: var(--border-cyan-glow);
}

.pillar-btn.active.supplier-active {
  color: var(--accent-emerald);
  border-color: var(--border-emerald-glow);
}

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

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-card);
  transition: all 0.2s ease;
}

.btn-phone:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.btn-rfq-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #070A10;
  background: var(--accent-cyan);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-rfq-header:hover {
  background: var(--accent-cyan-hover);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
  transform: translateY(-1px);
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--border-cyan-glow);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-title-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 50%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

.hero-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-primary-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #070A10;
  background: var(--accent-cyan);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-primary-cyan:hover {
  background: var(--accent-cyan-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.45);
}

.btn-secondary-titanium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border-card);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-titanium:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-emerald-stock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #070A10;
  background: var(--accent-emerald);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-emerald-stock:hover {
  background: var(--accent-emerald-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .hero-stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.stat-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Hero Right Interactive Spotlight Card */
.hero-feature-card {
  position: relative;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.9) 0%, rgba(11, 15, 23, 0.95) 100%);
  border: 1px solid var(--border-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-spotlight);
}

.feature-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.live-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--accent-emerald-bg);
  border: 1px solid var(--border-emerald-glow);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

.hero-card-preview-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #070A10;
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-feature-card:hover .hero-card-img {
  transform: scale(1.03);
}

.hero-card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.meta-box {
  background: #070A10;
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  padding: 0.625rem;
  text-align: center;
}

.meta-box-val {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.meta-box-lbl {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   7. B2B WHOLESALE CATALOG CARDS (Bento Grid)
   ========================================================================== */
.section-catalog {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 42rem;
}

.catalog-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .catalog-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .catalog-bento-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.product-bento-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  will-change: transform;
}

.product-bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-cyan-glow);
  box-shadow: 0 15px 35px -10px rgba(6, 182, 212, 0.15);
}

.card-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #070A10;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-chip-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-logistics {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  background: rgba(7, 10, 16, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-card);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.card-prod-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-hs-code {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-dim);
  background: #070A10;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.card-specs-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  list-style: none;
}

@media (min-width: 640px) {
  .card-specs-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.spec-icon {
  width: 1rem;
  height: 1rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* Tiered Pricing Table in Card */
.tier-table-wrap {
  background: #070A10;
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  text-align: left;
}

.tier-table th {
  padding: 0.5rem 0.75rem;
  background: rgba(17, 24, 39, 0.8);
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}

.tier-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.5);
  color: var(--text-secondary);
}

.tier-table tr:last-child td {
  border-bottom: none;
}

.tier-table .tier-highlight {
  color: var(--accent-cyan);
  font-weight: 700;
  font-family: var(--font-mono);
}

.tier-table .tier-scale-best {
  background: rgba(6, 182, 212, 0.08);
}

.tier-table .tier-scale-best td {
  color: var(--accent-cyan);
  font-weight: 700;
}

.card-actions-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-card-calc {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: var(--accent-cyan-bg);
  border: 1px solid var(--border-cyan-glow);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-calc:hover {
  background: rgba(6, 182, 212, 0.2);
  color: #FFFFFF;
}

.btn-card-rfq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #070A10;
  background: var(--accent-cyan);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-rfq:hover {
  background: var(--accent-cyan-hover);
}

/* ==========================================================================
   8. INTERACTIVE B2B VOLUME CALCULATOR
   ========================================================================== */
.section-calculator {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(11, 15, 23, 0.8) 100%);
}

.calc-container-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

@media (min-width: 1024px) {
  .calc-container-card {
    padding: 2.5rem;
  }
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .calc-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.calc-controls-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.calc-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.calc-select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.calc-presets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.calc-preset-pill {
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  background: #070A10;
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.calc-preset-pill:hover,
.calc-preset-pill.active {
  background: var(--accent-cyan-bg);
  border-color: var(--border-cyan-glow);
  color: var(--accent-cyan);
}

.calc-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-range-slider {
  width: 100%;
  height: 0.5rem;
  border-radius: 0.25rem;
  background: #1E293B;
  outline: none;
  -webkit-appearance: none;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
  border: 2px solid #FFFFFF;
}

.calc-range-slider::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
  border: 2px solid #FFFFFF;
}

.calc-num-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-num-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  outline: none;
}

.calc-num-input:focus {
  border-color: var(--accent-cyan);
}

.calc-unit-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Calculator Summary Column (Right) */
.calc-summary-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-result-box {
  background: #070A10;
  border: 1px solid var(--border-card);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.result-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.result-price-lbl {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.result-price-val {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
}

.result-price-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-align: right;
}

.result-logistics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .result-logistics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.logistics-card {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.log-val {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.log-lbl {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.savings-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-emerald-glow);
}

.savings-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.savings-val {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.btn-calc-transfer-rfq {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 1.5rem;
  border-radius: 0.625rem;
  font-size: 1rem;
  font-weight: 700;
  color: #070A10;
  background: var(--accent-cyan);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-calc-transfer-rfq:hover {
  background: var(--accent-cyan-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
}

/* ==========================================================================
   9. FILAR 2: SUPPLIER STOCK INTAKE SECTION
   ========================================================================== */
.section-supplier-pillar {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(11, 15, 23, 0.9) 0%, rgba(16, 185, 129, 0.04) 50%, rgba(11, 15, 23, 0.9) 100%);
}

.supplier-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-emerald-glow);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-emerald);
}

@media (min-width: 1024px) {
  .supplier-card-box {
    padding: 3rem;
  }
}

.supplier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .supplier-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.supplier-value-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.supplier-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-emerald);
  text-transform: uppercase;
}

.supplier-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.supplier-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.benefit-icon-box {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--accent-emerald-bg);
  border: 1px solid var(--border-emerald-glow);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-bottom: 0.125rem;
}

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

/* Supplier Intake Form */
.supplier-form-col {
  background: #070A10;
  border: 1px solid var(--border-card);
  border-radius: 1.25rem;
  padding: 1.75rem;
}

.supplier-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .supplier-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.full-col {
  grid-column: 1 / -1;
}

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

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border-radius: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.form-textarea {
  min-height: 5rem;
  resize: vertical;
}

.honeypot-field {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* ==========================================================================
   10. TRUST, CREDIBILITY & LEGAL SECTION
   ========================================================================== */
.section-trust {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .trust-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--accent-cyan-bg);
  border: 1px solid var(--border-cyan-glow);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.trust-card-link {
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.trust-card-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   11. MODAL (RFQ) & TOAST SYSTEM
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 10, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.modal-card {
  position: relative;
  width: 100%;
  max-width: 38rem;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.375rem;
  transition: color 0.15s ease;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .modal-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 18rem;
  max-width: 26rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-card);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.toast-success {
  border-color: var(--border-emerald-glow);
}

.toast.toast-error {
  border-color: rgba(239, 68, 68, 0.4);
}

.toast.toast-info {
  border-color: var(--border-cyan-glow);
}

/* ==========================================================================
   12. FOOTER & COMPLIANCE
   ========================================================================== */
.footer-b2b {
  background: #070A10;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  font-size: 0.8125rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

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

.footer-link {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--accent-cyan);
}

.footer-bottom-row {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  color: var(--text-dim);
}

@media (min-width: 768px) {
  .footer-bottom-row {
    flex-direction: row;
    text-align: left;
  }
}

/* ==========================================================================
   13. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .badge-shimmer::after {
    display: none !important;
  }

  dotlottie-player, lottie-player {
    display: none !important;
  }

  .lottie-fallback-svg {
    display: block !important;
  }
}
