/* Modern, clean, and fast CSS */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --bg-color: #ffffff;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --bg-alt: #f3f4f6;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

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

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-color);
  text-decoration: none;
}

nav a {
  margin-left: 20px;
  color: var(--text-color);
  font-weight: 500;
}

nav a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.2s;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  text-decoration: none;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  text-align: center;
  background-color: var(--bg-alt);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Content Sections */
section {
  padding: 4rem 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

.card {
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: white;
}

/* Footer */
footer {
  background-color: #111827;
  color: white;
  padding: 3rem 0;
  margin-top: 4rem;
}

footer a {
  color: #9ca3af;
}

footer a:hover {
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Blog Styles */
.blog-post {
  max-width: 800px;
  margin: 2rem auto;
}

.blog-post h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.meta {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.content h2 {
    text-align: left;
    margin-top: 2rem;
}

.content p {
    margin-bottom: 1.5rem;
}

.content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  
  nav a {
    display: none; /* Simplify mobile nav for now */
  }
}
