/* ============================================
   LOGISTICS PLATFORM - MAIN STYLESHEET
   Modern Dashboard UI with Arabic RTL Support
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Colors */
  --primary-900: #0c1929;
  --primary-800: #0f2744;
  --primary-700: #1a3a5c;
  --primary-600: #1e4976;
  --primary-500: #2563eb;
  --primary-400: #3b82f6;
  --primary-300: #60a5fa;
  --primary-200: #93c5fd;
  --primary-100: #dbeafe;
  
  /* Accent Colors */
  --accent-500: #06b6d4;
  --accent-400: #22d3ee;
  --accent-300: #67e8f9;
  
  /* Success/Warning/Error */
  --success-500: #10b981;
  --success-400: #34d399;
  --warning-500: #f59e0b;
  --warning-400: #fbbf24;
  --error-500: #ef4444;
  --error-400: #f87171;
  
  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Typography */
  --font-primary: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', sans-serif;
  --font-display: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-padding: 0 24px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.3);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

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

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary-800), var(--primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-800);
}

.navbar-logo .logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-menu a {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  overflow: hidden;
}

.navbar-menu a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-100);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
  border-radius: var(--radius-md);
}

.navbar-menu a:hover::before,
.navbar-menu a.active::before {
  transform: scaleX(1);
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--primary-600);
}

.navbar-menu a span {
  position: relative;
  z-index: 1;
}

.navbar-cta {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--white) !important;
  padding: 12px 28px !important;
  border-radius: var(--radius-lg) !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-md), 0 0 20px rgba(37, 99, 235, 0.3);
}

.navbar-cta::before {
  display: none !important;
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 99, 235, 0.4);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  cursor: pointer;
  background: transparent;
  border: none;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 40%, #334155 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  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: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-400);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-particle 20s infinite linear;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

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

.hero-content {
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: var(--accent-300);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.hero-badge i {
  font-size: 1.1rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 40px;
  line-height: 2;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: var(--white);
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-base);
}

.hero-feature:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.hero-feature i {
  color: var(--accent-400);
  font-size: 1.1rem;
}

.hero-brands {
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-brands-label {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero-brands-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.brand-logo {
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-base);
  opacity: 0.8;
}

.brand-logo:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.hero-dashboard {
  position: absolute;
  left: -100px;
  bottom: -50px;
  width: 700px;
  height: 500px;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(20px);
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  opacity: 0.4;
  display: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--white);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-600);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--gray-50);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
  padding: 20px 40px;
  font-size: 1.1rem;
}

/* ===== FEATURE CARDS ===== */
.features-section {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  position: relative;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: var(--transition-base);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  font-size: 2rem;
  color: var(--primary-600);
  transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--white);
  transform: scale(1.1);
}

.feature-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--gray-500);
  line-height: 1.8;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--primary-500);
  font-weight: 600;
}

.feature-link i {
  transition: var(--transition-fast);
}

.feature-link:hover i {
  transform: translateX(-5px);
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary-900), var(--primary-700));
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
}

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

.page-header h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-header p {
  color: var(--gray-300);
  font-size: 1.25rem;
  max-width: 700px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--gray-400);
  font-size: 0.95rem;
}

.breadcrumb a {
  color: var(--gray-300);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb i {
  font-size: 0.75rem;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 80px 0;
}

.content-section:nth-child(even) {
  background: var(--gray-50);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.content-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition-base);
}

.content-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.content-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.content-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1.5rem;
}

.content-card h4 {
  font-size: 1.25rem;
}

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

.content-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.content-list-item:hover {
  background: var(--primary-50);
}

.content-list-item i {
  color: var(--primary-500);
  font-size: 1.1rem;
  margin-top: 3px;
}

.content-list-item span {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--white), var(--accent-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--gray-400);
  font-size: 1.1rem;
}

/* ===== DASHBOARD COMPONENTS ===== */
.dashboard-section {
  background: var(--gray-100);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.dashboard-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.dashboard-card.col-4 { grid-column: span 4; }
.dashboard-card.col-6 { grid-column: span 6; }
.dashboard-card.col-8 { grid-column: span 8; }
.dashboard-card.col-12 { grid-column: span 12; }

.dashboard-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dashboard-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
}

