/* RiderPro public site — design system */
:root {
  --rp-navy: #0a0f1a;
  --rp-navy-mid: #121a2e;
  --rp-navy-soft: #1c2740;
  --rp-accent: #00c9a7;
  --rp-accent-hover: #00e0bb;
  --rp-sky: #38bdf8;
  --rp-text: #e2e8f0;
  --rp-text-muted: #94a3b8;
  --rp-card: #ffffff;
  --rp-radius: 1rem;
  --rp-radius-lg: 1.25rem;
  --rp-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 12px 24px -4px rgba(15, 23, 42, 0.12);
  --rp-shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.25);
  --rp-font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

.rp-site {
  font-family: var(--rp-font);
  color: #1e293b;
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
}

/* Navbar */
.rp-navbar {
  background: rgba(10, 15, 26, 0.94) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  align-items: center;
}

.rp-navbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  row-gap: 0.35rem;
}

@media (max-width: 991.98px) {
  .rp-navbar__collapse {
    width: 100%;
    padding-top: 0.75rem;
    margin-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.rp-navbar__toggler {
  padding: 0.4rem 0.55rem;
}

@media (min-width: 992px) {
  .rp-navbar__collapse {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    width: auto;
  }
}

.rp-navbar__core {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

@media (min-width: 992px) {
  .rp-navbar__core {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.2rem;
    padding-inline: 0.5rem 1rem;
  }
}

.rp-navbar__actions {
  padding-bottom: 0.25rem;
}

@media (min-width: 992px) {
  .rp-navbar__actions {
    flex-direction: row !important;
    align-items: center !important;
    padding-bottom: 0;
    gap: 0.65rem !important;
  }
}

.rp-nav-link {
  color: var(--rp-text-muted) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.55rem 0.8rem !important;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.rp-nav-link:hover,
.rp-nav-link:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07);
}

.rp-navbar .dropdown-toggle::after {
  vertical-align: 0.15em;
  margin-left: 0.35em;
}

.rp-navbar .dropdown-menu.rp-nav-dropdown {
  min-width: 12rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 0.4rem;
  margin-top: 0.35rem !important;
}

.rp-navbar .dropdown-item {
  border-radius: 0.4rem;
  font-size: 0.875rem;
  padding: 0.45rem 0.75rem;
}

.rp-navbar .dropdown-item:active,
.rp-navbar .dropdown-item:focus {
  background: rgba(0, 201, 167, 0.2);
  color: #fff;
}

.rp-nav-book {
  font-weight: 700;
  border-radius: 0.5rem;
  border: none;
  color: #0a0f1a !important;
  background: linear-gradient(135deg, var(--rp-accent), #0d9488);
  box-shadow: 0 2px 12px rgba(0, 201, 167, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.rp-nav-book--solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 1.2rem !important;
  font-size: 0.875rem;
  line-height: 1.2;
  white-space: nowrap;
}

.rp-nav-book:hover {
  color: #0a0f1a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0, 201, 167, 0.45);
}

.rp-nav-outline {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.2;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.rp-nav-outline:hover,
.rp-nav-outline:focus,
.rp-nav-outline.show {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.rp-nav-outline.dropdown-toggle::after {
  margin-left: auto;
}

@media (min-width: 992px) {
  .rp-nav-outline.dropdown-toggle::after {
    margin-left: 0.4rem;
  }
}

.rp-brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rp-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rp-accent), var(--rp-sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--rp-navy);
  flex-shrink: 0;
}

.rp-brand-mark--footer {
  font-size: 1rem;
}

.rp-brand-text {
  letter-spacing: -0.03em;
}

/* Hero */
.rp-hero {
  position: relative;
  background:
    linear-gradient(165deg, #050810 0%, var(--rp-navy) 38%, #0c2744 72%, #082f49 100%);
  color: #fff;
  padding: clamp(3rem, 8vw, 5.75rem) 0;
  overflow: hidden;
}

.rp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 201, 167, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(56, 189, 248, 0.15), transparent 45%),
    radial-gradient(ellipse 50% 30% at 70% 80%, rgba(0, 201, 167, 0.08), transparent 40%);
  pointer-events: none;
}

.rp-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, #f8fafc, transparent);
  pointer-events: none;
}

.rp-hero-inner {
  position: relative;
  z-index: 1;
}

.rp-hero-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(56, 189, 248, 0.95);
  margin-bottom: 0.75rem;
}

.rp-hero-brand {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.rp-hero-trust {
  gap: 1rem 1.25rem !important;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
}

.rp-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.rp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--rp-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.rp-hero h1 {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  max-width: 18ch;
}

.rp-hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--rp-text-muted);
  max-width: 36rem;
  line-height: 1.65;
}

