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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: #0b0c10;
  color: #f5f5f5;
  line-height: 1.6;
}

/* --------- Layout --------- */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* --------- Navbar --------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 16, 0.95);
  border-bottom: 1px solid #222831;
  backdrop-filter: blur(10px);
}

.navbar-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.nav-brand span {
  color: #ffb703;
}

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

.nav-links a {
  color: #f3f4f6;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: #ffb703;
  color: #111827;
}

/* --------- Hero --------- */
.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #d1d5db;
  margin-bottom: 1.2rem;
}

.hero-tagline {
  max-width: 650px;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.tag {
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #374151;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: #ffb703;
  color: #111827;
  font-weight: 600;
}

.btn-primary:hover {
  background: #f59e0b;
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border-color: #4b5563;
}

.btn-outline:hover {
  background: #1f2937;
}

/* --------- Sections --------- */
.section {
  padding: 2.5rem 0 1rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

/* --------- Cards & Lists --------- */
.card {
  border-radius: 0.75rem;
  border: 1px solid #1f2937;
  padding: 1.1rem 1.2rem;
  background: #111827;
  margin-bottom: 1rem;
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.card-meta {
  font-size: 0.82rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.card-body {
  font-size: 0.9rem;
  color: #d1d5db;
}

/* Bulleted lists */
.list {
  list-style: none;
  padding-left: 0;
}

.list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffb703;
}

/* Two-column layout on desktop */
.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

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

  .navbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero {
    padding-top: 2.5rem;
  }
}

/* --------- Blog --------- */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: #1f2937;
  color: #e5e7eb;
  margin-right: 0.4rem;
}

.blog-post-meta {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.blog-post-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.blog-post-excerpt {
  font-size: 0.9rem;
  color: #d1d5db;
}

/* --------- Resources --------- */
.resource-category {
  margin-bottom: 1.5rem;
}

.resource-category h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.resource-list {
  list-style: none;
  padding-left: 0;
}

.resource-list li {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.resource-list a {
  color: #bfdbfe;
  text-decoration: none;
}

.resource-list a:hover {
  text-decoration: underline;
}

/* --------- Footer --------- */
.footer {
  margin-top: 2rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid #1f2937;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
}
