
:root {
  --cyan: #00d4ff;
  --purple: #7b2cbf;
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1628;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(0, 212, 255, 0.25);
  --text-primary: #f0f4ff;
  --text-secondary: #8892b0;
  --text-muted: #4a5568;
  --success: #00e676;
  --warning: #ffa726;
  --danger: #ff5252;
  --info: #00d4ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.3);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.6);
}

/* ─── Layout ─── */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ─── Sidebar ─── */
.sidebar {
  width: 260px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

.logo-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-section-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 12px 8px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  user-select: none;
  position: relative;
  overflow: hidden;
}

.nav-item:hover {
  background: rgba(0, 212, 255, 0.06);
  color: var(--text-primary);
  border-color: rgba(0, 212, 255, 0.1);
}

.nav-item.active {
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.05);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--cyan);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px var(--cyan);
}

.nav-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

.nav-badge {
  margin-left: auto;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(0, 212, 255, 0); }
}

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--border-color);
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-card:hover {
  border-color: var(--border-glow);
}

.user-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #00d4ff44, #7b2cbf44);
  border: 1.5px solid rgba(0, 212, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.user-role {
  font-size: 11px;
  color: var(--text-muted);
}

/* ─── Main Content ─── */
.main-content {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── Header ─── */
.header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  background: rgba(15, 22, 40, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
}

.search-wrap {
  flex: 1;
  max-width: 380px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 9px 12px 9px 36px;
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  transition: all 0.25s ease;
}

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

.search-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 0 16px rgba(0, 212, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.icon-btn {
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 17px;
  position: relative;
  color: var(--text-secondary);
}

.icon-btn:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.notif-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--danger);
  color: white;
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--bg-secondary);
  animation: badge-pulse 2s ease-in-out infinite;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.35);
}

/* ─── Page Body ─── */
.page-body {
  padding: 28px;
  flex: 1;
  overflow-y: auto;
}

/* ─── Glass Cards ─── */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 212, 255, 0.05);
}

/* ─── Stat Cards ─── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  padding: 22px;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
}

.stat-change.positive {
  background: rgba(0, 230, 118, 0.12);
  color: var(--success);
}

.stat-change.negative {
  background: rgba(255, 82, 82, 0.12);
  color: var(--danger);
}

/* ─── Grid layouts ─── */
.grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.grid-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ─── Section titles ─── */
.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title span {
  font-size: 12px;
  color: var(--cyan);
  font-weight: 500;
  cursor: pointer;
}

/* ─── Chart ─── */
.chart-container {
  padding: 22px;
}

.chart-area {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 160px;
  margin-top: 16px;
}

.bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
}

.bar-outer {
  flex: 1;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: flex-end;
  position: relative;
  cursor: pointer;
}

.bar-inner {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(0, 212, 255, 0.4));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.bar-inner.active-bar {
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  box-shadow: 0 -4px 20px rgba(0, 212, 255, 0.4);
}

.bar-tooltip {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 22, 40, 0.95);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.bar-outer:hover .bar-tooltip {
  opacity: 1;
}

.bar-outer:hover .bar-inner {
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  box-shadow: 0 -4px 20px rgba(0, 212, 255, 0.3);
}

.bar-label {
  font-size: 11px;
  color: var(--text-muted);
}

/* ─── Activity Feed ─── */
.feed-container {
  padding: 22px;
}

.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.feed-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  position: relative;
}

