:root {
  --clr-navy: #0A2540;
  --clr-navy-light: #0e3157;
  --clr-emerald: #00D68F;
  --clr-crimson: #DF1B41;
  --clr-slate: #F6F9FC;
  --clr-white: #FFFFFF;
  --clr-glass: rgba(255, 255, 255, 0.05);
  --clr-glass-border: rgba(255, 255, 255, 0.1);
  --clr-text-main: #FFFFFF;
  --clr-text-muted: rgba(255, 255, 255, 0.6);
  
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--clr-navy);
  color: var(--clr-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

#app {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: var(--clr-navy-light);
  border-right: 1px solid var(--clr-glass-border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-emerald);
  letter-spacing: -0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-item {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--clr-text-muted);
  text-decoration: none;
}

.nav-item:hover, .nav-item.active {
  background: var(--clr-glass);
  color: var(--clr-white);
  border-left: 3px solid var(--clr-emerald);
}

.nav-children {
  margin-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 1px solid var(--clr-glass-border);
}

.nav-child {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.hero {
  position: relative;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/src/asset/build_and_deploy_bg.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 2rem;
}

.hero-overview {
  height: 40vh;
}

.hero-subpage {
  height: 30vh;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(175deg, rgba(10, 37, 64, 0.4) 0%, rgba(10, 37, 64, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--clr-white), var(--clr-emerald));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInDown 0.8s ease-out;
}

/* Content Container */
.content-area {
  padding: 4rem 5%;
  max-width: 1600px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

.glass-card {
  background: var(--clr-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid var(--clr-glass-border);
  padding: 3rem;
  box-shadow: var(--shadow-premium);
}

/* Markdown Styling */
.prose {
  color: var(--clr-text-main);
}

.prose h1, .prose h2, .prose h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--clr-emerald);
}

.prose p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.prose code {
  font-family: var(--font-mono);
  background: var(--clr-glass);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.prose pre {
  background: #011627;
  padding: 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--clr-glass-border);
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  #app {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 1rem;
  }
  .content-area {
    padding: 2rem 1rem;
  }
}
