/* =========================================================
   VOE LEARNING HUB — matches the live VOE Digital Studio
   design system exactly (tokens copied from production):
   Playfair Display + Manrope, all-dark black/gold palette.
   Namespaced with lh- prefix so it can't collide with
   anything already defined on the main site.
   ========================================================= */
:root{
  --black: #0a0a0a;
  --black-soft: #121212;
  --black-card: #161513;
  --gold: #c9a24b;
  --gold-bright: #e8cd8a;
  --gold-deep: #8a6c2f;
  --champagne: #f0dfb4;
  --off-white: #faf7f0;
  --grey: #a8a29a;
  --grey-dim: #6f6a62;
  --line: rgba(201,162,75,0.18);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, sans-serif;
  --container: 1240px;
  --ease: cubic-bezier(.16,.8,.24,1);
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--black);
  color:var(--off-white);
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:var(--font-display); font-weight:600; color:var(--off-white); letter-spacing:-0.01em;}
p{color:var(--grey); line-height:1.7;}
a{color:inherit; text-decoration:none;}
img{display:block; max-width:100%;}
button{font-family:inherit; cursor:pointer; border:none; background:none; color:inherit;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; transition-duration:0.01ms !important;}
}

.wrap{max-width:var(--container); margin:0 auto; padding:0 32px;}

/* ---------- Eyebrow (matches production exactly) ---------- */
.eyebrow{
  font-family:var(--font-body); font-size:12px; letter-spacing:0.32em; text-transform:uppercase;
  color:var(--gold); font-weight:600; display:inline-flex; align-items:center; gap:12px; margin-bottom:18px;
}
.eyebrow::before{content:''; width:24px; height:1px; background:var(--gold); display:inline-block;}

/* ---------- Buttons (matches production exactly) ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 30px; font-size:13px; font-weight:600; letter-spacing:0.04em; text-transform:uppercase;
  border-radius:100px; transition:transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
  white-space:nowrap;
}
.btn-gold{
  background:linear-gradient(120deg, var(--gold-deep), var(--gold) 40%, var(--gold-bright));
  color:var(--black); box-shadow:0 8px 24px -8px rgba(201,162,75,0.5);
}
.btn-gold:hover{transform:translateY(-2px); box-shadow:0 14px 32px -10px rgba(201,162,75,0.65);}
.btn-outline{ border:1px solid var(--line); color:var(--off-white); background:rgba(255,255,255,0.02);}
.btn-outline:hover{border-color:var(--gold); background:rgba(201,162,75,0.06); transform:translateY(-2px);}
.lh-btn-block{width:100%;}

/* ---------- Nav ---------- */
.lh-nav{position:sticky; top:0; z-index:100; background:rgba(10,10,10,0.88); backdrop-filter:blur(14px); border-bottom:1px solid var(--line);}
.lh-nav__inner{display:flex; align-items:center; justify-content:space-between; padding:14px 32px;}
.lh-brand img{height:38px; width:auto;}
.lh-nav__links{display:flex; gap:26px;}
.lh-nav__links a{font-size:13px; font-weight:500; color:var(--grey); transition:color 0.3s var(--ease);}
.lh-nav__links a:hover{color:var(--gold);}

/* ---------- Hero ---------- */
.lh-hero{padding:100px 0 70px; text-align:center; background:radial-gradient(120% 100% at 50% -10%, rgba(201,162,75,0.10), transparent 60%);}
.lh-hero__inner{max-width:720px; margin:0 auto;}
.lh-hero h1{display:none;}
.lh-hero__headline{font-size:clamp(2.4rem,4.6vw,3.6rem); margin-bottom:20px;}
.lh-hero__headline em{font-style:italic; color:var(--gold);}
.lh-hero__sub{font-size:1.05rem; max-width:560px; margin:0 auto 34px;}
.lh-hero__cta{display:flex; gap:16px; justify-content:center; flex-wrap:wrap;}

/* ---------- Filter tabs ---------- */
.lh-filters-wrap{position:sticky; top:67px; z-index:90; background:var(--black); border-bottom:1px solid var(--line);}
.lh-filters{display:flex; gap:10px; justify-content:center; flex-wrap:wrap; padding:16px 0;}
.lh-filter{background:var(--black-card); border:1px solid var(--line); color:var(--off-white); font-family:var(--font-body); font-size:12.5px; font-weight:600; letter-spacing:0.03em; text-transform:uppercase; padding:9px 20px; border-radius:100px; transition:all 0.3s var(--ease);}
.lh-filter:hover{border-color:var(--gold);}
.lh-filter.is-active{background:linear-gradient(120deg, var(--gold-deep), var(--gold) 40%, var(--gold-bright)); color:var(--black); border-color:transparent;}