.feed-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  opacity: 0.3;
  animation: ripple 2s ease-in-out infinite;
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.3; }
  70% { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.feed-body {
  flex: 1;
  min-width: 0;
}

.feed-text {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.4;
}

.feed-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.feed-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ─── Table ─── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 13px 16px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

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

.data-table tbody tr {
  transition: background 0.2s ease;
}

.data-table tbody tr:hover {
  background: rgba(0, 212, 255, 0.03);
}

/* ─── Status Badges ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.badge-success {
  background: rgba(0, 230, 118, 0.12);
  color: var(--success);
  border: 1px solid rgba(0, 230, 118, 0.2);
}

.badge-warning {
  background: rgba(255, 167, 38, 0.12);
  color: var(--warning);
  border: 1px solid rgba(255, 167, 38, 0.2);
}

.badge-danger {
  background: rgba(255, 82, 82, 0.12);
  color: var(--danger);
  border: 1px solid rgba(255, 82, 82, 0.2);
}

.badge-info {
  background: rgba(0, 212, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.badge-muted {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

/* ─── Order Cards ─── */
.order-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.order-card {
  padding: 22px;
}

.order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.order-id {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.route-display {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}

.route-point {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.route-point-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.route-point-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.route-arrow {
  color: var(--text-muted);
  font-size: 16px;
  flex-shrink: 0;
}

.route-line {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 2;
}

.route-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.route-dashes {
  flex: 1;
  border-top: 1.5px dashed rgba(255,255,255,0.15);
}

.order-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

/* ─── Progress Bar ─── */
.progress-wrap {
  margin-top: 12px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.progress-track {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transform-origin: left;
  animation: progress-grow 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes progress-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ─── Driver List ─── */
.driver-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.driver-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.driver-item:hover {
  background: rgba(0, 212, 255, 0.04);
}

.driver-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1.5px solid var(--border-color);
}

.driver-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.driver-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.driver-rating {
  font-size: 12px;
  font-weight: 600;
  color: var(--warning);
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--success);
  animation: dot-pulse 2s ease-in-out infinite;
}

.offline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

.pending-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warning);
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* ─── Incident Cards ─── */
.incident-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.incident-card {
  padding: 20px;
}

.incident-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.incident-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.incident-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.incident-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-resolve {
  padding: 7px 16px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 8px;
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-resolve:hover {
  background: rgba(0, 230, 118, 0.2);
  transform: translateY(-1px);
}

.btn-escalate {
  padding: 7px 16px;
  background: rgba(255, 82, 82, 0.1);
  border: 1px solid rgba(255, 82, 82, 0.25);
  border-radius: 8px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-escalate:hover {
  background: rgba(255, 82, 82, 0.2);
  transform: translateY(-1px);
}

.incident-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 11px;
  color: var(--text-muted);
}

/* ─── Entrance Animations ─── */
.fade-in-up {
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.10s; }
.delay-3 { animation-delay: 0.15s; }
.delay-4 { animation-delay: 0.20s; }
.delay-5 { animation-delay: 0.25s; }
.delay-6 { animation-delay: 0.30s; }

/* ─── Shimmer loader ─── */
.shimmer {
  background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.04) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer-sweep 1.5s ease-in-out infinite;
}

@keyframes shimmer-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Glow accents ─── */
.glow-cyan {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.glow-purple {
  box-shadow: 0 0 20px rgba(123, 44, 191, 0.2);
}

/* ─── Section page ─── */
.section-page {
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .order-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .stat-grid,
  .stat-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .order-grid {
    grid-template-columns: 1fr;
  }
  .page-body {
    padding: 16px;
  }
  .header {
    padding: 12px 16px;
  }
  .header-title {
    font-size: 16px;
  }
  .search-wrap {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LANDING PAGE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

.landing {
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ─── Animated background ─── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  animation: grid-move 30s linear infinite;
}

@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.bg-orb.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--cyan);
  top: -10%;
  left: -10%;
  animation: orb-float 18s ease-in-out infinite;
}

.bg-orb.orb-2 {
  width: 600px;
  height: 600px;
  background: var(--purple);
  bottom: -20%;
  right: -15%;
  animation: orb-float 22s ease-in-out infinite reverse;
}

.bg-orb.orb-3 {
  width: 400px;
  height: 400px;
  background: #00e676;
  top: 40%;
  left: 30%;
  animation: orb-float 25s ease-in-out infinite;
  opacity: 0.15;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, -50px) scale(1.1); }
  66% { transform: translate(-60px, 60px) scale(0.95); }
}

/* ─── Navbar ─── */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  background: rgba(10, 14, 26, 0.6);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.landing-nav.scrolled {
  background: rgba(10, 14, 26, 0.9);
  border-bottom-color: var(--border-color);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transition: width 0.3s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost {
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,212,255,0.15);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  z-index: 1;
  padding: 140px 40px 100px;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  animation: pill-glow 3s ease-in-out infinite;
}

@keyframes pill-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,0); }
  50% { box-shadow: 0 0 30px rgba(0,212,255,0.15); }
}

.pill-tag {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero h1 .accent-word {
  position: relative;
  display: inline-block;
  color: var(--cyan);
}

.hero h1 .accent-word::before {
  content: '';
  position: absolute;
  inset: -6px -12px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(123,44,191,0.15));
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transform: scale(0.9);
  animation: accent-fade 1s ease 0.6s forwards;
}

