/* ===========================
   Blog - Hero
   =========================== */
.blog-hero {
  padding: 180px 0 80px;
  background: linear-gradient(135deg, #100329 0%, #0F0039 50%, #1a0a3e 100%);
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(130, 94, 231, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.blog-hero__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.blog-hero__content {
  flex: 1;
}

.blog-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.blog-hero__author {
  font-weight: 600;
  color: #825EE7;
}

.blog-hero__title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}

.blog-hero__image {
  flex-shrink: 0;
  max-width: 400px;
}

.blog-hero__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* ===========================
   Blog - Content
   =========================== */
.blog-content {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #0F0039 0%, #1C0944 100%);
}

.blog-body {
  max-width: 760px;
  margin: 0 auto;
}

.blog-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(130, 94, 231, 0.15);
}

.blog-body h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.blog-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 32px;
  margin-bottom: 12px;
}

.blog-body p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.85;
  margin-bottom: 20px;
}

.blog-body ul,
.blog-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.blog-body ul li,
.blog-body ol li {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.85;
  margin-bottom: 12px;
}

.blog-body ul li {
  list-style-type: disc;
}

.blog-body ol li {
  list-style-type: decimal;
}

.blog-body ul li strong,
.blog-body ol li strong {
  color: rgba(255, 255, 255, 0.9);
}

.blog-body code {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
  font-size: 0.88rem;
  background: rgba(130, 94, 231, 0.15);
  color: #c4b5fd;
  padding: 2px 7px;
  border-radius: 4px;
}

.blog-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}

.blog-body .btn {
  margin-top: 8px;
}

/* ===========================
   Blog - Code Block
   =========================== */
.blog-code {
  margin: 28px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(130, 94, 231, 0.2);
}

.blog-code__header {
  background: rgba(130, 94, 231, 0.15);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-code__lang {
  font-size: 0.8rem;
  font-weight: 600;
  color: #825EE7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-code pre {
  background: #0d0025;
  padding: 24px;
  margin: 0;
  overflow-x: auto;
}

.blog-code pre code {
  display: block;
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #e2d9f3;
  background: none;
  padding: 0;
  border-radius: 0;
  white-space: pre;
}

/* ===========================
   Blog - CTA
   =========================== */
.blog-cta {
  padding: 100px 0;
  background: linear-gradient(180deg, #1C0944 0%, #100329 100%);
}

.blog-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.blog-cta__content .section-title {
  margin-bottom: 16px;
}

.blog-cta__booking {
  min-height: 500px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(130, 94, 231, 0.12);
  overflow: hidden;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 992px) {
  .blog-hero__inner {
    flex-direction: column;
  }

  .blog-hero__title {
    font-size: 2.25rem;
  }

  .blog-hero__image {
    max-width: 360px;
  }

  .blog-cta__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 140px 0 60px;
  }

  .blog-hero__title {
    font-size: 1.85rem;
  }

  .blog-hero__inner {
    gap: 32px;
  }

  .blog-hero__image {
    max-width: 300px;
  }

  .blog-content {
    padding: 48px 0 40px;
  }

  .blog-body h2 {
    font-size: 1.35rem;
    margin-top: 36px;
    padding-top: 24px;
  }

  .blog-cta {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .blog-hero__title {
    font-size: 1.6rem;
  }

  .blog-hero__image {
    max-width: 100%;
  }

  .blog-code pre {
    padding: 16px;
  }

  .blog-code pre code {
    font-size: 0.78rem;
  }
}
