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

:root {
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --secondary: #3B82F6;
  --cta: #F97316;
  --bg: #F8FAFC;
  --text: #1E293B;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --transition: 200ms ease-in-out;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav Bar Refined */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  background: var(--white);
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--text-muted);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .separator {
  color: #CBD5E1;
}

.breadcrumb .current {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
}

.breadcrumb .logo-small {
  height: 20px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-selector select {
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: white;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.github-link {
  color: var(--text);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

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

.github-link svg {
  width: 22px;
  height: 22px;
}

/* Rest of styles */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  padding: 4rem 0 3rem;
  text-align: center;
}

h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.badge {
  display: inline-block;
  background: #DBEAFE;
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

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

.card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.card p {
  color: var(--text-muted);
}

.card.full {
  grid-column: span 2;
}

.icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

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

.steps {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 6rem;
}

pre {
  background: #1E293B;
  color: #F8FAFC;
  padding: 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
  font-family: 'ui-monospace', 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

.step-item {
  margin-bottom: 2.5rem;
}

.step-num {
  font-weight: 800;
  color: var(--primary);
  margin-right: 0.5rem;
}

footer {
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid #E2E8F0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 0.5rem;
}

.tab-btn {
  padding: 0.5rem 1rem;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
}

.tab-btn:hover {
  background: #F1F5F9;
  color: var(--text);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .card.full { grid-column: span 1; }
  .steps { padding: 1.5rem; }
  .nav-bar { padding: 1rem; }
  .breadcrumb { font-size: 0.8rem; }
  .tabs { flex-direction: column; }
}
