@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

:root {
  --bg-primary: radial-gradient(circle at top, rgba(93, 213, 255, 0.14), transparent 55%),
    linear-gradient(135deg, #050505 0%, #0c0f16 45%, #101322 100%);
  --card-bg: rgba(9, 14, 24, 0.85);
  --card-border: rgba(255, 255, 255, 0.07);
  --accent: #5dd5ff;
  --accent-muted: rgba(93, 213, 255, 0.25);
  --text-primary: #f7f9ff;
  --text-muted: rgba(247, 249, 255, 0.68);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.blog-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px clamp(16px, 4vw, 32px) 100px;
  position: relative;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--text-muted);
}

.blog-header-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.blog-header-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--accent-muted);
  pointer-events: none;
}

.blog-pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.blog-title {
  font-size: clamp(30px, 6vw, 48px);
  margin: 20px 0 12px;
  line-height: 1.2;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-muted);
  font-size: 15px;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-lede {
  margin: 24px 0 32px;
  color: var(--text-muted);
  font-size: 18px;
}

.blog-hero {
  border-radius: 26px;
  overflow: hidden;
  margin-top: 28px;
  position: relative;
}

.blog-hero img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 10s ease;
}

.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 12, 0.4));
}

.blog-section {
  margin-top: 56px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background: rgba(8, 12, 21, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.blog-section h2 {
  margin-top: 0;
  font-size: 24px;
}

.blog-section p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.blog-section ul {
  margin: 0;
  padding-left: 22px;
  color: var(--text-muted);
}

.blog-section li {
  margin-bottom: 10px;
}

.blog-cta {
  margin-top: 64px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(93, 213, 255, 0.12), rgba(2, 130, 160, 0.12));
  border: 1px solid rgba(93, 213, 255, 0.25);
  text-align: center;
}

.blog-cta h3 {
  margin-top: 0;
}

.blog-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.blog-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #020307;
  font-weight: 600;
  box-shadow: 0 15px 40px rgba(93, 213, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(93, 213, 255, 0.5);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .blog-header-card {
    padding: 20px;
    border-radius: 22px;
  }

  .blog-hero img {
    height: 280px;
  }

  .blog-section {
    padding: 20px;
  }

  .blog-meta {
    flex-direction: column;
  }
}

