/* 
  Furious Fly - Custom Stylesheet
  Author: Hitesh Kumar
  Domain: furiousfly.in
  Theme: Modern High-End Startup (Sleek Slate Blue, Indigo, Clean Glassmorphism)
*/

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

:root {
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  --color-primary: #2563eb;       /* Royal Blue */
  --color-primary-dark: #1d4ed8;  /* Deep Royal */
  --color-accent: #06b6d4;        /* Cyan Spark */
  --color-dark: #0f172a;          /* Slate 900 */
  --color-light: #f8fafc;         /* Slate 50 */
  --color-gray: #64748b;          /* Slate 500 */
  --color-border: #e2e8f0;        /* Slate 200 */
}

/* Reset and base overrides */
html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
}

body {
  background-color: #ffffff;
  color: var(--color-dark);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Typography pairings */
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
}

/* Soft transition for interactive elements */
* {
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Frosted glass header */
.glass-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.dark-glass-nav {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

/* Custom modern scrollbar */
::-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;
}

/* High-end Bento Cards and Glows */
.premium-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
}
.premium-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.premium-card-dark {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 1.25rem;
}
.premium-card-dark:hover {
  border-color: #475569;
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Ambient Glow Blobs */
.glow-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  animation: float 10s ease-in-out infinite alternate;
}

@keyframes float {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(20px) scale(1.1); }
}

/* Reveal-on-scroll trigger support */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Tech Grid Background lines */
.tech-grid {
  background-image: 
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Smooth mobile side drawer animation */
#mobile-drawer {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom interactive active links indicator */
.nav-active-bar {
  position: relative;
}
.nav-active-bar::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}