.rp-hero-visual {
  position: relative;
}

/* App-style phone mock */
.rp-phone-wrap {
  position: relative;
  max-width: 340px;
}

.rp-phone {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: 2.35rem;
  padding: 0.55rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 25px 50px -12px rgba(0, 0, 0, 0.55),
    0 0 80px -20px rgba(0, 201, 167, 0.25);
}

.rp-phone__bar {
  height: 5px;
  width: 88px;
  margin: 0.35rem auto 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.rp-phone__screen {
  border-radius: 1.85rem;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rp-map {
  position: relative;
  height: 168px;
  background: linear-gradient(160deg, #0c1929 0%, #0f2847 55%, #134e4a 100%);
  overflow: hidden;
}

.rp-map__grid {
  position: absolute;
  inset: -40%;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 28px 28px;
  transform: rotate(-8deg);
}

.rp-map__route {
  position: absolute;
  left: 12%;
  top: 22%;
  width: 68%;
  height: 52%;
  border: dashed 2px rgba(0, 201, 167, 0.55);
  border-radius: 50% 40% 55% 45%;
  pointer-events: none;
}

.rp-map__pin {
  position: absolute;
  font-size: 1.15rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.rp-map__pin--a {
  left: 14%;
  top: 58%;
  color: #38bdf8;
}

.rp-map__pin--b {
  right: 16%;
  top: 18%;
  color: #fbbf24;
}

.rp-map__car {
  position: absolute;
  left: 42%;
  top: 40%;
  font-size: 1.25rem;
  color: var(--rp-accent);
  animation: rp-car-nudge 3.5s ease-in-out infinite;
}

@keyframes rp-car-nudge {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, -4px);
  }
}

.rp-trip-panel {
  padding: 1rem 1.1rem 1.15rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, #0f172a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rp-trip-panel__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.rp-trip-panel__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.95);
  font-weight: 700;
}

.rp-trip-panel__fare {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.rp-trip-panel__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ecfdf5;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  white-space: nowrap;
}

.rp-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: rp-pulse 1.8s ease-out infinite;
}

@keyframes rp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.rp-trip-panel__route {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.85rem;
}

.rp-trip-panel__line {
  height: 4px;
  margin: 0.35rem 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rp-accent), var(--rp-sky));
  opacity: 0.85;
}

.rp-driver-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rp-driver-row__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: #0f172a;
  background: linear-gradient(135deg, var(--rp-accent), #5eead4);
  flex-shrink: 0;
}

.rp-driver-row__meta {
  flex: 1;
  min-width: 0;
}

.rp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}

.rp-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.rp-float-card--1 {
  top: 8%;
  right: 0.25rem;
}

.rp-float-card--2 {
  bottom: 14%;
  left: 0.35rem;
  right: auto;
  max-width: min(220px, calc(100% - 0.75rem));
}

@media (min-width: 992px) {
  .rp-float-card--1 {
    right: -2%;
  }

  .rp-float-card--2 {
    left: 0.25rem;
    max-width: min(200px, 58%);
  }
}

@media (max-width: 991.98px) {
  .rp-float-card--1 {
    right: 0.25rem;
  }

  .rp-float-card--2 {
    left: 0.35rem;
  }
}

@media (max-width: 575.98px) {
  .rp-float-card {
    display: none;
  }
}

