/* SplitGuard Web - Custom Styling & Design System */
:root {
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-dark: #6366F1;
  --accent: #0EA5E9;
  --accent-hover: #0284C7;
  --accent-glow: rgba(14, 165, 233, 0.25);
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --bg-gradient-start: #0B0F19;
  --bg-gradient-end: #111827;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4F46E5;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-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-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.25);
}

/* Gradient Text */
.gradient-text-indigo {
  background: linear-gradient(135deg, #6366F1 0%, #0EA5E9 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Glowing Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb-primary {
  background: radial-gradient(circle, rgba(79, 70, 229, 0.22) 0%, rgba(79, 70, 229, 0) 70%);
}

.glow-orb-accent {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(14, 165, 233, 0) 70%);
}

.glow-orb-emerald {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
}

/* Phone Frame Mockup */
.phone-mockup {
  position: relative;
  width: 320px;
  height: 640px;
  background: #000000;
  border-radius: 44px;
  box-shadow: 0 0 0 10px #1e293b, 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(79, 70, 229, 0.3);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.device-preview-wrapper {
  position: relative;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.device-preview-wrapper:hover {
  transform: translateY(-8px) scale(1.015);
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 35px rgba(14, 165, 233, 0.3));
}

@media (min-width: 640px) {
  .phone-mockup {
    width: 340px;
    height: 680px;
  }
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #000000;
  border-radius: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-camera {
  width: 9px;
  height: 9px;
  background: #1e293b;
  border-radius: 50%;
  border: 1.5px solid #334155;
}

.phone-speaker {
  width: 40px;
  height: 4px;
  background: #1e293b;
  border-radius: 4px;
}

/* Floating animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

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

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

/* Pulse animation */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Badge pulse */
.live-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
  display: inline-block;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Button Shimmer */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: rotate(30deg);
  animation: shimmer 4s infinite linear;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

/* Play Store Badge styling */
.play-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.play-store-btn:hover {
  transform: translateY(-2px);
  border-color: #0EA5E9;
  box-shadow: 0 15px 30px -5px rgba(14, 165, 233, 0.3);
}

/* Custom interactive simulator card */
.interactive-chip {
  cursor: pointer;
  transition: all 0.2s ease;
}

.interactive-chip:hover {
  transform: scale(1.02);
}

.interactive-chip.active {
  border-color: #6366F1;
  background: rgba(99, 102, 241, 0.15);
}

