@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f7f8fc;
  color: #1f2937;
  line-height: 1.7;
}

.hero {
  padding: 2rem 8%;
  background:
    radial-gradient(circle at top left, rgba(59,130,246,.12), transparent 30%),
    #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #4b5563;
  transition: .2s ease;
}

.nav-links a:hover {
  color: #2563eb;
}

.hero-content {
  max-width: 700px;
  padding-bottom: 4rem;
}

.tag {
  display: inline-block;
  background: #dbeafe;
  color: #2563eb;
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  color: #6b7280;
  max-width: 600px;
  font-size: 1.1rem;
}

.container {
  width: min(1100px, 90%);
  margin: auto;
  padding: 5rem 0;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  transition: .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(0,0,0,.06);
}

.category {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: .8rem;
  font-size: 1.3rem;
}

.card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.card a {
  text-decoration: none;
  font-weight: 600;
  color: #111827;
}

.card a:hover {
  color: #2563eb;
}

.about {
  margin-top: 6rem;
  background: white;
  padding: 3rem;
  border-radius: 28px;
  border: 1px solid #e5e7eb;
}

.about p {
  max-width: 700px;
  color: #6b7280;
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: .95rem;
  background: white;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .hero {
    padding: 2rem 6%;
  }

  .container {
    width: 92%;
  }

  .about {
    padding: 2rem;
  }
}