@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #0a001f;
  --bg-deep: #1a0033;
  --neon-gold: #FFD700;
  --neon-cyan: #00F0FF;
  --glass-bg: rgba(26, 0, 51, 0.4);
  --glass-border: rgba(0, 240, 255, 0.2);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .font-space {
  font-family: 'Space Grotesk', sans-serif;
}

/* Light Matrix Scanline Effect */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-gold);
}

/* Nebula Background for Hero */
.nebula-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.15) 0%, rgba(26, 0, 51, 0) 50%), 
              radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.15) 0%, rgba(10, 0, 31, 0) 40%);
  animation: rotateNebula 20s linear infinite;
}

@keyframes rotateNebula {
  0% { transform: scale(1.2) rotate(0deg); }
  50% { transform: scale(1.5) rotate(180deg); }
  100% { transform: scale(1.2) rotate(360deg); }
}

/* Particle Rain (Stars) */
.particle-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  border-radius: 50%;
  animation: fall linear infinite;
}

.particle.gold {
  background: var(--neon-gold);
  box-shadow: 0 0 10px var(--neon-gold);
}

@keyframes fall {
  0% { transform: translateY(-100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh) scale(1); opacity: 0; }
}

/* Neon Text with Holographic Glow */
.neon-text {
  color: #fff;
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan), 0 0 80px var(--neon-cyan);
  transition: all 0.3s ease;
}

.neon-text:hover {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px var(--neon-gold), 0 0 40px var(--neon-gold), 0 0 80px var(--neon-gold);
  color: #fff;
}

.neon-text-gold {
  color: #fff;
  text-shadow: 0 0 5px #fff, 0 0 10px var(--neon-gold), 0 0 20px var(--neon-gold), 0 0 40px var(--neon-gold);
}

/* Holographic Glassmorphism Cards */
.holographic-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 240, 255, 0.1);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  transform-style: preserve-3d;
}

.holographic-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(transparent, var(--neon-cyan), transparent 30%);
  animation: rotateGlow 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.holographic-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--bg-deep);
  border-radius: 18px;
  z-index: 1;
}

.holographic-card > * {
  position: relative;
  z-index: 2;
}

.holographic-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.3), inset 0 0 30px rgba(255, 215, 0, 0.2);
  border-color: var(--neon-gold);
}

.holographic-card:hover::before {
  opacity: 1;
  background: conic-gradient(transparent, var(--neon-gold), transparent 30%);
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Liquid Shimmer Buttons */
.liquid-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bg-dark);
  background: var(--neon-cyan);
  border: none;
  border-radius: 50px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 0 15px var(--neon-cyan);
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

.liquid-button::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.liquid-button:hover {
  background: var(--neon-gold);
  box-shadow: 0 0 30px var(--neon-gold);
  transform: scale(1.05);
}

.liquid-button:hover::before {
  left: 100%;
  animation: liquidShimmer 1.5s infinite;
}

@keyframes liquidShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Floating Buttons & Orbit */
.floating-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1000;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-whatsapp {
  background: #25D366;
  box-shadow: 0 0 20px #25D366;
  animation: orbitFloat 4s ease-in-out infinite, pulseGlow 2s infinite;
}

.float-phone {
  background: #FF3B30;
  box-shadow: 0 0 20px #FF3B30;
  animation: orbitFloat 4s ease-in-out infinite reverse;
}

.float-btn:hover {
  transform: scale(1.2);
  animation-play-state: paused;
}

@keyframes orbitFloat {
  0% { transform: translate(0, 0); }
  25% { transform: translate(3px, -5px); }
  50% { transform: translate(0, -10px); }
  75% { transform: translate(-3px, -5px); }
  100% { transform: translate(0, 0); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 0 30px rgba(37, 211, 102, 1); }
  100% { box-shadow: 0 0 10px rgba(37, 211, 102, 0.5); }
}

/* 3D Floating Taxi Icon */
.floating-taxi {
  animation: float3D 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px var(--neon-cyan));
}

@keyframes float3D {
  0% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  33% { transform: translateY(-20px) rotateX(5deg) rotateY(10deg); filter: drop-shadow(0 0 50px var(--neon-gold)); }
  66% { transform: translateY(10px) rotateX(-5deg) rotateY(-10deg); }
  100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
}

/* Smooth Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Input Fields */
.premium-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: #fff;
  border-radius: 10px;
  padding: 15px;
  width: 100%;
  outline: none;
  transition: all 0.3s ease;
}

.premium-input:focus {
  border-color: var(--neon-gold);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.premium-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(0, 240, 255, 0.2);
  border-top-color: var(--neon-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px var(--neon-cyan);
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Accordion */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

/* Mobile Nav */
#mobile-menu {
  transition: transform 0.3s ease-in-out;
}
.mobile-menu-active {
  transform: translateX(0) !important;
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(to right, var(--neon-cyan), var(--neon-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
