/* depoXpert Landing Page — Light Theme
   Logo palette:
     Navy  #1c3d6e  — headings, primary text, footer bg
     Teal  #17b5c8  — CTAs, icons, accent highlights
     Mid   #2563a8  — secondary blue elements
*/

/* ── Base Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #4b5563;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Animated Grid Background ───────────────────────────────── */
.grid-bg {
  background-image:
    linear-gradient(rgba(28,61,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,61,110,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Teal Glow (hero) ───────────────────────────────────────── */
.blue-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,181,200,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Navbar ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.98);
  border-bottom-color: rgba(28,61,110,0.1);
  box-shadow: 0 1px 16px rgba(28,61,110,0.07);
}

/* ── Mobile Nav ─────────────────────────────────────────────── */
#mobile-menu {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-top: 1px solid rgba(28,61,110,0.08);
  box-shadow: 0 8px 24px rgba(28,61,110,0.08);
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  display: block;
  padding: 14px 24px;
  color: #1c3d6e;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid rgba(28,61,110,0.05);
  transition: color 0.2s, background 0.2s;
}
#mobile-menu a:hover { background: #f0f9fb; color: #17b5c8; }

/* ── Eyebrow Chip ───────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #17b5c8;
  border: 1px solid rgba(23,181,200,0.4);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

/* ── Module Cards ───────────────────────────────────────────── */
.module-card {
  background: #ffffff;
  border: 1px solid rgba(28,61,110,0.1);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(28,61,110,0.06);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: default;
}
.module-card:hover {
  border-color: #17b5c8;
  transform: scale(1.02);
  box-shadow: 0 8px 28px rgba(23,181,200,0.12);
}
.module-card svg {
  width: 28px;
  height: 28px;
  color: #17b5c8;
  margin-bottom: 16px;
}

