/*  Fonts */
@font-face {
  font-family: 'Liberation Sans';
  src: url('./assets/fonts/LiberationSans-Regular.ttf');
  font-weight: 400;
}

@font-face {
  font-family: 'Liberation Sans';
  src: url('./assets/fonts/LiberationSans-Bold.ttf');
  font-weight: 700;
}

/*  Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #bcc7e8;
  font-family: 'Liberation Sans', sans-serif;
  text-align: center;
  padding: clamp(0.75rem, 2vw, 2rem);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Topbar */
.topbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin-bottom: clamp(1.5rem, 4vh, 4rem);
  gap: clamp(1rem, 3vw, 3rem);
  position: relative;
}

.logo {
  width: clamp(100px, 18vw, 180px);
  height: auto;
  flex-shrink: 0;
}

.btn-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-btn {
  padding: clamp(10px, 2vh, 12px) clamp(20px, 4vw, 30px);
  border: none;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  text-decoration: none;
  color: black;
  font-size: clamp(14px, 2.5vw, 16px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.about-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Hero section */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(0.5rem, 2vh, 2rem);
  width: 100%;
}

.title-image-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Main */
.www {
  font-size: clamp(100px, 25vw, 220px);
  color: #0066d4;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.02em;
  z-index: 1;

  text-shadow:
    clamp(2px, 0.6vw, 4px) clamp(2px, 0.6vw, 4px) 0 #0052aa,
    clamp(5px, 1.2vw, 8px) clamp(5px, 1.2vw, 8px) 0 #003f82,
    clamp(7px, 1.8vw, 12px) clamp(7px, 1.8vw, 12px) 0 #002f61;
}

.construction-image {
  width: clamp(140px, 40vw, 270px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -35%);
  z-index: 10;
}

/* Progress*/
.progress-container {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  margin-top: clamp(1rem, 3vh, 2rem);
  padding: 0 clamp(1rem, 2vw, 2rem);
}

.progress-wrap {
  width: 100%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  height: clamp(35px, 5vh, 50px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.progress {
  width: 60%;
  background: orange;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: clamp(11px, 2vw, 14px);
}



/* Under Construction Status */
.status {
  font-size: clamp(16px, 3.5vw, 22px);
  margin: clamp(1.5rem, 0.5vh, 2.5rem) 0;
  color: #333;
  font-weight: 500;
}

/* Waitlist */
.waitlist {
  width: 100%;
  max-width: 550px;
  margin: clamp(2rem, 4vh, 4rem) auto 0;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.waitlist h2 {
  font-size: clamp(22px, 4.5vw, 32px);
  margin-bottom: clamp(1.5rem, 2.5vh, 2.5rem);
  color: #333;
  font-weight: 700;
}

/* Form  */
#waitlist-form {
  display: flex;
  flex-direction: column;
}

/* Fields*/
.form-group {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vh, 18px);
  margin-bottom: clamp(1.5rem, 2.5vh, 2.5rem);
}

.waitlist input {
  width: 100%;
  padding: clamp(12px, 2vh, 16px) clamp(14px, 2.5vw, 20px);
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: clamp(14px, 2.5vw, 16px);
  transition: all 0.3s ease;
}

.waitlist input:focus {
  outline: none;
  border-color: #0066d4;
  box-shadow: 0 0 0 3px rgba(0, 102, 212, 0.1);
}

.waitlist input::placeholder {
  color: #999;
}

/* Waitlist Button */
.join-btn {
  padding: clamp(12px, 2.5vh, 16px) clamp(28px, 6vw, 40px);
  border: none;
  background: #0066d4;
  color: white;
  cursor: pointer;
  margin-top: clamp(12px, 2vh, 20px);
  font-size: clamp(14px, 2.5vw, 16px);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 700;
  min-width: 160px;
}

.join-btn:hover {
  background: #0052aa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 212, 0.3);
}

/* Button Disable Function */
.join-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Feedback Message */
.feedback-message {
  margin-top: clamp(12px, 2vh, 18px);
  font-size: clamp(13px, 2.2vw, 15px);
  min-height: 22px;
}

/* Result */
.success {
  color: #27ae60;
  font-weight: 700;
}

.error {
  color: #e74c3c;
}

/* Footer */
footer {
  margin-top: clamp(3rem, 6vh, 5rem);
  padding: clamp(1rem, 2vh, 1.5rem);
  font-size: clamp(12px, 2vw, 14px);
  color: #666;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Device Responsiveness */
@media (min-width: 768px) {
  .waitlist {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }
}

/* @media (min-width: 1024px) {
  .topbar {
    justify-content: space-between;
  }

  .btn-container {
    position: static;
    transform: none;
    flex: 1;
    justify-content: center;
  }
} */

@media (max-width: 480px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo {
    order: 2;
    margin-right: auto;
  }

  .btn-container {
    order: 3;
    margin-left: auto;
  }
}

/* ==========================================
   PLATFORM SELECTOR
========================================== */

.platform-selector{
    width:100%;
    max-width:760px;
    margin:1.5rem auto 2rem;
    text-align:center;
}

.platform-selector h3{
    font-size:1.35rem;
    color:#222;
    margin-bottom:.4rem;
}

.platform-description{
    color:#555;
    margin-bottom:1.25rem;
    font-size:.95rem;
    min-height:22px;
}

.platform-buttons{
    display:flex;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;
}

.platform-btn{

    text-decoration:none;
    color:#fff;
    font-weight:700;

    padding:14px 26px;

    border-radius:10px;

    transition:.25s;

    border:3px solid transparent;

    min-width:180px;

    box-shadow:0 8px 18px rgba(0,0,0,.12);

}

.platform-btn:hover{

    transform:translateY(-3px);

}

.platform-btn.active{

    transform:translateY(-4px) scale(1.04);

}

.platform-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.platform-icon{
    width:22px;
    height:22px;
    object-fit:contain;
}

/* Customer */

.platform-btn.customer{

    background:#0066d4;

}

.platform-btn.customer.active{

    border-color:#DDD6FE;

    box-shadow:0 10px 24px rgba(91,33,182,.35);

}

/* Vendor */

.platform-btn.vendor{

    background:#16A34A;

}

.platform-btn.vendor.active{

    border-color:#BBF7D0;

    box-shadow:0 10px 24px rgba(22,163,74,.35);

}

/* Rider */

.platform-btn.rider{

    background:orange;

}

.platform-btn.rider.active{

    border-color:#FED7AA;

    box-shadow:0 10px 24px rgba(234,88,12,.35);

}

/* Mobile */

@media(max-width:640px){

    .platform-buttons{

        flex-direction:column;

        align-items:center;

    }

    .platform-btn{

        width:100%;
        max-width:320px;

    }

}