/* ===========================
   THE BELVANE CO.
   Premium AI Theme
=========================== */

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

:root{
--bg:#050505;
--card:#111111;
--white:#ffffff;
--gray:#bdbdbd;
--line:#222;
--shadow:0 20px 80px rgba(255,255,255,.08);
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Inter',sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:var(--bg);
color:white;
overflow-x:hidden;
}

/* Background */

.bg-grid{
position:fixed;
inset:0;
background-image:
linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
background-size:60px 60px;
z-index:-3;
}

/* Glow */

.glow{
position:fixed;
width:600px;
height:600px;
border-radius:50%;
filter:blur(120px);
opacity:.20;
z-index:-2;
animation:float 12s infinite ease-in-out;
}

.glow1{
background:white;
left:-200px;
top:-150px;
}

.glow2{
background:#888;
right:-250px;
bottom:-200px;
animation-delay:4s;
}

@keyframes float{
50%{
transform:translateY(80px) scale(1.15);
}
}

/* Header */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:25px 8%;
position:fixed;
width:100%;
top:0;
background:rgba(0,0,0,.35);
backdrop-filter:blur(18px);
border-bottom:1px solid rgba(255,255,255,.06);
z-index:100;
}

.logo{
font-size:28px;
font-weight:800;
letter-spacing:.5px;
}

nav{
display:flex;
gap:35px;
}

nav a{
text-decoration:none;
color:#ddd;
transition:.3s;
font-weight:500;
}

nav a:hover{
color:white;
}

.btn-nav{
padding:13px 24px;
border:1px solid white;
border-radius:50px;
text-decoration:none;
color:white;
transition:.3s;
}

.btn-nav:hover{
background:white;
color:black;
}

/* Hero */

.hero{
min-height:100vh;
display:grid;
grid-template-columns:1fr 1fr;
align-items:center;
padding:120px 8%;
gap:60px;
}

.badge{
display:inline-block;
padding:10px 18px;
border-radius:40px;
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.08);
margin-bottom:25px;
font-size:14px;
}

.hero h1{
font-size:76px;
font-weight:900;
line-height:1.1;
margin-bottom:20px;
}

.hero h1 span{
color:#bfbfbf;
}

.hero p{
font-size:20px;
line-height:1.8;
color:#aaa;
max-width:620px;
margin-bottom:40px;
}

.hero-buttons{
display:flex;
gap:18px;
margin-bottom:55px;
}

.btn-primary{
background:white;
color:black;
padding:18px 36px;
border-radius:50px;
text-decoration:none;
font-weight:700;
transition:.3s;
}

.btn-primary:hover{
transform:translateY(-5px);
}

.btn-secondary{
padding:18px 36px;
border-radius:50px;
border:1px solid white;
text-decoration:none;
color:white;
}

.stats{
display:flex;
gap:60px;
}

.stats h2{
font-size:42px;
}

.stats p{
font-size:15px;
margin-top:8px;
color:#888;
}

/* Glass Card */

.glass-card{
background:rgba(255,255,255,.05);
backdrop-filter:blur(30px);
border:1px solid rgba(255,255,255,.08);
padding:45px;
border-radius:30px;
box-shadow:var(--shadow);
transition:.4s;
}

.glass-card:hover{
transform:translateY(-12px);
}

.btn-card{
display:inline-block;
margin-top:25px;
padding:14px 28px;
background:white;
color:black;
border-radius:50px;
text-decoration:none;
font-weight:700;
}

/* Courses */

#courses{
padding:120px 8%;
}

.section-title{
font-size:52px;
margin-bottom:60px;
}

.course-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
}

.course-card{
padding:35px;
border-radius:28px;
background:#101010;
border:1px solid #1d1d1d;
transition:.4s;
}

.course-card:hover{
transform:translateY(-10px);
border-color:#666;
}

.course-card h3{
margin-bottom:15px;
font-size:24px;
}

.course-card p{
color:#aaa;
line-height:1.7;
}

/* Animations */

.hidden{
opacity:0;
transform:translateY(60px);
transition:.8s;
}

.show{
opacity:1;
transform:translateY(0);
}

.cursor-glow{
position:fixed;
width:220px;
height:220px;
border-radius:50%;
background:radial-gradient(circle,
rgba(255,255,255,.12),
transparent 70%);
pointer-events:none;
transform:translate(-50%,-50%);
filter:blur(20px);
z-index:-1;
}

.progress-bar{
position:fixed;
top:0;
left:0;
height:3px;
width:0;
background:white;
z-index:99999;
}

/* Responsive */

@media(max-width:1000px){

.hero{
grid-template-columns:1fr;
text-align:center;
}

.hero-buttons{
justify-content:center;
}

.stats{
justify-content:center;
}

nav{
display:none;
}

.hero h1{
font-size:56px;
}

}
/* ==========================
   PREMIUM LOADER
========================== */

.loader{

position:fixed;

inset:0;

background:#050505;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

z-index:999999;

animation:hideLoader 1s ease 2s forwards;

}


.loader-logo{

font-size:45px;

font-weight:900;

letter-spacing:2px;

color:white;

}


.loader-bar{

width:180px;

height:3px;

background:white;

margin-top:25px;

animation:loading 2s ease infinite;

}


@keyframes loading{

0%{
transform:scaleX(0);
transform-origin:left;
}

50%{
transform:scaleX(1);
}

100%{
transform:scaleX(0);
transform-origin:right;
}

}


@keyframes hideLoader{

to{

opacity:0;

visibility:hidden;

}

}
.course-card{

position:relative;

overflow:hidden;

}


.course-card::before{

content:"";

position:absolute;

width:200px;

height:200px;

background:white;

opacity:.08;

border-radius:50%;

top:-100px;

right:-100px;

transition:.5s;

}


.course-card:hover::before{

transform:scale(2);

}


.course-card:hover h3{

transform:translateX(5px);

}


.course-card h3{

transition:.3s;

}
