*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #2a2d35;
  background: #f6f7fa;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ─── Header (reuse landing-shared pattern) ─── */
.blog-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1d3557;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-header__logo img {
  height: 50px;
  width: auto;
}

.blog-header__back {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-header__back:hover {
  color: #ffffff;
}

.blog-header__back svg {
  width: 18px;
  height: 18px;
}

/* ─── Blog Index ─── */
.blog-hero {
  background: linear-gradient(135deg, #0c1e3a 0%, #1d3557 50%, #2a3f5f 100%);
  padding: 60px 20px 50px;
  text-align: center;
}

.blog-hero__title {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-hero__subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ─── Post Grid ─── */
.blog-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.blog-card__tag {
  display: inline-block;
  background: #e8f4f8;
  color: #1d3557;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.blog-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1d3557;
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card__excerpt {
  color: #5a6270;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #9aa0aa;
  font-size: 0.8rem;
}

/* ─── Blog Post ─── */
.blog-post {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.blog-post__tag {
  display: inline-block;
  background: #e8f4f8;
  color: #1d3557;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.blog-post__title {
  font-size: 2rem;
  font-weight: 700;
  color: #1d3557;
  line-height: 1.25;
  margin-bottom: 12px;
}

.blog-post__meta {
  color: #9aa0aa;
  font-size: 0.85rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8eaef;
}

.blog-post__content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1d3557;
  margin: 36px 0 16px;
}

.blog-post__content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2a3f5f;
  margin: 28px 0 12px;
}

.blog-post__content p {
  color: #3a3f4a;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.blog-post__content strong {
  color: #1d3557;
}

.blog-post__content ul,
.blog-post__content ol {
  color: #3a3f4a;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
  padding-left: 24px;
}

.blog-post__content li {
  margin-bottom: 6px;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 0.9rem;
}

.comparison-table thead {
  background: #1d3557;
  color: #ffffff;
}

.comparison-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e8eaef;
  color: #3a3f4a;
}

.comparison-table tbody tr:hover {
  background: #f0f4f8;
}

.comparison-table .highlight-row {
  background: #e8f8e8;
  font-weight: 600;
}

.comparison-table .highlight-row td {
  color: #1d3557;
}

/* CTA Box */
.blog-cta {
  background: #f9c74f;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  margin: 40px 0;
}

.blog-cta__title {
  color: #0c1e3a;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.blog-cta__text {
  color: #1d3557;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.blog-cta__btn {
  display: inline-block;
  background: #0c1e3a;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.blog-cta__btn:hover {
  background: #1d3557;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12, 30, 58, 0.3);
}

/* ─── Footer (reuse splash footer) ─── */
.blog-footer {
  background: #0f1923;
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 20px 20px;
  text-align: center;
  font-size: 0.85rem;
}

.blog-footer a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.blog-footer a:hover {
  color: #ffffff;
}

.blog-footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 16px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .blog-header {
    padding: 12px 20px;
  }

  .blog-header__logo img {
    height: 40px;
  }

  .blog-hero__title {
    font-size: 1.7rem;
  }

  .blog-card {
    padding: 24px;
  }

  .blog-card__title {
    font-size: 1.1rem;
  }

  .blog-post__title {
    font-size: 1.5rem;
  }

  .blog-post__content h2 {
    font-size: 1.2rem;
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 10px;
  }
}
