/* ==========================================================================
   VIROLOX SUPER APP - CUSTOM STYLESHEET & ANIMATION SUITE
   Brand Palette: Ruby Crimson (#E11D48 / #EF4444) & Emerald Jade (#10B981 / #059669)
   Typography: Plus Jakarta Sans & Outfit
   ========================================================================== */

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

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Righteous', sans-serif;

  /* Red Brand Hues */
  --brand-red-primary: #E11D48;
  --brand-red-light: #FB7185;
  --brand-red-glow: rgba(225, 29, 72, 0.35);

  /* Emerald Green Brand Hues */
  --brand-green-primary: #10B981;
  --brand-green-light: #34D399;
  --brand-green-glow: rgba(16, 185, 129, 0.35);
}

body {
  font-family: var(--font-main);
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
}

/* Glassmorphism Classes */
.glass-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-nav-light {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-nav-dark {
  background: rgb(2, 6, 26);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Dual Neon Gradient Text */
.text-gradient-dual {
background: linear-gradient(135deg, #E11D48 0%, #F43F5E 35%, #10B981 75%, #059669 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;  border-radius: 20px;


}

.text-gradient-red {
  background: linear-gradient(135deg, #EF4444 0%, #E11D48 100%);
  
  
}

.text-gradient-green {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);

  
}

/* Red & Green Ambient Background Mesh */
.hero-glow-red {
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.22) 0%, rgba(225, 29, 72, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-green {
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.20) 0%, rgba(16, 185, 129, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Keyframe Animations */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(0.5deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(12px) rotate(-0.5deg);
  }
}

@keyframes pulseGlowRed {
  0%, 100% {
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.3), inset 0 0 15px rgba(225, 29, 72, 0.1);
  }
  50% {
    box-shadow: 0 0 35px rgba(225, 29, 72, 0.6), inset 0 0 25px rgba(225, 29, 72, 0.25);
  }
}

@keyframes pulseGlowGreen {
  0%, 100% {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3), inset 0 0 15px rgba(16, 185, 129, 0.1);
  }
  50% {
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.6), inset 0 0 25px rgba(16, 185, 129, 0.25);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

.animate-float-reverse {
  animation: floatReverse 7s ease-in-out infinite;
}

.animate-glow-red {
  animation: pulseGlowRed 4s infinite ease-in-out;
}

.animate-glow-green {
  animation: pulseGlowGreen 4s infinite ease-in-out;
}

/* Card Glow on Hover */
.card-hover-red {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover-red:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(225, 29, 72, 0.25), 0 0 0 1px rgba(225, 29, 72, 0.4);
}

.card-hover-green {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover-green:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(16, 185, 129, 0.25), 0 0 0 1px rgba(16, 185, 129, 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
.light ::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #E11D48, #10B981);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #BE123C, #059669);
}

/* Phone Bezel Simulator */
.phone-mockup-frame {
  position: relative;
  width: 310px;
  height: 610px;
  background: #090d16;
  border: 10px solid #1e293b;
  border-radius: 46px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(225, 29, 72, 0.2), 0 0 45px rgba(16, 185, 129, 0.2);
  overflow: hidden;
}

.dark .phone-mockup-frame {
  border-color: #334155;
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 105px;
  height: 24px;
  background: #000000;
  border-radius: 14px;
  z-index: 40;
}

/* Custom Checkbox & Form Styling */
.form-input-custom:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.3);
  border-color: #E11D48;
}

/* Badge Pulse Dot */
.pulsing-dot {
  position: relative;
}
.pulsing-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  animation: radarPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPing {
  75%, 100% {
    transform: translate(-50%, -50%) scale(2.6);
    opacity: 0;
  }
}
