/* Variables */
:root {
  --bg-color: #F8FAFC;
  --primary-color: #0f172a;
  --accent-color: #1d4ed8;
  --text-color: #334155;
  --link-color: #2563eb;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

nav a:hover {
  color: var(--accent-color);
}

main {
  flex: 1;
}

h1, h2, h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

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

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  text-decoration: underline;
  color: var(--accent-color);
}

/* Hero Section (Home) */
.hero {
  text-align: center;
  padding: 4rem 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.2s;
}

.cta-button:hover {
  background-color: var(--accent-color);
  text-decoration: none;
}

/* Footer */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.875rem;
  text-align: center;
}

footer .footer-links {
  margin-bottom: 1rem;
}

footer a {
  color: #64748b;
  margin: 0 0.5rem;
}

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

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 1.5rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  nav a {
    margin: 0 0.75rem;
  }
}
