/* --- LIGHT MODE DESIGN SYSTEM & CUSTOM UTILITIES FOR FUTURE LAB --- */

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

:root {
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --bg-dark: #f8fafc;           /* Light slate background */
  --bg-card: rgba(255, 255, 255, 0.7);
  --border-color: rgba(15, 23, 42, 0.08); /* Soft slate border */
  --border-hover: rgba(59, 130, 246, 0.4);
  
  --color-primary: #2563eb;     /* Blue (Royal) */
  --color-secondary: #7c3aed;   /* Purple */
  --color-accent: #db2777;      /* Pink */
}

/* Base Settings */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: #334155;               /* Slate 700 text color */
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

/* Background Effects */
.grid-bg {
  background-image: radial-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 0);
  background-size: 32px 32px;
  background-position: center;
}

.glow-purple {
  filter: blur(140px);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(0,0,0,0) 70%);
}

.glow-blue {
  filter: blur(140px);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(0,0,0,0) 70%);
}

.glow-pink {
  filter: blur(140px);
  background: radial-gradient(circle, rgba(219, 39, 119, 0.05) 0%, rgba(0,0,0,0) 70%);
}

/* Custom Glassmorphism (Light Mode) */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px -10px rgba(59, 130, 246, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

/* Interactive Border Glows */
.gradient-border-btn {
  position: relative;
  border-radius: 9999px;
  background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
              linear-gradient(135deg, var(--color-primary), var(--color-secondary)) border-box;
  border: 1.5px solid transparent;
  transition: all 0.3s ease;
}

.gradient-border-btn:hover {
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
  transform: scale(1.02);
}

/* Custom Webkit Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Typing & Cursor Animation */
.cursor-blink::after {
  content: '|';
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Pulse animation for Live status */
@keyframes pulse-ring {
  0% { transform: scale(0.65); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 0; }
}

.status-pulse {
  position: relative;
}

.status-pulse::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* Scroll Fade-in Utilities */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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