@keyframes accent-fade {
  to { opacity: 1; transform: scale(1); }
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary-lg {
  padding: 14px 28px;
  font-size: 15px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0,212,255,0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-lg::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.btn-primary-lg:hover::after { left: 100%; }

.btn-primary-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0,212,255,0.4);
}

.btn-ghost-lg {
  padding: 14px 28px;
  font-size: 15px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.btn-ghost-lg:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 40px;
}

.trust-stars {
  color: var(--warning);
  font-size: 14px;
}

/* ─── Hero Dashboard Preview ─── */
.hero-preview {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  perspective: 2000px;
}

.hero-preview-card {
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15,22,40,0.9), rgba(10,14,26,0.9));
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(0,212,255,0.1);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-preview-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0,212,255,0.15), transparent 40%);
  pointer-events: none;
}

.preview-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0,0,0,0.3);
}

.preview-chrome .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.preview-chrome .dot:nth-child(1) { background: #ff5f56; }
.preview-chrome .dot:nth-child(2) { background: #ffbd2e; }
.preview-chrome .dot:nth-child(3) { background: #27c93f; }

.preview-url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

.preview-body {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.preview-stat {
  padding: 16px;
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 12px;
}

.preview-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.preview-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 6px;
}

.preview-stat-change {
  font-size: 11px;
  color: var(--success);
  font-weight: 600;
  margin-top: 4px;
}

.preview-chart {
  grid-column: 1 / -1;
  height: 180px;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.preview-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  border-radius: 6px 6px 0 0;
  animation: bar-rise 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes bar-rise {
  from { height: 0; opacity: 0; }
}

.hero-floating-card {
  position: absolute;
  padding: 16px;
  background: rgba(15,22,40,0.95);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-card 6s ease-in-out infinite;
}

.hero-floating-card.fc-left {
  top: 15%;
  left: -40px;
  animation-delay: 0s;
}

.hero-floating-card.fc-right {
  bottom: 10%;
  right: -40px;
  animation-delay: 3s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.fc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.fc-title {
  font-size: 12px;
  color: var(--text-muted);
}

.fc-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ─── Marquee ─── */
.marquee-section {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  border-block: 1px solid var(--border-color);
  background: rgba(0,0,0,0.2);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee-scroll 30s linear infinite;
  padding-right: 60px;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.marquee-item {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: -0.5px;
  transition: color 0.2s ease;
}

.marquee-item:hover { color: var(--cyan); }

/* ─── Section common ─── */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--cyan);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

.section-heading {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}

/* ─── Reveal (method 1: scroll) ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }

/* ─── Stats strip ─── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(15,22,40,0.5);
  backdrop-filter: blur(10px);
}

.stats-strip > div {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border-color);
}

.stats-strip > div:last-child { border-right: none; }

.stats-strip-value {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}

.stats-strip-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ─── Features grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 32px 28px;
  background: rgba(15,22,40,0.5);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* method 2: mouse-track spotlight */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 0) var(--my, 0), rgba(0,212,255,0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover::before { opacity: 1; }

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,255,0.3);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(123,44,191,0.15));
  border: 1px solid rgba(0,212,255,0.2);
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
  cursor: pointer;
  transition: gap 0.2s ease;
}

.feature-card:hover .feature-link { gap: 10px; }

/* ─── How it works (timeline) ─── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
  opacity: 0.3;
}

.timeline-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.timeline-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(10,14,26,0.95);
  border: 2px solid rgba(0,212,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--cyan);
  margin: 0 auto 20px;
  position: relative;
  box-shadow: 0 0 0 8px rgba(10,14,26,1);
  transition: all 0.3s ease;
}

.timeline-step:hover .timeline-num {
  border-color: var(--cyan);
  box-shadow: 0 0 0 8px rgba(10,14,26,1), 0 0 30px rgba(0,212,255,0.4);
  transform: translateY(-4px);
}

.timeline-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── Map of Belgium ─── */
.map-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.map-visual {
  position: relative;
  aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(0,212,255,0.05), transparent 70%);
  border-radius: 30px;
}

.map-svg {
  width: 100%;
  height: 100%;
}

.map-pin {
  fill: var(--cyan);
  filter: drop-shadow(0 0 8px var(--cyan));
  animation: map-pulse 2.5s ease-in-out infinite;
}

@keyframes map-pulse {
  0%, 100% { opacity: 0.8; transform-origin: center; }
  50% { opacity: 1; }
}

.city-list {
  list-style: none;
}

.city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.city-row:hover {
  padding-left: 10px;
  border-bottom-color: var(--cyan);
}

.city-name {
  font-size: 17px;
  font-weight: 600;
}

.city-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Pricing ─── */
.pricing-toggle {
  display: inline-flex;
  background: rgba(15,22,40,0.6);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 4px;
  margin: 0 auto 50px;
  position: relative;
}

.pricing-toggle-wrap {
  text-align: center;
}

.toggle-btn {
  padding: 10px 22px;
  background: transparent;
  border: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.toggle-btn.active { color: #fff; }

.toggle-slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 100px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0,212,255,0.3);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pricing-card {
  padding: 36px 30px;
  background: rgba(15,22,40,0.5);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  position: relative;
  transition: all 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,255,0.3);
}

.pricing-card.featured {
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 60px rgba(0,212,255,0.12);
  transform: scale(1.03);
}

.pricing-card.featured:hover { transform: scale(1.03) translateY(-6px); }

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pricing-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.pricing-price-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-check {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-pricing {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
}

.btn-pricing:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn-pricing.featured-btn {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border: none;
  color: #fff;
  box-shadow: 0 8px 28px rgba(0,212,255,0.25);
}

/* ─── Testimonials ─── */
.testimonial-track {
  display: flex;
  gap: 20px;
  overflow: hidden;
  margin: 0 -40px;
  padding: 0 40px 20px;
}

.testimonial-card {
  flex: 0 0 380px;
  padding: 30px;
  background: rgba(15,22,40,0.5);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--warning);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(123,44,191,0.2));
  border: 1.5px solid rgba(0,212,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: rgba(15,22,40,0.4);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.open {
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 0 30px rgba(0,212,255,0.06);
}

.faq-q {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color 0.2s ease;
}

.faq-q:hover { color: var(--cyan); }

.faq-plus {
  font-size: 20px;
  color: var(--cyan);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-a { max-height: 300px; }

.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── CTA Banner ─── */
.cta-banner {
  position: relative;
  z-index: 1;
  margin: 60px auto;
  max-width: 1100px;
  padding: 80px 40px;
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(123,44,191,0.1));
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 30px;
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,212,255,0.15), transparent 50%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
}

/* ─── Contact form ─── */
.contact-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(15,22,40,0.6);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  backdrop-filter: blur(16px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-input, .form-textarea {
  padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

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

.form-status {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
}

.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

/* ─── Footer ─── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-color);
  padding: 60px 40px 30px;
  background: rgba(10,14,26,0.8);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-col li:hover { color: var(--cyan); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.footer-social:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ─── Switcher (landing <-> dashboard) ─── */
.view-switcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  background: rgba(15,22,40,0.95);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 4px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.vs-btn {
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.vs-btn.active {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .preview-body { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 40px; }
  .timeline::before { display: none; }
  .map-section { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stats-strip > div:nth-child(2) { border-right: none; }
  .stats-strip > div:nth-child(1), .stats-strip > div:nth-child(2) { border-bottom: 1px solid var(--border-color); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-floating-card { display: none; }
}

@media (max-width: 768px) {
  .landing-nav { padding: 14px 20px; }
  .hero { padding: 120px 20px 80px; }
  .section { padding: 80px 20px; }
  .timeline { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .stats-strip > div { border-right: none; border-bottom: 1px solid var(--border-color); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 1fr 1fr; padding: 16px; gap: 8px; }
  .contact-wrap { padding: 24px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PARTICULIERS / AUDIENCE SWITCHER
   ═══════════════════════════════════════════════════════════════════════════ */

.audience-tabs {
  display: inline-flex;
  background: rgba(15,22,40,0.7);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 5px;
  margin: 0 auto 32px;
  position: relative;
  backdrop-filter: blur(10px);
}

.audience-tabs-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
}

.audience-tab {
  padding: 10px 22px;
  background: transparent;
  border: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.audience-tab.active { color: #fff; }

.audience-slider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0,212,255,0.3);
}

/* ─── Particuliers hero cards ─── */
.particuliers-wrap {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.p-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.p-hero-text h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.p-hero-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ─── Delivery estimator card ─── */
.estimator-card {
  padding: 32px;
  background: rgba(15,22,40,0.8);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 60px rgba(0,212,255,0.08);
  position: relative;
  overflow: hidden;
}

.estimator-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top right, rgba(123,44,191,0.15), transparent 40%);
  pointer-events: none;
}

.estimator-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 4px;
}

.estimator-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.est-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.est-row label {
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.est-input {
  padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.est-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

.size-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.size-chip {
  padding: 10px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.size-chip.selected {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.1);
  box-shadow: 0 0 20px rgba(0,212,255,0.1);
}

.size-chip-icon { font-size: 18px; }
.size-chip-name { font-size: 12px; font-weight: 600; margin-top: 4px; }
.size-chip-dim { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

.est-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(123,44,191,0.1));
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 14px;
  position: relative;
  z-index: 1;
}

.est-total-label { font-size: 12px; color: var(--text-secondary); }
.est-total-price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--cyan);
}

.est-total-note { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ─── Service cards for particuliers ─── */
.p-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}

.p-service-card {
  padding: 28px 22px;
  background: rgba(15,22,40,0.5);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.p-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.p-service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transition: width 0.4s ease;
}

.p-service-card:hover::after { width: 100%; }

.p-service-emoji {
  font-size: 30px;
  margin-bottom: 14px;
  display: block;
}

.p-service-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.p-service-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.p-service-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
}

/* ─── Tracking mockup ─── */
.tracking-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.phone-mockup {
  width: 320px;
  height: 640px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a1f33, #0a0e1a);
  border: 10px solid #0a0e1a;
  border-radius: 40px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,212,255,0.15);
  position: relative;
  overflow: hidden;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #0a0e1a;
  border-radius: 100px;
  z-index: 3;
}

.phone-screen {
  position: absolute;
  inset: 0;
  padding: 50px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.phone-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.phone-greet { font-size: 12px; color: var(--text-muted); }
.phone-name { font-size: 16px; font-weight: 700; }

.phone-card {
  padding: 14px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 14px;
}

.phone-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(0,230,118,0.12);
  color: var(--success);
  font-weight: 600;
  margin-bottom: 10px;
}

.phone-order-id {
  font-family: monospace;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.phone-order-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.phone-route-visual {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.phone-route-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  flex-shrink: 0;
}

.phone-route-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 70%, rgba(255,255,255,0.1) 70%);
  position: relative;
  border-radius: 2px;
}

.phone-route-line::after {
  content: '🚚';
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  animation: truck-move 3s ease-in-out infinite;
}

@keyframes truck-move {
  0%, 100% { left: 55%; }
  50% { left: 65%; }
}

.phone-route-flag {
  font-size: 14px;
  flex-shrink: 0;
}

.phone-eta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  color: var(--text-muted);
}

.phone-timeline {
  padding: 14px;
  background: rgba(255,255,255,0.02);
  border-radius: 14px;
}

.phone-timeline-title {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.phone-tl-row {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  position: relative;
}

.phone-tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 3px;
  flex-shrink: 0;
}

.phone-tl-dot.done {
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

.phone-tl-dot.active {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: dot-pulse 1.5s ease-in-out infinite;
}

.phone-tl-dot.pending {
  background: rgba(255,255,255,0.15);
}

.phone-tl-text { font-size: 12px; color: var(--text-primary); }
.phone-tl-time { font-size: 10px; color: var(--text-muted); margin-top: 1px; }

/* ─── Particuliers testimonials (different style) ─── */
.p-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}

.p-testimonial {
  padding: 22px;
  background: rgba(15,22,40,0.5);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.p-testimonial:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-3px);
}

.p-test-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.p-test-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,212,255,0.25), rgba(123,44,191,0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.p-test-name { font-size: 13px; font-weight: 700; }
.p-test-city { font-size: 11px; color: var(--text-muted); }

.p-test-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .p-hero-grid { grid-template-columns: 1fr; }
  .p-services { grid-template-columns: repeat(2, 1fr); }
  .tracking-section { grid-template-columns: 1fr; }
  .p-testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .p-services { grid-template-columns: 1fr; }
  .particuliers-wrap { padding: 40px 20px; }
  .size-chips { grid-template-columns: 1fr; }
}