.rp-hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rp-radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.rp-home-quickbook form.row > [class*="col-"] {
  min-width: 0;
}

.rp-home-quickbook .form-control {
  width: 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #0a0f1a;
}

.rp-home-quickbook .btn {
  max-width: 100%;
}

.rp-home-quickbook .form-control::placeholder {
  color: rgba(10, 15, 26, 0.45);
}

.rp-home-quickbook .form-control:focus {
  border-color: var(--rp-accent);
  box-shadow: 0 0 0 0.2rem rgba(0, 201, 167, 0.25);
}

.rp-btn-primary {
  background: linear-gradient(135deg, var(--rp-accent), #0d9488);
  border: none;
  color: #0a0f1a !important;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.65rem;
  box-shadow: 0 4px 14px rgba(0, 201, 167, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.rp-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 201, 167, 0.45);
  color: #0a0f1a !important;
}

.rp-btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.65rem;
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
}

.rp-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff !important;
}

.rp-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s, border-color 0.2s;
}

.rp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
}

/* Stats strip */
.rp-stats {
  background: #fff;
  border-radius: var(--rp-radius-lg);
  box-shadow: var(--rp-shadow-lg);
  margin-top: -3rem;
  position: relative;
  z-index: 2;
  padding: 1.75rem 2rem;
}

.rp-stat-num {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  background: linear-gradient(135deg, #0f766e, var(--rp-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rp-stat-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (min-width: 768px) {
  .rp-stats .col-md-4:not(:first-child) {
    border-left: 1px solid #e2e8f0;
  }
}

/* Section titles */
.rp-section-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--rp-navy);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
}

.rp-section-sub {
  color: #64748b;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.rp-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f766e;
}

.rp-section-tight {
  padding-top: 0.5rem !important;
}

/* Value cards (rider trust) */
.rp-value-card {
  background: #fff;
  border-radius: var(--rp-radius-lg);
  padding: 1.75rem 1.85rem;
  height: 100%;
  border: 1px solid #e2e8f0;
  box-shadow: var(--rp-shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.rp-value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rp-shadow-lg);
  border-color: rgba(0, 201, 167, 0.22);
}

.rp-value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.12), rgba(56, 189, 248, 0.1));
  color: #0f766e;
}

/* Feature cards */
.rp-feature-card {
  position: relative;
  background: #fff;
  border-radius: var(--rp-radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid #e2e8f0;
  box-shadow: var(--rp-shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.rp-step-num {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  background: linear-gradient(135deg, var(--rp-accent), #5eead4);
}

.rp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rp-shadow-lg);
  border-color: rgba(0, 201, 167, 0.25);
}

.rp-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.15), rgba(56, 189, 248, 0.12));
  color: #0f766e;
}

