/* ==========================================================================
   CHEMICAL.TRADE - Modern B2B Institutional Commodities Stylesheet
   Modern CSS Tokens, Responsive Layouts, Glassmorphism, Accessibility
   ========================================================================== */

:root {
  /* Color Palette - B2B Institutional Chemistry / Trust */
  --color-primary: #0A2540;        /* Deep Maritime Navy */
  --color-primary-light: #123456;
  --color-primary-dark: #061628;
  --color-accent: #00B4D8;         /* High-tech Chemical Cyan */
  --color-accent-hover: #0096C7;
  --color-accent-soft: rgba(0, 180, 216, 0.12);
  --color-success: #10B981;        /* Market Up / Verified Green */
  --color-success-soft: rgba(16, 185, 129, 0.12);
  --color-danger: #EF4444;         /* Market Down / Hazmat Red */
  --color-danger-soft: rgba(239, 68, 68, 0.12);
  --color-warning: #F59E0B;        /* Hazard Orange / Caution */
  --color-warning-soft: rgba(245, 158, 11, 0.12);

  /* Neutrals & Surfaces */
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Elevations & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.06);

  /* Layout & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --max-width: 1320px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-main);
  background-color: var(--bg-body);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

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

/* ==========================================================================
   Demo Preview Announcement Banner & Badges
   ========================================================================== */

.preview-mode-banner {
  background: linear-gradient(90deg, #020C17 0%, #082138 50%, #020C17 100%);
  color: #E2E8F0;
  font-size: 0.775rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.28);
  padding: 0.5rem 0;
  position: relative;
  z-index: 60;
  transition: opacity 0.25s ease, max-height 0.25s ease;
}

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

.preview-banner-text {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.45;
}

.preview-mode-pill {
  background: rgba(2, 132, 199, 0.25);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.45);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-mono);
}

.preview-banner-link {
  color: #38BDF8;
  text-decoration: underline;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.preview-banner-link:hover {
  color: #7DD3FC;
}

.preview-banner-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
}

.preview-banner-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

.nav-preview-tag {
  background: #EFF6FF;
  color: #0284C7;
  border: 1px solid #BAE6FD;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  display: inline-block;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .preview-banner-inner {
    flex-direction: row;
    align-items: flex-start;
  }
  .preview-banner-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 0.725rem;
  }
}

/* ==========================================================================
   Header & Live Commodity Ticker
   ========================================================================== */

.ticker-bar {
  background: #081220;
  color: #94A3B8;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 38px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 50;
}

.ticker-badge {
  background: rgba(14, 27, 46, 0.95);
  color: #38BDF8;
  font-weight: 700;
  padding: 0 1.15rem;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.ticker-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: pulse 1.8s infinite;
}

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

.ticker-wrapper {
  overflow: hidden;
  width: 100%;
  display: flex;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: ticker-slide 50s linear infinite;
  padding-left: 1.25rem;
}

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

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ticker-name {
  color: #F1F5F9;
  font-weight: 600;
  font-size: 0.78rem;
}

.ticker-basis {
  font-size: 0.68rem;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 500;
}

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

.ticker-price .ticker-unit {
  color: #64748B;
  font-weight: 400;
  font-size: 0.72rem;
}

.ticker-change-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.ticker-change-pill.up {
  color: #34D399;
  background: rgba(52, 211, 153, 0.12);
}

.ticker-change-pill.down {
  color: #F87171;
  background: rgba(248, 113, 113, 0.12);
}

.ticker-sep {
  color: rgba(255, 255, 255, 0.15);
  margin-left: 0.5rem;
  font-size: 0.65rem;
}

/* Site Navbar */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(10, 37, 64, 0.08);
  border-bottom-color: transparent;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #0A2540 0%, #007799 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.18);
  flex-shrink: 0;
}

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

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-primary);
}

.brand-logo span.tld {
  color: var(--color-accent);
  font-weight: 700;
}