/* ---------- Sections ---------- */
.lh-section{padding:90px 0;}
.section-head{text-align:center; max-width:640px; margin:0 auto 56px;}
.section-head h2{font-size:clamp(1.9rem,3.2vw,2.5rem); margin-bottom:16px;}
.lh-section__lead{font-size:1rem;}
.lh-grid{display:grid; gap:24px;}
.lh-grid--resources{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}

/* ---------- Resource cards ---------- */
.lh-card{background:var(--black-card); border:1px solid var(--line); border-radius:16px; overflow:hidden; transition:all 0.35s var(--ease); display:flex; flex-direction:column;}
.lh-card:hover{border-color:var(--gold); transform:translateY(-6px);}
.lh-card__media{aspect-ratio:16/9; display:flex; align-items:flex-end; padding:16px 18px; position:relative;}
.lh-card__media--clarity{background:linear-gradient(135deg,#2a2620,#0a0a0a);}
.lh-card__media--blueprint{background:linear-gradient(135deg,#332a1a,#0a0a0a);}
.lh-card__media--automation{background:linear-gradient(135deg,#1e2420,#0a0a0a);}
.lh-card__media--ai{background:linear-gradient(135deg,#1a1f33,#0a0a0a);}
.lh-card__media--afri-sample{background:linear-gradient(135deg,#c9863f,#8a5220);}
.lh-card__media--afri-full{background:linear-gradient(135deg,#a85a24,#5c2f0e);}
.lh-card__format{background:rgba(255,255,255,0.1); backdrop-filter:blur(6px); color:var(--off-white); font-size:11px; font-weight:600; padding:6px 12px; border-radius:100px; border:1px solid rgba(255,255,255,0.15);}
.lh-card__body{padding:26px 24px; display:flex; flex-direction:column; gap:4px; flex:1;}
.lh-card__category{font-size:11px; text-transform:uppercase; letter-spacing:0.08em; color:var(--grey-dim); margin-bottom:8px;}
.lh-card__body h3{font-size:1.3rem; margin-bottom:10px;}
.lh-card__body p{font-size:14px; margin-bottom:20px; flex:1;}
.lh-badge{display:inline-block; align-self:flex-start; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; padding:5px 12px; border-radius:100px; margin-bottom:12px;}
.lh-badge--free{background:rgba(120,200,150,0.14); color:#7ed6a0;}
.lh-badge--sample{background:rgba(201,134,63,0.16); color:#e0a361;}
.lh-badge--paid{background:rgba(201,162,75,0.16); color:var(--gold-bright);}
.lh-badge--soon{background:var(--line); color:var(--grey);}
.lh-pending-note{display:block; text-align:center; font-size:11.5px; color:var(--grey-dim); margin-top:10px; font-style:italic;}
.lh-price{display:flex; align-items:baseline; gap:10px; margin-bottom:16px;}
.lh-price span{font-family:var(--font-display); font-size:1.4rem; font-weight:700; color:var(--gold-bright);}
.lh-price small{color:var(--grey); font-size:0.85rem;}

/* ---------- Afrilearn section ---------- */
.lh-section--afrilearn{background:linear-gradient(180deg, var(--black-soft), var(--black));}
.lh-afrilearn-journey{display:grid; grid-template-columns:1fr auto 1fr; gap:28px; align-items:center; max-width:920px; margin:0 auto;}
.lh-journey-arrow{display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px;}
.lh-journey-arrow span{font-size:13px; color:var(--grey);}
.lh-journey-arrow strong{font-family:var(--font-display); font-size:1.05rem; color:var(--gold);}

/* ---------- Premium / Coming Soon ---------- */
.lh-premium-card{text-align:center; max-width:560px; margin:0 auto; background:var(--black-card); border:1px dashed var(--line); border-radius:18px; padding:56px 40px;}
.lh-premium-card h2{font-size:1.9rem; margin:16px 0;}
.lh-premium-card p{font-size:15px;}

/* ---------- Footer ---------- */
.lh-footer{background:var(--black-soft); padding:36px 0; border-top:1px solid var(--line);}
.lh-footer__inner{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;}
.lh-footer__inner p{color:var(--grey-dim); font-size:12.5px;}
.lh-footer__inner a{color:var(--gold); font-size:13px; font-weight:600;}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1024px){
  .lh-grid--resources{grid-template-columns:repeat(2,1fr);}
  .lh-afrilearn-journey{grid-template-columns:1fr;}
  .lh-journey-arrow{flex-direction:row; justify-content:center; gap:10px;}
}
@media (max-width:760px){
  .lh-nav__links{display:none;}
  .lh-grid--resources{grid-template-columns:1fr;}
  .lh-section{padding:60px 0;}
  .lh-filters-wrap{top:0;}
  .lh-filters{overflow-x:auto; justify-content:flex-start; flex-wrap:nowrap; -webkit-overflow-scrolling:touch;}
  .wrap{padding:0 20px;}
}