.rp-feature-icon-sm {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Service / category pills */
.rp-pill-card {
  background: #fff;
  border-radius: var(--rp-radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rp-pill-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
}

.rp-pill-card__icon--sky {
  background: rgba(56, 189, 248, 0.15);
  color: #0284c7;
}

.rp-pill-card__icon--green {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.rp-pill-card__icon--amber {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.rp-pill-card:hover {
  border-color: var(--rp-accent);
  box-shadow: 0 8px 20px rgba(0, 201, 167, 0.12);
}

/* Testimonials */
.rp-quote {
  background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
  border-radius: var(--rp-radius-lg);
  padding: 2rem;
  border: 1px solid #e2e8f0;
  height: 100%;
}

.rp-quote-stars {
  color: #f59e0b;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
}

/* CTA band */
.rp-cta-band {
  background: linear-gradient(135deg, var(--rp-navy-mid) 0%, #134e4a 100%);
  color: #fff;
  border-radius: var(--rp-radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.rp-cta-band::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.2), transparent 70%);
  pointer-events: none;
}

/* App downloads */
.rp-download-section {
  position: relative;
  padding: 4.5rem 0 4rem;
  background: linear-gradient(165deg, var(--rp-navy) 0%, #0f2847 45%, #134e4a 100%);
  overflow: hidden;
}

.rp-download-section__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(0, 201, 167, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgba(99, 102, 241, 0.15), transparent 50%);
  pointer-events: none;
}

.rp-download-header {
  margin-bottom: 2.75rem;
  color: #fff;
}

.rp-download-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rp-accent);
  background: rgba(0, 201, 167, 0.12);
  border: 1px solid rgba(0, 201, 167, 0.35);
  margin-bottom: 1rem;
}

.rp-download-header__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.rp-download-header__sub {
  max-width: 36rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  line-height: 1.55;
}

.rp-app-card {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rp-app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.rp-app-card__shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.rp-app-card--rider:hover {
  box-shadow: 0 24px 48px rgba(0, 201, 167, 0.12);
}

.rp-app-card--captain:hover {
  box-shadow: 0 24px 48px rgba(99, 102, 241, 0.12);
}

.rp-app-card__phone-wrap {
  padding: 2rem 1.25rem 2rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rp-app-mini-phone {
  width: 148px;
  border-radius: 1.35rem;
  padding: 0.45rem;
  background: linear-gradient(145deg, #2a3548, #0a0f1a);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.rp-app-mini-phone__bar {
  width: 36%;
  height: 4px;
  margin: 0.15rem auto 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}

.rp-app-mini-phone__screen {
  border-radius: 1rem;
  padding: 1.25rem 0.85rem 1rem;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #121a2e 0%, #0a0f1a 100%);
}

.rp-app-mini-phone--captain .rp-app-mini-phone__screen {
  background: linear-gradient(180deg, #1e1b4b 0%, #0a0f1a 100%);
}

.rp-app-mini-phone__logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.rp-app-mini-phone__logo-fallback {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--rp-accent), #0d9488);
}

.rp-app-mini-phone--captain .rp-app-mini-phone__logo-fallback {
  background: linear-gradient(135deg, #818cf8, #4f46e5);
}

.rp-app-mini-phone__label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.rp-app-mini-phone__tag {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.15rem;
  margin-bottom: 0.85rem;
}

.rp-app-mini-phone__tiles {
  display: flex;
  gap: 0.35rem;
  width: 100%;
  margin-top: auto;
}

.rp-app-mini-phone__tiles span {
  flex: 1;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 201, 167, 0.2);
  border: 1px solid rgba(0, 201, 167, 0.25);
}

.rp-app-mini-phone__tiles--captain span {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.rp-app-card__body {
  padding: 1.75rem 1.5rem 1.75rem 0.5rem;
  color: #fff;
}

@media (max-width: 575.98px) {
  .rp-app-card__body {
    padding: 0 1.5rem 1.75rem;
    text-align: center;
  }

  .rp-app-card__features {
    justify-content: center;
  }

  .rp-app-card__actions {
    display: flex;
    justify-content: center;
  }
}

.rp-app-card__pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.65rem;
}

.rp-app-card__pill--rider {
  color: #5eead4;
  background: rgba(0, 201, 167, 0.15);
}

.rp-app-card__pill--captain {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.2);
}

.rp-app-card__title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.rp-app-card__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.rp-app-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.rp-app-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.rp-app-card__features li i {
  color: var(--rp-accent);
  font-size: 0.95rem;
}

.rp-app-card--captain .rp-app-card__features li i {
  color: #a5b4fc;
}

.rp-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.15rem 0.65rem 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--rp-accent), #0d9488);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 201, 167, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rp-store-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 201, 167, 0.45);
}

.rp-store-btn--captain {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.rp-store-btn--captain:hover {
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.45);
}

.rp-store-btn--soon {
  opacity: 0.55;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.1);
}

.rp-store-btn__icon {
  font-size: 1.75rem;
  line-height: 1;
  opacity: 0.95;
}

.rp-store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.rp-store-btn__text small {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.rp-store-btn__text strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.rp-download-footer-note {
  margin-top: 2.25rem;
  margin-bottom: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Footer */
.rp-footer {
  background: var(--rp-navy);
  color: var(--rp-text-muted);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}

.rp-footer a {
  color: var(--rp-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.rp-footer a:hover {
  color: var(--rp-accent);
}

.rp-footer h6 {
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.rp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

/* Inner pages */
.rp-page-hero {
  background: linear-gradient(135deg, var(--rp-navy) 0%, #164e63 100%);
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.rp-page-hero h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.rp-page-hero--compact {
  padding: 1.75rem 0 2rem;
}

.rp-page-hero--compact h1 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

/* Rider account sub-navigation */
.rp-rider-subnav {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.rp-rider-subnav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.rp-rider-subnav__link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.rp-rider-subnav__link.is-active {
  background: rgba(0, 201, 167, 0.12);
  color: #0f766e;
}

.rp-trip-card {
  border: 1px solid #e2e8f0;
}

.rp-prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

.rp-prose h2,
.rp-prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--rp-navy);
}

.rp-prose p {
  margin-bottom: 1rem;
}

.rp-prose ul {
  padding-left: 1.25rem;
}

.rp-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--rp-radius);
}

/* Forms (contact, driver register) */
.rp-form-card {
  background: #fff;
  border-radius: var(--rp-radius-lg);
  box-shadow: var(--rp-shadow);
  border: 1px solid #e2e8f0;
}

.rp-form-card .form-control,
.rp-form-card .form-select {
  border-radius: 0.6rem;
  border-color: #cbd5e1;
  padding: 0.65rem 0.9rem;
}

.rp-form-card .form-control:focus,
.rp-form-card .form-select:focus {
  border-color: var(--rp-accent);
  box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.15);
}

/* —— Driver registration (professional layout) —— */
.rp-register-page--pro {
  background: #f4f6f9;
  min-height: 100%;
}

.rp-reg-header {
  background: #fff;
  border-bottom: 1px solid #e8ecf1;
  padding: 1.25rem 0 0;
}

.rp-reg-header__inner {
  padding-bottom: 1.5rem;
}

.rp-reg-breadcrumb .breadcrumb {
  --bs-breadcrumb-divider-color: #94a3b8;
}

.rp-reg-breadcrumb .breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
}

.rp-reg-breadcrumb .breadcrumb-item a:hover {
  color: #0f766e;
}

.rp-reg-breadcrumb .breadcrumb-item.active {
  color: #1e293b;
  font-weight: 600;
}

.rp-reg-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0;
}

.rp-reg-title {
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #0f172a;
  margin: 0;
}

.rp-reg-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: #64748b;
  max-width: 38rem;
}

.rp-reg-meta-card {
  background: #f8fafc;
  border: 1px solid #e8ecf1;
  border-radius: 0.875rem;
  padding: 1rem 1.15rem;
}

.rp-reg-meta-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid #e8ecf1;
}

