/* FuturonHub - Modern Engineering Community Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --fh-bg-dark: #090d16;
  --fh-bg-card: #111827;
  --fh-bg-card-hover: #1f293d;
  --fh-border-color: #1e293b;
  --fh-primary: #0d6efd;
  --fh-primary-glow: rgba(13, 110, 253, 0.4);
  --fh-accent-cyan: #00f2fe;
  --fh-accent-purple: #7928ca;
  --fh-text-muted: #94a3b8;
  --fh-text-main: #f8fafc;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--fh-bg-dark);
  color: var(--fh-text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #b224ef 0%, #7579ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass & Card Components */
.card-fh {
  background: var(--fh-bg-card);
  border: 1px solid var(--fh-border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.card-fh:hover {
  transform: translateY(-3px);
  border-color: #334155;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px var(--fh-primary-glow);
}

.hero-gradient {
  background: radial-gradient(circle at 50% 20%, rgba(13, 110, 253, 0.15) 0%, rgba(9, 13, 22, 0.95) 70%);
  border-bottom: 1px solid var(--fh-border-color);
}

/* Category Cards Grid */
.category-card {
  background: #151d30;
  border: 1px solid var(--fh-border-color);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
  color: var(--fh-text-main);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.category-card:hover {
  background: #1e293b;
  border-color: var(--fh-accent-cyan);
  color: var(--fh-accent-cyan);
  transform: scale(1.03);
}

.category-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Code Snippet Styles */
pre code {
  background: #050811 !important;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 1rem;
  color: #38bdf8;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
}

/* Buttons */
.btn-fh-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0052cc 100%);
  border: none;
  color: #ffffff;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--fh-primary-glow);
  transition: all 0.2s ease;
}

.btn-fh-primary:hover {
  background: linear-gradient(135deg, #1a75ff 0%, #0066ff 100%);
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.6);
  color: #fff;
}

.btn-fh-outline {
  background: transparent;
  border: 1px solid var(--fh-border-color);
  color: var(--fh-text-main);
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
}

.btn-fh-outline:hover {
  background: #1e293b;
  border-color: var(--fh-accent-cyan);
  color: var(--fh-accent-cyan);
}

/* Navbar */
.navbar-fh {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fh-border-color);
}

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid var(--fh-border-color);
  background: #060911;
}

/* Badges */
.badge-status {
  padding: 0.35em 0.65em;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  text-transform: uppercase;
}

.badge-published { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid #10b981; }
.badge-pending { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid #f59e0b; }
.badge-rejected { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1px solid #ef4444; }
.badge-draft { background: rgba(148, 163, 184, 0.2); color: #94a3b8; border: 1px solid #94a3b8; }
