/* ==========================================================================
   InnoFest 2026 — Master Design System (World-Class Conference & Hackathon Tier)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700;800&display=swap');

:root {
  /* Surface & Background */
  --bg-deep: #05070D;
  --bg-surface: #0A0E1A;
  --bg-card: rgba(13, 19, 33, 0.72);
  --bg-card-hover: rgba(18, 26, 44, 0.85);
  --bg-card-active: rgba(24, 34, 58, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.03);

  /* Iridescent Borders */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-glow-cyan: rgba(56, 189, 248, 0.45);
  --border-glow-amber: rgba(245, 158, 11, 0.45);
  --border-glow-emerald: rgba(16, 185, 129, 0.45);

  /* Curated Neon Color Palette */
  --neon-cyan: #38BDF8;
  --neon-blue: #3B82F6;
  --neon-indigo: #6366F1;
  --neon-violet: #A855F7;
  --neon-emerald: #10B981;
  --neon-amber: #F59E0B;
  --neon-rose: #F43F5E;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-pure: #FFFFFF;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadow & Glow */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.65);
  --glow-cyan: 0 0 35px rgba(56, 189, 248, 0.28), 0 0 80px rgba(56, 189, 248, 0.12);
  --glow-amber: 0 0 35px rgba(245, 158, 11, 0.28), 0 0 80px rgba(245, 158, 11, 0.12);
  --glow-emerald: 0 0 35px rgba(16, 185, 129, 0.28), 0 0 80px rgba(16, 185, 129, 0.12);
  --glow-rose: 0 0 35px rgba(244, 63, 94, 0.28);
}

/* Base reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 90% 15%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Subtle grid overlay for tech vibe */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* Glass panel */
.glass-panel {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.glass-panel:hover {
  border-color: var(--border-light);
}

/* Top Navigation Bar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--text-pure);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #818cf8 100%);
  color: #FFFFFF;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-light);
  transform: translateY(-1px);
}

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-pill.online {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

.status-pill.offline {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  outline: none;
  user-select: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #030712;
  box-shadow: 0 8px 24px -4px rgba(56, 189, 248, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.12);
  box-shadow: 0 12px 32px -4px rgba(56, 189, 248, 0.65), 0 0 40px rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-success:hover {
  filter: brightness(1.12);
  box-shadow: 0 12px 32px -4px rgba(16, 185, 129, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-pure);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-danger {
  background: rgba(244, 63, 94, 0.15);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.4);
}

.btn-danger:hover {
  background: rgba(244, 63, 94, 0.28);
  box-shadow: 0 8px 20px -4px rgba(244, 63, 94, 0.4);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.15rem 2.4rem;
  font-size: 1.18rem;
  border-radius: var(--radius-lg);
}

/* Forms & Inputs */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.input-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.input-field, .select-field, textarea.input-field {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background: rgba(9, 14, 26, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-pure);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.input-field:focus, .select-field:focus, textarea.input-field:focus {
  border-color: var(--neon-cyan);
  background: rgba(14, 21, 38, 0.9);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Badges per Direction */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-ai { background: rgba(56, 189, 248, 0.14); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.35); }
.badge-software { background: rgba(56, 189, 248, 0.16); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.45); }
.badge-hardware { background: rgba(16, 185, 129, 0.16); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.45); }
.badge-media { background: rgba(168, 85, 247, 0.16); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.45); }
.badge-edtech { background: rgba(168, 85, 247, 0.14); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.35); }
.badge-fintech { background: rgba(245, 158, 11, 0.14); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.35); }
.badge-greentech { background: rgba(16, 185, 129, 0.14); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.35); }
.badge-healthtech { background: rgba(244, 63, 94, 0.14); color: #fda4af; border: 1px solid rgba(244, 63, 94, 0.35); }
.badge-general { background: rgba(148, 163, 184, 0.14); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }

/* Audio enable banner */
.audio-banner {
  position: fixed;
  top: 80px;
  right: 2.5rem;
  z-index: 120;
  padding: 0.85rem 1.4rem;
  background: rgba(10, 20, 18, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.6);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--glow-emerald);
  animation: slideInDown 0.4s ease-out;
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Marquee Footer */
.screen-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(6, 9, 16, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 0.9rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  backdrop-filter: blur(20px);
  z-index: 50;
}