.rp-reg-link {
  color: #0f766e;
  text-decoration: none;
}

.rp-reg-link:hover {
  text-decoration: underline;
}

.rp-reg-process {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid #e8ecf1;
}

.rp-reg-process__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
}

.rp-reg-process__item--active {
  color: #0f172a;
}

.rp-reg-process__item--active .rp-reg-process__dot {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.rp-reg-process__dot {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  background: #fff;
  border: 2px solid #e2e8f0;
  color: #64748b;
}

.rp-reg-process__bar {
  flex: 1;
  height: 2px;
  background: #e8ecf1;
  margin: 0 0.35rem;
  min-width: 1.5rem;
}

.rp-reg-body {
  padding-top: 2rem;
}

.rp-register-sidebar {
  position: relative;
}

@media (min-width: 992px) {
  .rp-reg-aside {
    position: sticky;
    top: 5.5rem;
  }
}

.rp-reg-aside {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 0.875rem;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  border-left: 3px solid var(--rp-accent);
}

.rp-reg-aside__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.rp-reg-aside__title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.rp-reg-aside__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.rp-reg-aside__list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #475569;
}

.rp-reg-aside__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0f766e;
  opacity: 0.65;
}

.rp-reg-aside__note {
  background: #f8fafc;
  border-radius: 0.65rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.rp-reg-aside__links {
  font-size: 0.8125rem;
}

.rp-reg-aside__links a {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}

.rp-reg-aside__links a:hover {
  text-decoration: underline;
}

.rp-reg-form-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 0.875rem;
  padding: 1.75rem 1.75rem 2rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
  .rp-reg-form-card {
    padding: 2.25rem 2.5rem 2.5rem;
  }
}

