/* ==========================================================================
   AURA 3D Web Agency - Futuristic 3D Cyber Theme Stylesheet
   ========================================================================== */

:root {
  --bg-primary: #070913;
  --bg-secondary: #0d1224;
  --bg-card: rgba(16, 23, 42, 0.65);
  --bg-card-hover: rgba(24, 34, 61, 0.85);
  --border-card: rgba(56, 189, 248, 0.15);
  --border-glow: rgba(56, 189, 248, 0.4);
  
  --color-cyan: #06b6d4;
  --color-blue: #3b82f6;
  --color-purple: #8b5cf6;
  --color-pink: #ec4899;
  --color-emerald: #10b981;
  --color-amber: #f59e0b;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-sans);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Custom Cyber Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #070913;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #06b6d4, #8b5cf6);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #38bdf8, #c084fc);
}

/* Selection */
::selection {
  background: rgba(6, 182, 212, 0.35);
  color: #ffffff;
}

/* Background Cyber Grid & Glow Orbs */
.cyber-grid {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px 0 rgba(6, 182, 212, 0.15);
}

.glass-nav {
  background: rgba(7, 9, 19, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* 3D Canvas Hero Container */
#hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

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

.gradient-text-purple {
  background: linear-gradient(135deg, #c084fc 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

/* 3D Tilt Card Base */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.tilt-inner {
  transform: translateZ(30px);
}

.tilt-inner-deep {
  transform: translateZ(50px);
}

/* Hologram Button */
.btn-holo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  border-radius: 9999px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #ffffff;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  text-decoration: none;
}

.btn-holo:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.7);
  color: #ffffff;
}

.btn-holo-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.6);
  color: #f8fafc;
  border: 1px solid rgba(56, 189, 248, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-holo-outline:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

/* Shimmer scanline effect */
.scanline {
  position: relative;
  overflow: hidden;
}

.scanline::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(6, 182, 212, 0.15), transparent);
  animation: scan 4s linear infinite;
}

@keyframes scan {
  0% { top: -100%; }
  100% { top: 200%; }
}

/* Floating animation */
@keyframes floatUp {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.floating-anim {
  animation: floatUp 5s ease-in-out infinite;
}

.floating-anim-delay {
  animation: floatUp 6s ease-in-out infinite 2.5s;
}

/* Pulse Glow Badge */
.live-pulse {
  position: relative;
}
.live-pulse::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  top: 50%;
  left: 0.5rem;
  transform: translateY(-50%);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 3D Browser Mockup Frame */
.browser-mockup {
  border-radius: 12px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.browser-mockup:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -10px rgba(6, 182, 212, 0.25);
}

.browser-header {
  height: 36px;
  background: #0f172a;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-url-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  height: 22px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  color: #94a3b8;
  margin-left: 8px;
  font-family: monospace;
}

/* Range Slider Custom Styling */
input[type=range] {
  -webkit-appearance: none;
  background: transparent;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #06b6d4;
  cursor: pointer;
  box-shadow: 0 0 10px #06b6d4;
  margin-top: -7px;
  border: 2px solid #ffffff;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Toast Notification */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  min-width: 300px;
  max-width: 420px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #f8fafc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: slideInRight 0.35s ease forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
