/* ════════════════════════════════════════════════
   TransiTrack — Landing Page CSS
   ════════════════════════════════════════════════ */

/* ── NAVBAR PROFILE ────────────────────────────── */
.nav-profile-wrap { position: relative; }
.nav-profile-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 12px 6px 6px;
  border-radius: 30px;
  background: var(--green-xlight);
  border: 1.5px solid var(--green-light);
  text-decoration: none; cursor: pointer;
  transition: all .2s;
}
.nav-profile-btn:hover { background: var(--green-light); }
.nav-avatar-img {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--green-light);
}
.nav-avatar-initials {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  color: #fff; font-size: .72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-profile-name { font-size: .82rem; font-weight: 700; color: var(--green-dark); line-height: 1; }
.nav-profile-role { font-size: .65rem; color: var(--muted); text-transform: capitalize; }
.nav-profile-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-md);
  min-width: 200px; padding: 6px; z-index: 200;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: all .2s;
}
.nav-profile-wrap:hover .nav-profile-dropdown,
.nav-profile-dropdown:hover {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.npd-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 8px; text-decoration: none;
  font-size: .855rem; font-weight: 600; color: var(--text);
  transition: background .15s;
}
.npd-item:hover { background: var(--bg); }
.npd-danger { color: #dc2626; }
.npd-danger:hover { background: #fef2f2; }

/* ── NAV BURGER MOBILE ─────────────────────────── */
.nav-burger {
  background: none; border: none; cursor: pointer;
  padding: 6px; display: flex; flex-direction: column; gap: 5px;
}
.nav-burger span {
  width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all .3s;
  display: block;
}
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Nav mobile */
.nav-mobile {
  display: none; flex-direction: column;
  background: #fff; padding: 0;
  border-top: 1px solid var(--border);
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.nav-mobile.open {
  display: flex; max-height: 400px;
  padding: .75rem .5rem 1rem;
}
.nav-mobile-link {
  padding: .75rem 1rem; font-size: .9rem; font-weight: 600;
  color: var(--text); text-decoration: none; border-radius: 9px;
  transition: background .15s;
}
.nav-mobile-link:hover { background: var(--green-xlight); color: var(--green); }
.nav-mobile-cta {
  margin: .5rem 1rem 0; padding: .875rem 1rem;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  color: #fff; border-radius: 11px; text-align: center;
  font-weight: 700; font-size: .9rem; text-decoration: none;
  transition: opacity .2s;
}
.nav-mobile-cta:hover { opacity: .9; color: #fff; }

/* ── HERO ──────────────────────────────────────── */
.hero-glow-2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  bottom: -100px; left: -80px; pointer-events: none;
}
.hcard-primary { border: 1px solid rgba(255,255,255,0.25) !important; }
.hcard-delivered { background: rgba(74,222,128,0.1) !important; border: 1px solid rgba(74,222,128,0.3) !important; }

/* ── FEATURE BADGE ─────────────────────────────── */
.feat-card { position: relative; }
.feat-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  color: #fff; font-size: .62rem; font-weight: 800;
  padding: 3px 9px; border-radius: 20px; letter-spacing: .5px;
}

/* ── ECOM STRIP ─────────────────────────────────── */
.ecom-pills-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: .75rem; }

/* ── STEPS ─────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-light), var(--green-mid), var(--green-light));
  z-index: 0;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-emoji-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}
.step-emoji {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
}
.step-num {
  position: absolute; top: -6px; right: -6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  color: #fff; font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(10,92,71,.3);
  z-index: 2;
}
.step-title { font-weight: 800; font-size: .95rem; margin-bottom: .5rem; color: var(--text); }
.step-desc  { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 991px) {
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .steps-grid::before { display: none; }
}
@media (max-width: 575px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .hero-inner { padding: 2.5rem 0; }
  .hero-title { font-size: 2rem; }
  .hero-stats-bar { grid-template-columns: 1fr 1fr; }
  .hero-stats-bar .hero-stat:last-child { grid-column: span 2; }
  .tt-tabs-wrap { width: 100%; display: flex; }
  .tt-tab-btn { flex: 1; padding: 9px 10px; font-size: .8rem; }
}
@media (max-width: 767px) {
  .hero-title { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .section-heading { font-size: clamp(1.5rem, 4vw, 2rem); }
  .price-card { margin-bottom: 0; }
}
