/* ==========================================================================
   Cholo (চলো) - Ultra-Premium Ride Sharing Upcoming Landing Page
   Palette: Obsidian Dark, Emerald Mint (#00C896), Electric Royal (#0052CC)
   Smooth Entrance & Bidirectional Scroll Animation Engine
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary-emerald: #00C896;
  --primary-blue: #0052CC;
  --bg-obsidian: #060B14;
  --bg-card: rgba(11, 20, 38, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-emerald-glow: rgba(0, 200, 150, 0.4);
}

* {
  scroll-behavior: smooth;
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
}

.font-heading {
  font-family: 'Outfit', 'Hind Siliguri', sans-serif;
  letter-spacing: -0.025em;
}

/* Scroll Progress Bar at the Very Top */
#scrollProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #00C896 0%, #38BDF8 50%, #0052CC 100%);
  z-index: 9999;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 12px rgba(0, 200, 150, 0.6);
}

/* Luxurious Obsidian Background with Cyber Grid Overlay */
.cholo-luxury-bg {
  background-color: #060B14;
  background-image: 
    radial-gradient(at 0% 0%, rgba(0, 200, 150, 0.12) 0px, transparent 45%),
    radial-gradient(at 100% 0%, rgba(0, 82, 204, 0.18) 0px, transparent 50%),
    radial-gradient(at 50% 40%, rgba(14, 165, 233, 0.08) 0px, transparent 60%),
    radial-gradient(at 80% 100%, rgba(0, 200, 150, 0.1) 0px, transparent 50%),
    radial-gradient(at 20% 100%, rgba(0, 82, 204, 0.14) 0px, transparent 50%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 64px 64px, 64px 64px;
  background-attachment: fixed;
}

/* Glass Panels & Hover Elevation */
.glass-panel {
  background: rgba(11, 22, 41, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-hover {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-hover:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(0, 200, 150, 0.45);
  box-shadow: 0 20px 40px -15px rgba(0, 82, 204, 0.3), 0 0 25px rgba(0, 200, 150, 0.18);
}

/* Radiant Text Gradients */
.text-gradient-cholo {
  background: linear-gradient(135deg, #00C896 0%, #38BDF8 50%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gradient Buttons */
.btn-gradient-primary {
  background: linear-gradient(135deg, #00C896 0%, #0052CC 100%);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.btn-gradient-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.6s;
}

.btn-gradient-primary:hover::after {
  left: 100%;
}

.btn-gradient-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 200, 150, 0.4), 0 8px 20px -6px rgba(0, 82, 204, 0.35);
}

.btn-gradient-captain {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  transition: all 0.35s ease;
}

.btn-gradient-captain:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.45);
}

/* ==========================================================================
   Page Load Entrance Animations
   ========================================================================== */
@keyframes animFadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -25px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes animFadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes animScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes animPhoneEntrance {
  from {
    opacity: 0;
    transform: translate3d(50px, 20px, 0) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

.anim-entrance-down {
  animation: animFadeInDown 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.anim-entrance-up {
  animation: animFadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.anim-entrance-scale {
  animation: animScaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.anim-entrance-phone {
  animation: animPhoneEntrance 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ==========================================================================
   Bidirectional Smooth Scroll-Reveal Engine
   Animates smoothly when scrolling top-to-bottom AND bottom-to-top!
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(0.97);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.reveal-left {
  transform: translate3d(-40px, 0, 0) scale(0.98);
}

.scroll-reveal.reveal-right {
  transform: translate3d(40px, 0, 0) scale(0.98);
}

.scroll-reveal.reveal-scale {
  transform: scale(0.9);
}

/* Active State When In Viewport (Both Top-to-Bottom and Bottom-to-Top) */
.scroll-reveal.is-in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Micro Delays for Staggered Cards */
.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }
.stagger-5 { transition-delay: 400ms; }
.stagger-6 { transition-delay: 480ms; }

/* Continuous Ambient Floats */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes carBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-2px) rotate(-1deg); }
  75% { transform: translateY(1px) rotate(1deg); }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatSlow 6s ease-in-out 2s infinite;
}

.animate-car {
  animation: carBob 2s ease-in-out infinite;
}

/* Phone Mockup Styling */
.phone-frame {
  box-shadow: 
    0 0 0 10px #111C2E,
    0 0 0 12px #1E2D45,
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(0, 200, 150, 0.2);
  border-radius: 40px;
}

.road-dash {
  stroke-dasharray: 8, 8;
  animation: dashRoad 1.2s linear infinite;
}

@keyframes dashRoad {
  to {
    stroke-dashoffset: -16;
  }
}

/* Floating Back-To-Top Button */
#btnBackToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 30, 56, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 200, 150, 0.4);
  color: #00C896;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 200, 150, 0.25);
}

#btnBackToTop.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#btnBackToTop:hover {
  transform: translateY(-4px) scale(1.08);
  background: #00C896;
  color: #060B14;
  border-color: #00C896;
  box-shadow: 0 15px 30px -5px rgba(0, 200, 150, 0.45);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #060B14;
}

::-webkit-scrollbar-thumb {
  background: #1B2940;
  border-radius: 10px;
  border: 2px solid #060B14;
}

::-webkit-scrollbar-thumb:hover {
  background: #00C896;
}
