:root {
  --color-bg: #050505;
  --color-bg-secondary: #0a0a0a;
  --color-bg-tertiary: #0f1419;
  --color-cyan: #00F0FF;
  --color-cyan-dim: #00a8b3;
  --color-cyan-glow: rgba(0, 240, 255, 0.15);
  --color-white: #ffffff;
  --color-white-dim: #a0a0a0;
  --color-white-subtle: #666666;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-elastic: cubic-bezier(0.34, 2.27, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::-webkit-scrollbar {
  display: none;
}

/* =========================
   NAVIGATION
========================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  opacity: 0;
  animation: fadeSlideIn 0.6s var(--transition-smooth) forwards;
}

.nav-links a:nth-child(1) { animation-delay: 0.1s; }
.nav-links a:nth-child(2) { animation-delay: 0.15s; }
.nav-links a:nth-child(3) { animation-delay: 0.2s; }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-cyan);
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-cyan);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--color-cyan-glow);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-white-subtle);
  color: var(--color-white);
}

.btn-outline:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 8rem 4rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* =========================
   HERO
========================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
}

/* Background glow that emerges first */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(circle, var(--color-cyan-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: bgGlow 1.2s var(--transition-elastic) forwards;
  opacity: 0;
}

@keyframes bgGlow {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }
  30% {
    opacity: 0.6;
  }
  100% {
    width: 120vmax;
    height: 120vmax;
    opacity: 0.3;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

/* Pulsing rings emanating outward */
.hero-logo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--color-cyan);
  animation: ringPulse 2s ease-out infinite;
  opacity: 0;
}

.hero-logo-ring:nth-child(1) {
  width: 100px;
  height: 100px;
  animation-delay: 0.3s;
}

.hero-logo-ring:nth-child(2) {
  width: 150px;
  height: 150px;
  animation-delay: 0.5s;
}

.hero-logo-ring:nth-child(3) {
  width: 200px;
  height: 200px;
  animation-delay: 0.7s;
}

@keyframes ringPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.8;
    border-width: 2px;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
    border-width: 0px;
  }
}

/* Main logo emergence */
.hero-logo {
  width: 180px;
  height: 180px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: scale(0.3);
  animation: logoEmerge 1s var(--transition-elastic) 0.4s forwards;
  filter: blur(20px);
}

@keyframes logoEmerge {
  0% {
    opacity: 0;
    transform: scale(0.3);
    filter: blur(20px);
  }
  60% {
    opacity: 1;
    transform: scale(1.1);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* Core glow intensifies after logo appears */
.hero-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--color-cyan);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0;
  animation: coreGlow 1.5s var(--transition-elastic) 0.8s forwards;
}

@keyframes coreGlow {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: var(--color-cyan);
  display: inline-block;
  clip-path: inset(0 0 100% 0);
  animation: textReveal 0.8s var(--transition-smooth) 0.6s forwards;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-white-dim);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s var(--transition-smooth) 0.9s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s var(--transition-smooth) 1.1s forwards;
}

/* =========================
   SCROLL INDICATOR
========================= */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white-subtle);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s var(--transition-smooth) 1.5s forwards;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* =========================
   PHILOSOPHY SECTION
========================= */
.philosophy {
  background: var(--color-bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-white-dim);
  max-width: 500px;
  margin: 0 auto;
}

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

.philosophy-card {
  padding: 2.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s var(--transition-smooth);
}

.philosophy-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.philosophy-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.philosophy-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--color-cyan);
}

.philosophy-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.philosophy-card p {
  color: var(--color-white-dim);
  font-size: 0.9rem;
}

/* =========================
   MODULES SECTION
========================= */
.modules {
  background: var(--color-bg);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }
}

.module-card {
  padding: 2.5rem;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s var(--transition-smooth);
}

.module-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--transition-smooth);
}

.module-card:hover::before {
  opacity: 1;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan-dim);
  box-shadow: 0 20px 60px rgba(0, 240, 255, 0.1);
}

.module-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-cyan);
  margin-bottom: 1rem;
  opacity: 0.6;
}

.module-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.module-icon {
  font-size: 1.5rem;
}

.module-card p {
  color: var(--color-white-dim);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.module-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.module-tag {
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  background: var(--color-bg-tertiary);
  border-radius: 100px;
  color: var(--color-white-dim);
}

/* =========================
   STATS SECTION
========================= */
.stats {
  background: var(--color-bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.stat-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--transition-smooth);
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-value {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-cyan);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-white-dim);
}

/* =========================
   CTA SECTION
========================= */
.cta {
  text-align: center;
  background: 
    radial-gradient(ellipse 60% 50% at 50% 100%, var(--color-cyan-glow) 0%, transparent 60%),
    var(--color-bg);
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.cta p {
  color: var(--color-white-dim);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* =========================
   FOOTER
========================= */
.footer {
  padding: 4rem;
  text-align: center;
  border-top: 1px solid var(--color-bg-tertiary);
  background: var(--color-bg);
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--color-white-dim);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--color-cyan);
}

.footer-copy {
  color: var(--color-white-subtle);
  font-size: 0.8rem;
}

.footer-copy a {
  color: var(--color-cyan);
  text-decoration: none;
}

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

