:root {
  --blue: #0ea5e9;
  --blue-dark: #0284c7;
  --green: #10b981;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fbff;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  direction: rtl;
}

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

.page {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 22px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.brand-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.brand-subtitle {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 16px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 34px;
  background: #07111f;
  display: flex;
  justify-content: center;
  padding: 42px 60px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.58)), url("./assets/wajeep-hero-delivery.jpg") center/cover;
}

.hero-content {
  position: relative;
  width: min(560px, 56%);
  margin-right: auto;
  text-align: right;
  color: #fff;
}

.kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.28);
  color: #e0f2fe;
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.35;
}

.hero p {
  color: #e2e8f0;
  line-height: 1.9;
  font-size: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.stat-pill {
  min-width: 96px;
  padding: 10px 14px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
}

.stat-pill strong {
  display: block;
  font-size: 17px;
}

.stat-pill span {
  display: block;
  color: #dbeafe;
  font-size: 11px;
  margin-top: 3px;
}

.section-heading {
  max-width: 720px;
  margin: 46px auto 18px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 26px;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.8;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  text-align: right;
}

.icon {
  font-size: 28px;
}

.card h3 {
  margin: 10px 0 8px;
  font-size: 16px;
}

.card p,
.content-card p,
.content-card li {
  color: var(--muted);
  line-height: 1.85;
}

.why-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: #dcfce7;
  color: #15803d;
  text-align: center;
  line-height: 28px;
  font-weight: 900;
  flex: 0 0 auto;
}

.footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 46px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.content-card h1 {
  margin-top: 0;
}

.notice {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  border-radius: 16px;
  padding: 14px;
  margin: 16px 0;
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.secondary-button {
  background: #eff6ff;
  color: var(--blue-dark);
  border: 1px solid #bfdbfe;
}

.tracking-card {
  max-width: 760px;
}

.tracking-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.tracking-brand img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.tracking-brand h1 {
  margin: 0;
}

.tracking-brand p {
  margin: 6px 0 0;
}

.public-status {
  background: var(--blue);
  color: #fff;
  border-radius: 22px;
  padding: 22px;
  text-align: center;
  margin-bottom: 16px;
}

.public-status span {
  display: block;
  color: #e0f2fe;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.public-status strong {
  display: block;
  font-size: 26px;
}

.tracking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tracking-item {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.tracking-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 7px;
}

.tracking-item strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

.money-total {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.money-total span,
.money-total strong {
  color: #166534;
}

.money-total strong {
  font-size: 18px;
}

.driver-public-card {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.driver-public-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.tracking-footer {
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
  margin: 18px 0 0;
}

.error-notice {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

@media (max-width: 760px) {
  .page {
    padding: 16px;
  }

  .topbar,
  .nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 520px;
    padding: 28px 22px;
    align-items: flex-end;
  }

  .hero-content {
    width: 100%;
  }

  .grid,
  .why-grid,
  .audience-grid,
  .tracking-grid {
    grid-template-columns: 1fr;
  }
}
