@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&family=Montserrat:wght@300;400;600;700&family=Sacramento&display=swap');

:root {
  --bg: #000;
  --white: #fff;
  --red: #ff0015;
  --gold: #ffcc00;
  --accent: #a259ff;
  --card-border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(162, 89, 255, .35) 0%, transparent 70%);
  z-index: 0;
}

.hero-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  margin-top: 16px;
  font-size: clamp(.9rem, 2vw, 1.1rem);
  opacity: .7;
  max-width: 600px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Decorative text bg */
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .04);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0 20px 50px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: transparent;
  color: rgba(255, 255, 255, .7);
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(162, 89, 255, .4);
}

/* ── GRID ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ── CARD ── */
.blog-card {
  background: #0a0a0a;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(162, 89, 255, .18);
  border-color: rgba(162, 89, 255, .3);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.blog-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

/* category colors */
.cat-autoridad {
  background: rgba(255, 204, 0, .85);
  color: #000;
}

.cat-trafficker {
  background: rgba(0, 236, 255, .8);
  color: #000;
}

.cat-estrategia {
  background: rgba(162, 89, 255, .85);
  color: #fff;
}

.cat-mentoria {
  background: rgba(255, 105, 0, .85);
  color: #fff;
}

.cat-ceo {
  background: rgba(255, 215, 0, .85);
  color: #000;
}

.cat-geo {
  background: rgba(0, 200, 100, .85);
  color: #fff;
}

.card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-num {
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.card-answer {
  font-size: .84rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .65);
  flex: 1;
}

.card-divider {
  height: 1px;
  background: rgba(255, 255, 255, .07);
  margin: 4px 0;
}

/* Article expanded */
.card-detail {
  font-size: .78rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
  display: none;
}

.card-data-box {
  background: rgba(255, 255, 255, .04);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: .76rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
  display: none;
}

.card-apa {
  font-size: .68rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .35);
  font-style: italic;
  display: none;
}

.card-cta {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background .3s, box-shadow .3s;
  align-self: flex-start;
}

.card-cta:hover {
  background: #8a3fff;
  box-shadow: 0 0 20px rgba(162, 89, 255, .5);
}

.expand-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .6);
  font-size: .72rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  cursor: pointer;
  align-self: flex-start;
  transition: all .25s;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
}

.expand-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.card-art-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .5px;
  transition: all .25s;
  align-self: flex-start;
  padding: 6px 0;
}

.card-art-link:hover {
  color: #fff;
  gap: 10px;
}


.blog-card.expanded .card-detail,
.blog-card.expanded .card-data-box,
.blog-card.expanded .card-apa {
  display: block;
}

/* geo fallback image */
.geo-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #001a0a 0%, #003320 40%, #00a846 75%, #ffc107 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  padding: 40px 20px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .35);
  letter-spacing: 1px;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

/* ── BACK LINK ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 20px 24px 0;
  transition: color .2s;
}

.back-link:hover {
  color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 16px 40px;
  }
}