
:root{
  --primary:#1e88e5;
  --primary-dark:#1565c0;
  --bg:#f8fafc;
  --text:#1f2937;
  --radius:18px;
  --shadow:0 10px 30px rgba(0,0,0,.08);

  --money:#22c55e;
  --ai:#6366f1;
  --thinking:#f97316;
  --cyber:#0ea5e9;
  --life:#ef4444;
  --future:#8b5cf6;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.7;
}

.hero{
  background:linear-gradient(135deg,var(--primary),#42a5f5);
  color:#fff;
  padding:5rem 0;
}

.hero h1{font-weight:800}
.hero p{font-size:1.15rem;max-width:720px;margin:auto}

.search-box{
  max-width:700px;
  margin:2rem auto;
}

.section-title{
  font-weight:800;
  text-align:center;
  margin-bottom:3rem;
}

.pillar-card{
  border:none;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:.3s ease;
  overflow:hidden;
  height:100%;
}

.pillar-card:hover{
  transform:translateY(-8px);
}

.pillar-icon{
  width:72px;
  height:72px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2rem;
  margin:0 auto 1rem;
  color:#fff;
}

.money{background:var(--money)}
.ai{background:var(--ai)}
.thinking{background:var(--thinking)}
.cyber{background:var(--cyber)}
.life{background:var(--life)}
.future{background:var(--future)}

.btn-primary{
  background:var(--primary);
  border:none;
  border-radius:999px;
  padding:.8rem 1.6rem;
}

.btn-primary:hover{
  background:var(--primary-dark);
}

.feature-card,
.download-card,
.cta-box{
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:#fff;
  padding:2rem;
}

footer{
  background:#0f172a;
  color:#fff;
  padding:3rem 0;
}

footer a{
  color:#cbd5e1;
  text-decoration:none;
}

footer a:hover{
  color:#fff;
}

@media (max-width:768px){
  .hero{
    padding:4rem 1rem;
    text-align:center;
  }

  .hero h1{
    font-size:2.3rem;
  }

  .section-title{
    font-size:1.8rem;
  }
}
/* =========================================
   ARTICLE PAGE COMPATIBILITY CLASSES
   ========================================= */

/* Article Hero */
.resource-hero{
  background:linear-gradient(135deg,var(--primary),#42a5f5);
  color:#fff;
  padding:5rem 0;
}

.resource-hero h1{
  font-weight:800;
}

.resource-hero .hero-subtitle{
  font-size:1.15rem;
  max-width:720px;
}


/* Related Articles Section */
.related-resources,
.related-learning{
  padding:3rem 0;
}


/* Related Articles Grid */
.related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:1.5rem;
}


/* Article Cards */
.resource-card,
.learning-card{
  display:block;
  text-decoration:none;
  color:var(--text);
  background:#fff;
  padding:2rem;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:.3s ease;
}


.resource-card:hover,
.learning-card:hover{
  transform:translateY(-8px);
}


/* Mobile */
@media(max-width:768px){

  .resource-hero{
    padding:4rem 1rem;
    text-align:center;
  }

}
.resource-hero{
  background:linear-gradient(135deg,var(--primary),#42a5f5);
  color:#fff;
  padding:5rem 0;
}

.resource-hero h1{
  font-weight:800;
}

.resource-hero .hero-subtitle{
  font-size:1.15rem;
  max-width:720px;
}
.related-Learning{
  padding:3rem 0;
}
.resource-card{
  display:block;
  text-decoration:none;
  color:var(--text);
  background:#fff;
  padding:2rem;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:.3s ease;
}

.resource-card:hover{
  transform:translateY(-8px);
}
.related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:1.5rem;
}
/* =====================================
   LEARNING HUB ARTICLE TEMPLATE
===================================== */

.article-page{
  padding:4rem 0;
}

.article-layout{
  display:grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap:3rem;
  align-items:start;
}

.article-content{
  background:#fff;
  padding:3rem;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.article-sidebar{
  position:sticky;
  top:20px;
}


.article-summary,
.table-of-contents,
.highlight-box,
.info-box,
.table-card,
.summary-card,
.sidebar-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:1.5rem;
  margin:2rem 0;
}


.article-content h2{
  margin-top:2.5rem;
  font-weight:800;
}


.article-content h3{
  font-weight:700;
}


.table-card table{
  width:100%;
  border-collapse:collapse;
}

.table-card th,
.table-card td{
  padding:12px;
  border-bottom:1px solid #e5e7eb;
}


.summary-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1.5rem;
}


.article-cta{
  background:linear-gradient(135deg,var(--primary),#42a5f5);
  color:#fff;
  padding:2.5rem;
  border-radius:var(--radius);
  margin:3rem 0;
}


.faq-item{
  background:#fff;
  padding:1.5rem;
  margin:1rem 0;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}


@media(max-width:900px){

.article-layout{
  grid-template-columns:1fr;
}

.article-sidebar{
  position:static;
}

.article-content{
  padding:1.5rem;
}

}
/* Fix fixed navbar overlap */

body{
    padding-top:90px;
}

.hero{
    padding-top:4rem;
}
.pillar-card{
    padding:2.5rem !important;
}

.pillar-card h3{
    margin-top:1.2rem;
    font-weight:700;
}

.pillar-card p{
    min-height:70px;
}
/* Learning Hub CTA Fix */

.cta-box{
    background:linear-gradient(135deg,var(--primary),#42a5f5);
    color:#fff;
    padding:3rem 2rem;
}

.cta-box h2{
    color:#fff;
    font-weight:800;
}

.cta-box p{
    color:#fff;
    opacity:0.95;
}

.cta-box .btn-primary{
    background:#fff;
    color:var(--primary);
}

.cta-box .btn-primary:hover{
    background:#f1f5f9;
}