.brand-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 1px;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--bg-subtle);
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0.65rem;
  right: 0.65rem;
  height: 2.5px;
  background: linear-gradient(90deg, var(--color-accent), #007799);
  border-radius: 2px;
}

.nav-badge-tool {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(0, 180, 216, 0.12);
  color: #007799;
  padding: 1px 5px;
  border-radius: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.currency-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-select {
  appearance: none;
  -webkit-appearance: none;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.45rem 1.85rem 0.45rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  transition: all var(--transition-fast);
}

.currency-select:hover {
  border-color: var(--color-accent);
}

.currency-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.header-cta-btn {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.header-cta-btn:hover {
  background: linear-gradient(135deg, #0369A1 0%, #075985 100%);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 2px 4px rgba(10, 37, 64, 0.2);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(10, 37, 64, 0.25);
}

.btn-accent {
  background: var(--color-accent);
  color: #061628;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 180, 216, 0.3);
}

.btn-accent:hover {
  background: #00C7EC;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.45);
}

.btn-outline {
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  background: #FFFFFF;
}

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

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  padding: 0.5rem;
  color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  background: linear-gradient(175deg, #0A2540 0%, #0F3256 60%, #0A1E35 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(0, 180, 216, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: #E2E8F0;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00B4D8;
}

.hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #00B4D8 0%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #CBD5E1;
  margin-bottom: 2.25rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Search Component */
.hero-search-box {
  background: rgba(255, 255, 255, 0.98);
  padding: 0.625rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.35);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  max-width: 780px;
  margin: 0 auto 1.5rem;
  color: var(--text-main);
  text-align: left;
}

.search-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0.75rem;
}

.search-input-group svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.hero-search-box input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  outline: none;
}

.hero-search-box select {
  border: none;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  outline: none;
  color: var(--text-main);
}

.hero-quick-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: #94A3B8;
}

.quick-tag {
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.quick-tag:hover {
  background: rgba(0, 180, 216, 0.25);
  color: #00B4D8;
}

/* Trust Bar / Metrics */
.metrics-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}

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

.metric-item .metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.metric-item .metric-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Section Headers & Controls
   ========================================================================== */

