*, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
      tap-highlight-color: transparent;
    }

    html, body, button, a, input, textarea, select, label, [role="button"] {
      -webkit-tap-highlight-color: transparent;
      tap-highlight-color: transparent;
    }

    button:focus, a:focus, input:focus, textarea:focus, select:focus, :focus-visible {
      outline: none;
    }

    :root {
      --red: #1a1a1a;
      --red-dark: #000000;
      --yellow: #f9c133;
      --yellow-btn: #f5c518;
      --text-dark: #1f1f1f;
      --text-gray: #9a9a9a;
      --text-muted: #b0b0b0;
      --white: #ffffff;
      --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background: var(--white);
      min-height: 100vh;
      padding: 10px;
    }

    .page {
      width: 100%;
      min-height: calc(100vh - 20px);
      background: var(--white);
      display: flex;
      flex-direction: column;
      position: relative;
    }

    /* ── Hero / Illustration Area ── */
    .hero {
      position: relative;
      height: 440px;
      background: var(--white);
      flex-shrink: 0;
      overflow: hidden;
    }

    .hero-blob {
      position: absolute;
      border-radius: 50%;
      background: #f3f3f3;
    }

    .hero-blob-3 {
      width: 90px;
      height: 90px;
      bottom: 80px;
      left: 60px;
      opacity: 0.4;
    }

    /* ── Order Card ── */
    .order-card {
      position: absolute;
      top: 24px;
      left: 20px;
      width: 200px;
      background: var(--white);
      border-radius: 12px;
      box-shadow: var(--shadow);
      padding: 13px 13px 11px;
      opacity: 0;
      transform: translateY(14px);
      transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                  transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .order-card.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .order-card.is-hiding {
      opacity: 0;
      transform: translateY(-10px);
    }

    .order-card h3 {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 10px;
    }

    .order-item {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
      opacity: 0;
      transform: translateX(-18px);
      max-height: 0;
      overflow: hidden;
      transition: opacity 0.45s ease, transform 0.45s ease, max-height 0.45s ease, margin 0.45s ease;
    }

    .order-item.show {
      opacity: 1;
      transform: translateX(0);
      max-height: 40px;
      margin-bottom: 8px;
    }

    .order-item-icon {
      width: 28px;
      height: 28px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .order-item-icon svg {
      width: 24px;
      height: 24px;
    }

    .order-item-info {
      flex: 1;
      min-width: 0;
    }

    .order-item-name {
      font-size: 11px;
      font-weight: 700;
      color: var(--text-dark);
      line-height: 1.2;
    }

    .order-item-qty {
      font-size: 9px;
      color: var(--text-gray);
      line-height: 1.2;
    }

    .order-item-price {
      font-size: 11px;
      font-weight: 600;
      color: var(--text-dark);
      flex-shrink: 0;
    }

    .order-divider {
      border: none;
      border-top: 1px solid #ebebeb;
      margin: 8px 0;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .order-divider.show {
      opacity: 1;
    }

    .order-footer {
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.45s ease, transform 0.45s ease;
    }

    .order-footer.show {
      opacity: 1;
      transform: translateY(0);
    }

    .order-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    .order-total span:first-child {
      font-size: 12px;
      font-weight: 700;
      color: var(--text-dark);
    }

    .order-total span:last-child {
      font-size: 13px;
      font-weight: 800;
      color: var(--red);
    }

    .place-order-btn {
      width: 100%;
      background: var(--yellow-btn);
      border: none;
      border-radius: 8px;
      padding: 9px 0;
      font-family: inherit;
      font-size: 11px;
      font-weight: 700;
      color: var(--text-dark);
      cursor: pointer;
      letter-spacing: 0.01em;
      transition: background 0.2s, transform 0.15s ease;
    }

    .place-order-btn:disabled {
      background: #e8e8e8;
      color: #a8a8a8;
      cursor: not-allowed;
      opacity: 1;
    }

    .place-order-btn:not(:disabled):hover {
      background: #e8b810;
    }

    .place-order-btn.clicking {
      transform: scale(0.94);
      background: #e0b010;
    }

    .place-order-btn.loading {
      pointer-events: none;
      opacity: 0.85;
    }

    .order-success {
      display: none;
      text-align: center;
      padding: 8px 0 4px;
      animation: successPop 0.5s ease forwards;
    }

    .order-card.is-success .order-items-wrap,
    .order-card.is-success .order-footer {
      display: none;
    }

    .order-card.is-success .order-success {
      display: block;
    }

    .order-card.is-success h3 {
      text-align: center;
      color: var(--red);
    }

    .success-icon {
      width: 44px;
      height: 44px;
      background: var(--red);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 10px;
      box-shadow: 0 4px 14px rgba(239, 51, 45, 0.35);
      animation: badgePop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    .success-icon svg {
      width: 22px;
      height: 22px;
    }

    .success-title {
      font-size: 13px;
      font-weight: 800;
      color: var(--text-dark);
      margin-bottom: 4px;
    }

    .success-text {
      font-size: 10px;
      color: var(--text-gray);
      line-height: 1.4;
    }

    @keyframes successPop {
      from { opacity: 0; transform: scale(0.9); }
      to { opacity: 1; transform: scale(1); }
    }

    @keyframes badgePop {
      0% { opacity: 0; transform: scale(0); }
      70% { transform: scale(1.12); }
      100% { opacity: 1; transform: scale(1); }
    }

    /* ── Illustration ── */
    .illustration {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 320px;
      height: 300px;
      z-index: 10;
    }

    .illustration svg {
      width: 100%;
      height: 100%;
      overflow: visible;
    }

    .ill-char-head {
      animation: charHeadBob 2.6s ease-in-out infinite;
      transform-box: view-box;
      transform-origin: 62% 14%;
    }

    .ill-char-arm {
      animation: charArmWave 2.4s ease-in-out infinite;
      transform-box: view-box;
      transform-origin: 48% 38%;
    }

    .ill-char-left-person {
      animation: charHeadBob 2.8s ease-in-out infinite 0.3s;
      transform-box: view-box;
      transform-origin: 32% 72%;
    }

    @keyframes charHeadBob {
      0%, 100% { transform: rotate(0deg); }
      35% { transform: rotate(-2.5deg); }
      70% { transform: rotate(2.5deg); }
    }

    @keyframes charArmWave {
      0%, 100% { transform: rotate(0deg); }
      45% { transform: rotate(-6deg); }
      55% { transform: rotate(-6deg); }
    }

    /* ── Content Section ── */
    .content {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 28px 32px 16px;
      text-align: center;
    }

    .content h1 {
      font-size: 28px;
      font-weight: 800;
      color: var(--text-dark);
      margin-bottom: 12px;
      letter-spacing: -0.02em;
    }

    .content p {
      font-size: 14px;
      font-weight: 400;
      color: var(--text-gray);
      line-height: 1.55;
      max-width: 280px;
      margin-bottom: 28px;
    }

    /* ── Pagination Dots ── */
    .dots {
      display: flex;
      gap: 8px;
      margin-bottom: 28px;
    }

    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #d9d9d9;
    }

    .dot.active {
      background: var(--red);
      width: 8px;
    }

    /* ── CTA Button ── */
    .get-started-btn {
      width: 100%;
      max-width: 320px;
      background: var(--red);
      color: var(--white);
      border: none;
      border-radius: 50px;
      padding: 18px 32px;
      font-family: inherit;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      letter-spacing: 0.02em;
      transition: background 0.2s;
      box-shadow: 0 6px 20px rgba(239, 51, 45, 0.3);
    }

    .get-started-btn:hover {
      background: var(--red-dark);
    }

    .get-started-btn:active {
      transform: scale(0.98);
    }

    .get-started-btn:disabled {
      background: #e8e8e8;
      color: #a8a8a8;
      box-shadow: none;
      cursor: not-allowed;
    }

    /* ── Multi-screen flow ── */
    .screens-wrap {
      flex: 1;
      display: flex;
      flex-direction: column;
      min-height: 0;
    }

    .screen {
      display: none;
      flex: 1;
      flex-direction: column;
      animation: screenIn 0.35s ease;
      position: relative;
    }

    .screen.active {
      display: flex;
    }

    @keyframes screenIn {
      from { opacity: 0; transform: translateX(18px); }
      to { opacity: 1; transform: translateX(0); }
    }

    .bottom-bar {
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0 32px 36px;
      position: relative;
      z-index: 50;
    }

    .hero-login,
    .hero-otp {
      position: relative;
      height: 300px;
      flex-shrink: 0;
      display: flex;
      align-items: stretch;
      justify-content: center;
      overflow: hidden;
      padding: 0;
    }

    .hero-login-art {
      width: 100%;
      max-width: 100%;
      max-height: 100%;
      height: 100%;
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 1;
    }

    .hero-login-art svg {
      width: 100%;
      height: 100%;
      max-width: 100%;
      max-height: 100%;
      display: block;
    }

    .login-scooter-ride {
      animation: loginScooterRide 2.8s ease-in-out infinite;
      transform-box: fill-box;
      transform-origin: 50% 85%;
    }

    @keyframes loginScooterRide {
      0%, 100% { transform: translate(0, 0); }
      25% { transform: translate(6px, -5px); }
      50% { transform: translate(12px, 0); }
      75% { transform: translate(6px, -3px); }
    }

    .back-btn {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 30;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1.5px solid #ebebeb;
      background: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: var(--shadow-sm);
      transition: background 0.2s, border-color 0.2s;
    }

    .back-btn:hover {
      background: #fafafa;
      border-color: #d8d8d8;
    }

    .back-btn:active {
      transform: scale(0.96);
    }

    .back-btn svg {
      width: 20px;
      height: 20px;
      color: var(--text-dark);
    }

    .hero-otp {
      height: 56px;
      min-height: 56px;
    }

    .form-group {
      width: 100%;
      max-width: 320px;
      margin-bottom: 16px;
    }

    .form-label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-dark);
      margin-bottom: 8px;
      text-align: left;
    }

    .phone-input-wrap {
      display: flex;
      align-items: center;
      border: 1.5px solid #e8e8e8;
      border-radius: 12px;
      overflow: hidden;
      background: var(--white);
      transition: border-color 0.2s;
    }

    .phone-input-wrap:focus-within {
      border-color: var(--red);
    }

    .phone-prefix {
      padding: 14px 12px 14px 16px;
      font-size: 15px;
      font-weight: 600;
      color: var(--text-dark);
      background: #f8f8f8;
      border-right: 1.5px solid #e8e8e8;
      flex-shrink: 0;
    }

    .phone-input {
      flex: 1;
      border: none;
      outline: none;
      padding: 14px 16px;
      font-family: inherit;
      font-size: 15px;
      font-weight: 500;
      color: var(--text-dark);
      background: transparent;
      min-width: 0;
    }

    .phone-input::placeholder {
      color: var(--text-muted);
      font-weight: 400;
    }

    .divider-or {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      max-width: 320px;
      margin: 8px 0 16px;
      color: var(--text-gray);
      font-size: 12px;
    }

    .divider-or::before,
    .divider-or::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #ebebeb;
    }

    .google-btn {
      width: 100%;
      max-width: 320px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 20px;
      border: 1.5px solid #e8e8e8;
      border-radius: 50px;
      background: var(--white);
      font-family: inherit;
      font-size: 14px;
      font-weight: 600;
      color: var(--text-dark);
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
    }

    .google-btn:hover {
      background: #fafafa;
      border-color: #d0d0d0;
    }

    .google-btn svg {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
    }

    .otp-sent-text {
      font-size: 13px;
      color: var(--text-gray);
      margin-bottom: 24px;
      max-width: 280px;
    }

    .otp-sent-text strong {
      color: var(--text-dark);
      font-weight: 600;
    }

    .otp-inputs {
      display: flex;
      gap: 8px;
      justify-content: center;
      margin-bottom: 20px;
      max-width: 320px;
      width: 100%;
      position: relative;
    }

    .login-otp-autofill {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
      opacity: 0;
      pointer-events: none;
    }

    .otp-box {
      width: 44px;
      height: 52px;
      flex: 1;
      max-width: 48px;
      border: 1.5px solid #e8e8e8;
      border-radius: 12px;
      text-align: center;
      font-family: inherit;
      font-size: 20px;
      font-weight: 700;
      color: var(--text-dark);
      outline: none;
      transition: border-color 0.2s;
    }

    .otp-box:focus {
      border-color: var(--red);
    }

    .resend-link {
      font-size: 13px;
      color: var(--red);
      font-weight: 600;
      background: none;
      border: none;
      cursor: pointer;
      font-family: inherit;
      padding: 4px;
    }

    .resend-link:disabled {
      color: var(--text-muted);
      cursor: not-allowed;
    }

    .google-btn.is-disabled,
    .google-btn:disabled {
      opacity: 0.55;
      cursor: not-allowed;
    }

    .login-inline-msg {
      margin-top: 12px;
      font-size: 13px;
      font-weight: 500;
      line-height: 1.4;
      text-align: center;
      color: #138808;
    }

    .login-inline-msg.is-error {
      color: #b42318;
    }

    .login-otp-timer-simple {
      margin-top: 8px;
      font-size: 12px;
      color: var(--text-muted);
      text-align: center;
    }

    .login-legal-simple {
      margin-top: 10px;
      font-size: 11px;
      line-height: 1.45;
      color: var(--text-muted);
      text-align: center;
      max-width: 320px;
    }

    .login-legal-simple a {
      color: var(--red);
      text-decoration: none;
      font-weight: 600;
    }

    .login-google-loading,
    .zimoo-auth-loading {
      position: fixed;
      inset: 0;
      z-index: 30000;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
    }

    .login-page-loading-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }

    .login-page-loading-text {
      display: none !important;
      margin: 0;
      font-size: 15px;
      font-weight: 500;
      color: var(--text-dark);
    }

    .login-google-loading .zimoo-loader-container,
    .zimoo-auth-loading .zimoo-loader-container {
      --zimoo-loader-size: 48px;
    }

    body.login-page-loading-active {
      overflow: hidden;
    }

    .login-google-loading[hidden],
    .zimoo-auth-loading[hidden] {
      display: none !important;
    }

    /* Phone screen — less gap between SVG art and mobile input */
    #screenPhone .hero-login {
      height: 168px;
      min-height: 168px;
      max-height: 168px;
    }

    #screenPhone .hero-login-art {
      align-items: flex-end;
      padding-bottom: 0;
    }

    #screenPhone .hero-login-art svg {
      width: auto;
      height: 100%;
      max-height: 164px;
      max-width: 100%;
    }

    #screenPhone .content {
      flex: 0 0 auto;
      padding: 6px 24px 8px;
      justify-content: flex-start;
    }

    #screenPhone .content h1 {
      font-size: 24px;
      margin-bottom: 6px;
    }

    #screenPhone .content p {
      margin-bottom: 14px;
    }

    #screenPhone .form-group {
      margin-bottom: 10px;
    }

    #screenPhone .divider-or {
      margin: 2px 0 10px;
    }