.rp-reg-form-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e8ecf1;
}

.rp-reg-form-card__title {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0;
}

.rp-reg-form-card__hint {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0.25rem 0 0;
}

.rp-reg-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

.rp-reg-trust-badge .bi {
  color: #0f766e;
}

.rp-reg-section {
  margin-bottom: 2.25rem;
}

.rp-reg-section:last-of-type {
  margin-bottom: 1.5rem;
}

.rp-reg-section__head {
  margin-bottom: 1.25rem;
}

.rp-reg-section__title {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.rp-reg-section__desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
  max-width: 36rem;
}

.rp-reg-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
}

.rp-reg-label-optional {
  font-weight: 500;
  color: #94a3b8;
  text-transform: none;
}

.rp-reg-field-hint {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0.35rem 0 0;
}

.rp-reg-control {
  border-radius: 0.5rem !important;
  border: 1px solid #d1d9e6 !important;
  background: #fafbfc !important;
  padding: 0.65rem 0.85rem !important;
  font-size: 0.9375rem;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.rp-reg-control:hover {
  border-color: #b8c4d4 !important;
}

.rp-reg-control:focus {
  border-color: var(--rp-accent) !important;
  box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.12) !important;
  background: #fff !important;
}

.rp-reg-control--mono {
  font-variant-numeric: tabular-nums;
}

.rp-reg-terms {
  background: #f8fafc;
  border: 1px solid #e8ecf1;
  border-radius: 0.65rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
}

.rp-reg-terms__label {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #475569;
}

.rp-reg-terms__label a {
  color: #0f766e;
  font-weight: 600;
}

.rp-reg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.rp-reg-btn-primary {
  background: #0f172a !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  padding: 0.65rem 1.5rem !important;
  border-radius: 0.5rem !important;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.rp-reg-btn-primary:hover {
  background: #1e293b !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.rp-reg-btn-secondary {
  background: #fff !important;
  border: 1px solid #d1d9e6 !important;
  color: #334155 !important;
  font-weight: 600;
  padding: 0.65rem 1.35rem !important;
  border-radius: 0.5rem !important;
}

.rp-reg-btn-secondary:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

.rp-reg-btn-ghost {
  background: transparent !important;
  border: none !important;
  color: #64748b !important;
  font-weight: 600;
}

.rp-reg-btn-ghost:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}

/* File drop */
.rp-file-drop {
  display: block;
  cursor: pointer;
  margin: 0;
  position: relative;
}

.rp-file-drop .visually-hidden:focus + .rp-file-drop__ui {
  border-color: var(--rp-accent);
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.1);
  background: #fff;
}

.rp-file-drop__ui {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px dashed #c5cdd8;
  border-radius: 0.65rem;
  background: #fafbfc;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.rp-file-drop:hover .rp-file-drop__ui {
  border-color: #0f766e;
  background: rgba(0, 201, 167, 0.04);
}

.rp-file-drop:focus-within .rp-file-drop__ui {
  border-color: var(--rp-accent);
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.1);
  background: #fff;
}

.rp-file-drop--has-file .rp-file-drop__ui {
  border-style: solid;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.rp-file-drop__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: #fff;
  border: 1px solid #e8ecf1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #0f766e;
  flex-shrink: 0;
}

.rp-file-drop__text {
  min-width: 0;
  flex: 1;
}

.rp-file-drop__title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
}

.rp-file-drop__name {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.15rem;
  word-break: break-word;
}

.rp-file-drop--error .rp-file-drop__ui {
  border-color: #fca5a5 !important;
  border-style: solid !important;
  background: #fef2f2 !important;
}

