/* ==========================================================================
   ChambaPE — Clean Light Silicon Valley Stylesheet (Apple / Stripe Aesthetic)
   Color Palette:
     - Pure Clean Background: #FFFFFF, #F8FAFC, #F1F5F9
     - Dark Corporate Typography: #0F172A, #1E293B, #334155
     - Electric Royal Blue:   #1D4ED8, #2563EB
     - Tech Sky Blue:         #0284C7, #38BDF8
     - Steel Blue ("PE"):     #475569, #6497B1
     - WhatsApp Green:        #25D366, #128C7E
     - Card Borders & Glass:  #E2E8F0, rgba(255, 255, 255, 0.9)
   ========================================================================== */

:root {
  --bg-main: #FFFFFF;
  --bg-surface: #F8FAFC;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --chamba-navy: #0F2942;
  --chamba-electric: #2563EB;
  --chamba-sky: #0284C7;
  --chamba-steel: #6497B1;
  --chamba-border: #E2E8F0;
  --whatsapp-green: #25D366;
}

body {
  background-color: #FFFFFF;
  color: #0F172A;
  overflow-x: hidden;
}

::selection {
  background-color: rgba(37, 99, 235, 0.2);
  color: #1D4ED8;
}

/* Ambient Clean Light Grid Pattern */
.clean-grid-pattern {
  background-image: 
    radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px),
    linear-gradient(to right, rgba(226, 232, 240, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
}

/* ==========================================================================
   Clean Frosted Glassmorphism
   ========================================================================== */
.glass-card-light {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s;
}

.glass-card-light::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37, 99, 235, 0.2), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card-light:hover::before {
  opacity: 1;
}

.glass-card-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(37, 99, 235, 0.1), 0 8px 20px rgba(15, 23, 42, 0.04);
  border-color: rgba(147, 197, 253, 0.8);
}

/* ==========================================================================
   Buttons & Inputs
   ========================================================================== */
.btn-chamba-glow {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #0284C7 100%);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35), 0 2px 6px rgba(37, 99, 235, 0.2);
  color: #FFFFFF;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-chamba-glow:hover {
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.45), 0 4px 12px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px) scale(1.015);
}

.btn-chamba-glow:active {
  transform: translateY(0px) scale(0.98);
}

.input-light {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #0F172A;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-light:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  outline: none;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.btn-whatsapp-floating {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp-floating:hover {
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px) scale(1.03);
}

.btn-whatsapp-floating:active {
  transform: translateY(0px) scale(0.98);
}

/* ==========================================================================
   Typography Gradients
   ========================================================================== */
.text-gradient-hero {
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 70%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-arrow {
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 60%, #1D4ED8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-pe {
  background: linear-gradient(135deg, #2563EB 0%, #0F2942 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   TRUE HORIZONTAL SLIDING CAROUSEL (Zero-Jumping, Zero-Gaps)
   ========================================================================== */
.carousel-banner-wrapper {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05), 0 2px 8px rgba(15, 23, 42, 0.02);
  position: relative;
  overflow: hidden;
}

/* Viewport isolates all slides horizontally */
.carousel-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Track moves horizontally as one seamless strip */
.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* Every slide has exact 100% width and aligns perfectly */
.carousel-slide {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Smartphone Mockup Frame (Balanced Proportions) */
.smartphone-frame {
  width: 220px;
  height: 380px;
  background: #0B1426;
  border-radius: 36px;
  border: 6px solid #1E293B;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2), inset 0 0 8px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.smartphone-notch {
  width: 80px;
  height: 16px;
  background: #1E293B;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
}

.smartphone-screen {
  width: 100%;
  height: 100%;
  background: #07101E;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Ticker Auto-scroll */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-ticker {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.animate-ticker:hover {
  animation-play-state: paused;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #F8FAFC;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2563EB;
}
