/* ========================================
   AURORA STACK THEME - GitHub Pages
   Cyberpunk Aurora Borealis Aesthetic
   ======================================== */

:root {
  /* Aurora Stack Color Palette */
  --aurora-background: #0D1117;
  --aurora-card: #161B22;
  --aurora-teal: #00F5D4;
  --aurora-green: #9AEF82;
  --aurora-purple: #B900F5;
  --aurora-text: #F0F0F0;
  --aurora-border: rgba(139, 148, 158, 0.3);

  /* Typography */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(135deg, #0D1117 0%, #161B22 100%);
  color: var(--aurora-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(22, 27, 34, 0.5);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--aurora-border);
  z-index: 1000;
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  padding: 10rem 0 6rem;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--aurora-teal);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(240, 240, 240, 0.8);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(22, 27, 34, 0.6);
  border: 1px solid var(--aurora-border);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: 0 0 16px 2px rgba(0, 245, 212, 0.2);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--aurora-teal);
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.5);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(240, 240, 240, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--aurora-teal);
  color: var(--aurora-background);
  box-shadow: 0 0 12px 2px rgba(0, 245, 212, 0.6);
}

.btn-primary:hover {
  box-shadow: 0 0 20px 4px rgba(0, 245, 212, 0.8);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--aurora-green);
  color: var(--aurora-background);
  box-shadow: 0 0 12px 2px rgba(154, 239, 130, 0.6);
}

.btn-secondary:hover {
  box-shadow: 0 0 20px 4px rgba(154, 239, 130, 0.8);
  transform: translateY(-2px);
}

/* ========================================
   FEATURES GRID
   ======================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--aurora-card);
  border: 1px solid var(--aurora-border);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: 0 0 16px 2px rgba(0, 245, 212, 0.2);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--aurora-teal);
}

.feature-card p {
  color: rgba(240, 240, 240, 0.8);
  line-height: 1.6;
}

/* ========================================
   SETUP STEPS
   ======================================== */

.setup-steps {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.step-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--aurora-teal);
  color: var(--aurora-background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 0 12px 2px rgba(0, 245, 212, 0.6);
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--aurora-green);
}

.step-content pre {
  background: rgba(13, 17, 23, 0.8);
  border: 1px solid var(--aurora-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  overflow-x: auto;
  margin-top: 1rem;
}

.step-content code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--aurora-text);
}

.info-box {
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.3);
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.info-box h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--aurora-teal);
}

/* ========================================
   DOCUMENTATION GRID
   ======================================== */

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.doc-card {
  background: var(--aurora-card);
  border: 1px solid var(--aurora-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.doc-card:hover {
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: 0 0 16px 2px rgba(0, 245, 212, 0.2);
  transform: translateY(-4px);
}

.doc-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--aurora-teal);
}

.doc-card p {
  color: rgba(240, 240, 240, 0.7);
  font-size: 0.875rem;
}

/* ========================================
   TECH STACK
   ======================================== */

.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.tech-category h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--aurora-green);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ========================================
   BADGES & TAGS
   ======================================== */

.badge-aurora {
  background: rgba(185, 0, 245, 0.2);
  color: var(--aurora-purple);
  border: 1px solid rgba(185, 0, 245, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 0 8px 1px rgba(185, 0, 245, 0.3);
  transition: all 0.2s ease;
}

.badge-aurora:hover {
  background: rgba(185, 0, 245, 0.3);
  box-shadow: 0 0 12px 2px rgba(185, 0, 245, 0.5);
}

/* ========================================
   LINKS
   ======================================== */

.link-aurora {
  color: var(--aurora-teal);
  text-decoration: none;
  transition: all 0.2s ease;
}

.link-aurora:hover {
  color: var(--aurora-teal);
  text-shadow: 0 0 8px rgba(0, 245, 212, 0.6);
}

/* ========================================
   GRADIENT EFFECTS
   ======================================== */

.heading-aurora {
  background: linear-gradient(90deg, #00F5D4 0%, #9AEF82 50%, #B900F5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-aurora {
  background: var(--aurora-card);
  border: 1px solid var(--aurora-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-aurora:hover {
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: 0 0 16px 2px rgba(0, 245, 212, 0.2);
}

/* ========================================
   ANIMATIONS
   ======================================== */

.pulse-aurora {
  animation: aurora-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes aurora-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.aurora-wave {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.aurora-wave::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 245, 212, 0.08) 0%,
    transparent 70%
  );
  animation: aurora-rotate 20s linear infinite;
}

@keyframes aurora-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: rgba(13, 17, 23, 0.8);
  border-top: 1px solid var(--aurora-border);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--aurora-text);
}

.footer-section p {
  color: rgba(240, 240, 240, 0.7);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--aurora-border);
  color: rgba(240, 240, 240, 0.6);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.875rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .step {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}
