*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Poppins, sans-serif;
}

body{
background:#f6f7fb;
color:#111;
}

/* HEADER */
header{
background:#fff;
padding:15px 30px;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.header-container{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
}

.logo img{
height:40px;
}

nav a{
margin:0 10px;
text-decoration:none;
color:#333;
font-weight:500;
}

/* HERO */
.hero{
max-width:940px;
margin:50px auto;
display:grid;
grid-template-columns:400px 1fr;
gap:50px;
align-items:center;
padding:0 20px;
}

/* LOGIN */
.login-card{
background:#fff;
padding:30px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.card-icon img{
width:80px;
height:80px;
border-radius:50%;
display:block;
margin:0 auto 10px;
}

h1{
text-align:center;
margin-bottom:5px;
}

.subtitle{
text-align:center;
color:#666;
margin-bottom:20px;
}

.field{
margin-bottom:15px;
}

.field label{
display:block;
margin-bottom:5px;
font-weight:600;
}

.field input{
width:100%;
padding:12px;
border:1px solid #ddd;
border-radius:10px;
}

.forgot{
display:block;
text-align:right;
font-size:13px;
margin-bottom:15px;
text-decoration:none;
color:#6c2bd9;
}

.btn{
width:100%;
padding:12px;
border:none;
background:#6c2bd9;
color:#fff;
border-radius:10px;
cursor:pointer;
font-weight:600;
}

/* HERO RIGHT */
.badge{
display:inline-block;
background:#eee;
padding:6px 12px;
border-radius:20px;
font-size:12px;
margin-bottom:10px;
}

.hero-content h2{
font-size:42px;
margin-bottom:10px;
}

.hero-content p{
color:#666;
margin-bottom:20px;
}

.hero-img{
width:100%;
border-radius:40px;
}

/* STATS */
.stats{
max-width:1100px;
margin:40px auto;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
text-align:center;
}

.stat{
background:#fff;
padding:20px;
border-radius:15px;
font-size:24px;
font-weight:700;
}

.stat span{
display:block;
font-size:14px;
color:#666;
font-weight:400;
}

/* FEATURES */
.features{
max-width:1100px;
margin:50px auto;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
padding:0 20px;
}

.card{
background:#fff;
padding:20px;
border-radius:15px;
text-align:center;
box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.card h3{
margin-bottom:10px;
}

/* CTA */
.cta{
max-width:1100px;
margin:60px auto;
text-align:center;
background:linear-gradient(135deg,#6c2bd9,#4f8cff);
color:#fff;
padding:50px;
border-radius:20px;
}

.cta button{
margin-top:15px;
padding:12px 25px;
border:none;
background:#fff;
color:#6c2bd9;
border-radius:20px;
font-weight:600;
cursor:pointer;
}

/* LOADING */
.loading-box{
display:none;
text-align:center;
margin-top:15px;
}

.spinner{
width:40px;
height:40px;
border:4px solid #ddd;
border-top:4px solid #6c2bd9;
border-radius:50%;
margin:auto;
animation:spin 1s linear infinite;
}

@keyframes spin{
100%{transform:rotate(360deg);}
}

.success-box{
display:none;
text-align:center;
margin-top:15px;
background:#e6f9ed;
padding:10px;
border-radius:10px;
}

/* RESPONSIVE */
@media(max-width:900px){

.hero{
grid-template-columns:1fr;
}

.stats{
grid-template-columns:repeat(2,1fr);
}

.features{
grid-template-columns:1fr;
}

nav{
display:none;
}
}
