/* public/css/style.css - Next-Gen Awwwards/Vercel Studio Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg-deep: #030509;
  --bg-card: rgba(12, 17, 29, 0.72);
  --bg-card-hover: rgba(17, 24, 40, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glow-red: rgba(239, 68, 68, 0.4);
  --border-glow-violet: rgba(139, 92, 246, 0.4);
  --accent-red: #ef4444;
  --accent-rose: #f43f5e;
  --accent-purple: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-deep);
  color: #f8fafc;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(239, 68, 68, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 40%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 10% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Cyber Grid Lines Overlay */
.cyber-grid {
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

code, .font-mono {
  font-family: 'JetBrains Mono', monospace;
}

.font-display {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #030509;
}
::-webkit-scrollbar-thumb {
  background: #1c2438;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Glassmorphism 2.0 with Specular Highlight */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 40px -15px rgba(0, 0, 0, 0.7);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.12),
    0 25px 50px -12px rgba(0, 0, 0, 0.85);
}

.glass-panel-glow {
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.1),
    0 0 50px -10px rgba(239, 68, 68, 0.2);
}

/* Text Gradients */
.gradient-text-hero {
  background: linear-gradient(135deg, #ffffff 30%, #fca5a5 65%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.gradient-text-purple {
  background: linear-gradient(135deg, #e9d5ff 0%, #a855f7 50%, #7e22ce 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glowing Neon Borders */
.glow-border-red {
  position: relative;
}
.glow-border-red::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.6), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Custom Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #121826;
  transition: .35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: .35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
input:checked + .slider {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #10b981;
}
input:checked + .slider:before {
  transform: translateX(22px);
}

/* Dropzone Styling */
.dropzone-box {
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(8, 12, 20, 0.65);
  transition: all 0.25s ease-in-out;
}
.dropzone-box:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
  transform: translateY(-1px);
}

/* Live Pulse Beacon */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-beacon 1.8s infinite;
}

@keyframes pulse-beacon {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Buttons with Shimmer & Glow */
.btn-primary-glow {
  background: linear-gradient(135deg, #ef4444 0%, #e11d48 50%, #be123c 100%);
  box-shadow: 0 4px 25px -2px rgba(239, 68, 68, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.65);
}
.btn-primary-glow:active {
  transform: translateY(0);
}

.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.btn-secondary-glass:active {
  transform: translateY(0);
}

/* Bento Card Accent Tops */
.bento-accent-red {
  border-top: 2px solid #ef4444;
}
.bento-accent-purple {
  border-top: 2px solid #8b5cf6;
}
.bento-accent-blue {
  border-top: 2px solid #3b82f6;
}
.bento-accent-emerald {
  border-top: 2px solid #10b981;
}

/* Shimmer Animation */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.animate-shimmer {
  position: relative;
  overflow: hidden;
}
.animate-shimmer::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.18) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 3s infinite;
}
