: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 */
@media (max-width: 768px) {
  .phone-device {
    width: 290px;
    height: 590px;
    transform: none !important;
  }
}
