:root {
  --navy: #06172b;
  --navy-2: #021024;
  --cream: #fbf4ea;
  --cream-2: #f5eadb;
  --gold: #d99b12;
  --gold-2: #f0b42b;
  --ink: #061129;
  --muted: #6f7179;
  --white: #ffffff;
  --line: rgba(6, 17, 41, 0.13);
  --shadow: 0 18px 36px rgba(7, 18, 40, 0.26);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 155, 18, 0.18), transparent 36%),
    linear-gradient(135deg, #05080d, #0d1320 54%, #05080d);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.phone-screen {
  position: relative;
  width: min(430px, 100%);
  min-height: min(932px, calc(100vh - 36px));
  max-height: 960px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: #f8f4ed;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.status-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 62px;
  padding: 24px 24px 0;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

.status-bar time {
  font-size: 1rem;
  font-weight: 900;
}

.phone-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.phone-icons span {
  display: block;
  border: 2px solid #fff;
}

.phone-icons span:nth-child(1) {
  width: 21px;
  height: 16px;
  border-width: 0 0 0 3px;
  box-shadow: 6px 4px 0 -2px #fff, 12px 0 0 -2px #fff;
}

.phone-icons span:nth-child(2) {
  width: 19px;
  height: 14px;
  border-width: 3px 3px 0 0;
  border-radius: 14px 14px 0 0;
  transform: rotate(-45deg);
}

.phone-icons span:nth-child(3) {
  width: 27px;
  height: 14px;
  border-radius: 4px;
}

.view {
  display: none;
  height: 100%;
  min-height: inherit;
  overflow-y: auto;
  padding-bottom: 108px;
  scrollbar-width: none;
}

.view::-webkit-scrollbar {
  display: none;
}

.view.active {
  display: block;
}

.hero-panel {
  position: relative;
  min-height: 430px;
  color: #fff;
  overflow: hidden;
  padding: 92px 17px 42px;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background-image: url("./assets/city-suv-hero.png");
  background-size: cover;
  background-position: center;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(2, 12, 27, 0.34) 0%, rgba(2, 12, 27, 0.2) 38%, rgba(2, 12, 27, 0.86) 100%),
    linear-gradient(90deg, rgba(2, 12, 27, 0.78), rgba(2, 12, 27, 0.16) 70%);
}

.hero-nav {
  position: absolute;
  inset: 48px 18px auto;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.circle-btn,
.bell-btn {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(2, 12, 27, 0.56);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.circle-btn span {
  width: 25px;
  height: 3px;
  border-radius: 99px;
  background: var(--gold-2);
  display: block;
  margin: 3px 0;
}

.circle-btn.compact {
  width: 44px;
  height: 44px;
  border-color: rgba(6, 17, 41, 0.18);
  background: #fff;
}

.circle-btn.compact span {
  width: 20px;
  height: 2px;
}

.bell-btn {
  position: relative;
}

.bell-btn::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-bottom-color: transparent;
  border-radius: 15px 15px 7px 7px;
  transform: translateY(3px);
}

.bell-btn::after {
  content: "";
  position: absolute;
  bottom: 13px;
  width: 16px;
  height: 3px;
  border-radius: 99px;
  background: #fff;
}

.bell-btn span {
  position: absolute;
  top: -3px;
  right: -4px;
  z-index: 2;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  background: var(--gold);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.brand-copy {
  position: relative;
  z-index: 2;
  margin-top: 82px;
}

.brand-copy h1,
.brand-copy h2,
.brand-copy p {
  margin: 0;
}

.brand-copy h1 {
  color: #fff;
  font-size: clamp(2.3rem, 11vw, 3.35rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.brand-copy h1 b,
.brand-copy h2 b,
.booking-card p b,
.promo-card b {
  color: var(--gold-2);
}

.brand-copy h2 {
  margin-top: 18px;
  font-size: clamp(1.4rem, 6.4vw, 2rem);
  line-height: 1.28;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-copy i {
  width: 64px;
  height: 3px;
  margin: 18px 0 18px;
  background: var(--gold-2);
  display: block;
}

.brand-copy p {
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.42;
}

.booking-card {
  position: relative;
  z-index: 4;
  margin: -24px 17px 0;
  padding: 24px 16px 16px;
  border: 1.5px solid var(--gold);
  border-radius: 30px;
  background: linear-gradient(145deg, var(--cream), var(--cream-2));
  box-shadow: var(--shadow);
}

.booking-card::before {
  content: "";
  position: absolute;
  top: -1.5px;
  right: 86px;
  width: 70px;
  height: 44px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  border-radius: 0 0 34px 0;
  background: #f8f4ed;
}

.booking-card h3,
.sub-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  font-weight: 950;
}

.booking-card p {
  margin: 7px 0 16px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 750;
}

.field-list {
  display: grid;
  gap: 8px;
}

.field-row {
  min-height: 76px;
  padding: 10px;
  border: 1px solid rgba(6, 17, 41, 0.09);
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 40px;
  gap: 12px;
  align-items: center;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 7px 18px rgba(6, 17, 41, 0.07);
}

.field-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--navy);
  display: grid;
  place-items: center;
  color: var(--gold-2);
}

.route-icon::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 14px 0 -3px #fff, 0 25px 0 -3px #fff;
}

.pin-icon::before {
  content: "";
  width: 19px;
  height: 24px;
  border: 3px solid var(--gold-2);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.plus-icon {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #fff;
  font-size: 2.4rem;
  font-weight: 300;
}

.field-row strong,
.services-banner strong,
.promo-card span,
.trip-title strong {
  display: block;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 950;
}

.field-row small,
.services-banner small,
.promo-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.28;
}

.target-icon,
.calendar-icon {
  justify-self: center;
  width: 28px;
  height: 28px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  position: relative;
}

.target-icon::before,
.target-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
}

