@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Outfit:wght@400;700&display=swap");

:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --slate-900: #0f172a;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--slate-600);
  line-height: 1.6;
  margin: 0;
  background: white;
}

h1,
h2,
h3,
h4 {
  font-family: "Outfit", sans-serif;
  color: var(--slate-900);
  font-weight: 700;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

header {
  border-bottom: 1px solid var(--slate-100);
  padding: 1rem 0;
  margin-bottom: 3rem;
}

.logo {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  text-decoration: none;
}

.post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-bottom: 1rem;
}

.category {
  background: #eef2ff;
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--slate-50);
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
  width: fit-content;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
}

.author-info div:first-child {
  font-weight: 700;
  color: var(--slate-900);
}

.author-info div:last-child {
  font-size: 0.75rem;
  color: var(--slate-400);
}

.content h2 {
  font-size: 1.875rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

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

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

.content li {
  margin-bottom: 0.5rem;
}

.insight-box {
  background: #f5f3ff;
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0 1rem 1rem 0;
  margin: 2rem 0;
}

.insight-box h4 {
  color: #4338ca;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.cta-box {
  background: var(--slate-900);
  color: white;
  padding: 3rem;
  border-radius: 2rem;
  text-align: center;
  margin-top: 5rem;
}

.cta-box h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--slate-400);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
  transition: background 0.2s;
}

.btn:hover {
  background: var(--primary-hover);
}

footer {
  text-align: center;
  padding: 5rem 0;
  color: var(--slate-400);
  font-size: 0.875rem;
}

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

.card {
  border: 1px solid var(--slate-100);
  border-radius: 1.5rem;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  border-bottom: 4px solid var(--slate-100);
}

.card:hover {
  box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.1);
  transform: translateY(-2px);
  border-bottom-color: var(--primary);
}

.card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