.section-padding {
  padding: 4.5rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.filter-tab {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-tab:hover {
  color: var(--color-primary);
  background: var(--bg-subtle);
}

.filter-tab.active {
  color: var(--color-primary);
  background: #E2F3F9;
  color: #007799;
}

/* Secondary Filter Bar */
.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  background: #FFFFFF;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

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

.form-select, .form-input {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: #FFFFFF;
  font-size: 0.875rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-select:focus, .form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

/* ==========================================================================
   Spot RFQ Board (Cards & Table)
   ========================================================================== */

.rfq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.5rem;
}

.rfq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.rfq-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #BEE3F8;
}

.rfq-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.rfq-id-pill {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #007799;
  background: #E2F3F9;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.rfq-status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.rfq-status-badge.open {
  background: var(--color-success-soft);
  color: var(--color-success);
}

.rfq-chemical-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rfq-meta-formula {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.rfq-specs-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.84rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

.rfq-spec-row {
  display: flex;
  flex-direction: column;
}

.rfq-spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.rfq-spec-val {
  font-weight: 600;
  color: var(--text-main);
}

.rfq-logistics-info {
  margin-bottom: 1rem;
  font-size: 0.84rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.logistics-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

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

.rfq-buyer-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  font-size: 0.8125rem;
}

.buyer-company {
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.buyer-rating {
  color: #D97706;
  font-weight: 600;
}

.rfq-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ==========================================================================
   Chemical Catalog Grid
   ========================================================================== */

.chemical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.chemical-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

.chem-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.chem-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
}

.chem-cas {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chem-badge-category {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
}

.chem-benchmark-price {
  margin: 0.75rem 0;
  padding: 0.5rem 0.75rem;
  background: #F0FDF4;
  border-radius: var(--radius-sm);
  border: 1px solid #DCFCE7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.chem-price-val {
  font-weight: 700;
  color: #15803D;
  font-family: var(--font-mono);
}

.chem-meta-list {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* ==========================================================================
   Market Analytics / Interactive SVG Chart
   ========================================================================== */

.analytics-container {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

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

.commodity-selector {
  display: flex;
  gap: 0.5rem;
}

.chart-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  margin-bottom: 1rem;
}

.chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-grid-line {
  stroke: var(--border-subtle);
  stroke-dasharray: 4 4;
}

.chart-axis-label {
  fill: var(--text-muted);
  font-size: 11px;
  font-family: var(--font-mono);
}

.chart-line {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all var(--transition-normal);
}

.chart-area {
  fill: url(#chartGradient);
  opacity: 0.25;
}

.chart-point {
  fill: #FFFFFF;
  stroke: var(--color-primary);
  stroke-width: 2.5;
  cursor: pointer;
  transition: r var(--transition-fast);
}

.chart-point:hover {
  r: 6;
  stroke: var(--color-accent);
}

/* Tooltip for Chart */
.chart-tooltip {
  position: absolute;
  background: var(--color-primary-dark);
  color: #FFFFFF;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity var(--transition-fast);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  z-index: 10;
}

/* ==========================================================================
   Freight & Incoterms Calculator
   ========================================================================== */

.calculator-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.calc-result-box {
  background: linear-gradient(145deg, #0A2540 0%, #10375E 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-estimate-title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.calc-estimate-value {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #00B4D8;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.calc-breakdown-list {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  color: #CBD5E1;
}

.calc-breakdown-row.total {
  font-weight: 700;
  color: #FFFFFF;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  padding-top: 0.5rem;
}

/* ==========================================================================
   Suppliers Directory Cards
   ========================================================================== */

.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.supplier-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.supplier-card:hover {
  border-color: #BEE3F8;
  box-shadow: var(--shadow-md);
}

.supplier-tier-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #007799;
  background: #E2F3F9;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

.supplier-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.supplier-location {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.supplier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.supplier-tag {
  font-size: 0.72rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Modals (Dialogs) & Backdrops
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #FFFFFF;
  z-index: 10;
}

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

.modal-close-btn {
  background: transparent;
  color: var(--text-muted);
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  background: var(--bg-subtle);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

/* Multi-Step Wizard */
.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: var(--border-medium);
  z-index: 1;
  transform: translateY(-50%);
}

.step-indicator {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.step-indicator.active .step-bubble {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #061628;
  font-weight: 700;
}

.step-indicator.completed .step-bubble {
  border-color: var(--color-success);
  background: var(--color-success);
  color: #FFFFFF;
}

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

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

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

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

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

.form-group textarea {
  width: 100%;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  resize: vertical;
  min-height: 80px;
}

/* ==========================================================================
   Toasts & Alerts
   ========================================================================== */

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

.toast {
  pointer-events: auto;
  background: #0A2540;
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  border-left: 4px solid var(--color-accent);
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}

@keyframes toast-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #071322;
  color: #94A3B8;
  padding: 4.5rem 0 2.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
}

.footer-brand-lockup {
  max-width: 440px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #94A3B8;
}

.footer-badges-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-end;
}

.network-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: pulse 1.8s infinite;
}

.compliance-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.comp-pill {
  font-size: 0.7rem;
  font-weight: 500;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* 4-Column Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}

.footer-title {
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: #94A3B8;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: #38BDF8;
  transform: translateX(2px);
}

.footer-mini-tag {
  font-size: 0.625rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.footer-subtext {
  font-size: 0.8125rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.newsletter-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0 0.75rem;
  transition: border-color var(--transition-fast);
}

.newsletter-input-wrap:focus-within {
  border-color: #38BDF8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.newsletter-input-wrap svg {
  color: #64748B;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  padding: 0.6rem 0;
  font-size: 0.8125rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: #64748B;
}

.newsletter-btn {
  background: #0284C7;
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.newsletter-btn:hover {
  background: #0369A1;
}

.newsletter-microcopy {
  font-size: 0.7rem;
  color: #64748B;
  margin-top: 0.35rem;
}

/* Institutional Regulatory Disclaimer Card */
.institutional-disclosure-card {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.disclosure-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.disclosure-text {
  font-size: 0.75rem;
  line-height: 1.65;
  color: #64748B;
}

/* Sub-Footer */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-copyright {
  color: #64748B;
  font-size: 0.8rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #94A3B8;
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: #38BDF8;
}

.legal-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-bar {
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-badges-group {
    align-items: flex-start;
  }
  .compliance-pills {
    justify-content: flex-start;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-search-box {
    flex-direction: column;
  }
  .hero-search-box select, .hero-search-box .btn {
    width: 100%;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .rfq-grid, .chemical-grid, .suppliers-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ==========================================================================
   Mobile Navigation Drawer
   ========================================================================== */

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: var(--shadow-xl);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}

.mobile-drawer.active {
  right: 0;
}

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

.mobile-nav-links {
  list-style: none;
  padding: 1rem 0;
  overflow-y: auto;
  flex: 1;
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
  background: var(--bg-subtle);
  border-left-color: var(--color-accent);
  color: #007799;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.5);
  backdrop-filter: blur(2px);
  z-index: 140;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mobile-drawer-backdrop.active {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   Monetization & Commercial Components
   ========================================================================== */

/* 1. Exhibition Digital Expo Banner */
.expo-featured-banner {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, rgba(14, 34, 61, 0.95) 0%, rgba(10, 25, 47, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.expo-featured-banner:hover {
  border-color: #38BDF8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.15);
}

.expo-banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.live-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 6px #F59E0B;
  animation: pulse 1.5s infinite;
}

.expo-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.84rem;
}

.expo-banner-text strong {
  color: #FFFFFF;
  font-size: 0.875rem;
}

.expo-banner-text span {
  color: #94A3B8;
  font-size: 0.8rem;
}

.expo-banner-cta {
  background: linear-gradient(135deg, #0284C7, #0369A1);
  color: #FFFFFF;
  font-weight: 600;
  white-space: nowrap;
}

/* 2. RFQ Direct Buyer Contact Box (Pay-Per-Lead / Unlock) */
.rfq-buyer-contact-box {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.rfq-contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
  overflow: hidden;
}

.rfq-contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.rfq-contact-officer {
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.rfq-contact-masked {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #94A3B8;
  filter: blur(2.5px);
  user-select: none;
}

.btn-unlock-lead {
  background: #0284C7;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-unlock-lead:hover {
  background: #0369A1;
  transform: translateY(-1px);
}

.btn-unlock-lead .badge-price {
  background: rgba(255, 255, 255, 0.25);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.68rem;
}

.contact-unlocked-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-whatsapp-direct {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.btn-whatsapp-direct:hover {
  background: #1EBE5D;
}

/* 3. Pricing Grid (Membership Plans) */
.pricing-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.pricing-plan-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-plan-card.popular {
  border-color: #0284C7;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.18);
  transform: scale(1.02);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: #0284C7;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.plan-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.plan-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  min-height: 2.4rem;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-mono);
}

.plan-price-period {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  flex: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.plan-check-icon {
  color: #10B981;
  font-weight: 800;
  flex-shrink: 0;
}

/* 4. Category Sponsor Banner */
.category-sponsor-ribbon {
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px dashed rgba(2, 132, 199, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  margin: 0.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.sponsor-partner-name {
  font-weight: 700;
  color: #0284C7;
}

.btn-sponsor-tag {
  background: transparent;
  color: #0284C7;
  border: 1px solid #0284C7;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.btn-sponsor-tag:hover {
  background: #0284C7;
  color: #FFFFFF;
}

/* 5. Package Selector in Modals */
.package-option-box {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.package-option-box:hover, .package-option-box.selected {
  border-color: #0284C7;
  background: #F0F9FF;
}

.package-option-box.selected {
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

@media (max-width: 900px) {
  .pricing-modal-grid {
    grid-template-columns: 1fr;
  }
  .expo-featured-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