/* Success (inline card) */
.rp-reg-success-card {
  text-align: center;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 0.875rem;
  padding: 3rem 1.5rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.rp-reg-success-card__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #047857;
}

.rp-reg-success-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.rp-reg-success-card__text {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 26rem;
  margin: 0 auto 1.5rem;
}

.rp-reg-success-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

/* Success modal */
.modal.rp-reg-modal .modal-dialog {
  max-width: 440px;
}

.rp-reg-modal__content {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.rp-reg-modal__header {
  position: relative;
  text-align: center;
  padding: 2.25rem 1.75rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #e8ecf1;
}

.rp-reg-modal__close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  opacity: 0.5;
}

.rp-reg-modal__close:hover {
  opacity: 0.85;
}

.rp-reg-modal__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #047857;
}

.rp-reg-modal__title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0;
}

.rp-reg-modal__subtitle {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0.35rem 0 0;
}

.rp-reg-modal__body {
  padding: 1.5rem 1.75rem 0.5rem;
}

.rp-reg-modal__message {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.25rem;
}

.rp-reg-modal__section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.rp-reg-modal__list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #475569;
}

.rp-reg-modal__list li {
  margin-bottom: 0.5rem;
}

.rp-reg-modal__footer {
  border: none;
  padding: 1rem 1.75rem 1.75rem;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 991.98px) {
  .rp-register-page--pro .rp-register-sidebar {
    margin-top: 0.5rem;
  }
}

/* Utilities */
.rp-bg-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.rp-text-gradient {
  background: linear-gradient(135deg, #0f766e, var(--rp-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

main.rp-main {
  min-height: 50vh;
}

/* FAQ accordion polish */
.rp-faq .accordion-button {
  font-size: 0.95rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  color: var(--rp-navy);
  box-shadow: none !important;
}

.rp-faq .accordion-button:not(.collapsed) {
  background: linear-gradient(180deg, rgba(0, 201, 167, 0.08) 0%, #fff 100%);
  color: #0f172a;
}

.rp-faq .accordion-button::after {
  filter: grayscale(1) brightness(0.35);
}

.rp-faq .accordion-body {
  padding-top: 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 1.15rem;
}

.rp-link-accent {
  color: #0f766e !important;
}

.rp-link-accent:hover {
  color: #0d9488 !important;
}

/* Rider book — route cards & map */
.rp-book-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rp-book-leg {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  box-shadow: var(--rp-shadow);
}

.rp-book-leg--from {
  border-bottom-left-radius: 0.35rem;
  border-bottom-right-radius: 0.35rem;
  border-bottom: none;
  padding-bottom: 1.5rem;
}

.rp-book-leg--to {
  border-top-left-radius: 0.35rem;
  border-top-right-radius: 0.35rem;
  margin-top: -0.5rem;
  position: relative;
  z-index: 1;
}

.rp-book-leg__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.rp-book-leg--from .rp-book-leg__icon {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(14, 165, 233, 0.12));
  color: #0369a1;
}

.rp-book-leg--to .rp-book-leg__icon {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.12));
  color: #b45309;
}

.rp-book-leg__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.rp-book-input {
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  font-weight: 600;
  color: #0f172a;
}

.rp-book-input:focus {
  box-shadow: none !important;
}