.dashboard-card-badge {
  padding: 6px 12px;
  background: var(--primary-100);
  color: var(--primary-600);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Chart Placeholder */
.chart-placeholder {
  height: 250px;
  background: linear-gradient(180deg, var(--gray-50), var(--white));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 2px dashed var(--gray-200);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
}

.chart-bar {
  width: 40px;
  background: linear-gradient(180deg, var(--primary-400), var(--primary-600));
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  animation: growBar 1s ease-out forwards;
  transform-origin: bottom;
}

@keyframes growBar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.chart-bar:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.chart-bar:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.chart-bar:nth-child(3) { height: 45%; animation-delay: 0.3s; }
.chart-bar:nth-child(4) { height: 90%; animation-delay: 0.4s; }
.chart-bar:nth-child(5) { height: 70%; animation-delay: 0.5s; }
.chart-bar:nth-child(6) { height: 55%; animation-delay: 0.6s; }

/* ===== DATA TABLES ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background: var(--gray-50);
}

.data-table th,
.data-table td {
  padding: 16px 20px;
  text-align: right;
  border-bottom: 1px solid var(--gray-200);
}

.data-table th {
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  color: var(--gray-700);
}

.data-table tbody tr {
  transition: var(--transition-fast);
}

.data-table tbody tr:hover {
  background: var(--gray-50);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-badge.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-500);
}

.status-badge.warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-500);
}

.status-badge.error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error-500);
}

.status-badge.info {
  background: var(--primary-100);
  color: var(--primary-600);
}

/* ===== ATTENDANCE CODES ===== */
.attendance-codes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.attendance-code {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.attendance-code:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.attendance-code-letter {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
}

.attendance-code-letter.present { background: var(--success-500); }
.attendance-code-letter.absent { background: var(--error-500); }
.attendance-code-letter.late { background: var(--warning-500); }
.attendance-code-letter.early { background: #8b5cf6; }
.attendance-code-letter.off { background: var(--gray-400); }

.attendance-code-text {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ===== ALERTS ===== */
.alert-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-right: 4px solid var(--primary-500);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.alert-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.alert-item.warning {
  border-right-color: var(--warning-500);
}

.alert-item.error {
  border-right-color: var(--error-500);
}

.alert-item.success {
  border-right-color: var(--success-500);
}

.alert-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
}

.alert-item.warning .alert-icon {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-500);
}

.alert-item.error .alert-icon {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error-500);
}

.alert-item.success .alert-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-500);
}

.alert-item.info .alert-icon {
  background: var(--primary-100);
  color: var(--primary-500);
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.alert-text {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.alert-time {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ===== SUPPORT FORM ===== */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--gray-700);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-primary);
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-800);
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question h5 {
  font-size: 1.1rem;
  color: var(--gray-800);
}