.target-icon::before {
  inset: 9px auto auto -8px;
  width: 38px;
  height: 4px;
}

.target-icon::after {
  inset: -8px auto auto 9px;
  width: 4px;
  height: 38px;
}

.calendar-icon {
  border-radius: 4px;
}

.calendar-icon::before,
.calendar-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
}

.calendar-icon::before {
  inset: 5px 2px auto;
  height: 4px;
}

.calendar-icon::after {
  right: -7px;
  bottom: -7px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: transparent;
}

.continue-btn {
  width: 100%;
  min-height: 65px;
  margin-top: 12px;
  border-radius: 999px;
  color: var(--gold-2);
  background: var(--navy-2);
  font-size: 1.22rem;
  font-weight: 950;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.continue-btn span {
  font-size: 2rem;
  line-height: 0;
}

.services-banner {
  width: calc(100% - 34px);
  min-height: 82px;
  margin: 14px 17px 0;
  padding: 14px 16px;
  border: 1px solid var(--gold);
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(132deg, rgba(2, 16, 36, 0.96), rgba(2, 16, 36, 0.92)),
    url("./assets/city-suv-hero.png") center 55% / cover;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  text-align: left;
  box-shadow: var(--shadow);
}

.services-banner strong {
  color: #fff;
  font-size: 1.15rem;
}

.services-banner small {
  color: var(--gold-2);
}

.services-banner b {
  color: var(--gold-2);
  font-size: 2rem;
}

.grid-icon {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--gold);
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.grid-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 0 / 9px 9px,
    linear-gradient(var(--gold), var(--gold)) 15px 0 / 9px 9px,
    linear-gradient(var(--gold), var(--gold)) 0 15px / 9px 9px,
    linear-gradient(var(--gold), var(--gold)) 15px 15px / 9px 9px;
  background-repeat: no-repeat;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 17px 18px;
}

.promo-card {
  position: relative;
  min-height: 145px;
  overflow: hidden;
  padding: 18px 12px;
  border-radius: 16px;
  text-align: left;
  background: #fff;
  box-shadow: 0 12px 24px rgba(6, 17, 41, 0.16);
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("./assets/interior-hero.png");
  background-size: cover;
}

.business-card {
  color: #fff;
  background: var(--navy-2);
}

.business-card::before {
  opacity: 0.38;
  background-position: 42% 24%;
}

.health-card::before {
  opacity: 0.22;
  background-position: 76% 84%;
}

.promo-card span,
.promo-card small,
.promo-card em {
  position: relative;
  z-index: 1;
}

.business-card span,
.business-card small {
  color: #fff;
}

.promo-card span {
  font-size: 1.13rem;
  line-height: 1.25;
}

.promo-card small {
  width: min(138px, 100%);
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.promo-card em {
  position: absolute;
  left: 13px;
  bottom: 13px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-style: normal;
}

.bottom-nav {
  position: absolute;
  inset: auto 17px 16px;
  z-index: 15;
  min-height: 78px;
  padding: 9px 8px 7px;
  border-radius: 22px;
  background: var(--navy-2);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.36);
}

.bottom-nav button {
  position: relative;
  color: #fff;
  background: transparent;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
}

.bottom-nav button.active {
  color: var(--gold-2);
}

.bottom-nav button.active::after {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: var(--gold-2);
}

.bottom-nav span {
  width: 26px;
  height: 26px;
  position: relative;
}

.bottom-nav b {
  font-size: 0.8rem;
}

.nav-home::before {
  content: "";
  position: absolute;
  inset: 8px 4px 2px;
  border: 3px solid currentColor;
  border-top: 0;
}

.nav-home::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 19px;
  height: 19px;
  border-left: 4px solid currentColor;
  border-top: 4px solid currentColor;
  transform: rotate(45deg);
}

