*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  color:#111827;
  overflow-x:hidden;
}

.hidden{
  display:none !important;
}

.ride-page{
  min-height:100vh;
}

.ride-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 40px;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #e5e7eb;
  position:sticky;
  top:0;
  z-index:10;
}

.back-link{
  text-decoration:none;
  color:#111827;
  font-weight:700;
  font-size:15px;
  transition:0.2s ease;
}

.back-link:hover{
  color:#2563eb;
}

.ride-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:28px;
  font-weight:800;
}

.ride-brand img{
  width:42px;
  height:42px;
  object-fit:cover;
}

.ride-main{
  max-width:1180px;
  margin:0 auto;
  padding:40px 20px 70px;
}

.ride-hero{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:24px;
  align-items:center;
  margin-bottom:28px;
}

.hero-badge{
  display:inline-block;
  background:#eaf8ee;
  color:#15803d;
  padding:10px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  margin-bottom:14px;
  animation:fadeUp 0.55s ease both;
}

.ride-hero h1{
  font-size:52px;
  line-height:1.05;
  margin:0 0 14px 0;
  letter-spacing:-1px;
  animation:fadeUp 0.75s ease both;
}

.ride-hero p{
  max-width:650px;
  font-size:18px;
  line-height:1.7;
  color:#4b5563;
  margin:0;
  animation:fadeUp 0.95s ease both;
}

.floating-icons{
  min-height:240px;
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

.float-icon{
  position:absolute;
  width:88px;
  height:88px;
  border-radius:22px;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:40px;
  background:white;
  box-shadow:0 18px 45px rgba(0,0,0,0.10);
}

.okada-float{
  left:14%;
  top:18%;
  animation:floatOkada 4s ease-in-out infinite;
}

.car-float{
  right:18%;
  top:12%;
  animation:floatCar 4.8s ease-in-out infinite;
}

.dispatch-float{
  right:28%;
  bottom:10%;
  animation:floatDispatch 5.2s ease-in-out infinite;
}

@keyframes floatOkada{
  0%,100%{
    transform:translateY(0px) rotate(-3deg);
  }
  50%{
    transform:translateY(-14px) rotate(2deg);
  }
}

@keyframes floatCar{
  0%,100%{
    transform:translateY(0px) rotate(3deg);
  }
  50%{
    transform:translateY(-12px) rotate(-2deg);
  }
}

@keyframes floatDispatch{
  0%,100%{
    transform:translateY(0px) rotate(-2deg);
  }
  50%{
    transform:translateY(-14px) rotate(2deg);
  }
}

.ride-card{
  background:white;
  border-radius:28px;
  padding:32px;
  box-shadow:0 22px 60px rgba(15,23,42,0.08);
  border:1px solid #eef2f7;
  animation:fadeUp 0.8s ease both;
}

.ride-card-header h2{
  margin:0 0 8px 0;
  font-size:32px;
}

.ride-card-header p{
  margin:0 0 24px 0;
  color:#6b7280;
  line-height:1.6;
}

.vehicle-selector{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-bottom:22px;
}

.vehicle-card{
  border:2px solid #e5e7eb;
  border-radius:20px;
  padding:18px;
  cursor:pointer;
  transition:0.25s ease;
  background:#fcfcfd;
  position:relative;
  overflow:hidden;
}

.vehicle-card input{
  display:none;
}

.vehicle-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(0,0,0,0.08);
}

.vehicle-card.active{
  border-color:#2563eb;
  background:linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  box-shadow:0 14px 30px rgba(37,99,235,0.10);
}

