/* ==========================================================
   ENABLEX KNOWLEDGE HUB
   knowledge.css
========================================================== */


/* ========================================
   MAIN CONTAINER
======================================== */

.knowledge-container{

width:min(1400px,92%);

margin:60px auto;

}



/* ========================================
   HERO
======================================== */

.knowledge-hero{

text-align:center;

max-width:950px;

margin:0 auto 70px;

}



.knowledge-hero h1{

font-size:3.8rem;

margin:25px 0;

}



.knowledge-hero h1 span{

background:

linear-gradient(
90deg,
#2EC5FF,
#6C63FF,
#18D89E
);

-webkit-background-clip:text;

color:transparent;

}



.knowledge-hero p{

font-size:1.15rem;

line-height:1.8;

color:var(--text-light);

}



/* ========================================
   SEARCH
======================================== */

.knowledge-search{

display:flex;

gap:15px;

margin-top:40px;

padding:12px;

border-radius:25px;

background:

rgba(255,255,255,.06);

border:

1px solid rgba(255,255,255,.12);

backdrop-filter:blur(20px);

}



.knowledge-search input{

flex:1;

padding:20px 25px;

background:transparent;

border:none;

outline:none;

color:white;

font-size:1rem;

}



/* ========================================
   CATEGORIES
======================================== */

.knowledge-categories{

margin-bottom:70px;

}



.knowledge-categories h2,
.knowledge-library h2,
.knowledge-insights h2{

font-size:2rem;

margin-bottom:35px;

}



.category-grid{

display:grid;

grid-template-columns:

repeat(4,1fr);

gap:25px;

}



.category-card{

padding:30px;

border-radius:24px;

background:

rgba(255,255,255,.06);

border:

1px solid rgba(255,255,255,.1);

transition:.35s;

}



.category-card:hover{

transform:translateY(-8px);

background:

rgba(46,197,255,.12);

}



.category-card p{

color:var(--text-light);

}



/* ========================================
   LIBRARY
======================================== */

.section-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:30px;

}



.article-grid{

display:grid;

grid-template-columns:

repeat(3,1fr);

gap:30px;

}



.knowledge-card{

padding:35px;

border-radius:28px;

background:

linear-gradient(

145deg,

rgba(255,255,255,.08),

rgba(255,255,255,.03)

);

border:

1px solid rgba(255,255,255,.1);

transition:.35s;

}



.knowledge-card:hover{

transform:translateY(-10px);

box-shadow:

0 25px 60px rgba(46,197,255,.15);

}



.card-icon{

font-size:2.5rem;

margin-bottom:20px;

}



.knowledge-card h3{

font-size:1.4rem;

margin-bottom:15px;

}



.knowledge-card p{

color:var(--text-light);

line-height:1.7;

}



.article-meta{

display:flex;

justify-content:space-between;

margin-top:25px;

font-size:.9rem;

color:#94A3B8;

}



/* ========================================
   INSIGHTS
======================================== */

.knowledge-insights{

margin-top:70px;

padding:40px;

border-radius:30px;

background:

rgba(255,255,255,.05);

border:

1px solid rgba(255,255,255,.1);

}



.insight-grid{

display:grid;

grid-template-columns:

repeat(3,1fr);

gap:25px;

}



.insight-grid div{

text-align:center;

padding:25px;

}



.insight-grid strong{

display:block;

font-size:3rem;

background:

linear-gradient(
90deg,
#2EC5FF,
#18D89E
);

-webkit-background-clip:text;

color:transparent;

}



.insight-grid p{

color:var(--text-light);

}



/* ========================================
   FOOTER
======================================== */

footer{

text-align:center;

padding:40px;

color:var(--text-muted);

}



/* ========================================
   RESPONSIVE
======================================== */

@media(max-width:1100px){


.category-grid{

grid-template-columns:

repeat(2,1fr);

}


.article-grid{

grid-template-columns:

repeat(2,1fr);

}


}



@media(max-width:700px){


.knowledge-hero h1{

font-size:2.4rem;

}



.knowledge-search{

flex-direction:column;

}



.category-grid,
.article-grid,
.insight-grid{

grid-template-columns:1fr;

}



.section-header{

flex-direction:column;

gap:20px;

align-items:flex-start;

}


}
/* ========================================
   KNOWLEDGE TOAST
======================================== */


.knowledge-toast{

position:fixed;

right:30px;

bottom:30px;

padding:18px 26px;

border-radius:18px;

background:

linear-gradient(
135deg,
#2EC5FF,
#6C63FF
);

color:white;

font-weight:600;

opacity:0;

transform:translateY(30px);

transition:.35s;

z-index:9999;

box-shadow:

0 20px 50px rgba(46,197,255,.3);

}



.knowledge-toast.active{

opacity:1;

transform:translateY(0);

}