.nav-car::before {
  content: "";
  position: absolute;
  inset: 8px 2px 5px;
  border: 3px solid currentColor;
  border-radius: 7px 7px 4px 4px;
}

.nav-car::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 2px;
  height: 5px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}

.nav-clock {
  border: 3px solid currentColor;
  border-radius: 50%;
}

.nav-clock::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 5px;
  width: 3px;
  height: 9px;
  background: currentColor;
}

.nav-clock::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 8px;
  height: 3px;
  background: currentColor;
  transform: rotate(35deg);
}

.nav-user::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 1px;
  width: 12px;
  height: 12px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.nav-user::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 1px;
  height: 13px;
  border: 3px solid currentColor;
  border-radius: 14px 14px 0 0;
}

.sub-header {
  min-height: 116px;
  padding: 68px 18px 16px;
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  color: #fff;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
}

.sub-header small {
  color: var(--gold-2);
  font-weight: 900;
  text-transform: uppercase;
}

.sub-header h2 {
  color: #fff;
  font-size: 1.8rem;
}

.refresh-btn,
.driver-filter button {
  min-height: 42px;
  border-radius: 999px;
  color: var(--navy-2);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  padding: 0 14px;
  font-weight: 950;
}

.service-list,
.trip-list,
.driver-filter,
.profile-card,
.status-strip,
.notice {
  margin: 16px 17px 0;
}

.service-list {
  display: grid;
  gap: 10px;
}

.service-list article,
.profile-card,
.empty-state,
.trip-card,
.notice {
  border: 1px solid rgba(6, 17, 41, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(6, 17, 41, 0.12);
}

.service-list article {
  padding: 16px;
  display: grid;
  gap: 4px;
}

.service-list strong {
  color: var(--ink);
  font-size: 1rem;
}

.service-list span,
.profile-card small,
.trip-meta span,
.route small,
.empty-state span,
.notice,
.driver-filter small {
  color: var(--muted);
}

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

.status-strip article {
  min-height: 70px;
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  box-shadow: 0 10px 22px rgba(6, 17, 41, 0.11);
}

.status-strip span {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 950;
}

.status-strip small {
  color: var(--muted);
  font-size: 0.78rem;
}

.notice {
  padding: 13px;
  border-color: rgba(217, 155, 18, 0.42);
}

.trip-list {
  display: grid;
  gap: 12px;
}

.empty-state {
  padding: 22px;
  text-align: center;
  display: grid;
  gap: 6px;
}

.trip-card {
  overflow: hidden;
}

.trip-head {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--navy-2);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  display: grid;
  place-items: center;
  font-weight: 950;
}

.trip-title {
  min-width: 0;
}

.trip-title strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trip-title span {
  color: var(--muted);
  font-size: 0.82rem;
}

.status-pill {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(217, 155, 18, 0.12);
  font-size: 0.78rem;
  font-weight: 950;
}

.status-pill.green {
  color: #128538;
  background: rgba(18, 133, 56, 0.12);
}

.status-pill.red {
  color: #c52828;
  background: rgba(197, 40, 40, 0.12);
}

.trip-body {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.route,
.trip-meta,
.actions {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbf7ef;
}

.route {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.route b,
.trip-meta b {
  color: var(--gold);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.route strong,
.trip-meta strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  line-height: 1.35;
}

.route-line {
  width: 1px;
  min-height: 24px;
  margin-left: 8px;
  background: rgba(6, 17, 41, 0.2);
}

.trip-meta {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.actions {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.status-action {
  min-height: 44px;
  border-radius: 999px;
  color: var(--navy-2);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 950;
}

.status-action.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.status-action.danger {
  color: #fff;
  background: #c52828;
}

.driver-filter {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(6, 17, 41, 0.12);
  display: grid;
  gap: 8px;
}

.driver-filter label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.driver-filter div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 8px;
}

.driver-filter input {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fbf7ef;
  outline: none;
}

.profile-card {
  padding: 22px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.profile-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: var(--navy-2);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 950;
}

@media (max-width: 460px) {
  .app-shell {
    padding: 0;
    place-items: stretch;
  }

  .phone-screen {
    width: 100%;
    min-height: 100vh;
    max-height: none;
    border-radius: 0;
    border: 0;
  }
}

@media (max-width: 370px) {
  .brand-copy h1 {
    font-size: 2.15rem;
  }

  .booking-card h3 {
    font-size: 1.7rem;
  }

  .field-row {
    grid-template-columns: 48px minmax(0, 1fr) 32px;
  }

  .field-icon {
    width: 46px;
    height: 46px;
  }

  .promo-grid,
  .status-strip,
  .actions {
    grid-template-columns: 1fr;
  }
}
