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

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.5);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Kente Pattern */
.kente-strip {
  height: 12px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    #FFD700 0px, #FFD700 40px,
    #FF0000 40px, #FF0000 80px,
    #008000 80px, #008000 120px,
    #000000 120px, #000000 160px
  );
  position: relative;
  z-index: 100;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.kente-strip::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}

/* Typography Utilities */
.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.text-gradient {
  background: linear-gradient(to bottom right, #fff 30%, rgba(255,255,255,0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent-gradient {
  background: linear-gradient(to right, var(--accent), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Background Glows */
.glow-bg {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

.glow-top-right {
  top: -200px;
  right: -200px;
  background: var(--accent);
}

.glow-bottom-left {
  bottom: -200px;
  left: -200px;
  background: #8b5cf6;
}

.glow-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  opacity: 0.1;
}

/* Progress Bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 100;
  width: 0%;
}

/* Navbar */
#navbar {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.scrolled {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Cards & Glassmorphism */
.card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.tag:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Logo Container */
.logo-container {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}

.logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* Navigation Links */
.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-social-link {
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-social-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.mobile-nav-link {
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--accent);
  transform: scale(1.1);
}

/* Mobile Menu States */
.translate-x-full {
  transform: translateX(100%);
}

#mobile-menu.active {
  transform: translateX(0);
}

/* Responsive Grid */
.grid {
  display: grid;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-\[1fr_3fr\] { grid-template-columns: 1fr 3fr; }
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:w-1\/3 { width: 33.333333%; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
}

/* Image Grid (Origin Story) */
.image-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.image-grid-3 .grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.image-grid-3 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(100%);
  display: block;
}

.image-grid-3 img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
  box-shadow: 0 0 30px var(--accent-glow);
}

@media (max-width: 768px) {
  .image-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .image-grid-3 img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .image-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.w-full { width: 100%; }
.z-40 { z-index: 40; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-20 { padding-top: 5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-8 { margin-top: 2rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-8 { padding-top: 2rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.overflow-hidden { overflow: hidden; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-l-2 { border-left-width: 2px; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-blue-500 { border-color: #3b82f6; }
.bg-blue-500\/10 { background-color: rgba(59, 130, 246, 0.1); }
.bg-blue-500\/5 { background-color: rgba(59, 130, 246, 0.05); }
.bg-white\/2 { background-color: rgba(255, 255, 255, 0.02); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.blur-\[120px\] { filter: blur(120px); }
.text-6xl { font-size: 3.75rem; }
.text-8xl { font-size: 6rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }
.text-white { color: #ffffff; }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.text-white\/50 { color: rgba(255, 255, 255, 0.5); }
.text-white\/40 { color: rgba(255, 255, 255, 0.4); }
.text-white\/30 { color: rgba(255, 255, 255, 0.3); }
.text-blue-500 { color: #3b82f6; }
.text-blue-400 { color: #60a5fa; }
.text-center { text-align: center; }
.italic { font-style: italic; }
.grayscale { filter: grayscale(100%); }
.hover\:grayscale-0:hover { filter: grayscale(0%); }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-700 { transition-duration: 700ms; }
.mx-auto { margin-left: auto; margin-right: auto; }
.h-1 { height: 0.25rem; }
.w-20 { width: 5rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
.aspect-\[2\/3\] { aspect-ratio: 2 / 3; }
/* Responsive Adjustments */
@media (max-width: 1024px) {
  .text-8xl { font-size: 4.5rem; }
  .text-6xl { font-size: 3.5rem; }
  .py-32 { padding-top: 6rem; padding-bottom: 6rem; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
  .text-8xl { font-size: 3.5rem; }
  .text-6xl { font-size: 2.75rem; }
  .text-5xl { font-size: 2.25rem; }
  .text-4xl { font-size: 1.875rem; }
  .py-32 { padding-top: 4rem; padding-bottom: 4rem; }
  .py-20 { padding-top: 3rem; padding-bottom: 3rem; }
  
  .grid {
    grid-template-columns: 1fr !important;
  }
  
  .md\:grid-cols-2, .md\:grid-cols-3, .lg\:grid-cols-4 {
    grid-template-columns: 1fr !important;
  }
  
  .card { padding: 1.5rem; }
  
  /* Hero adjustments */
  section.min-h-screen {
    padding-top: 6rem;
    text-align: center;
  }
  
  section.min-h-screen .container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .text-8xl { font-size: 2.75rem; }
  .text-6xl { font-size: 2.25rem; }
  .text-5xl { font-size: 1.875rem; }
  .text-4xl { font-size: 1.5rem; }
  .mono { font-size: 0.65rem; }
  
  .container { padding: 0 1rem; }
}