.faq-question i {
  color: var(--primary-500);
  font-size: 1.25rem;
  transition: var(--transition-base);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 24px 24px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  padding: 80px 0 40px;
  color: var(--gray-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.footer-brand p {
  color: var(--gray-400);
  line-height: 1.8;
  font-size: 1rem;
}

.footer-column h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-right: 8px;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: var(--radius-md);
  color: var(--gray-400);
  font-size: 1.25rem;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--primary-500);
  color: var(--white);
  transform: translateY(-3px);
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .dashboard-card.col-4,
  .dashboard-card.col-6 {
    grid-column: span 6;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .navbar-menu {
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
  }
  
  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .navbar-menu a {
    width: 100%;
    text-align: right;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .dashboard-card.col-4,
  .dashboard-card.col-6,
  .dashboard-card.col-8 {
    grid-column: span 12;
  }
  
  .hero-dashboard {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .navbar .container {
    height: 70px;
    padding: 0 16px;
  }
  
  .navbar-logo .dashcord-logo-img {
    width: 100px;
    height: 50px;
  }
  
  .navbar-menu {
    top: 70px;
    padding: 20px 16px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  
  .navbar-menu a {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-brands-logos {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  .footer {
    padding: 60px 0 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-brand {
    max-width: none;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-logo .dashcord-logo-img {
    width: 100px;
    height: 50px;
  }
  
  .footer-column {
    margin-bottom: 30px;
  }
  
  .footer-column h5 {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  
  .footer-links {
    gap: 12px;
  }
  
  .footer-links a {
    font-size: 0.9rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding-top: 30px;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .attendance-codes {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  /* Page-specific mobile fixes */
  .vehicles-hero,
  .riders-hero,
  .settlements-hero,
  .alerts-hero,
  .reports-hero,
  .support-hero {
    min-height: auto !important;
    padding: 100px 0 50px !important;
  }
  
  .vehicles-hero-content,
  .riders-hero-content,
  .settlements-hero-content,
  .alerts-hero-content,
  .reports-hero-content,
  .support-hero-content {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 1.8rem !important;
    margin-bottom: 16px !important;
    line-height: 1.3 !important;
  }
  
  .hero-text p {
    font-size: 0.95rem !important;
    margin-bottom: 24px !important;
    line-height: 1.6 !important;
  }
  
  .hero-stats {
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: 30px !important;
    padding-top: 20px !important;
  }
  
  .hero-stat {
    width: 100% !important;
  }
  
  .hero-stat-value {
    font-size: 2rem !important;
  }
  
  .hero-stat-label {
    font-size: 0.9rem !important;
  }
  
  /* Dashboard Preview - Mobile */
  .dashboard-preview {
    margin-top: 30px;
  }
  
  .mini-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  .mini-stat {
    padding: 16px 12px !important;
  }
  
  .mini-stat-value {
    font-size: 1.5rem !important;
  }
  
  .mini-stat-label {
    font-size: 0.8rem !important;
  }
  
  .dashboard-chart {
    margin-top: 20px;
    padding: 16px;
  }
  
  /* Content sections mobile */
  .content-section {
    padding: 50px 0;
  }
  
  .content-grid {
    gap: 24px;
  }
  
  /* Feature Cards Grid - Mobile */
  .feature-cards-grid,
  .highlights-grid,
  .auth-cards-grid,
  .handover-grid,
  .benefits-grid,
  .checklist-grid,
  .connected-platforms {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Handover cards mobile */
  .handover-card {
    padding: 20px;
  }
  
  .handover-card h4 {
    font-size: 1.1rem;
  }
  
  .handover-card p {
    font-size: 0.9rem;
  }
  
  /* GPS Grid - Mobile */
  .gps-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  /* Charts - Mobile */
  .chart-container,
  .analytics-chart {
    padding: 16px;
    overflow-x: auto;
  }
  
  .chart-container svg,
  .analytics-chart svg {
    min-width: 600px;
  }
  
  /* Tables - Mobile */
  .data-table {
    overflow-x: auto;
    display: block;
  }
  
  .data-table table {
    min-width: 600px;
  }
  
  /* Contact Form - Mobile */
  .contact-form {
    padding: 24px 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  
  /* FAQ - Mobile */
  .faq-item {
    padding: 16px;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 12px;
  }
  
  .faq-answer {
    font-size: 0.9rem;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-v2 {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  
  .hero-title-v2 {
    font-size: 1.75rem;
  }
  
  .hero-subtitle-v2 {
    font-size: 0.9rem;
  }
  
  .hero-badge-v2 {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  
  .hero-trust {
    gap: 10px;
  }
  
  .trust-item {
    font-size: 0.85rem;
    padding: 10px;
  }
  
  .hero-partners {
    padding: 30px 15px;
    margin-top: 40px;
  }
  
  .partners-label {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }
  
  .partner-logo {
    padding: 15px 16px;
    min-width: 90px;
    min-height: 70px;
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
  
  .partner-logo-img {
    max-height: 40px;
  }
  
  .feature-card {
    padding: 24px 20px;
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
  
  .content-card {
    padding: 24px 20px;
  }
  
  .dashboard-card {
    padding: 20px;
  }
  
  .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  
  .section-header p {
    font-size: 0.9rem;
  }
  
  .navbar-logo .dashcord-logo-img {
    width: 100px;
    height: 50px;
  }
  
  .footer-logo .dashcord-logo-img {
    width: 100px;
    height: 50px;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.bg-white { background: var(--white); }
.bg-gray { background: var(--gray-50); }
.bg-primary { background: var(--primary-500); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* ===== HIGHLIGHT EFFECTS ===== */
.highlight-gradient {
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-effect {
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.3);
}

/* ===== ICON LIST ===== */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.icon-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.icon-list-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-100);
  color: var(--primary-600);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
}

.icon-list-content h5 {
  color: var(--gray-800);
  margin-bottom: 6px;
}

.icon-list-content p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.tab-btn {
  flex: 1;
  padding: 14px 24px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition-base);
}

.tab-btn:hover {
  color: var(--gray-700);
}

.tab-btn.active {
  background: var(--white);
  color: var(--primary-600);
  box-shadow: var(--shadow-sm);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== PROGRESS BARS ===== */
.progress-bar {
  height: 10px;
  background: var(--gray-200);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  border-radius: 100px;
  transition: width 1s ease;
}

/* ===== METRIC CARDS ===== */
.metric-card {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.metric-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

.metric-change.positive {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-500);
}

.metric-change.negative {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error-500);
}

/* DASHCORD Logo Styles */
.dashcord-logo {
  display: flex;
  align-items: center;
  gap: 0px;
  font-family: 'Readex Pro', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gray-900);
}

.navbar .dashcord-logo {
  color: var(--white);
}

.dashcord-logo span {
  position: relative;
  display: inline-block;
}

.dashcord-logo .logo-a {
  position: relative;
}

.dashcord-logo .arrow-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
}

.dashcord-logo .logo-o {
  position: relative;
}

.dashcord-logo .gear-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.85;
}

.footer .dashcord-logo {
  color: var(--white);
  font-size: 1.5rem;
}

/* DASHCORD Logo Image */
.dashcord-logo-img {
  width: 100px;
  height: 50px;
  object-fit: contain;
  transition: var(--transition-base);
  display: block;
}

.navbar-logo:hover .dashcord-logo-img {
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.6));
  transform: scale(1.05);
}

.footer-logo .dashcord-logo-img {
  opacity: 0.9;
  filter: invert(1) brightness(1.2);
}

.footer-logo .dashcord-logo-img:hover {
  opacity: 1;
  filter: invert(1) brightness(1.2) drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
}

/* ============================================
   ENHANCED HERO SECTION V2
   ============================================ */

.hero-v2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, #0a0f1e 0%, #0f172a 40%, #1e293b 100%);
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 80px;
}

/* Gradient Orbs */
.hero-gradient-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
  top: -10%;
  right: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  bottom: -5%;
  left: 5%;
  animation-delay: 7s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation-delay: 14s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* Hero Layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* Left Content */
.hero-content-v2 {
  animation: fadeInUp 1s ease-out;
}

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

/* Badge V2 */
.hero-badge-v2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  color: var(--accent-500);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  position: relative;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

/* Title V2 */
.hero-title-v2 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: white;
  margin-bottom: 24px;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
}

.title-gradient {
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--secondary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(20deg);
  }
}

/* Subtitle V2 */
.hero-subtitle-v2 {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
}

/* Quick Stats */
.hero-quick-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.quick-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: var(--transition-base);
}

.quick-stat:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 10px;
  color: var(--accent-500);
  font-size: 1.25rem;
}

.stat-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1;
}

.stat-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 4px 0 0 0;
}

/* CTA Buttons V2 */
.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  position: relative;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
  border: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-base);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-hero-primary:hover::before {
  transform: translateX(100%);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(16, 185, 129, 0.6);
}

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-secondary {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Trust Badges */
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item i {
  color: var(--accent-500);
  font-size: 1.1rem;
}

/* Right Visual - Dashboard Mockup */
.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease-out 0.3s both;
}

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

.dashboard-mockup {
  position: relative;
  perspective: 1000px;
}

.mockup-window {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.mockup-window:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.window-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
}

.window-dots span:nth-child(1) {
  background: #ff5f56;
}

.window-dots span:nth-child(2) {
  background: #ffbd2e;
}

.window-dots span:nth-child(3) {
  background: #27c93f;
}

.window-title {
  font-size: 0.85rem;
  color: #666;
  font-weight: 600;
}

.window-content {
  padding: 24px;
  background: #f8f9fa;
}

/* Mini Dashboard */
.mini-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.dashboard-card {
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition-base);
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.card-icon.green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.card-icon.blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.card-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.card-info h5 {
  font-size: 0.75rem;
  color: #666;
  margin: 0 0 4px 0;
  font-weight: 500;
  text-align: right;
}

.card-info h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin: 0 0 8px 0;
  font-weight: 700;
  text-align: right;
}

.trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.trend.up {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
}

.trend i {
  font-size: 0.7rem;
}

/* Mini Chart */
.mini-chart {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}

.bar {
  flex: 1;
  background: linear-gradient(to top, #e5e7eb, #d1d5db);
  border-radius: 4px 4px 0 0;
  transition: var(--transition-base);
  animation: barGrow 0.8s ease-out backwards;
}

.bar.active {
  background: linear-gradient(to top, var(--accent-500), var(--accent-600));
}

.bar:hover {
  background: linear-gradient(to top, var(--accent-400), var(--accent-500));
}

@keyframes barGrow {
  from {
    height: 0 !important;
  }
}

.bar:nth-child(1) {
  animation-delay: 0.1s;
}

.bar:nth-child(2) {
  animation-delay: 0.2s;
}

.bar:nth-child(3) {
  animation-delay: 0.3s;
}

.bar:nth-child(4) {
  animation-delay: 0.4s;
}

.bar:nth-child(5) {
  animation-delay: 0.5s;
}

.bar:nth-child(6) {
  animation-delay: 0.6s;
}

.bar:nth-child(7) {
  animation-delay: 0.7s;
}

/* Floating Elements */
.floating-element {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2937;
  animation: floatElement 3s ease-in-out infinite;
  white-space: nowrap;
}

.floating-element i {
  color: var(--accent-500);
  font-size: 1rem;
}

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

/* Partners Section */
/* ============================================
   PARTNERS SECTION - STYLE 2 (BACKUP)
   ============================================ */
/*
.hero-partners {
  margin-top: 80px;
  text-align: center;
  position: relative;
  z-index: 10;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
  padding: 80px 50px;
  border-radius: 32px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
*/

/* ============================================
   PARTNERS SECTION - STYLE 2 (RESTORED WITH LARGER LOGOS)
   ============================================ */
.hero-partners {
  margin-top: 80px;
  text-align: center;
  position: relative;
  z-index: 10;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
  padding: 80px 50px;
  border-radius: 32px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.hero-partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--primary-500) 0%, 
    var(--accent-500) 50%, 
    var(--primary-500) 100%);
  background-size: 200% 100%;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-partners::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
  animation: rotate-bg 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate-bg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.partners-label {
  color: var(--gray-700);
  font-size: 2.6rem;
  margin-bottom: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.partners-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-500), transparent);
  border-radius: 2px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 36px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 140px;
  min-height: 100px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.partner-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  transition: left 0.5s ease;
}

.partner-logo:hover::before {
  left: 100%;
}

.partner-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, 
    var(--primary-400) 0%, 
    var(--accent-500) 50%, 
    var(--primary-400) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.partner-logo:hover::after {
  opacity: 1;
}

.partner-logo-img {
  max-width: 100%;
  max-height: 85px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: none;
  position: relative;
  z-index: 1;
}

.partner-logo:hover {
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  border-color: transparent;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(37, 99, 235, 0.15),
    0 8px 16px rgba(6, 182, 212, 0.1),
    0 0 0 1px rgba(37, 99, 235, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.partner-logo:hover .partner-logo-img {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Fix for JPEG images - ensure proper display */
.partner-logo img[src="c.jpeg"],
.partner-logo img[src="h.jpeg"],
.partner-logo img[src="i.jpeg"],
.partner-logo img[src="j.jpeg"] {
  filter: brightness(1.1) contrast(1.05);
}

.partner-logo:hover img[src="c.jpeg"],
.partner-logo:hover img[src="h.jpeg"],
.partner-logo:hover img[src="i.jpeg"],
.partner-logo:hover img[src="j.jpeg"] {
  filter: brightness(1.15) contrast(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Icon-based partner logo (Parcels) */
.partner-logo-icon {
  color: var(--gray-700);
  position: relative;
}

.partner-logo-icon i {
  font-size: 2rem;
  color: var(--primary-500);
  margin-bottom: 6px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  display: inline-block;
}

.partner-logo-icon span {
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-logo-icon:hover i {
  color: var(--primary-600);
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.3));
}

.partner-logo-icon:hover span {
  color: var(--primary-600);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .hero-title-v2 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle-v2 {
    font-size: 1.1rem;
  }
  
  .mini-dashboard {
    grid-template-columns: 1fr;
  }
  
  .mockup-window {
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero-v2 {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .hero-title-v2 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle-v2 {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .hero-quick-stats {
    flex-direction: column;
    gap: 12px;
  }
  
  .quick-stat {
    width: 100%;
  }
  
  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
  }
  
  .hero-trust {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .trust-item {
    justify-content: center;
    padding: 12px;
    font-size: 0.9rem;
  }
  
  .trust-item i {
    font-size: 1rem;
  }
  
  .hero-partners {
    padding: 40px 20px;
    border-radius: 20px;
    margin-top: 60px;
  }
  
  .partners-label {
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
  }
  
  .partners-logos {
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .partner-logo {
    padding: 18px 20px;
    min-width: 100px;
    min-height: 80px;
    border-radius: 14px;
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
  
  .partner-logo-img {
    max-height: 50px;
  }
  
  .partner-logo-icon i {
    font-size: 1.4rem;
  }
  
  .partner-logo-icon span {
    font-size: 0.7rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .feature-card {
    padding: 30px 24px;
  }
  
  .feature-card h3 {
    font-size: 1.3rem;
  }
  
  .feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  .floating-element {
    display: none;
  }
  
  .hero-visual {
    display: block;
    margin-top: 40px;
  }
  
  .dashboard-mockup {
    perspective: none;
  }
  
  .mockup-window {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 100%;
  }
  
  .window-header {
    padding: 12px 16px;
  }
  
  .window-title {
    font-size: 0.75rem;
  }
  
  .window-content {
    padding: 16px;
  }
  
  .mini-dashboard {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }
  
  .dashboard-card {
    padding: 12px;
  }
  
  .card-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .card-info h5 {
    font-size: 0.75rem;
  }
  
  .card-info h3 {
    font-size: 1.3rem;
  }
  
  .mini-chart {
    height: 80px;
  }
  
  .chart-bars {
    gap: 4px;
  }
  
  .floating-element {
    display: none;
  }
  
  .hero-layout {
    gap: 40px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 0.95rem;
  }
  
  /* Platform Ecosystem Section - Mobile */
  .section[style*="background: linear-gradient(180deg, #0f172a"] {
    padding: 50px 0 !important;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] .container {
    padding: 0 16px;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] .section-header {
    margin-bottom: 30px;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] .section-header h2 {
    font-size: 1.5rem !important;
    margin-bottom: 12px !important;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] .section-header p {
    font-size: 0.95rem !important;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] svg {
    display: none;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="max-width: 1100px"] {
    max-width: 100% !important;
    min-height: auto !important;
    position: relative !important;
    padding: 20px 0 !important;
  }
  
  /* Central Logo - Mobile */
  .section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="position: absolute; top: 50%"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto 30px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="width: 200px; height: 200px"] {
    width: 120px !important;
    height: 120px !important;
    padding: 15px !important;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="width: 200px; height: 200px"] img {
    width: 100% !important;
    height: auto !important;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="width: 240px; height: 240px"] {
    width: 140px !important;
    height: 140px !important;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="width: 280px; height: 280px"] {
    width: 160px !important;
    height: 160px !important;
  }
  
  /* Feature Circles - Mobile Grid Layout */
  .section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="position: absolute"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="max-width: 1100px"] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    padding: 20px 10px !important;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="width: 110px; height: 110px"] {
    width: 100% !important;
    height: auto !important;
    min-height: 90px !important;
    padding: 15px 10px !important;
    border-radius: 12px !important;
    margin: 0 !important;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="width: 110px; height: 110px"] i {
    font-size: 1.5rem !important;
    margin-bottom: 6px !important;
  }
  
  .section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="width: 110px; height: 110px"] span {
    font-size: 0.75rem !important;
  }
}

/* Additional Mobile Fixes for Platform Ecosystem */
@media (max-width: 768px) {
  section.section[style*="background: linear-gradient(180deg, #0f172a"] {
    padding: 50px 0 !important;
  }
  
  section.section[style*="background: linear-gradient(180deg, #0f172a"] > div[style*="position: absolute"] {
    display: none !important;
  }
  
  section.section[style*="background: linear-gradient(180deg, #0f172a"] svg {
    display: none !important;
  }
  
  /* Force grid layout for feature circles */
  section.section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="max-width: 1100px"] > div[style*="position: absolute"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    display: block !important;
  }
  
  /* Central logo positioning */
  section.section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="position: absolute; top: 50%; left: 50%"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto 30px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    order: -1 !important;
  }
  
  /* Create grid container */
  section.section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="max-width: 1100px"] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    padding: 20px 10px !important;
    max-width: 100% !important;
    min-height: auto !important;
  }
  
  /* Style feature circles as grid items */
  section.section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="width: 110px; height: 110px"] {
    width: 100% !important;
    height: auto !important;
    min-height: 90px !important;
    padding: 15px 10px !important;
    border-radius: 12px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  section.section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="width: 110px; height: 110px"] i {
    font-size: 1.5rem !important;
    margin-bottom: 6px !important;
  }
  
  section.section[style*="background: linear-gradient(180deg, #0f172a"] div[style*="width: 110px; height: 110px"] span {
    font-size: 0.7rem !important;
    text-align: center !important;
  }
  
  /* Stats Section - Mobile */
  .stats-section {
    padding: 50px 0;
  }
  
  .stats-grid {
    gap: 20px;
  }
  
  .stat-item {
    padding: 24px 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  /* Page Headers - Mobile */
  .page-header {
    padding: 100px 0 50px;
    text-align: center;
  }
  
  .page-header h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  
  .page-header p {
    font-size: 1rem;
  }
  
  /* Content Cards - Mobile */
  .content-card {
    padding: 24px 20px;
  }
  
  .content-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .content-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  
  .content-list-item {
    padding: 14px;
  }
  
  /* Dashboard Cards - Mobile */
  .dashboard-card {
    padding: 20px;
  }
  
  .dashboard-card h4 {
    font-size: 1.1rem;
  }
  
  /* CTA Section - Mobile */
  .section[style*="background: linear-gradient(135deg"] {
    padding: 50px 0 !important;
  }
  
  .section[style*="background: linear-gradient(135deg"] h2 {
    font-size: 1.6rem;
  }
  
  .section[style*="background: linear-gradient(135deg"] p {
    font-size: 1rem;
  }
  
  /* Scroll to Top - Mobile */
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    left: 20px;
    font-size: 1rem;
  }
  
  /* ============================================
     PAGE-SPECIFIC MOBILE FIXES
     ============================================ */
  
  /* Vehicles, Riders, Settlements, Alerts, Reports, Support Pages */
  .vehicles-hero,
  .riders-hero,
  .settlements-hero,
  .alerts-hero,
  .reports-hero,
  .support-hero {
    min-height: auto !important;
    padding: 100px 0 50px !important;
  }
  
  .vehicles-hero-content,
  .riders-hero-content,
  .settlements-hero-content,
  .alerts-hero-content,
  .reports-hero-content,
  .support-hero-content {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 1.8rem !important;
    margin-bottom: 16px !important;
    line-height: 1.3 !important;
  }
  
  .hero-text h1 span {
    display: block;
    margin-top: 8px;
  }
  
  .hero-text p {
    font-size: 0.95rem !important;
    margin-bottom: 24px !important;
    line-height: 1.6 !important;
  }
  
  .hero-stats {
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: 30px !important;
    padding-top: 20px !important;
  }
  
  .hero-stat {
    width: 100% !important;
  }
  
  .hero-stat-value {
    font-size: 2rem !important;
  }
  
  .hero-stat-label {
    font-size: 0.9rem !important;
  }
  
  /* Dashboard Preview - Mobile */
  .dashboard-preview {
    margin-top: 30px;
    width: 100%;
  }
  
  .mini-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  .mini-stat {
    padding: 16px 12px !important;
  }
  
  .mini-stat-value {
    font-size: 1.5rem !important;
  }
  
  .mini-stat-label {
    font-size: 0.8rem !important;
  }
  
  .dashboard-chart {
    margin-top: 20px;
    padding: 16px;
  }
  
  .chart-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .chart-legend {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Vehicles-only sections that need explicit mobile stacking */
  #gps-tracking .gps-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  #gps-tracking .gps-feature {
    flex-direction: column;
    text-align: center;
    padding: 16px !important;
  }

  #gps-tracking .gps-dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #gps-tracking .map-placeholder {
    height: 200px;
    margin-bottom: 16px;
  }

  .vehicles-hero .d-flex.gap-3.flex-wrap {
    flex-direction: column;
    gap: 12px !important;
  }

  .vehicles-hero .d-flex.gap-3.flex-wrap .btn {
    width: 100%;
    justify-content: center;
  }

  .vehicles-hero .hero-stats {
    justify-content: center;
  }
  
  /* Feature Cards Grid - Mobile */
  .feature-cards-grid,
  .highlights-grid,
  .auth-cards-grid,
  .handover-grid,
  .benefits-grid,
  .checklist-grid,
  .connected-platforms {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Handover cards mobile */
  .handover-card {
    padding: 20px;
  }
  
  .handover-card h4 {
    font-size: 1.1rem;
  }
  
  .handover-card p {
    font-size: 0.9rem;
  }
  
  /* GPS Grid - Mobile */
  .gps-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  /* Charts - Mobile */
  .chart-container,
  .analytics-chart {
    padding: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .chart-container svg,
  .analytics-chart svg {
    min-width: 600px;
  }
  
  /* Tables - Mobile */
  .data-table {
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
  }
  
  .data-table table {
    min-width: 600px;
  }
  
  /* Contact Form - Mobile */
  .contact-form {
    padding: 24px 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 16px;
    font-size: 0.95rem;
    width: 100%;
  }
  
  /* FAQ - Mobile */
  .faq-item {
    padding: 16px;
    margin-bottom: 12px;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 12px;
  }
  
  .faq-answer {
    font-size: 0.9rem;
    padding: 12px;
    line-height: 1.6;
  }
  
  /* Buttons - Mobile */
  .d-flex.gap-3.flex-wrap {
    flex-direction: column;
    gap: 12px !important;
  }
  
  .d-flex.gap-3.flex-wrap .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Section Headers - Mobile */
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  
  .section-header p {
    font-size: 0.95rem;
  }
  
  /* Cards - Mobile */
  .content-card,
  .feature-card,
  .dashboard-card {
    padding: 24px 20px;
  }
  
  .content-card h4,
  .feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .content-card p,
  .feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  /* Lists - Mobile */
  .content-list {
    gap: 12px;
  }
  
  .content-list-item {
    padding: 14px;
  }
  
  .content-list-item i {
    font-size: 1rem;
  }
  
  .content-list-item span {
    font-size: 0.9rem;
  }
  
  /* Support Page - Mobile */
  .page-header {
    padding: 100px 0 50px !important;
  }
  
  .page-header h1 {
    font-size: 1.8rem !important;
    margin-bottom: 12px !important;
  }
  
  .page-header p {
    font-size: 0.95rem !important;
  }
  
  .content-grid[style*="max-width: 1000px"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  .content-card[style*="padding: 40px"] {
    padding: 24px 20px !important;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-label {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  
  .form-input,
  .form-select,
  .form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  
  .faq-item {
    margin-bottom: 12px;
  }
  
  .faq-question {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  
  .faq-question h5 {
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 14px 16px;
  }
  
  .faq-answer-content {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  /* Contact Info Cards - Mobile */
  .d-flex.align-center.gap-3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px !important;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
  }
  
  .d-flex.justify-between {
    flex-direction: column;
    gap: 8px;
  }
  
  /* Social Links - Mobile */
  .d-flex.gap-3[style*="width: 48px"] {
    flex-wrap: wrap;
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  .vehicles-hero .mini-stats {
    grid-template-columns: 1fr !important;
  }

  .vehicles-hero .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .vehicles-hero .chart-legend {
    gap: 10px;
  }

  .vehicles-hero .hero-stat {
    min-width: 100%;
  }
}

