/* ============================================================
   FleetX Brand Design System — Professional Premium Edition
   Designed to compete with global fleet auction platforms
   Typography: Tajawal (Arabic) | Outfit (English/Numbers)
   Palette: Deep Navy Dark / Clean White Light / Emerald Accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.2/src/regular/style.css');
@import url('https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.2/src/fill/style.css');
@import url('platform-ui.css?v=23');
@import url('theme-restore.css?v=7');
/* homepage polish loaded via home-live.css on index only */
@import url('subpage-polish.css?v=6');
@import url('site-polish.css?v=19');
@import url('splash.css?v=100');
@import url('ui-polish.css?v=128');

/* Phosphor Icons Base */
.ph {
  color: var(--primary);
  font-size: 1.25rem;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ph-space-left { margin-inline-start: 8px; }
.ph-space-right { margin-inline-end: 8px; }

/* ── CSS Design Tokens ────────────────────────────────────── */
:root {
  /* Surface Colors */
  --bg-light: #f4f6f9;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-section-alt: #f0f3f8;

  /* Dark Theme */
  --bg-dark: #060c16;
  --bg-darker: #03070e;
  --bg-dark-surface: #0d1626;

  /* Brand Accent - Emerald Green */
  --primary: #1bc976;
  --primary-hover: #15b567;
  --primary-light: rgba(27, 201, 118, 0.08);
  --primary-border: rgba(27, 201, 118, 0.25);
  --primary-gradient: linear-gradient(135deg, #1bc976 0%, #0ea5e9 100%);
  --primary-gradient-hover: linear-gradient(135deg, #15b567 0%, #0891d6 100%);
  --primary-gradient-solid: #1bc976;

  /* Text */
  --text-dark: #0d1117;
  --text-body: #1e293b;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --text-light-muted: #94a3b8;
  --text-light-soft: rgba(255,255,255,0.75);

  /* Borders */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-dark: #1e293b;

  /* Status Colors */
  --success: #10b981;
  --success-pale: rgba(16, 185, 129, 0.08);
  --warning: #f59e0b;
  --warning-pale: rgba(245, 158, 11, 0.08);
  --danger: #f43f5e;
  --danger-pale: rgba(244, 63, 94, 0.08);
  --info: #0ea5e9;
  --info-pale: rgba(14, 165, 233, 0.08);

  /* Legacy Color Names */
  --primary-emerald: #1bc976;
  --primary-turquoise: #0ea5e9;

  /* FleetX brand palette: green · blue · navy · gold (VIP only) */
  --fx-brand-green: #1bc976;
  --fx-brand-blue: #0ea5e9;
  --fx-brand-navy: #0b0f19;
  --fx-brand-navy-surface: #172030;
  --fx-brand-gold: #ffd700;

  /* Typography */
  --font-ar: 'Tajawal', sans-serif;
  --font-en: 'Outfit', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --section-py-sm: 60px;

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 40px;
  --radius-round: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows — all disabled per user preference */
  --shadow-card: none !important;
  --shadow-card-hover: none !important;
  --shadow-dark: none !important;
}

/* ── Base Reset & Typography ───────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: var(--font-ar);
  background-color: var(--bg-light);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

/* ── Typography Scale ─────────────────────────────────────── */
.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* 🌟 Inner Page Header 
  ---------------------------------------------------------------------- */
  .page-header {
    position: relative;
    background: var(--bg-dark);
    color: #fff;
    padding: 130px 0 120px;
    overflow: clip;
    border-radius: 0 0 60px 60px;
    text-align: right;
  }
  
  .page-inner .page-header {
    padding-top: 130px;
  }
  
  .page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    z-index: 1;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  }
  
  .page-header .container {
    position: relative;
    z-index: 10;
    text-align: right;
  }
  
  .page-header h1 {
    color: #fff;
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 12px;
    text-align: right;
  }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 6px 18px;
  border-radius: var(--radius-round);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  font-family: var(--font-ar);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
}
.btn-primary .ph { color: #fff !important; }
.btn-primary:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--border-medium);
  color: var(--text-dark);
  font-size: 14px;
}
.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-dark);
  color: #fff;
  border: 1px solid var(--border-dark);
}
.btn-dark:hover {
  background: var(--bg-darker);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn:hover { box-shadow: none !important; }
.btn:active { transform: translateY(0); }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.navbar.scrolled {
  position: fixed;
  background: rgba(6, 12, 22, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,0.08);
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.navbar-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-en);
}

.navbar-logo img {
  height: 36px;
  display: block;
}

.navbar-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.navbar-links a {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  padding: 8px 0;
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: #fff;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: var(--transition);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
  left: 0;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-login {
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  font-size: 14px;
}
.btn-login:hover { color: #fff; }

.btn-register {
  background: var(--primary-gradient);
  color: #fff;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.btn-register:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-2px);
}

.navbar-toggle {
  display: none;
  font-size: 24px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* Navbar Dropdown */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: rgba(6,12,22,0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dark);
  min-width: 170px;
  z-index: 1100;
  border-radius: var(--radius-md);
  padding: 8px 0;
  text-align: right;
}
.nav-dropdown-content a {
  color: var(--text-light-muted) !important;
  padding: 10px 18px;
  display: block;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}
.nav-dropdown-content a:hover {
  background-color: rgba(255,255,255,0.05);
  color: #fff !important;
  padding-right: 24px;
}
.nav-dropdown:hover .nav-dropdown-content { display: block; }

/* ── Hero Section ─────────────────────────────────────────── */
.hero-wrapper {
  background-color: var(--bg-dark);
  position: relative;
  border-radius: 0 0 80px 80px;
  padding-bottom: 60px;
}

.hero {
  position: relative;
  min-height: 100vh;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: clip;
}

.hero-elegant-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: clip;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  animation: orbFloat 12s infinite alternate ease-in-out;
}
.orb-1 { width: 500px; height: 500px; background: #1bc976; top: -150px; right: -100px; }
.orb-2 { width: 600px; height: 600px; background: #0ea5e9; bottom: -250px; left: -100px; animation-delay: -6s; }

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 50px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  padding: 0 20px;
  transform: translateY(-60px);
}

.hero-tagline {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  min-height: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
  transition: opacity 0.5s ease;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

/* ── Inner Page Header ────────────────────────────────────── */
.page-header {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  padding: 130px 0 60px;
  overflow: clip;
  border-radius: 0 0 60px 60px;
}

.page-inner .page-header {
  padding-top: 130px;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 1;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.page-header .container {
  position: relative;
  z-index: 10;
}

.page-header h1 {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 12px;
}

/* ── Auction Cards ─────────────────────────────────────────── */
.auction-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  overflow: clip;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: none !important;
  position: relative;
  height: 100%;
}

.auction-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.featured-card {
  border: 2px solid #0ea5e9 !important;
}

.ac-img-wrap {
  position: relative;
  height: 220px;
  background: #e8edf2;
  overflow: clip;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.ac-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.auction-card:hover .ac-img-wrap img {
  transform: scale(1.07);
}

/* Stacked Badges */
.card-badges-container {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 10;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 12px;
  height: 26px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}

.badge-live { background: #1bc976; }
.badge-live::before {
  content: '';
  width: 5px; height: 5px;
  background: #fff;
  border-radius: 50%;
  animation: pulseDot 1.2s infinite alternate;
}

@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 1; }
}

.badge-instant { background: #1bc976; }
.badge-featured { background: #0ea5e9; }
.badge-upcoming { background: #a855f7; }
.badge-ended { background: #9ca3af; }

/* Favorite Heart */
.card-fav {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(6,12,22,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
}
.card-fav:hover { background: rgba(255,255,255,0.95); color: var(--danger); }
.card-fav.active { background: rgba(255,255,255,0.95); color: var(--danger); }

/* Card Body */
.ac-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.ac-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: clip;
  min-height: 44px;
  line-height: 1.4;
}

.ac-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.ac-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ac-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-bottom: 14px;
}
.ac-stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--text-dark);
  font-weight: 700;
  text-align: center;
}
.ac-stat-cell .label {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
}

.ac-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.ac-price-row > div {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: space-between;
}
.ac-price-val {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-en);
  line-height: 1;
}
.ac-price-currency { font-size: 13px; font-family: var(--font-ar); font-weight: 700; }
.ac-price-label { font-size: 13px; color: var(--text-muted); font-weight: 700; margin-bottom: 0; }

.ac-timer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ac-timer-label { font-size: 12px; color: var(--text-muted); font-weight: 700; }
.ac-timer-val {
  display: flex;
  gap: 3px;
  font-weight: 900;
  font-family: var(--font-en);
}
.ac-timer-val div {
  background: #f3f4f6;
  color: var(--text-dark);
  padding: 4px 7px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  min-width: 26px;
  text-align: center;
}
.ac-timer-val span { align-self: center; color: var(--text-dark); font-weight: 900; font-size: 11px; }

/* ── Swiper Overrides ───────────────────────────────────────── */
.swiper-slide {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  opacity: 1 !important;
  filter: none !important;
}
.swiper-slide-active {
  opacity: 1 !important;
  z-index: 10;
}
.swiper-slide-active .auction-card {
  transform: scale(1.04) !important;
}

.swiper-button-next,
.swiper-button-prev {
  width: 44px !important;
  height: 44px !important;
  background: rgba(27, 201, 118, 0.12);
  border: 1.5px solid rgba(27, 201, 118, 0.35);
  border-radius: 50%;
  color: var(--primary) !important;
  transition: var(--transition);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: 900;
}
.swiper-pagination-bullet {
  background: var(--border-medium) !important;
  opacity: 1 !important;
  width: 7px !important;
  height: 7px !important;
}
.swiper-pagination-bullet-active {
  background: var(--primary) !important;
  width: 22px !important;
  border-radius: var(--radius-round) !important;
}

/* ── Event Cards (Auctions Page) ──────────────────────────── */
.event-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  overflow: clip;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.event-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}
.event-header {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-surface) 100%);
  color: #fff;
  padding: 24px;
  position: relative;
  overflow: clip;
  border-bottom: 2px solid rgba(27, 201, 118, 0.4);
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.event-seller-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 800;
  background: rgba(27, 201, 118, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-round);
  border: 1px solid rgba(27, 201, 118, 0.2);
  align-self: flex-start;
  margin-bottom: 8px;
}
.event-title { font-size: 18px; font-weight: 800; color: #fff; margin: 0; line-height: 1.4; }
.event-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.event-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: clip;
}
.event-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
}
.event-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 600;
}
.event-meta-item i { color: var(--primary); font-size: 16px; }
.event-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }

/* ── Live Bidding Room ─────────────────────────────────────── */
.live-room-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 28px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
  margin-bottom: 80px;
}

.gallery-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.gallery-main {
  width: 100%;
  height: 460px;
  border-radius: var(--radius-md);
  overflow: clip;
  margin-bottom: 16px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumb {
  flex: 1;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: clip;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: var(--transition);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover,
.gallery-thumb.active { opacity: 1; border-color: var(--primary); }

.bid-panel-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: clip;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bpc-header {
  background: var(--bg-dark);
  color: #fff;
  padding: 26px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.bpc-price-display {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-en);
  margin: 10px 0;
  transition: var(--transition);
}

.bpc-history {
  flex: 1;
  background: var(--bg-light);
  padding: 20px;
  overflow-y: auto;
  min-height: 240px;
  max-height: 320px;
}

.bid-history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  animation: slideInUp 0.3s ease forwards;
}
.bid-history-item.winner {
  background: var(--success-pale);
  border-color: var(--success);
  border-right: 4px solid var(--success);
}

.bid-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px; color: var(--text-dark);
}
.bid-user { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.bid-time { font-size: 11px; color: var(--text-muted); }
.bid-amount { margin-right: auto; font-family: var(--font-en); font-weight: 800; color: var(--text-dark); font-size: 15px; }

.bpc-actions { padding: 20px; }
.quick-bids-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.quick-bid-btn {
  padding: 10px;
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-en);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
}
.quick-bid-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ── Dashboard Panel ──────────────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.panel-sidebar {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 0;
  position: sticky;
  top: 100px;
}

.panel-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  border-right: 3px solid transparent;
}

.panel-nav-item:hover,
.panel-nav-item.active {
  color: var(--primary);
  background: rgba(27, 201, 118, 0.05);
  border-right-color: var(--primary);
}

.panel-content {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.stat-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  box-shadow: none !important;
}
.stat-box:hover { transform: translateY(-3px); }
.stat-box .val {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  font-family: var(--font-en);
  margin-top: 4px;
}

/* ── Auth Pages ───────────────────────────────────────────── */
.auth-layout { display: flex; min-height: 100vh; }
.auth-right {
  flex: 1.1;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}
.auth-left {
  flex: 0.9;
  background: var(--bg-dark);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  overflow: clip;
}
@media (max-width: 992px) { .auth-left { display: none; } }
.auth-form-container { width: 100%; max-width: 440px; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-ar);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
  background: var(--bg-light);
}
.form-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 201, 118, 0.1);
}

/* OTP */
.otp-inputs { display: flex; gap: 12px; justify-content: center; margin: 24px 0; }
.otp-input {
  width: 50px; height: 54px;
  font-size: 22px; font-weight: 800; text-align: center;
  font-family: var(--font-en);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--bg-light);
  transition: var(--transition);
}
.otp-input:focus { border-color: var(--primary); background: #fff; }

/* ── Toast Notifications ─────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  inset-inline-start: auto;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 340px;
  max-width: 90vw;
}

.toast {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInToast 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.toast-success { border-right: 4px solid var(--success); }
.toast-error { border-right: 4px solid var(--danger); }
.toast-info { border-right: 4px solid var(--info); }
.toast.closing { animation: slideOutToast 0.3s ease forwards; }

/* ── Animations ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active, .reveal.visible { opacity: 1; transform: translateY(0); }

.animate-card {
  animation: cardFadeIn 0.5s ease forwards;
  opacity: 0;
}
.animate-card:nth-child(1) { animation-delay: 0.05s; }
.animate-card:nth-child(2) { animation-delay: 0.1s; }
.animate-card:nth-child(3) { animation-delay: 0.15s; }
.animate-card:nth-child(4) { animation-delay: 0.2s; }
.animate-card:nth-child(5) { animation-delay: 0.25s; }
.animate-card:nth-child(6) { animation-delay: 0.3s; }

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

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

@keyframes slideInToast {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutToast {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-110%); opacity: 0; }
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 1; }
}

/* ── Footer ──────────────────────────────────────────────── */
.footer-xm {
  background: var(--bg-darker);
  color: rgba(255,255,255,0.7);
  padding: 90px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-grid-xm {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 8px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 2px;
  background: var(--primary-gradient);
}

.footer-links-xm { display: flex; flex-direction: column; gap: 13px; }
.footer-links-xm a {
  font-size: 14px;
  color: #fff;
  transition: var(--transition);
}
.footer-links-xm a:hover {
  color: var(--primary);
  padding-right: 5px;
}

/* ── HOW IT WORKS — Sticky Tabbed Cards ─────────────────── */
.hiw-wrapper {
  position: relative;
  background: var(--bg-section-alt);
  padding-bottom: 18vh;
}

.hiw-card {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow-y: auto;
  overflow-x: clip;
  border-radius: 40px 40px 0 0;
  display: flex;
  align-items: flex-start;
  background: var(--bg-section-alt);
}

.hiw-buyers { z-index: 2; }
.hiw-sellers {
  z-index: 3;
  background: var(--bg-section-alt);
  border-top: 1px solid #dce3ed;
}

.hiw-card-inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 24px 90px;
}

/* HIW Header */
.hiw-section-header {
  text-align: center;
  margin-bottom: 36px;
}
.hiw-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27, 201, 118, 0.1);
  color: var(--primary);
  border: 1px solid rgba(27, 201, 118, 0.25);
  padding: 6px 18px;
  border-radius: var(--radius-round);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}
.hiw-title {
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 0;
  line-height: 1.2;
  font-weight: 900;
}

