/* ============================================================
   BLOG CATEGORY PAGE  —  blog-category.css  v20260524
   Scope: .bcat-page  (does NOT touch any other page)
   ============================================================ */

/* ── 0. Body override so style.css white bg never shows ── */
body:has(.bcat-page) {
  background: #020b06 !important;
  color: #fff !important;
}
body.bcat-page-body {
  background: #020b06 !important;
  color: #fff !important;
}

/* ── 1. Page wrapper ── */
.bcat-page {
  background: #020b06;
  color: #fff;
  min-height: 100vh;
  font-family: 'Poppins', 'Inter', sans-serif;
}

/* ── 2. Shared container ── */
.bcat-wrap {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── 3. Eyebrow label ── */
.bcat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #b6ff2e;
  margin-bottom: 14px;
}
.bcat-eyebrow i { font-size: .58rem; }

/* ── 4. Outline text ── */
.bcat-outline {
  color: transparent;
  -webkit-text-stroke: 2px #b6ff2e;
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.bcat-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #020b06;
  /* 80px navbar height + 100px breathing room */
  padding: 180px 24px 90px;
}

/* grid lines — matches ab-banner__grid-bg */
.bcat-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(182,255,46,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182,255,46,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
  z-index: 0;
}

/* bottom glow — matches ab-banner__glow */
.bcat-hero__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182,255,46,.18) 0%, transparent 65%);
  bottom: -180px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: bcatGlowPulse 7s ease-in-out infinite;
  z-index: 0;
}
@keyframes bcatGlowPulse {
  0%,100% { opacity: .7; }
  50%      { opacity: 1;  }
}

/* floating dots container */
.bcat-hero__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.bcat-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* breadcrumb */
.bcat-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(182,255,46,.75);
  margin: 0;
}
.bcat-hero__crumb a {
  color: rgba(255,255,255,.50);
  text-decoration: none;
  transition: color .25s;
}
.bcat-hero__crumb a:hover { color: #b6ff2e; }
.bcat-hero__crumb i { font-size: .55rem; color: rgba(255,255,255,.28); }

/* main title — matches ab-banner__title */
.bcat-hero__title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  text-shadow: 0 0 35px rgba(182,255,46,.18);
}

/* subtitle — matches ab-banner__sub */
.bcat-hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.375rem);
  font-weight: 700;
  color: #b8c5b2;
  margin: 0;
  letter-spacing: .01em;
}

/* ══════════════════════════════════════════════════════════
   BLOG POSTS SECTION
══════════════════════════════════════════════════════════ */
.bcat-posts {
  background: #020b06;
  padding: 100px 0 110px;
}

/* 3-column grid */
.bcat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  align-items: stretch;
}