@keyframes textReveal {
  0% {
    clip-path: inset(0 0 100% 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

/* =========================
   LEVIATHAN EMERGENCE ANIMATION
========================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 40%, var(--color-cyan-glow) 0%, transparent 60%),
    var(--color-bg);
  overflow: hidden;
}

/* Background glow that emerges first */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(circle, var(--color-cyan-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: bgGlow 1.2s var(--transition-elastic) forwards;
  opacity: 0;
}

@keyframes bgGlow {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }
  30% {
    opacity: 0.6;
  }
  100% {
    width: 120vmax;
    height: 120vmax;
    opacity: 0.3;
  }
}

/* Logo container for emergence effect */
.hero-logo-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pulsing rings emanating outward */
.hero-logo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--color-cyan);
  animation: ringPulse 2s ease-out infinite;
  opacity: 0;
}

.hero-logo-ring:nth-child(1) {
  width: 100px;
  height: 100px;
  animation-delay: 0.3s;
}

.hero-logo-ring:nth-child(2) {
  width: 150px;
  height: 150px;
  animation-delay: 0.5s;
}

.hero-logo-ring:nth-child(3) {
  width: 200px;
  height: 200px;
  animation-delay: 0.7s;
}

@keyframes ringPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.8;
    border-width: 2px;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
    border-width: 0px;
  }
}

/* Main logo emergence */
.hero-logo {
  width: 180px;
  height: 180px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: scale(0.3);
  animation: logoEmerge 1s var(--transition-elastic) 0.4s forwards;
  filter: blur(20px);
}

@keyframes logoEmerge {
  0% {
    opacity: 0;
    transform: scale(0.3);
    filter: blur(20px);
  }
  60% {
    opacity: 1;
    transform: scale(1.1);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* Core glow intensifies after logo appears */
.hero-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--color-cyan);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0;
  animation: coreGlow 1.5s var(--transition-elastic) 0.8s forwards;
}

@keyframes coreGlow {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .section {
    padding: 5rem 1.5rem;
  }
  
  .hero-logo {
    width: 120px;
    height: 120px;
  }
}

/* =========================
   PAGE TRANSITIONS
========================= */
.page-transition {
  animation: pageIn 0.6s var(--transition-smooth);
}

@keyframes pageIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   MODULES PAGE
========================= */
.module-full {
  max-width: 900px;
  margin: 0 auto;
}

.module-full-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.module-full-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.module-full-desc {
  font-size: 1.1rem;
  color: var(--color-white-dim);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.module-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 600px) {
  .module-features {
    grid-template-columns: 1fr;
  }
}

.feature {
  padding: 1.5rem;
  background: var(--color-bg-tertiary);
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.3s var(--transition-smooth);
  opacity: 0;
  transform: translateY(20px);
}

.feature.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature:hover {
  border-color: var(--color-cyan-dim);
}

.feature h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.feature p {
  font-size: 0.85rem;
  color: var(--color-white-dim);
  line-height: 1.6;
}

.module-code-block {
  background: var(--color-bg);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: 8px;
  overflow: hidden;
}

.code-header {
  padding: 0.75rem 1.25rem;
  background: var(--color-bg-tertiary);
  border-bottom: 1px solid var(--color-bg-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-white-dim);
  letter-spacing: 0.05em;
}

.module-code-block pre {
  padding: 1.5rem;
  margin: 0;
  overflow-x: auto;
}

.module-code-block code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-white-dim);
}

.code-comment {
  color: var(--color-white-subtle);
}

/* =========================
   TECH GRID
========================= */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tech-item {
  text-align: center;
  padding: 2rem;
  background: var(--color-bg);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--transition-smooth);
}

.tech-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.tech-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan-dim);
}

.tech-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--color-cyan);
}

.tech-icon svg {
  width: 100%;
  height: 100%;
}

.tech-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tech-item p {
  font-size: 0.8rem;
  color: var(--color-white-dim);
  line-height: 1.5;
}

/* =========================
   DOCS PAGE
========================= */
.docs-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background: var(--color-bg-secondary);
  border-right: 1px solid var(--color-bg-tertiary);
  padding: 6rem 1.5rem 2rem;
  overflow-y: auto;
}

.docs-nav-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white-subtle);
  margin-bottom: 1.5rem;
}

.docs-nav-links {
  list-style: none;
}

.docs-nav-links li {
  margin-bottom: 0.25rem;
}

.docs-nav-links a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--color-white-dim);
  text-decoration: none;
  transition: color 0.3s var(--transition-smooth);
}

.docs-nav-links a:hover,
.docs-nav-links a.active {
  color: var(--color-cyan);
}

.docs-nav-links a.active {
  font-weight: 500;
}

.docs-content {
  margin-left: 280px;
  padding: 6rem 4rem 4rem;
  max-width: 900px;
}

.docs-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.docs-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 3rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-bg-tertiary);
}

.docs-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.docs-content p {
  color: var(--color-white-dim);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.docs-content ul, .docs-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--color-white-dim);
  line-height: 1.8;
}

.docs-content li {
  margin-bottom: 0.5rem;
}

.docs-content code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: var(--color-bg-tertiary);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--color-cyan);
}

.docs-content pre {
  background: var(--color-bg);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.docs-content pre code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-white-dim);
}

.docs-callout {
  padding: 1.25rem 1.5rem;
  background: var(--color-cyan-glow);
  border-left: 3px solid var(--color-cyan);
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
}

.docs-callout p {
  margin: 0;
  color: var(--color-white);
}

.docs-steps {
  counter-reset: step;
  margin: 2rem 0;
}

.docs-step {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s var(--transition-smooth);
}

.docs-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.docs-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-cyan);
}

.docs-step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.docs-step p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .docs-nav {
    display: none;
  }
  
  .docs-content {
    margin-left: 0;
    padding: 6rem 1.5rem 3rem;
  }
}