/* src/styles.css */
*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #fafaf9;
  --color-surface: #fff;
  --color-text: #1c1917;
  --color-muted: #78716c;
  --color-accent: #6366f1;
  --color-border: #e7e5e4;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
}

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

nav {
  position: sticky;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  background: #fafaf9eb;
  top: 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  max-width: 1100px;
  height: 60px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  color: var(--color-accent);
  letter-spacing: -.02em;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color .15s;
  font-size: .9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--color-text);
}

.hero {
  text-align: center;
  max-width: 760px;
  margin: 80px auto 64px;
  padding: 0 24px;
}

.hero-label {
  display: inline-block;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  background: #ede9fe;
  border-radius: 999px;
  margin-bottom: 20px;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 600;
}

.hero h1 {
  color: var(--color-text);
  letter-spacing: -.03em;
  margin-bottom: 20px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
}

.hero p {
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.hero-cta {
  display: inline-flex;
  color: #fff;
  text-decoration: none;
  background: var(--color-accent);
  border-radius: 10px;
  align-items:  center;
  gap: 8px;
  padding: 14px 28px;
  transition: background .15s, transform .15s;
  font-size: .95rem;
  font-weight: 600;
}

.hero-cta:hover {
  background: #4f46e5;
  transform: translateY(-1px);
}

.features {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.features-heading {
  text-align: center;
  margin-bottom: 48px;
}

.features-heading h2 {
  letter-spacing: -.02em;
  margin-bottom: 12px;
  font-size: 1.8rem;
  font-weight: 700;
}

.features-heading p {
  color: var(--color-muted);
  font-size: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.feature-icon {
  display: flex;
  background: #ede9fe;
  border-radius: 10px;
  justify-content: center;
  align-items:  center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

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

.feature-card p {
  color: var(--color-muted);
  font-size: .9rem;
  line-height: 1.6;
}

.article-section {
  max-width: 680px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.article-section h2 {
  letter-spacing: -.02em;
  margin-bottom: 16px;
  font-size: 1.5rem;
  font-weight: 700;
}

.article-section p {
  color: var(--color-muted);
  margin-bottom: 16px;
  font-size: .975rem;
}

footer {
  color: var(--color-muted);
  text-align: center;
  border-top: 1px solid var(--color-border);
  padding: 32px 24px;
  font-size: .85rem;
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .hero {
    margin-top: 48px;
  }
}