/* ── Card — matches ab-mv-card / ab-why-card style ── */
.bcat-card {
  background: rgba(12,32,14,.85);
  border: 1px solid rgba(182,255,46,.15);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 30px rgba(182,255,46,.08);
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.bcat-card:hover {
  transform: translateY(-10px);
  border-color: rgba(182,255,46,.35);
  box-shadow: 0 20px 50px rgba(182,255,46,.22);
}

/* card image */
.bcat-card__img {
  display: block;
  overflow: hidden;
  height: 240px;
  flex-shrink: 0;
}
.bcat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.bcat-card:hover .bcat-card__img img {
  transform: scale(1.07);
}

/* card body */
.bcat-card__body {
  padding: 28px 28px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bcat-card__title {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
  color: #fff;
}
.bcat-card__title a {
  color: #fff;
  text-decoration: none;
  transition: color .25s;
}
.bcat-card__title a:hover { color: #b6ff2e; }

.bcat-card__excerpt {
  font-size: 14.5px;
  line-height: 1.8;
  color: #b8c5b2;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* card meta row */
.bcat-card__meta {
  padding: 16px 28px 24px;
  border-top: 1px solid rgba(182,255,46,.10);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #9caf96;
  flex-wrap: wrap;
}
.bcat-card__meta i { margin-right: 4px; }

.bcat-card__more {
  margin-left: auto;
  color: #b6ff2e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .25s, text-shadow .25s;
}
.bcat-card__more:hover {
  color: #d4ff6e;
  text-shadow: 0 0 12px rgba(182,255,46,.55);
}

/* ══════════════════════════════════════════════════════════
   SOCIAL SHARE
══════════════════════════════════════════════════════════ */
.bcat-share {
  background: #020b06;
  padding: 0 0 70px;
}
.bcat-share__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.bcat-share__btn {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.bcat-share__btn:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.bcat-share__fb { background: #355da8; }
.bcat-share__li { background: #0077b5; }
.bcat-share__ig { background: #292929; }
.bcat-share__pi { background: #d20b25; }

/* ══════════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════════ */
.bcat-cta {
  position: relative;
  padding: 100px 0;
  background: #020b06;
  overflow: hidden;
}

.bcat-cta__glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182,255,46,.14) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  animation: bcatGlowPulse 8s ease-in-out infinite;
  z-index: 0;
}

.bcat-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  padding: clamp(32px,5vw,56px);
  border-radius: 24px;
  border: 1px solid rgba(182,255,46,.18);
  background: linear-gradient(135deg, rgba(182,255,46,.07), rgba(182,255,46,.02));
  box-shadow: 0 28px 70px rgba(0,0,0,.30);
}

.bcat-cta__copy { display: flex; flex-direction: column; gap: 12px; }

.bcat-cta__title {
  font-family: 'Poppins','Inter',sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.bcat-cta__body {
  font-size: .95rem;
  color: rgba(200,230,180,.70);
  line-height: 1.75;
  margin: 0;
  max-width: 480px;
}

.bcat-cta__btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

/* ── Buttons ── */
.bcat-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  background: #b6ff2e;
  color: #070010;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 28px rgba(182,255,46,.40), 0 8px 24px rgba(0,0,0,.28);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.bcat-btn-solid:hover {
  background: #c8ff5a;
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(182,255,46,.60);
  color: #070010;
}

.bcat-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1.5px solid rgba(182,255,46,.45);
  color: #b6ff2e;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  white-space: nowrap;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.bcat-btn-ghost:hover {
  background: rgba(182,255,46,.10);
  border-color: #b6ff2e;
  transform: translateY(-3px);
  color: #b6ff2e;
}

/* ══════════════════════════════════════════════════════════
   FADE-UP ANIMATION
══════════════════════════════════════════════════════════ */
.bcat-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1),
              transform .75s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--bcat-delay, 0s);
}
.bcat-fade.bcat-in {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .bcat-grid { grid-template-columns: repeat(2, 1fr); }
  .bcat-cta__inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .bcat-cta__btns { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .bcat-cta__body { margin: 0 auto; }
}

@media (max-width: 600px) {
  .bcat-hero { min-height: 420px; padding: 120px 20px 60px; }
  .bcat-grid { grid-template-columns: 1fr; }
  .bcat-posts { padding: 60px 0 80px; }
  .bcat-card__img { height: 220px; }
  .bcat-cta { padding: 70px 0; }
  .bcat-cta__inner { padding: 32px 22px; border-radius: 18px; }
  .bcat-cta__btns { flex-direction: column; align-items: center; }
  .bcat-btn-solid,
  .bcat-btn-ghost { width: 100%; max-width: 280px; justify-content: center; }
}

/* ── Keep old category-* rules intact so other pages aren't broken ── */
body:has(.blog-category-page),
body:has(.category-page) {
  background: #020b06 !important;
  color: #fff !important;
}
.blog-category-page,
.category-page { background: #020b06; color: #fff; min-height: 100vh; }
.category-grid,
.category-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 44px; }
.reveal { opacity:0; transform:translateY(36px); transition:opacity .72s cubic-bezier(.22,1,.36,1),transform .72s cubic-bezier(.22,1,.36,1); }
.reveal.active,.reveal.in-view { opacity:1; transform:translateY(0); }
