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

/* :root {
    --primary: #2f6f6d;
    --primary-dark: #255a58;
    --accent: #c67c4e;
    --bg: #fcfcfb;
    --bg-soft: #f4f6f6;
    --card: #ffffff;
    --border: #e5e7eb;
    --text: #1f2937;
    --muted: #6b7280;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 18px;
    --radius-sm: 12px;
    --max-width: 1140px;
} */
:root {
  /* === PRIMARY (Kabay Brand) === */
  --primary: #ffb400;
  --primary-dark: #e6a200;
  --primary-medium: #fffbf0; /* lighter shade for backgrounds */
  --primary-soft: #fffefa; /* lighter shade for backgrounds */

  /* === ACCENT (supporting color - optional) === */
  --accent: #3b82f6; /* soft blue for contrast (trust, info) */

  /* === BACKGROUNDS === */
  --bg: #fcfcfb;
  --bg-soft: #f8fafc;

  /* === SURFACES === */
  --card: #ffffff;
  --border: #e5e7eb;

  /* === TEXT === */
  --text: #1f2937;
  --muted: #6b7280;

  /* === EFFECTS === */
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);

  /* === LAYOUT === */
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1140px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

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

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 4rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow-icon {
  width: 18px;
  height: 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 720px;
  font-size: 1.05rem;
}

.nav-links a:hover {
  color: var(--primary);
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* HERO */
.hero {
  padding: 5.5rem 0 4rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(198, 124, 78, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at left top,
      rgba(47, 111, 109, 0.09),
      transparent 28%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 1.25rem;
  max-width: 12ch;
}

.hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.phone-mockup {
  background: linear-gradient(180deg, #ffffff, #f6f8f8);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 1rem;
  box-shadow: var(--shadow);
  max-width: 390px;
  margin-left: auto;
}

.phone-screen {
  background: var(--bg);
  border-radius: 24px;
  border: 1px solid #edf0f2;
  padding: 1rem;

  height: 620px;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* important */
  position: relative;
}

.phone-screen::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);

  width: 60px;
  height: 6px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;

  z-index: 2;
}

.phone-screen::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  height: 40px;
  background: linear-gradient(to bottom, transparent, #f9fbfb);

  pointer-events: none;
  z-index: 1;
}

/* HEADER stays fixed */
.mock-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.22rem;
}

/* ONLY THIS scrolls */
.mock-content {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 4px; /* space for scrollbar */
  padding-bottom: 30px;
}
.mock-content::-webkit-scrollbar {
  width: 6px;
}

.mock-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.mini-pill {
  width: fit-content;
  background: rgba(47, 111, 109, 0.1);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.mock-topbar {
  display: flex;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
}

.mock-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.mock-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--border);
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}
.mock-search svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.mock-search span {
  flex: 1;
  margin-left: 8px;
}
/* .mock-search .search-icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
} */

.courier-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.2s ease;
}
.courier-card:hover {
  transform: translateY(-2px);
}

.courier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.courier-name {
  font-weight: 700;
}

.courier-zone {
  font-size: 0.92rem;
  color: var(--muted);
}

.courier-zone-icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
  flex-shrink: 0;
}

.courier-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}
.courier-tag.available {
  background: #e7f9e6;
  color: #0aae20c8;
}

.courier-cta {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  padding: 0.8rem;
  font-weight: 700;
}

/* CONTEXT */
.context-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.context-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.context-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.context-card p {
  color: var(--muted);
}

/* FEATURES */
.features-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.feature-lead {
  background: linear-gradient(180deg, #ffffff, #f7f8f8);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.feature-lead p {
  color: var(--muted);
  margin-top: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary-medium);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* HOW */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.step {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-weight: 800;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.step p {
  color: var(--muted);
}

/* CTA / COMING SOON */

.coming-soon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 32px;
  padding: 3rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.coming-soon p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin-top: 0.75rem;
}

.coming-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 1.5rem;
}

.coming-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.coming-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

/* ICON STYLE */
.icon {
  width: 18px;
  height: 18px;
  color: white;
  flex-shrink: 0;
}

.icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrapper svg {
  width: 18px;
  height: 18px;
  color: white;
}

.coming-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-light {
  background: white;
  color: var(--primary-dark);
}

.btn-light:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid,
  .features-wrap,
  .coming-soon {
    grid-template-columns: 1fr;
  }
  .phone-mockup {
    margin: 0;
  }

  .context-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .coming-soon {
    padding: 2rem;
  }
}

@media (max-width: 560px) {
  .section,
  .section-sm {
    padding: 3.5rem 0;
  }

  .hero-actions,
  .coming-actions {
    flex-direction: column;
  }

  .btn,
  .btn-light,
  .btn-ghost {
    width: 100%;
  }

  .hero h1 {
    max-width: none;
  }

  .phone-screen {
    min-height: auto;
  }
}
