/* ----------------------------------------
   AATO – HERO TWO-COLUMN LAYOUT
---------------------------------------- */
.project-hero .container {
  display: flex;
  align-items: flex-end;
  gap: clamp(2rem, 4vw, 4rem);
}

.aato-hero-text {
  flex: 1;
  min-width: 0;
}

.aato-phone-mockup {
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.phone-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

/* ----------------------------------------
   SAMSUNG GALAXY S26 ULTRA FRAME
---------------------------------------- */
.phone-frame {
  position: relative;
  width: 176px;
  height: 392px;
  border-radius: 14px;
  border: 3px solid #8a8a8a;
  background: #111;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.phone-punch-hole {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #0a0a0a;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-screen {
  position: absolute;
  inset: 0;
  border-radius: 11px;
  overflow: hidden;
}

/* ---- Carousel ---- */
.phone-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
}

.phone-carousel:active {
  cursor: grabbing;
}

.phone-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  user-select: none;
  -webkit-user-select: none;
}

.phone-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.phone-screen-placeholder {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/* ---- Dots ---- */
.phone-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 4;
}

.phone-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s ease, transform 0.3s ease;
}

.phone-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ---- Swipe Hint ---- */
.phone-swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: swipe-fade 3s ease-in-out infinite;
}

.phone-swipe-hint svg {
  width: 14px;
  height: 14px;
  animation: swipe-slide 1.5s ease-in-out infinite;
}

@keyframes swipe-slide {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
}

@keyframes swipe-fade {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ----------------------------------------
   RICKSHAW PROGRESS BAR
---------------------------------------- */
.aato-progress-track {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  height: 28px;
  z-index: 101;
  pointer-events: none;
  opacity: 0;
}

.aato-progress-road {
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.aato-progress-road::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--scroll-pct, 0%);
  background: linear-gradient(
    90deg,
    rgba(245, 200, 66, 0.4),
    rgba(245, 200, 66, 0.15)
  );
  transition: width 0.1s linear;
}

.aato-rickshaw {
  position: absolute;
  bottom: 0;
  left: var(--scroll-pct, 0%);
  width: 56px;
  transform: translateX(-50%) scaleX(-1);
  animation: rickshaw-bounce 0.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  transition: left 0.1s linear;
}

@keyframes rickshaw-bounce {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -2px; }
}

/* ----------------------------------------
   RESPONSIVE
---------------------------------------- */
@media (max-width: 900px) {
  .project-hero .container {
    flex-direction: column;
    align-items: stretch;
  }

  .aato-phone-mockup {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }

  .phone-frame {
    width: 148px;
    height: 330px;
    border-radius: 12px;
  }

  .phone-screen {
    border-radius: 9px;
  }

  .phone-punch-hole {
    width: 7px;
    height: 7px;
    top: 8px;
  }

  .aato-rickshaw {
    width: 44px;
  }

  .aato-progress-track {
    top: 56px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .phone-frame {
    width: 128px;
    height: 284px;
    border-radius: 10px;
  }

  .phone-screen {
    border-radius: 7px;
  }

  .phone-punch-hole {
    width: 6px;
    height: 6px;
  }

  .phone-screen-placeholder {
    font-size: 1.6rem;
  }

  .aato-rickshaw {
    width: 36px;
  }

  .phone-swipe-hint {
    font-size: 0.5rem;
    bottom: 24px;
  }
}