.dispatch-card.active{
  border-color:#16a34a;
  background:linear-gradient(180deg, #f7fff9 0%, #ecfdf3 100%);
  box-shadow:0 14px 30px rgba(34,197,94,0.10);
}

.vehicle-content{
  display:flex;
  align-items:center;
  gap:14px;
}

.vehicle-icon-wrap{
  width:58px;
  height:58px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  background:#f1f5f9;
}

.vehicle-card.active .vehicle-icon-wrap{
  background:#dbeafe;
}

.dispatch-card.active .vehicle-icon-wrap{
  background:#dcfce7;
}

.vehicle-content h3{
  margin:0 0 6px 0;
  font-size:22px;
}

.vehicle-content small{
  color:#6b7280;
  font-size:13px;
  line-height:1.5;
}

.service-type-info{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:18px;
  border-radius:20px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  margin-bottom:22px;
  transition:0.25s ease;
}

.service-type-icon{
  width:54px;
  height:54px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  background:white;
  box-shadow:0 8px 18px rgba(15,23,42,0.06);
  flex-shrink:0;
}

.service-type-info h3{
  margin:0 0 6px 0;
  font-size:20px;
}

.service-type-info p{
  margin:0;
  color:#6b7280;
  line-height:1.7;
}

.ride-form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.input-group{
  display:flex;
  flex-direction:column;
}

.input-group label{
  margin-bottom:8px;
  font-size:14px;
  font-weight:700;
  color:#374151;
}

.input-group input{
  width:100%;
  padding:14px 16px;
  border:1px solid #d1d5db;
  border-radius:14px;
  font-size:15px;
  outline:none;
  transition:0.2s ease;
}

.input-group input:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,0.08);
}

.dispatch-extra{
  margin-top:22px;
  background:linear-gradient(180deg, #f8fff9 0%, #f0fbf3 100%);
  border:1px solid #d9f3df;
  border-radius:22px;
  padding:22px;
  animation:fadeUp 0.35s ease;
}

.dispatch-extra-header{
  margin-bottom:18px;
}

.dispatch-extra-header h3{
  margin:0 0 8px 0;
  font-size:24px;
}

.dispatch-extra-header p{
  margin:0;
  color:#4b5563;
  line-height:1.7;
}

.dispatch-span{
  grid-column:1 / -1;
}

.ride-safety-box{
  margin-top:22px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:18px;
}

.ride-safety-box h3{
  margin:0 0 8px 0;
  font-size:18px;
}

.ride-safety-box p{
  margin:0;
  color:#4b5563;
  line-height:1.6;
}

.ride-actions{
  margin-top:22px;
}

.primary-ride-btn{
  width:100%;
  padding:16px 24px;
  border:none;
  border-radius:16px;
  background:linear-gradient(90deg, #16a34a, #22c55e);
  color:white;
  font-size:18px;
  font-weight:800;
  cursor:pointer;
  transition:0.25s ease;
}

.primary-ride-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(34,197,94,0.25);
}

.ride-message{
  margin-top:14px;
  font-weight:700;
  text-align:center;
}

.ride-message.success{
  color:#15803d;
}

.ride-message.error{
  color:#dc2626;
}

.how-ride-works{
  margin-top:34px;
}

.how-ride-works h2{
  margin:0 0 16px 0;
  font-size:30px;
}

.ride-steps{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.ride-step-card{
  background:white;
  border-radius:22px;
  padding:24px;
  border:1px solid #eef2f7;
  box-shadow:0 10px 24px rgba(15,23,42,0.05);
  transition:0.25s ease;
}

.ride-step-card:hover{
  transform:translateY(-4px);
}

.step-number{
  width:38px;
  height:38px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#111827;
  color:white;
  font-weight:800;
  margin-bottom:14px;
}

.ride-step-card h3{
  margin:0 0 10px 0;
  font-size:20px;
}

.ride-step-card p{
  margin:0;
  color:#6b7280;
  line-height:1.6;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media (max-width: 980px){
  .ride-hero{
    grid-template-columns:1fr;
  }

  .ride-hero h1{
    font-size:40px;
  }

  .vehicle-selector,
  .ride-form-grid,
  .ride-steps{
    grid-template-columns:1fr;
  }

  .dispatch-span{
    grid-column:auto;
  }
}

@media (max-width: 900px){
  .ride-header{
    padding:18px 18px;
  }

  .ride-brand{
    font-size:22px;
  }
}

@media (max-width: 560px){
  .ride-main{
    padding:24px 14px 50px;
  }

  .ride-card{
    padding:22px;
    border-radius:22px;
  }

  .ride-hero h1{
    font-size:34px;
  }

  .ride-hero p{
    font-size:16px;
  }

  .service-type-info{
    flex-direction:column;
  }
}