/* HIW Tabs */
.hiw-tabs-container {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.hiw-tab {
  background: transparent;
  border: none;
  padding: 14px 32px;
  border-radius: 16px 16px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-ar);
  white-space: nowrap;
}
.hiw-tab:hover { color: var(--text-dark); }
.hiw-tab.active {
  background: #ffffff;
  color: var(--primary);
}

/* HIW Box */
.hiw-box {
  background: #ffffff;
  border-radius: 0 32px 32px 32px;
  overflow: clip;
  height: 400px;
}

/* HIW Panels (legacy slide panels — not browser tab content box) */
.hiw-panel:not(.browser-content) {
  display: none;
  width: 100%;
  height: 100%;
  animation: fadeInPanel 0.4s ease;
}
.hiw-panel:not(.browser-content).active { display: flex; }

.browser-content.hiw-panel {
  display: block !important;
  width: 100%;
  height: auto;
  min-height: 360px;
}

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

.hiw-panel-img { width: 45%; padding: 20px; }
.hiw-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.hiw-panel-content {
  width: 55%;
  padding: 36px 52px 36px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hiw-panel-icon {
  width: auto; height: auto;
  background: transparent;
  color: var(--primary);
  font-size: 36px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@keyframes ripplePulse {
  0% { box-shadow: 0 0 0 0 rgba(27, 201, 118, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(27, 201, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(27, 201, 118, 0); }
}

.hiw-panel-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(27, 201, 118, 0.1);
  border-radius: 50%;
  animation: ripplePulse 2s infinite;
}

.hiw-panel-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.hiw-panel-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 22px;
}

.hiw-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: var(--radius-round);
  cursor: pointer;
  font-family: var(--font-ar);
  transition: all 0.25s ease;
  width: max-content;
}
.hiw-details-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* HIW Modal */
.hiw-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hiw-modal-overlay.active { display: flex; }

.hiw-modal {
  background: #fff;
  border-radius: 22px;
  padding: 40px;
  max-width: 580px;
  width: 100%;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUpModal 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.hiw-modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 34px;
  height: 34px;
  background: var(--bg-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.hiw-modal-close:hover { background: var(--border-light); }

.hiw-modal h4 { font-size: 20px; font-weight: 900; color: var(--text-dark); margin-bottom: 6px; }
.hiw-modal .hiw-modal-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border-light); }
.hiw-modal-steps { list-style: none; padding: 0; margin: 0; }
.hiw-modal-steps li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.7;
}
.hiw-modal-steps li:last-child { border-bottom: none; }
.hiw-modal-step-badge {
  min-width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  font-family: var(--font-en);
  flex-shrink: 0;
  margin-top: 2px;
}
.hiw-modal-alert {
  background: rgba(27, 201, 118, 0.07);
  border: 1px solid rgba(27, 201, 118, 0.2);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-dark);
  margin-top: 18px;
  line-height: 1.7;
}
.hiw-modal-alert strong { color: var(--primary); }

/* HIW Text Toggles for Mobile */
.mobile-text { display: none; }
.desktop-text { display: inline; }

/* ── Service Cards ─────────────────────────────────────────── */
.services-flex-container {
  display: flex;
  gap: 24px;
  width: 100%;
}
@media (max-width: 768px) {
  .services-flex-container { flex-direction: column; }
}
.service-flex-card-new {
  flex: 1;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: clip;
  min-height: 260px;
  transition: flex 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease, border-color 0.3s ease;
}
.service-flex-card-new:hover {
  flex: 1.5 !important;
  transform: translateY(-4px);
  border-color: rgba(27, 201, 118, 0.3);
}
.service-flex-card-new .service-bg-fade {
  position: absolute;
  top: 0; left: 0;
  width: 60%; height: 100%;
  background-size: cover;
  background-position: center;
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  transition: opacity 0.4s ease;
  z-index: 0;
}
.service-flex-card-new:hover .service-bg-fade { opacity: 0.8 !important; }
.service-flex-card-new .service-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-flex-card-new i {
  font-size: 44px;
  color: var(--primary);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.service-flex-card-new:hover i {
  transform: scale(1.1);
}

/* ── Stats Section ─────────────────────────────────────────── */
.stats-section {
  padding: 110px 0;
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: clip;
  border-radius: 80px 80px 0 0;
}
.stats-number {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1;
}
.stats-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  max-width: 200px;
  margin: 0 auto;
}