/* ── Dashboard Mockup ───────────────────────────────────────── */
.dashboard-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(28,61,110,0.14);
  overflow: hidden;
  border: 1px solid rgba(28,61,110,0.1);
}
.dashboard-card .top-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f0f9fb;
  border-bottom: 1px solid rgba(28,61,110,0.08);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red   { background: #ef4444; }
.dot-amber { background: #f59e0b; }
.dot-green { background: #22c55e; }

.kpi-tile {
  background: #f8fafc;
  border: 1px solid rgba(28,61,110,0.08);
  border-radius: 10px;
  padding: 14px 16px;
}
.kpi-tile .kpi-value {
  font-size: 22px;
  font-weight: 700;
  color: #1c3d6e;
  line-height: 1.2;
}
.kpi-tile .kpi-label {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Bar Chart (hero) ───────────────────────────────────────── */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
}
.bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.bar-pair {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  flex: 1;
  width: 100%;
}
.bar { border-radius: 2px 2px 0 0; flex: 1; }
.bar-in  { background: #1c3d6e; }
.bar-out { background: #17b5c8; }
.bar-label { font-size: 9px; color: #9ca3af; margin-top: 2px; }

/* ── Gate Pass Mockup ───────────────────────────────────────── */
.gate-card {
  background: #ffffff;
  border: 1px solid rgba(28,61,110,0.12);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 16px 48px rgba(28,61,110,0.12);
  position: relative;
}
.field-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(28,61,110,0.06);
}
.field-row:last-of-type { border-bottom: none; }
.field-label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.field-value {
  font-size: 14px;
  color: #1c3d6e;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(34,197,94,0.1);
  color: #16a34a;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}
.status-badge {
  position: absolute;
  top: 16px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
}
.badge-draft {
  background: rgba(156,163,175,0.15);
  color: #6b7280;
  padding: 3px 8px;
  border-radius: 4px;
}
.badge-arrow { color: #9ca3af; }
.badge-active {
  background: rgba(23,181,200,0.12);
  color: #17b5c8;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── Yard Grid Mockup ───────────────────────────────────────── */
.yard-grid {
  display: grid;
  grid-template-columns: repeat(6, 44px);
  grid-template-rows: repeat(4, 44px);
  gap: 4px;
}
.yard-cell {
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.cell-blue    { background: #2563a8; }
.cell-green   { background: #22c55e; }
.cell-red     { background: #ef4444; }
.cell-amber   { background: #f59e0b; }
.cell-span2   { grid-column: span 2; }

/* ── Zone Bar ───────────────────────────────────────────────── */
.zone-bar-wrap { margin-top: 20px; }
.zone-bar-row  { margin-bottom: 10px; }
.zone-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
}
.zone-bar-track {
  height: 6px;
  background: rgba(28,61,110,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.zone-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: #17b5c8;
}

/* ── Billing Breakdown Card ─────────────────────────────────── */
.billing-card {
  background: #ffffff;
  border: 1px solid rgba(28,61,110,0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(28,61,110,0.1);
}
.billing-header {
  padding: 16px 20px;
  background: #f0f9fb;
  border-bottom: 1px solid rgba(28,61,110,0.08);
  font-size: 13px;
  font-weight: 600;
  color: #1c3d6e;
}
.slab-table { width: 100%; border-collapse: collapse; }
.slab-table td {
  padding: 10px 20px;
  font-size: 13px;
  color: #4b5563;
  border-bottom: 1px solid rgba(28,61,110,0.05);
}
.slab-table tr:last-child td { border-bottom: none; }
.slab-table .free-text { color: #16a34a; font-weight: 500; }
.slab-total td {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
  color: #1c3d6e;
  border-top: 1px solid rgba(28,61,110,0.1) !important;
  border-bottom: none !important;
}
.slab-total .total-amount { color: #17b5c8; }

/* Billing mini-chart */
.billing-minichart {
  padding: 16px 20px;
  border-top: 1px solid rgba(28,61,110,0.06);
  background: #fafcfd;
}
.billing-minichart-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 48px;
}
.billing-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #17b5c8 0%, #1290a4 100%);
  min-height: 4px;
}

/* ── Report Cards ───────────────────────────────────────────── */
.report-cards-stack {
  position: relative;
  height: 320px;
}
.report-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(28,61,110,0.1);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 8px 28px rgba(28,61,110,0.1);
  width: 280px;
}
.report-card-1 { top: 0;   left: 0;  z-index: 3; }
.report-card-2 { top: 80px; left: 24px; z-index: 2; }
.report-card-3 { top: 170px; left: 48px; z-index: 1; }

.mini-bar-row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
  margin-top: 8px;
}
.mini-bar { border-radius: 2px 2px 0 0; flex: 1; }

.ageing-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 48px;
  margin-top: 8px;
}
.ageing-bar { border-radius: 3px 3px 0 0; flex: 1; }

.rev-bar-row { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.rev-bar-item { display: flex; align-items: center; gap: 8px; }
.rev-bar-label { font-size: 10px; color: #9ca3af; width: 56px; flex-shrink: 0; }
.rev-bar-track { flex: 1; height: 8px; background: rgba(28,61,110,0.07); border-radius: 4px; overflow: hidden; }
.rev-bar-fill  { height: 100%; border-radius: 4px; background: #17b5c8; }

/* ── Checklist ──────────────────────────────────────────────── */
.checklist { list-style: none; padding: 0; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #374151;
}
.checklist li .check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(23,181,200,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.checklist li .check-icon svg { width: 11px; height: 11px; color: #17b5c8; }

/* ── Additional Modules Grid ────────────────────────────────── */
.addon-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(28,61,110,0.08);
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(28,61,110,0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.addon-item:hover {
  border-color: rgba(23,181,200,0.4);
  box-shadow: 0 4px 16px rgba(23,181,200,0.1);
}
.addon-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(23,181,200,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.addon-icon svg { width: 18px; height: 18px; color: #17b5c8; }

/* ── Quote Block ────────────────────────────────────────────── */
.quote-mark {
  font-size: 80px;
  line-height: 0.8;
  color: #17b5c8;
  font-family: Georgia, serif;
  margin-bottom: 24px;
  display: block;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(23,181,200,0.1);
  border: 1px solid rgba(23,181,200,0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  color: #0f9aad;
  font-weight: 500;
}

/* ── Scroll Animations ──────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.slide-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* ── Slab Rate Table (text section) ────────────────────────── */
.slab-text-table {
  margin: 16px 0;
  border: 1px solid rgba(28,61,110,0.1);
  border-radius: 10px;
  overflow: hidden;
  font-size: 13px;
}
.slab-text-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(28,61,110,0.06);
  color: #4b5563;
}
.slab-text-row:last-child { border-bottom: none; }
.slab-text-row .slab-range { color: #1c3d6e; font-weight: 500; }
.slab-total-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(23,181,200,0.06);
  border-top: 1px solid rgba(23,181,200,0.2);
  font-weight: 600;
  color: #17b5c8;
  font-size: 14px;
}

/* ── Section Divider ────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(28,61,110,0.08), transparent);
}

/* ── Hamburger ──────────────────────────────────────────────── */
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #1c3d6e;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ── Report List ────────────────────────────────────────────── */
.report-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 20px;
}
.report-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4b5563;
}
.report-list-item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #17b5c8;
  flex-shrink: 0;
}

/* ── Misc ───────────────────────────────────────────────────── */
a { text-decoration: none; }
.stat-num { font-variant-numeric: tabular-nums; }

/* ── Footer (stays dark for visual anchor) ──────────────────── */
.footer-dark { background: #0e2449; }

@media (max-width: 640px) {
  .report-list { grid-template-columns: 1fr; }
  .report-cards-stack { height: auto; position: static; }
  .report-card { position: static; width: 100%; margin-bottom: 12px; }
  .yard-grid { grid-template-columns: repeat(6, 36px); grid-template-rows: repeat(4, 36px); }
  .yard-cell { border-radius: 4px; }
}
@media (max-width: 1024px) {
  .report-cards-stack { height: 380px; }
  .report-card { width: 260px; }
}
