*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:#f5f7ff;
color:#1e293b;
}

.container{
max-width:1200px;
margin:auto;
padding:20px;
}

/* HEADER */

header{
background:white;
box-shadow:0 4px 20px rgba(0,0,0,0.05);
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:nowrap;
}

.logo{
font-size:24px;
font-weight:700;
color:#4f46e5;
}

nav{
display:flex;
align-items:center;
gap:20px;
flex-wrap:nowrap;
}

nav a{
margin-left:25px;
text-decoration:none;
font-weight:500;
color:#475569;
display:inline-flex;
align-items:center;
}

/* AJOUT POUR LOGIN */

#loginArea{
display:flex;
align-items:center;
margin-left:20px;
}

.login-btn{
background:#2563eb;
color:white;
padding:6px 14px;
border-radius:6px;
cursor:pointer;
border:none;
font-weight:500;
display:inline-flex;
align-items:center;
}

.login-btn:hover{
background:#1d4ed8;
}

/* HERO */

.hero{
background:linear-gradient(135deg,#4f46e5,#6366f1,#7c3aed);
padding:110px 20px;
text-align:center;
color:white;
}

.hero h1{
font-size:48px;
margin-bottom:15px;
}

.hero p{
font-size:18px;
margin-bottom:30px;
opacity:0.9;
}

/* UPLOAD */

.upload-box{
background:white;
padding:25px 30px;
border-radius:16px;
border:2px dashed #c7d2fe;
max-width:420px;
margin:auto;
transition:0.3s;
}

.upload-box.dragging{
border-color:#4f46e5;
background:#eef2ff;
}

.upload-row{
display:flex;
align-items:center;
gap:20px;
justify-content:center;
}

.upload-icon{
width:100px;
height:100px;
}

.upload-text h3{
font-size:18px;
margin-bottom:5px;
color:#111;
}

.upload-text p{
font-size:14px;
color:#64748b;
margin-bottom:8px;
}

.upload-btn{
background:#4f46e5;
color:white;
border:none;
padding:10px 22px;
border-radius:30px;
cursor:pointer;
font-weight:600;
}

.upload-btn:hover{
background:#4338ca;
}

/* TOOLS */

.tools{
padding:90px 20px;
}

.tools h2{
text-align:center;
font-size:34px;
margin-bottom:60px;
}

.tools-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:35px;
}

.tool{
background:white;
padding:40px;
border-radius:20px;
text-decoration:none;
color:#1e293b;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
transition:0.35s;
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
}

.tool:hover{
transform:translateY(-10px);
box-shadow:0 25px 60px rgba(0,0,0,0.15);
}

.tool-icon{
width:130px;
height:130px;
display:flex;
align-items:center;
justify-content:center;
background:#eef2ff;
border-radius:24px;
margin-bottom:25px;
}

.tool-icon img{
width:100px;
height:100px;
object-fit:contain;
}

.tool h3{
font-size:20px;
margin-bottom:10px;
}

.tool p{
font-size:14px;
color:#64748b;
}

/* FOOTER */

footer{
background:#0f172a;
color:white;
text-align:center;
padding:35px;
margin-top:80px;
}

/* TES REGLES EXISTANTES (NON SUPPRIMÉES) */

.container.nav{
display:flex;
align-items:center;
justify-content:space-between;
}

.container.nav nav{
display:flex;
align-items:center;
gap:20px;
}

.login-btn{
background:#2563eb;
color:white;
padding:6px 14px;
border-radius:6px;
cursor:pointer;
border:none;
font-weight:500;
}

.login-btn:hover{
background:#1d4ed8;
}