/* ── Contact Section ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stats-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes spinBorder {
  to { --angle: 360deg; }
}

.stat-feature-card {
  position: relative;
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s ease;
  z-index: 1;
  /* overflow: clip is not needed if the pseudo element is inset 0 */
}
.stat-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px; /* border thickness */
  background: conic-gradient(from var(--angle), transparent 70%, var(--primary), #0ea5e9);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
/* We don't need ::after anymore */
.stat-feature-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
}
.stat-feature-card:hover::before {
  opacity: 1;
  animation: spinBorder 2s linear infinite;
}
.stat-feature-card i {
  font-size: 32px;
  margin-bottom: 16px;
  display: inline-block;
  color: var(--primary);
  transition: all 0.3s ease;
  position: relative; z-index: 2;
}
.stat-feature-card:hover i {
  background: linear-gradient(135deg, var(--primary), #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.1);
}
.stat-feature-card h4 { font-size: 17px; color: #fff; margin-bottom: 10px; position: relative; z-index: 2; transition: all 0.3s ease;}
.stat-feature-card:hover h4 {
  background: linear-gradient(135deg, var(--primary), #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-feature-card p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 0; position: relative; z-index: 2;}

/* ── Sidebar Filters (Auctions Page) ─────────────────────── */
.filter-group-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filter-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}
.filter-check-item:hover { color: var(--primary); }
.filter-check-item input[type="checkbox"] { accent-color: var(--primary); width: 15px; height: 15px; }

/* ── Seller Row Card ───────────────────────────────────────── */
.seller-row-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  transition: var(--transition);
}
.seller-row-card:hover { transform: translateY(-2px); border-color: rgba(27, 201, 118, 0.2); }

/* ── WhatsApp Float ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 36px;
  right: 36px;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-decoration: none;
}
.whatsapp-float i { font-size: 34px; color: #fff; }
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37,211,102,0.6);
}

/* Hero Search Panel */
.hero-search-panel { margin-top: 16px; }
.hero-search-form {
  display: flex;
  align-items: center;
  background: rgba(13, 20, 36, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-round);
  padding: 6px 10px;
  backdrop-filter: blur(20px);
  max-width: 1060px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.search-field {
  flex: 1;
  padding: 0 14px;
  position: relative;
}
@media (min-width: 993px) {
  .hero-search-form .search-field::after {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
  }
}
.search-field input,
.search-field select {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  outline: none;
  font-family: var(--font-ar);
  padding: 6px 0;
  appearance: none;
}
.search-field select option { background: #0d1626; color: #fff; }
.search-field input::placeholder { color: rgba(255,255,255,0.45); }

/* ── Responsive Media Queries ─────────────────────────────── */
@media (max-width: 1200px) {
  .hero-title { font-size: 42px; }
  .section-title { font-size: 30px; }
  .hiw-title { font-size: 32px; }
}

@media (max-width: 992px) {
  .dashboard-grid, .live-room-grid { grid-template-columns: 1fr; }
  .panel-sidebar { position: static; }
  .footer-grid-xm { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-title { font-size: 36px; }
  .stats-features-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-card { height: auto; min-height: 100vh; padding: 40px 0; }
  .hiw-box { height: auto; flex-direction: column; }
  .hiw-panel { flex-direction: column; }
  .hiw-panel-img { width: 100%; height: 230px; }
  .hiw-panel-content { width: 100%; padding: 20px 28px 36px; }
  .hiw-tabs-container { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; justify-content: flex-start; width: calc(100% - 32px); margin: 0 auto; }
  .hiw-tabs-container::-webkit-scrollbar { display: none; }
  .hiw-tab { padding: 12px 20px; font-size: 14px; white-space: nowrap; }
  .mobile-text { display: inline; }
  .desktop-text { display: none; }
  .hero-wrapper { border-radius: 0 0 40px 40px; }
  .stats-section { border-radius: 40px 40px 0 0; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 28px !important; }
  .hero-subtitle { font-size: 14px !important; }
  .section-title { font-size: 24px; }
  .stats-section { border-radius: 24px 24px 0 0; }
  .stats-number { font-size: 52px; }
  .page-header { border-radius: 0 0 28px 28px; }
  .hero-wrapper { border-radius: 0 0 28px 28px; }
  .page-header h1 { font-size: 28px; }
  .hero-search-form {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 12px;
    gap: 4px;
  }
  .search-field { border-left: none; border-bottom: 1px solid rgba(255,255,255,0.07); width: 100%; padding: 8px 0; }
  .search-field:last-child { border-bottom: none; }
  div[style*="flex-direction:row"] { flex-direction: column !important; }
  .service-flex-card-new { min-height: auto; }
  .service-flex-card-new:hover { flex: 1 !important; }

  /* Contact section */
  .contact-grid, .form-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .seller-row-card { flex-direction: column; text-align: center; align-items: stretch; }
}

@media (max-width: 576px) {
  .footer-grid-xm { grid-template-columns: 1fr; }
  .navbar-links { display: none; }
  .navbar-toggle { display: block; }
  .hero-title { font-size: 26px !important; }
  .stats-features-grid { grid-template-columns: 1fr; }
  .ac-stats-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) { .hide-on-mobile { display: none !important; } }

.auction-card, .event-card { border: 1px solid #e2e8f0; background: transparent; }
.featured-card { border: 2px solid #0ea5e9 !important; }

@media (max-width: 768px) {
  .swiper-slide-active .auction-card {
    transform: scale(1) !important;
  }
  .auctions-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Collapse Box */
@media (max-width: 991px) {
  .mobile-collapse-box.collapsed .mobile-collapse-body,
  .mobile-collapse-box.collapsed .filter-group,
  .mobile-collapse-box.collapsed button[type='submit'],
  .mobile-collapse-box.collapsed .sidebar-actions {
    display: none !important;
  }
  .mobile-collapse-header {
    cursor: pointer;
  }
  .mobile-collapse-header .mobile-caret {
    transition: transform 0.3s ease;
  }
  .mobile-collapse-box:not(.collapsed) .mobile-caret {
    transform: rotate(180deg);
  }
  
  .hero-search-form.collapsed-mobile .search-field:not(:first-child) {
    display: none !important;
  }
  .hero-search-form.collapsed-mobile .search-actions .btn:not(.btn-search-submit) {
    display: none !important;
  }
  .hero-search-form {
    overflow: clip;
  }
  .mobile-search-expand-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px;
    color: var(--primary);
    background: rgba(13, 20, 36, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    margin-top: 8px;
    cursor: pointer;
  }
}
@media (min-width: 992px) {
  .mobile-caret, .mobile-search-expand-btn { display: none !important; }
}

/* ================= NEW TWEAKS ================= */
/* Task 3: Reduce size of auction cards on mobile to avoid cut border */
@media (max-width: 768px) {
  .swiper-slide .auction-card {
    transform: scale(0.96) !important;
  }
  .swiper-slide-active .auction-card {
    transform: scale(0.96) !important;
  }
}

.browser-tabs-container {
  /* Restored to natural size as requested by the user */
}

/* Task 4: Wave animation for hiw info icon (!) */
@keyframes hiw-wave-pulse {
  0% { box-shadow: 0 0 0 0 rgba(27, 201, 118, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(27, 201, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(27, 201, 118, 0); }
}
.hiw-info-icon {
  border-radius: 50%;
  animation: hiw-wave-pulse 2s infinite;
}

/* Task 5: Smart Services - Hover behavior & Layering */
/* Desktop: Horizontal flex expansion */
@media (min-width: 769px) {
  .service-flex-card-new:hover {
    flex: 1.15;
    transform: translateY(-8px);
  }
}
/* Mobile: Vertical expansion instead of horizontal */
@media (max-width: 768px) {
  .service-flex-card-new {
    min-height: 250px;
    flex: none !important;
    transition: min-height 0.4s ease, transform 0.4s ease;
  }
  .service-flex-card-new:hover {
    min-height: 320px;
    transform: translateY(-8px);
  }
}

/* Add a 60% opacity overlay layer under the content in Smart Services */
.service-flex-card-new::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 26, 0.5) !important; 
  z-index: 1;
  border-radius: inherit;
}
.service-flex-card-new::after {
  background: radial-gradient(circle, rgba(27,201,118,0.4) 0%, transparent 70%) !important;
  z-index: 0 !important; 
  opacity: 0.5 !important;
}

.service-card-1 {
  background-image: radial-gradient(circle at left center, rgba(14, 165, 233, 0.85) 0%, rgba(15, 21, 32, 0.9) 80%), url('https://images.unsplash.com/photo-1550355291-bbee04a92027?w=800&q=80') !important;
  background-size: cover !important;
  background-position: center !important;
}
.service-card-2 {
  background-image: radial-gradient(circle at left center, rgba(139, 92, 246, 0.85) 0%, rgba(15, 21, 32, 0.9) 80%), url('https://images.unsplash.com/photo-1583121274602-3e2820c69888?w=800&q=80') !important;
  background-size: cover !important;
  background-position: center !important;
}
.service-card-3 {
  background-image: radial-gradient(circle at left center, rgba(27, 201, 118, 0.85) 0%, rgba(15, 21, 32, 0.9) 80%), url('https://images.unsplash.com/photo-1605559424843-9e4c228bf1c2?w=800&q=80') !important;
  background-size: cover !important;
  background-position: center !important;
}


/* ========================================= */
/* COMPREHENSIVE MOBILE RESPONSIVENESS FIXES */
/* ========================================= */

html, body {
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
}

@media (max-width: 768px) {
    .container { padding: 0 16px !important; }
    .page-header { padding: 80px 0 40px !important; }
    .page-inner .page-header { padding-top: 100px !important; }
    .page-header h1 { font-size: 28px !important; line-height: 1.4; }
    
    /* Fix Auction Top Bar */
    .filter-pills-group { flex-wrap: wrap; justify-content: center; width: 100%; }
    .filter-pills-group button { flex: 1; min-width: 30%; text-align: center; justify-content: center; padding: 8px !important; font-size: 12px !important; }
    
    /* Fix forms and inputs that cause overflow */
    input, select, textarea { max-width: 100%; }
    .range-inputs { flex-direction: column; width: 100%; }
    .range-inputs input, .range-inputs select {  }
    .range-inputs span { display: none !important; } /* Hide the dash between min/max on mobile */
    
    /* Force all 2-column or fixed inline grids to collapse on mobile */
    div[style*='grid-template-columns: 280px 1fr'],
    div[style*='grid-template-columns: 1fr 1fr'],
    div[style*='grid-template-columns: 2fr 1fr'],
    div[style*='grid-template-columns: 1fr 400px'] {
        grid-template-columns: 1fr !important;
    }
    
    /* Force inline flex-between containers to wrap and stack */
    div[style*='display:flex; justify-content:space-between'] {
        flex-direction: column;
        align-items: stretch !important;
        gap: 15px;
    }
    
    /* Force right alignment for specific elements that get broken when wrapped */
    div[style*='display:flex; justify-content:space-between'] > div {
        justify-content: flex-start !important;
    }
    
    /* Sidebar and Layout Overrides */
    .auctions-layout, .layout-grid, .layout-grid-reverse, .dashboard-layout { display: flex !important; flex-direction: column !important; }
    .auctions-sidebar, .panel-sidebar {  margin-bottom: 30px; position: relative !important; z-index: 10; }
    
    /* Dashboard Specific Fixes */
    .stat-card, .ac-card, .bid-card {  }
    .dash-title { flex-direction: column; align-items: flex-start !important; }
    
    /* Search Modal Fixes */
    #advancedSearchModal .modal-container { width: 95% !important; margin: 20px auto !important; max-height: 90vh; overflow-y: auto; padding: 20px !important; }
    #advancedSearchModal .modal-body { grid-template-columns: 1fr !important; }
    
    /* Vehicle Details Specific */
    .room-grid { grid-template-columns: 1fr !important; display: flex !important; flex-direction: column; gap: 20px; }
}

@media (max-width: 480px) {
    .ac-stats { grid-template-columns: 1fr !important; }
    .hero-title { font-size: 24px !important; }
}

/* ========================================= */
/* ADDITIONAL MOBILE REFINEMENTS (ROUND 2)   */
/* ========================================= */

/* Fix Event Page Mobile Layout: Sidebar on top */
@media (max-width: 992px) {
    .event-layout {
        display: flex !important;
        flex-direction: column !important;
    }
    .event-info-sidebar {
        order: -1 !important; /* Move above cars */
        margin-bottom: 24px;
        
    }
}

/* Make bottom border radius of header/hero slightly larger */
/* Make bottom border radius of header/hero slightly larger */
.hero-wrapper, .hero-section {
    border-radius: 0 0 80px 80px !important;
}
.page-header {
    border-radius: 0 0 50px 50px !important;
}
@media (max-width: 768px) {
    .hero-wrapper, .hero-section {
        border-radius: 0 0 60px 60px !important;
    }
    .page-header {
        border-radius: 0 0 16px 16px !important;
    }
}

/* Stats section mobile gap fix */
@media (max-width: 768px) {
    .ac-stats {
        gap: 10px !important; /* Reduce gap between stats */
    }
    .ac-stat-box {
        padding: 15px !important;
        margin-bottom: 0 !important;
    }
    
    /* Reverse How it works columns */
    
}

/* Elegant Mobile Auth Buttons */
.mobile-auth-modern {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.btn-mobile-auth {
    width: 90%;
    padding: 12px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
}
.btn-mobile-auth.btn-green-stroke {
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-mobile-auth.btn-green-stroke:hover {
    background: var(--primary);
    color: #fff !important;
}
.btn-mobile-auth.btn-green-stroke:hover i {
    color: #fff !important;
}
.btn-mobile-auth.btn-white-stroke {
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-mobile-auth.btn-white-stroke:hover {
    background: #fff;
    color: var(--bg-dark) !important;
    border-color: #fff;
}
.btn-mobile-auth.btn-white-stroke:hover i {
    color: var(--bg-dark) !important;
}

/* Main Stats gap fix */
.main-stats-container {
    gap: 80px;
}
@media (max-width: 768px) {
    .main-stats-container {
        gap: 20px !important;
    }
}

/* Small Stats Animation on Mobile */


/* Tweak Search Toggle Button */
@media (max-width: 768px) {
    .mobile-search-expand-btn {
        color: #ffffff !important; /* Clearer color */
        font-size: 13px !important; /* Smaller text */
        background: rgba(255,255,255,0.08) !important;
        cursor: pointer;
    }
}

/* Universal Stats Animation */
.ac-stat-mobile {
    animation: floatStatDesktop 3s ease-in-out infinite alternate;
}
.ac-stat-mobile:nth-child(2) {
    animation-delay: 1.5s;
}
@keyframes floatStatDesktop {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

@media (max-width: 768px) {
    .ac-stat-mobile {
        transform: scale(0.85);
        animation: floatStatMobile 3s ease-in-out infinite alternate;
    }
    @keyframes floatStatMobile {
        0% { transform: scale(0.85) translateY(0); }
        100% { transform: scale(0.85) translateY(-12px); }
    }
}



/* Reduce page header height slightly */
.page-header {
    padding: 100px 0 40px !important;
}
.page-inner .page-header {
    padding-top: 100px !important;
}
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 40px !important;
    }
    .page-inner .page-header {
        padding-top: 120px !important;
    }
}

/* 1. Mobile Search Box Simplification */
@media (max-width: 768px) {
    .hero-search-form {
        flex-direction: row !important;
        align-items: center !important;
        padding: 8px 12px !important;
        gap: 8px !important;
    }
    .hero-search-form .search-field:not(:first-child) {
        display: none !important;
    }
    .hero-search-form .search-field:first-child {
        border: none !important;
        flex: 1 !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex;
        align-items: center;
    }
    .hero-search-form .search-field:first-child label {
        display: none !important; /* Hide label to save horizontal space */
    }
    .hero-search-form .search-field:first-child input {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        background: transparent;
        border: none;
        color: #fff;
    }
    .search-actions {
        display: flex !important;
        gap: 6px !important;
    }
    .search-actions .btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
    }
    .search-actions .btn-search-submit {
        font-size: 18px !important;
    }
}

/* 2. Smart Services Icons Hover Gradient & Motion */
.service-flex-card-new i {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.service-flex-card-new:hover i {
    background: linear-gradient(135deg, var(--primary), #0ea5e9) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    transform: scale(1.2) translateY(-5px) !important;
}


/* 1. Sidebar Collapse on Mobile */
.mobile-sidebar-toggle {
    display: none;
}
@media (max-width: 768px) {
    .filter-sidebar {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-bottom: 20px;
        
        display: block !important;
        box-sizing: border-box !important;
    }
    .filter-sidebar-content {
        display: none;
        background: var(--bg-card);
        padding: 20px;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        border: 1px solid var(--border-light);
        border-top: none;
    }
    .filter-sidebar.expanded .filter-sidebar-content {
        display: block;
    }
    .mobile-sidebar-toggle {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        background: var(--bg-card);
        padding: 15px 20px;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-lg);
        font-weight: 800;
        color: var(--text-dark);
        cursor: pointer;
    }
    .filter-sidebar.expanded .mobile-sidebar-toggle {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        border-bottom: none;
    }
    .shine-arrow {
        position: relative;
        overflow: hidden;
        color: var(--primary);
        font-size: 20px;
        transition: transform 0.3s ease;
        padding: 2px;
        border-radius: 50%;
    }
    .filter-sidebar.expanded .shine-arrow {
        transform: rotate(180deg);
    }
    /* Shine effect animation */
    @keyframes shineEffect {
        0% { filter: brightness(1); text-shadow: 0 0 0 transparent; }
        50% { filter: brightness(1.5); text-shadow: 0 0 10px var(--primary); }
        100% { filter: brightness(1); text-shadow: 0 0 0 transparent; }
    }
    .shine-arrow {
        animation: shineEffect 2s infinite;
    }
}

/* 2. Hero Search Box Border Radius (Mobile) */
@media (max-width: 768px) {
    .hero-search-form {
        border-radius: 50px !important;
    }
}

/* Fix for event page grid responsiveness */
.auctions-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
@media (max-width: 768px) {
    .auctions-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Fix for auction-live.php mobile overflow */
@media (max-width: 768px) {
    
    .live-room-container {
        padding: 0 10px !important;
        gap: 15px !important;
    }
    .live-bidding-panel {
        max-width: 100%;
        box-sizing: border-box !important;
        height: auto !important;
        min-height: 500px !important;
        margin: 0 !important;
    }
    /* Fix the custom quick bidding grid that was repeat(4, 1fr) */
    .pbb-quick-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .quick-bids {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    /* Specs grid */
    .vehicle-specs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile Sidebar Toggle Enhancements (Advanced Search) */
@media (max-width: 768px) {
    .mobile-sidebar-toggle {
        display: flex !important;
        max-width: 100%;
        box-sizing: border-box !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-direction: row !important; /* Text right, arrow left because of RTL */
        background: var(--bg-card) !important;
        padding: 15px 20px !important;
        border: 1px solid var(--border-light) !important;
        border-radius: var(--radius-lg) !important;
        font-weight: 800 !important;
        color: var(--text-dark) !important;
        cursor: pointer !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important;
    }
    .shine-arrow {
        color: var(--primary) !important;
        font-size: 24px !important;
        /* Downward bouncing motion */
        animation: bounceDown 1.5s infinite !important;
    }
    .filter-sidebar.expanded .shine-arrow {
        /* When expanded, point up and stop bouncing */
        transform: rotate(180deg) !important;
        animation: none !important;
    }
    @keyframes bounceDown {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(6px);
        }
        60% {
            transform: translateY(3px);
        }
    }
}

/* Fix sticky for How it works */
.hiw-wrapper {
    position: relative;
    z-index: 10;
}
.hiw-card {
    position: sticky !important;
    top: 0 !important;
    min-height: 100vh;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.1);
}

/* Targeted Mobile Width & Overflow Fixes */
@media (max-width: 768px) {
    /* Safe horizontal overflow prevention that doesn't break sticky */
    html, body {
        overflow-x: clip;
        max-width: 100vw;
    }
    
    /* Ensure all boxes fit perfectly without overflowing due to padding */
    *, *::before, *::after {
        box-sizing: border-box;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .filter-sidebar, .mobile-sidebar-toggle {
        display: flex !important; /* or block */
        width: auto !important; /* Let it naturally fill the container */
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-self: stretch;
    }
    
    /* Ensure grids don't force width */
    .auctions-grid, .event-details-grid, .dashboard-grid, .contact-grid {
        max-width: 100%;
    }
}

/* User Requested Full Width Fixes for Mobile */
@media (max-width: 768px) {
    /* 1. Force the advanced search toggle to be 100% width again */
    .filter-sidebar, .mobile-sidebar-toggle {
        width: 100% !important;
    }
    
    /* 2. Force major grids to 100% width (1 column) on mobile */
    .auctions-grid, 
    .event-details-grid, 
    .dashboard-grid, 
    .contact-grid, 
    .form-grid, 
    .live-room-grid, 
    .stats-features-grid,
    .footer-grid,
    .footer-grid-xm,
    .two-col-grid,
    .layout-grid,
    .layout-grid-reverse {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
    
    /* 3. Force major flex containers to stack vertically on mobile */
    .services-flex-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
    
    /* Ensure content wrappers use full width */
    .container {
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* =========================================================================
   PREMIUM DARK THEME FOR "HOW IT WORKS" (HIW) SECTION
   ========================================================================= */

/* The overall section background */
.hiw-wrapper {
    background: #0B0F19 !important; /* Deep space black */
}

/* Card Backgrounds */
#buyers-section,
#sellers-section {
    background: #0B0F19 !important; /* Unified section background */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none !important;
}

/* Typography Overrides */
.hiw-wrapper .section-subtitle {
    color: var(--primary) !important;
    letter-spacing: 1px;
}
.hiw-wrapper .hiw-title, .hiw-wrapper h3 {
    color: #ffffff !important;
}
.hiw-wrapper .hiw-desc, .hiw-wrapper p {
    color: #A0ABC0 !important; 
}

/* Unified Tabs & Panel Box */
.browser-tabs-container {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px 24px 0 0 !important;
    border-bottom: none !important;
    padding: 15px 20px 0 !important;
}
.hiw-panel {
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 24px !important; /* Circular corners */
    box-shadow: 0 20px 40px rgba(0,0,0,0.4) !important;
    margin-top: 0; /* Tabs touch the panel */
}

/* Outer Container (transparent as requested) */
#buyers-section .browser-tabs-container,
#sellers-section .browser-tabs-container {
    background: transparent !important;
    border-color: transparent !important;
}

/* Panel and Active Tab share the exact same heavier background */
#buyers-section .hiw-panel,
#buyers-section .b-tab.active,
#sellers-section .hiw-panel,
#sellers-section .b-tab.active {
    background: #172030 !important; /* Heavier/Darker blue-grey */
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* Tabs base */
.b-tab {
    color: #A0ABC0 !important;
    transition: 0.3s;
    background: #0D131C !important; /* Darker than active tab */
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-radius: 12px 12px 0 0 !important; /* Rounded top */
    border-bottom: none !important;
    margin: 0 4px; /* Space between tabs */
    position: relative;
    z-index: 1;
}
.b-tab:hover {
    color: #ffffff !important;
}
.b-tab.active {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: #172030 !important;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}
.b-tab.active::after { display: none; }

/* Steps (The smaller numbered boxes) */
.hiw-step {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: 0.3s;
}
.hiw-step:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-5px);
}
.hiw-step-title { color: #ffffff !important; }
.hiw-step-desc { color: #A0ABC0 !important; }
.hiw-step-num {
    background: rgba(27, 201, 118, 0.15) !important;
    color: var(--primary) !important;
    font-weight: 900;
}
.hiw-panel-icon {
    background: rgba(27, 201, 118, 0.1) !important;
    color: var(--primary) !important;
}
/* Details Button */
.hiw-details-btn {
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}
.hiw-details-btn:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #000000 !important;
}
.hiw-info-icon { color: var(--primary) !important; }

/* ── Global UX polish ───────────────────────────────────── */
html { scroll-behavior: smooth; }
a, button, .btn, input, select, textarea { transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.page-inner { background: var(--bg-light); min-height: 60vh; }
.dash-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

/* Auction live mobile order — see ui-polish.css (gallery then bidding panel) */

/* Homepage white fleet1 hero — dark text (after .hero-title { color:#fff }) */
body.fx-home-index .fx-hero-content--fleet1 {
  color: #0f172a !important;
}
body.fx-home-index .fx-hero-title--fleet1,
body.fx-home-index .fx-hero-content--fleet1 .hero-title,
body.fx-home-index .fx-hero-content .hero-title {
  color: #0f172a !important;
  text-shadow: none !important;
  filter: none !important;
}
body.fx-home-index .fx-hero-subtitle--fleet1,
body.fx-home-index .fx-hero-content--fleet1 .hero-subtitle {
  color: var(--primary) !important;
  text-shadow: none !important;
}
body.fx-home-index .fx-hero-tagline--fleet1 {
  color: #047857 !important;
}

/* Homepage hero background — inlined so positioning always applies */
body.fx-home-index .fx-hero-wrapper--fleet1 {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2f6 48%, #e2e8f0 100%) !important;
  background-image: none !important;
}

body.fx-home-index .fx-hero-bg-stage {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body.fx-home-index .fx-hero-bg-gradient {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background: linear-gradient(to top right, #d1dae3 0%, #dce3eb 14%, #e8edf2 30%, #f1f5f9 48%, #f6f8fb 65%, #fafbfc 82%, #ffffff 100%) !important;
}

body.fx-home-index .fx-hero-wrap--fleet1,
body.fx-home-index .fx-hero-wrapper--fleet1 {
  background: linear-gradient(to top right, #d1dae3 0%, #dce3eb 14%, #e8edf2 30%, #f1f5f9 48%, #f6f8fb 65%, #fafbfc 82%, #ffffff 100%) !important;
}

body.fx-home-index .fx-hero-picture::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background: linear-gradient(105deg, rgba(241, 245, 249, 0.42) 0%, rgba(226, 232, 240, 0.28) 45%, rgba(248, 250, 252, 0.18) 100%) !important;
  pointer-events: none !important;
}

body.fx-home-index .fx-hero-bg-image,
body.fx-home-index .fx-hero-picture {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
}

body.fx-home-index .fx-hero-bg-image {
  background-color: transparent !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

body.fx-home-index .fx-hero-picture__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

body.fx-home-index .fx-hero-bg-image--desktop,
body.fx-home-index .fx-hero-picture--desktop {
  display: block !important;
}

body.fx-home-index .fx-hero-bg-image--desktop {
  background-image: url('/assets/images/fleetxhero-desktop.png') !important;
}

body.fx-home-index .fx-hero-bg-image--mobile,
body.fx-home-index .fx-hero-picture--mobile {
  display: none !important;
}

body.fx-home-index .fx-hero-bg-image--mobile {
  background-image: url('/assets/images/fleetxhero-mobile.png') !important;
}

@media (max-width: 768px) {
  body.fx-home-index .fx-hero-bg-image--desktop,
  body.fx-home-index .fx-hero-picture--desktop {
    display: none !important;
  }

  body.fx-home-index .fx-hero-bg-image--mobile,
  body.fx-home-index .fx-hero-picture--mobile {
    display: block !important;
  }
}

/* HIW section 3 — browser content box must stay visible */
body.fx-home-index .browser-content.hiw-panel,
#buyers-section .browser-content.hiw-panel,
#sellers-section .browser-content.hiw-panel {
  display: block !important;
  height: auto !important;
  min-height: 380px !important;
}

body.fx-home-index .hiw-tab-content {
  display: none !important;
  align-items: center !important;
  gap: 40px !important;
}

body.fx-home-index .hiw-tab-content.active {
  display: flex !important;
}

/* ── User Requested UI Fixes (July 13) ── */

/* 1. Hero Title & Subtitle */
body.fx-home-index .fx-hero-content--fleet1 {
  margin-top: 60px !important;
}
body.fx-home-index .fx-hero-content--fleet1 .hero-subtitle {
  margin-bottom: 24px !important;
}

/* 2. Bidding Signs Enhancement */
body.fx-home-index .fx-hero-bid-signs .fx-bid-sign__board {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(27, 201, 118, 0.4) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
  border-radius: 20px !important;
  padding: 12px 18px !important;
}
body.fx-home-index .fx-hero-bid-signs .fx-bid-sign__amount {
  color: var(--primary) !important;
  font-size: 17px !important;
}
body.fx-home-index .fx-hero-bid-signs .fx-bid-sign:hover .fx-bid-sign__board {
  border-color: var(--primary) !important;
  box-shadow: 0 20px 40px rgba(27, 201, 118, 0.2) !important;
  transform: scale(1.05) !important;
}

/* 3. 2nd Section UI (Auctions) */
body.fx-home-index .fx-home-auctions {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
  padding: 100px 0 !important;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-light) !important;
}
body.fx-home-index .fx-home-auctions .section-title {
  font-size: 38px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  margin-bottom: 16px !important;
}
body.fx-home-index .fx-home-auctions .section-subtitle {
  font-size: 16px !important;
  color: #64748b !important;
  max-width: 600px;
  margin: 0 auto 40px !important;
}

/* 4. 3rd Section Template (Lighter color) */
body.fx-home-index .fx-hiw-section--dark {
  background: #ffffff !important;
  border-top: 1px solid var(--border-light) !important;
}
body.fx-home-index .hiw-dark-title {
  color: #0f172a !important;
}
body.fx-home-index .hiw-dark-sub {
  color: #64748b !important;
}
body.fx-home-index .browser-tabs {
  background: #f1f5f9 !important;
  border-bottom: 1px solid var(--border-light) !important;
}
body.fx-home-index .browser-tabs .b-tab {
  color: #64748b !important;
}
body.fx-home-index .browser-tabs .b-tab.active {
  background: #ffffff !important;
  color: var(--primary) !important;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.02) !important;
}
body.fx-home-index .browser-content.hiw-panel {
  background: #ffffff !important;
  border: 1px solid var(--border-light) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06) !important;
}
body.fx-home-index .hiw-tab-title {
  color: #0f172a !important;
}
body.fx-home-index .hiw-tab-desc {
  color: #475569 !important;
}

/* ── Light Theme for Stats Section ── */
body.fx-home-index .stats-hero-title {
  color: #0f172a !important;
}
body.fx-home-index .stats-hero-desc {
  color: #64748b !important;
}
body.fx-home-index .stats-number--white {
  color: #0f172a !important;
}
body.fx-home-index .ac-stat-mobile__icon--white {
  color: #0f172a !important;
  background: rgba(15, 23, 42, 0.05) !important;
}
body.fx-home-index .stats-desc {
  color: #475569 !important;
}
body.fx-home-index .stat-feature-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
}
body.fx-home-index .stat-feature-card h4 {
  color: #0f172a !important;
}
body.fx-home-index .stat-feature-card p {
  color: #64748b !important;
}
body.fx-home-index .stat-feature-card i {
  color: var(--primary) !important;
}

/* ── Redesign Auction & Instant Cards (fx-card-unified) ── */
.fx-card-unified, .fx-card-modern {
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04) !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

.fx-card-unified:hover, .fx-card-modern:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(27, 201, 118, 0.4) !important;
}

.fx-card-unified .ac-img-wrap, .fx-card-modern .ac-img-wrap {
  border-radius: 20px 20px 0 0 !important;
  overflow: hidden !important;
  position: relative !important;
}

.fx-card-unified .ac-img-wrap img, .fx-card-modern .ac-img-wrap img {
  border-radius: 0 !important;
}

/* Clean up card badges to float elegantly */
.fx-card-unified .card-badges-container {
  top: 16px !important;
  right: 16px !important;
  gap: 8px !important;
}
.fx-card-unified .badge-status {
  border-radius: 12px !important;
  padding: 6px 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.fx-card-unified .ac-body, .fx-card-modern .ac-body {
  padding: 20px 24px 24px !important;
}

.fx-card-unified .ac-title, .fx-card-modern .ac-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 16px !important;
  line-height: 1.4 !important;
}

/* Metadata pills */
.fx-card-unified .ac-meta, .fx-card-modern .ac-meta {
  gap: 8px !important;
  margin-bottom: 20px !important;
}
.fx-card-unified .ac-meta span, .fx-card-modern .ac-meta span {
  background: #f8fafc !important;
  color: #475569 !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border: 1px solid #f1f5f9 !important;
}
.fx-card-unified .ac-meta span i {
  color: #94a3b8 !important;
}

.fx-card-unified .ac-info-row, .fx-card-modern .ac-info-row {
  margin-top: 0 !important;
  padding-top: 20px !important;
  border-top: 1px dashed #e2e8f0 !important;
  align-items: center !important;
}

.fx-card-unified .ac-price-val, .fx-card-modern .ac-price-val {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: var(--primary) !important;
}

.fx-card-unified .ac-price-label, .fx-card-modern .ac-price-label {
  color: #64748b !important;
  font-size: 13px !important;
  margin-bottom: 4px !important;
}

.fx-card-unified .ac-timer-box, .fx-card-modern .ac-timer-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 8px 14px !important;
}
.fx-card-unified .ac-timer-label, .fx-card-modern .ac-timer-label {
  color: #64748b !important;
}
.fx-card-unified .fx-timer-chips div {
  color: #0f172a !important;
  font-weight: 800 !important;
}

/* Make action button full width */
.fx-card-unified .ac-actions {
  margin-top: 20px !important;
}
.fx-card-unified .btn-ac-full {
  width: 100% !important;
  border-radius: 12px !important;
  padding: 12px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
}

/* ── Restore Old Section 2 Tabs Styling (Fleetx0) ── */
body.fx-home-index .auctions-tabs-wrapper {
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 40px !important;
}
body.fx-home-index .auctions-tabs {
  display: inline-flex !important;
  background: var(--bg-light) !important;
  padding: 6px !important;
  border-radius: var(--radius-round) !important;
  border: 1px solid var(--border-light) !important;
}
body.fx-home-index .auctions-tab-btn {
  display: inline-block !important;
  background: transparent !important;
  border: none !important;
  padding: 12px 32px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--text-muted) !important;
  border-radius: var(--radius-round) !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  font-family: var(--font-ar) !important;
}
body.fx-home-index .auctions-tab-btn.active {
  background: var(--bg-white) !important;
  color: var(--primary) !important;
  box-shadow: none !important;
}

.auctions-swiper .swiper-slide {
  height: auto !important;
  transform: none !important;
  opacity: 1 !important;
}
.auctions-swiper .swiper-slide-active {
  transform: none !important;
  opacity: 1 !important;
  z-index: 2 !important;
}
.auctions-swiper .swiper-wrapper.swiper-wrapper-center {
  justify-content: center !important;
}

/* ── RESTORED SECTION 2 CARD IMAGE AND TITLE POLISH ── */
.auctions-swiper .ac-img-wrap {
  height: 260px !important; /* Make image take more area */
  position: relative !important;
}
.auctions-swiper .ac-img-wrap img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
}
.ac-img-title-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 40px 16px 12px !important; /* Faded shadow spacing */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%) !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: flex-end !important;
}
.ac-title-on-image {
  color: #ffffff !important;
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
  font-family: var(--font-ar) !important;
}

/* ── LIGHT THEME FOR SECTION 3 (HOW IT WORKS) ── */
.fx-hiw-section--light {
  background: #f4f6f9 !important;
}
.fx-hiw-section--light .hiw-wrapper--sticky,
.fx-hiw-section--light .hiw-wrapper--buyers,
.fx-hiw-section--light .hiw-wrapper--sellers,
.fx-hiw-section--light #buyers-section,
.fx-hiw-section--light #sellers-section {
  background: #f4f6f9 !important;
}
.fx-hiw-section--light .hiw-dark-title {
  color: var(--text-dark, #060c16) !important;
}
.fx-hiw-section--light .hiw-dark-sub {
  color: var(--text-light, #64748b) !important;
}
.fx-hiw-section--light .hiw-panel,
.fx-hiw-section--light .browser-content.hiw-panel {
  background: #ffffff !important;
  border-top: 1px solid var(--border-medium, #e2e8f0) !important;
  box-shadow: none !important;
}
.fx-hiw-section--light .hiw-tab-title {
  color: var(--text-dark, #060c16) !important;
}
.fx-hiw-section--light .hiw-tab-desc {
  color: var(--text-light, #64748b) !important;
}
.fx-hiw-section--light .b-tab {
  color: var(--text-light, #64748b) !important;
  background: transparent !important;
}
.fx-hiw-section--light .b-tab:hover {
  color: var(--primary) !important;
  background: rgba(0,0,0,0.03) !important;
}
.fx-hiw-section--light .b-tab.active,
.fx-hiw-section--light #buyers-section .b-tab.active,
.fx-hiw-section--light #sellers-section .b-tab.active {
  color: var(--primary) !important;
  background: rgba(26, 178, 166, 0.08) !important;
  border-bottom: 2px solid var(--primary) !important;
}
.fx-hiw-section--light .browser-tabs {
  border-bottom: 1px solid var(--border-medium, #e2e8f0) !important;
  background: #ffffff !important;
}
.fx-hiw-section--light .browser-tabs-container {
  box-shadow: 0 12px 32px rgba(0,0,0,0.06) !important;
  background: #ffffff !important;
  border: 1px solid var(--border-medium, #e2e8f0) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}

/* ── USER REQUESTED LAYOUT FIXES (SECTION 2, 3, 4, 5) ── */

/* Switch Tabs Styling & Header Centering */
.fx-section-head { 
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important; 
  margin-bottom: 24px !important;
}
.section-subtitle {
  text-align: center !important;
  max-width: 600px !important;
  margin: 0 auto !important;
}

.auctions-tabs-wrapper.fx-auctions-panel__tabs {
  margin: 0 auto 32px !important;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}
.auctions-tabs {
  background: #f1f5f9 !important;
  border-radius: 999px !important;
  padding: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
}
.auctions-tabs .auctions-tab-btn {
  border-radius: 999px !important;
  padding: 6px 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  background: transparent !important;
  color: #475569 !important;
  transition: all 0.3s ease !important;
  border: none !important;
}
.auctions-tabs .auctions-tab-btn.active {
  background: #ffffff !important;
  color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* Swiper auto-width with 3-card layout — center aligned */
.auctions-swiper {
  padding: 16px 12px 32px !important;
  width: 100% !important;
  overflow: visible !important;
}
.auctions-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}
.auctions-swiper .swiper-slide {
  width: calc(33.333% - 12px) !important;
  max-width: 400px !important;
  transform: scale(0.9) !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
  opacity: 0.85 !important;
}
.auctions-swiper .swiper-slide-active {
  transform: scale(1) !important;
  opacity: 1 !important;
  z-index: 2 !important;
}

/* User Requested Card Colors */
body.fx-home-index .auction-card.fx-card-unified {
  background: #f8fafc !important; /* Lighter than 'Ends in' background */
  border-color: #cbd5e1 !important;
}
body.fx-home-index .auction-card.fx-card-unified .ac-timer-box {
  background: #e2e8f0 !important; /* Uniform light grey */
  border: none !important;
}
body.fx-home-index .auction-card.fx-card-unified .ac-timer-box .fx-timer-chips div {
  background: #64748b !important; /* Darker grey than background */
  color: #ffffff !important;
}

/* Hero Section adjustments */
body.fx-home-index .fx-hero-bg-stage {
  z-index: 0;
}
body.fx-home-index .fx-hero-bg-gradient {
  z-index: 1 !important; /* Behind the image */
}
body.fx-home-index .fx-hero-picture {
  position: relative !important;
  z-index: 2 !important; /* Above the gradient */
}
body.fx-home-index .fx-hero-wrap,
body.fx-home-index .hero-wrapper {
  border-bottom-left-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  overflow: hidden !important;
}

/* Section 3 Strong Overrides for Light Theme & Sticky Scroll */
html body.fx-home-index .fx-hiw-section--dark { background: #f4f6f9 !important; padding: 0 !important; margin-top: 0 !important; }
html body.fx-home-index .fx-hiw-section--dark .hiw-wrapper--sticky,
html body.fx-home-index .fx-hiw-section--dark .hiw-wrapper--buyers,
html body.fx-home-index .fx-hiw-section--dark .hiw-wrapper--sellers,
html body.fx-home-index .fx-hiw-section--dark #buyers-section,
html body.fx-home-index .fx-hiw-section--dark #sellers-section {
  position: sticky !important;
  top: 0 !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  background: #f4f6f9 !important;
  border-top: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
html body.fx-home-index .fx-hiw-section--dark .hiw-dark-title,
html body.fx-home-index .fx-hiw-section--dark .hiw-tab-title { color: #0f172a !important; }
html body.fx-home-index .fx-hiw-section--dark .hiw-dark-sub,
html body.fx-home-index .fx-hiw-section--dark .hiw-tab-desc { color: #475569 !important; }
html body.fx-home-index .fx-hiw-section--dark .hiw-panel,
html body.fx-home-index .fx-hiw-section--dark .browser-content.hiw-panel {
  display: block !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0 24px 24px 24px !important;
  padding: 40px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06) !important;
  min-height: 380px !important;
}
html body.fx-home-index .fx-hiw-section--dark .b-tab {
  background: #f1f5f9 !important;
  color: #64748b !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px 12px 0 0 !important;
  border-bottom: none !important;
}
html body.fx-home-index .fx-hiw-section--dark .b-tab:hover {
  color: #0f172a !important;
  background: #e2e8f0 !important;
}
html body.fx-home-index .fx-hiw-section--dark .b-tab.active,
html body.fx-home-index .fx-hiw-section--dark #buyers-section .b-tab.active,
html body.fx-home-index .fx-hiw-section--dark #sellers-section .b-tab.active {
  background: #ffffff !important;
  color: var(--primary) !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06) !important;
}
html body.fx-home-index .fx-hiw-section--dark .hiw-tab-icon {
  background: rgba(16, 185, 129, 0.1) !important;
  color: var(--primary) !important;
}

/* VIP Card Gold Border */
.auction-card.vip-card {
  border: 2px solid #eab308 !important;
}
.badge-vip {
  background: #eab308 !important;
  color: #ffffff !important;
}

/* Digital Countdown Box */
.ac-countdown-box {
  background: #f1f5f9 !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
  font-family: 'Courier New', Courier, monospace !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
}
.ac-countdown-box span { color: #64748b !important; }

/* Stats Row Spacing */
.ac-stats-row {
  border-top: none !important;
  padding-top: 6px !important;
  margin-top: 0 !important;
}
.ac-body {
  padding-top: 10px !important;
}

/* Why FleetX Journey Icons */
.fx-why-journey__icon {
  width: 64px !important;
  height: 64px !important;
  font-size: 32px !important;
}
.fx-why-card__icon i, .fx-why-journey__icon i {
  transition: all 0.3s ease !important;
}
.fx-why-card:hover .fx-why-card__icon i, 
.fx-why-journey__steps li:hover .fx-why-journey__icon i {
  background: linear-gradient(135deg, #0284c7, #10b981) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Features Video Overlay (Multiply) */
.stats-section__overlay {
  background: rgba(10, 25, 47, 0.75) !important;
  mix-blend-mode: multiply !important;
  z-index: 1 !important;
}

/* Stats Section Dark Background */
.stats-section.fx-home-stats-section {
  background: var(--fx-brand-navy, #0b0f19) !important;
  background-image: none !important;
}