:root {
  --madtaxi-yellow: #ffc400;
  --madtaxi-black: #111111;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.55;
}

/* Shared simple header, used by legal/document pages */
header {
  background: var(--madtaxi-black);
  color: #fff;
  padding: 28px 20px;
}

header .brand {
  font-weight: 900;
  font-size: 22px;
  color: var(--madtaxi-yellow);
}

header h1 {
  margin: 8px 0 0;
  font-size: 26px;
}

header p {
  margin: 6px 0 0;
  color: #cfcfcf;
  font-size: 14px;
}

.updated {
  font-size: 13px;
  color: #777;
}

.note {
  background: #fff7d9;
  border: 1px solid var(--madtaxi-yellow);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
}

/* Navbar (homepage only) */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 18px;
  color: var(--madtaxi-black);
  text-decoration: none;
}

.navbar-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.navbar-links {
  display: flex;
  gap: 22px;
}

.navbar-links a {
  color: #444;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.navbar-links a:hover {
  color: var(--madtaxi-black);
}

/* Hero */
header.hero {
  background: #fdc103;
  text-align: center;
  padding: 12px 20px 40px;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image {
  width: 100%;
}

header.hero .logo {
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 8px auto 0;
  display: block;
}

.eyebrow {
  display: inline-block;
  background: rgba(17, 17, 17, 0.9);
  color: var(--madtaxi-yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

header.hero h1 {
  color: var(--madtaxi-black);
  font-size: 28px;
  margin: 14px auto 0;
  max-width: 560px;
}

header.hero p {
  color: #3a3a3a;
  font-size: 16px;
  max-width: 480px;
  margin: 10px auto 0;
}

.hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding-top: 32px;
  }

  .hero-text,
  .hero-image {
    flex: 1 1 50%;
  }

  header.hero {
    text-align: left;
    padding: 12px 40px 56px;
  }

  header.hero h1 {
    margin: 20px 0 0;
    font-size: 34px;
    max-width: none;
  }

  header.hero p {
    margin: 14px 0 0;
    max-width: 440px;
  }

  .hero-badges {
    justify-content: flex-start;
  }

  header.hero .logo {
    margin: 0;
    max-width: 100%;
  }
}

.badge {
  background: rgba(17, 17, 17, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}

main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 24px 90px;
}

#par-mums p {
  max-width: 720px;
}

section {
  margin-bottom: 56px;
  scroll-margin-top: 24px;
}

h2 {
  font-size: 22px;
  border-left: 5px solid var(--madtaxi-yellow);
  padding-left: 12px;
  margin-bottom: 16px;
}

p,
li {
  font-size: 15px;
  color: #333;
}

ul {
  padding-left: 22px;
}

a {
  color: #8a6d00;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--madtaxi-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--madtaxi-black);
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--madtaxi-black);
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* Cards (how it works) */
.cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.card {
  position: relative;
  flex: 1 1 260px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 22px;
}

.card-step {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #8a6d00;
  background: #fff3cc;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--madtaxi-black);
}

.card p {
  margin: 0;
}

/* Driver CTA */
.driver-cta {
  background: var(--madtaxi-black);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  color: #fff;
}

.driver-cta-text {
  flex: 1 1 320px;
}

.driver-cta-text h2 {
  border-left-color: var(--madtaxi-yellow);
  color: #fff;
}

.driver-cta-text p {
  color: #ddd;
}

.driver-benefits {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.driver-benefits li {
  color: #eee;
  padding-left: 26px;
  position: relative;
}

.driver-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--madtaxi-yellow);
  font-weight: 700;
}

.driver-cta-box {
  flex: 1 1 320px;
  background: #1c1c1c;
  border-radius: 16px;
  padding: 26px;
}

.driver-cta-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}

.driver-cta-subtitle {
  margin: 4px 0 18px;
  color: #bbb;
  font-size: 14px;
}

.btn-primary {
  display: inline-block;
  background: var(--madtaxi-yellow);
  color: var(--madtaxi-black);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  cursor: pointer;
  margin-top: 4px;
}

.btn-primary:hover {
  filter: brightness(0.95);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
}

.driver-cta-alt {
  margin: 14px 0 0;
  font-size: 13px;
  color: #bbb;
  text-align: center;
}

.driver-cta-alt a {
  color: var(--madtaxi-yellow);
}

/* Contact */
.contact-box {
  background: var(--madtaxi-black);
  color: #fff;
  border-radius: 14px;
  padding: 24px 26px;
  max-width: 420px;
}

.contact-box p {
  color: #eee;
  margin: 6px 0;
}

.contact-box a {
  color: var(--madtaxi-yellow);
  font-weight: 600;
}

footer {
  text-align: center;
  padding: 24px 20px;
  color: #888;
  font-size: 13px;
  border-top: 1px solid #eee;
}

@media (max-width: 560px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
    padding: 14px 20px;
  }

  .navbar-links {
    width: 100%;
    justify-content: center;
    gap: 18px;
  }

  header.hero h1 {
    font-size: 22px;
  }
}

/* Driver application wizard */
.wizard-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px 100px;
}

.wizard-progress {
  height: 6px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  width: 20%;
  background: var(--madtaxi-yellow);
  transition: width 0.25s ease;
}

.wizard-step-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #999;
  margin: 10px 0 28px;
}

.wizard-step h1 {
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--madtaxi-black);
}

.wizard-intro {
  color: #555;
  font-size: 15px;
  margin: 0 0 22px;
}

.wizard-step form,
.wizard-step {
  display: flex;
  flex-direction: column;
}

.wizard-step label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 14px;
}

.wizard-step input[type="text"],
.wizard-step input[type="email"],
.wizard-step input[type="tel"],
.wizard-step select {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 11px 12px;
}

.wizard-step input:focus,
.wizard-step select:focus {
  outline: 2px solid var(--madtaxi-yellow);
  outline-offset: 1px;
  border-color: var(--madtaxi-yellow);
}

.wizard-checkbox {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  color: #555 !important;
}

.wizard-checkbox input {
  margin-top: 3px;
}

.wizard-checkbox a {
  color: #8a6d00;
}

.wizard-step .btn-primary {
  align-self: flex-start;
  margin-top: 6px;
}

.wizard-step .btn-link {
  align-self: flex-start;
  background: none;
  border: none;
  color: #8a6d00;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 10px 0 0;
}

.wizard-error {
  color: #c0392b;
  font-size: 13px;
  min-height: 18px;
  margin: 10px 0 0;
}

.wizard-progress-text {
  color: #777;
  font-size: 13px;
  margin: 10px 0 0;
}

.wizard-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--madtaxi-yellow);
  color: var(--madtaxi-black);
  font-size: 28px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

#step-5 {
  align-items: flex-start;
}

#code-entry {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}