.rp-book-map {
  width: 100%;
  height: 240px;
  border-radius: var(--rp-radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
}

.rp-book-route-meta {
  min-height: 1.25rem;
}

.rp-book-metric {
  background: #f8fafc;
  font-weight: 600;
}

@media (min-width: 992px) {
  .rp-book-estimate--sticky {
    position: sticky;
    top: 5.75rem;
  }
}

.rp-book-live-badge {
  font-size: 0.65rem;
  font-weight: 700;
}

/* Rider book — panel, route stats, estimate polish */
.rp-book-panel.rp-form-card {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.rp-book-panel .rp-book-stack .rp-book-leg {
  box-shadow: none;
  border-color: #e2e8f0;
}

.rp-book-section-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.rp-book-map-wrap {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.rp-book-panel .rp-book-map {
  height: 220px;
}

@media (min-width: 768px) {
  .rp-book-panel .rp-book-map {
    height: 300px;
  }
}

.rp-book-route-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #475569;
  background: #f1f5f9;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}

.rp-book-stat-card {
  height: 100%;
  padding: 1rem 1.15rem;
  background: linear-gradient(165deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.rp-book-stat-card__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.rp-book-stat-card__value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.rp-book-stat-card__value--lg {
  font-size: 1.65rem;
}

.rp-book-stat-card__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.rp-book-estimate {
  position: relative;
  overflow: hidden;
}

.rp-book-estimate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00c9a7, #38bdf8);
  border-radius: var(--rp-radius-lg) var(--rp-radius-lg) 0 0;
}

.rp-book-estimate__eyebrow {
  letter-spacing: 0.08em;
}

.rp-book-estimate-lines {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rp-book-estimate-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.rp-book-estimate-line:last-of-type {
  border-bottom: none;
}

.rp-book-estimate-line__label {
  color: #64748b;
  flex-shrink: 0;
}

.rp-book-estimate-line__value {
  font-weight: 600;
  color: #0f172a;
  text-align: right;
}

.rp-book-estimate-line--total {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
  border-bottom: none;
}

.rp-book-next__list {
  list-style: none;
}

.rp-book-next__item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}

.rp-book-next__num {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0f766e;
  background: rgba(0, 201, 167, 0.12);
  border-radius: 0.5rem;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* —— Mobile bottom tab bar (app-style dock) —— */
@media (max-width: 991.98px) {
  body.rp-site--mobile-tabbar {
    padding-bottom: calc(4.65rem + env(safe-area-inset-bottom, 0px));
  }
}

.rp-mtab {
  display: none;
}

@media (max-width: 991.98px) {
  .rp-mtab {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    justify-content: space-around;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    margin: 0 auto;
    max-width: 100%;
    background: rgba(10, 15, 26, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  }
}

.rp-mtab__item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.35rem 0.25rem;
  text-decoration: none;
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 0.65rem;
  transition: color 0.2s, background 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.rp-mtab__item:active {
  transform: scale(0.96);
}

.rp-mtab__item:hover,
.rp-mtab__item:focus-visible {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.rp-mtab__item.is-active {
  color: #fff;
  background: rgba(0, 201, 167, 0.12);
}

.rp-mtab__glyph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.rp-mtab__item.is-active .rp-mtab__glyph {
  background: linear-gradient(145deg, rgba(0, 201, 167, 0.25), rgba(56, 189, 248, 0.12));
  border-color: rgba(0, 201, 167, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 201, 167, 0.2), 0 4px 14px rgba(0, 201, 167, 0.15);
  color: #5eead4;
}

.rp-mtab__glyph i {
  display: block;
  line-height: 1;
}

/* Animated ride icon — subtle “on the move” motion */
.rp-mtab__glyph--ride i {
  animation: rp-mtab-car 2.4s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes rp-mtab-car {
  0%,
  100% {
    transform: translateX(0) scale(1);
  }
  25% {
    transform: translateX(3px) scale(1.04);
  }
  50% {
    transform: translateX(-2px) scale(1);
  }
  75% {
    transform: translateX(2px) scale(1.03);
  }
}

/* Animated driver icon — gauge / control motion */
.rp-mtab__glyph--driver i {
  animation: rp-mtab-wheel 2.8s ease-in-out infinite;
  transform-origin: 50% 50%;
}

@keyframes rp-mtab-wheel {
  0%,
  100% {
    transform: rotate(-18deg);
  }
  50% {
    transform: rotate(18deg);
  }
}

.rp-mtab__item.is-active .rp-mtab__glyph--ride i,
.rp-mtab__item.is-active .rp-mtab__glyph--driver i {
  animation-duration: 1.6s;
}

@media (prefers-reduced-motion: reduce) {
  .rp-mtab__glyph--ride i,
  .rp-mtab__glyph--driver i {
    animation: none !important;
  }
}

.rp-mtab__label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
