:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d121f;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.75);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.25);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.4);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.35);
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.3);
  --accent-indigo: #6366f1;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-emerald);
}

/* Liquid Aurora Mesh Background */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  filter: blur(120px);
  border-radius: 50%;
  opacity: 0.45;
  will-change: transform;
}

.blob-1 {
  top: -10%;
  left: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #059669 0%, rgba(5, 150, 105, 0) 70%);
  animation: floatAurora1 22s ease-in-out infinite alternate;
}

.blob-2 {
  top: 30%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #0284c7 0%, rgba(2, 132, 199, 0) 70%);
  animation: floatAurora2 26s ease-in-out infinite alternate;
}

.blob-3 {
  bottom: -15%;
  left: 30%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #4f46e5 0%, rgba(79, 70, 229, 0) 70%);
  animation: floatAurora3 30s ease-in-out infinite alternate;
}

.blob-4 {
  top: 60%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #d97706 0%, rgba(217, 119, 6, 0) 70%);
  animation: floatAurora1 18s ease-in-out infinite alternate;
  opacity: 0.25;
}

@keyframes floatAurora1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.15); }
  100% { transform: translate(-40px, 90px) scale(0.95); }
}

@keyframes floatAurora2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-90px, -50px) scale(1.2); }
  100% { transform: translate(50px, 40px) scale(0.9); }
}

@keyframes floatAurora3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -80px) scale(1.1); }
  100% { transform: translate(70px, -30px) scale(1.05); }
}

/* Subtle Grid Texture Overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Glassmorphism Styles */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.glass-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(16, 185, 129, 0.15);
}

/* Glowing Typography */
.text-gradient-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Interactive 3D Phone Mockup Container */
.phone-perspective-wrapper {
  perspective: 1400px;
  transform-style: preserve-3d;
}

.phone-device {
  width: 320px;
  height: 650px;
  border-radius: 46px;
  background: #020617;
  border: 6px solid #1e293b;
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 30px 70px -15px rgba(0, 0, 0, 0.8),
    0 0 45px rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease-out;
  transform: rotateY(-8deg) rotateX(6deg);
}

.phone-screen-reflection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
  z-index: 20;
}

.phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000000;
  border-radius: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.island-camera {
  width: 8px;
  height: 8px;
  background: #0f172a;
  border-radius: 50%;
  border: 1px solid #334155;
}

.island-sensor {
  width: 6px;
  height: 6px;
  background: #064e3b;
  border-radius: 50%;
  box-shadow: 0 0 4px #10b981;
}

/* Voice Wave Animation */
.voice-wave-bar {
  display: inline-block;
  width: 3px;
  background: #10b981;
  border-radius: 3px;
  margin: 0 1.5px;
  animation: wavePulse 1.2s ease-in-out infinite;
}

.voice-wave-bar:nth-child(2) { animation-delay: 0.15s; }
.voice-wave-bar:nth-child(3) { animation-delay: 0.3s; }
.voice-wave-bar:nth-child(4) { animation-delay: 0.45s; }
.voice-wave-bar:nth-child(5) { animation-delay: 0.6s; }

@keyframes wavePulse {
  0%, 100% { height: 6px; }
  50% { height: 18px; }
}

/* Floating Badge Animation */
.floating-badge {
  animation: badgeFloat 4s ease-in-out infinite alternate;
}

.floating-badge-delayed {
  animation: badgeFloat 4.8s ease-in-out 1.2s infinite alternate;
}

@keyframes badgeFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Pulsing Dots */
.live-pulse {
  position: relative;
}

.live-pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: inherit;
  animation: pulseExpand 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.6;
}

@keyframes pulseExpand {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

/* Responsive tweaks with Mobile 3D Motion */
@media (max-width: 768px) {
  .phone-device {
    width: 290px;
    height: 590px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(4deg);
    animation: mobilePhoneFloat 6s ease-in-out infinite alternate;
  }
}

@keyframes mobilePhoneFloat {
  0% { transform: perspective(1000px) rotateY(-6deg) rotateX(3deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-3deg) rotateX(6deg) translateY(-6px); }
  100% { transform: perspective(1000px) rotateY(-5deg) rotateX(4deg) translateY(-2px); }
}

/* ==========================================================================
   2026 CINEMATIC MOTION & CRO CONVERSION ADDITIONS
   ========================================================================== */
/* 1. High-Converting Download Button Pulse */
.cta-glow-pulse {
  animation: ctaPulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 2. Audio Waveform Pulse Engine (Live Voice Interaction) */
.active-pulsing .voice-wave-bar {
  animation: waveSurge 0.45s ease-in-out infinite alternate !important;
}
@keyframes waveSurge {
  0% { height: 6px; background-color: #10b981; }
  100% { height: 26px; background-color: #34d399; box-shadow: 0 0 14px #10b981; }
}

/* 3. Universal GPU-Accelerated Scroll Reveal System */
.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale-init {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-scale-init.revealed {
  opacity: 1;
  transform: scale(1);
}

.reveal-left-init {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-left-init.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right-init {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-right-init.revealed {
  opacity: 1;
  transform: translateX(0);
}

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

/* 4. Dynamic Cursor Spotlight Glow on Cards */
.spotlight-card {
  position: relative;
  overflow: hidden;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(16, 185, 129, 0.16), transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}
.spotlight-card:hover::before {
  opacity: 1;
}

/* 5. Glass Island Subtle Glow Borders */
.glass-glow-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-glow-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 36px -10px rgba(16, 185, 129, 0.2);
}

/* 6. Active Chip Gradient Border */
.active-simulator-chip {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(6, 182, 212, 0.15)) !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
  transform: scale(1.03);
}

/* ==========================================================================
   8-DIMENSION DESIGN ELEVATION: TYPOGRAPHY, SWIPER, TACTILE & SAFE-AREA
   ========================================================================== */

/* 1. Optimized Devanagari Typography Rendering */
body, h1, h2, h3, h4, p, span, button, a {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
p, .hindi-text {
  line-height: 1.65 !important;
}

/* 2. Glass Island Inner Highlight & Depth Layering */
.glass-glow-card, .glass-panel {
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.1), 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* 3. Mobile Swipeable City Ribbon (No-Scrollbar) */
.city-scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px;
}
.city-scroll-container::-webkit-scrollbar {
  display: none;
}

/* 4. Tactile Touch Feedback */
.city-pill-btn, .simulator-chip-btn, .cta-glow-pulse, .glass-glow-card {
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.city-pill-btn:active, .simulator-chip-btn:active {
  transform: scale(0.95);
}

/* 5. Safe Area Inset for Mobile Sticky Bar */
#mobile-sticky-bar {
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}

/* 6. Pillar 12: Blurred Site Backdrop for Value Offer Landing */
.site-blurred {
  filter: blur(10px) brightness(0.7);
  pointer-events: none;
  user-select: none;
  transform: scale(0.99);
  transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
#site-root {
  transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}


