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

body{
background:#0f2027;
color:white;
transition:0.4s ease;
overflow-x:hidden;
}

/* PARTICLES BACKGROUND */
#particles-js{
position:fixed;
width:100%;
height:100%;
z-index:-1;
}

/* NAVBAR */
nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 10%;
background:rgba(0,0,0,0.6);
backdrop-filter:blur(12px);
position:fixed;
width:100%;
z-index:1000;
transition:0.4s;
}

nav h1{
color:#00f5ff;
font-size:1.3rem;
}

nav ul{
display:flex;
gap:25px;
list-style:none;
}

nav a{
color:white;
text-decoration:none;
font-weight:500;
transition:0.3s;
}

nav a:hover{
color:#00f5ff;
}

#toggleTheme{
background:none;
border:none;
color:white;
font-size:20px;
cursor:pointer;
transition:0.3s;
}

/* HERO */
.hero{
height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:0 20px;
}

.hero h2{
font-size:2.5rem;
margin-bottom:15px;
}

.hero span{
color:#00f5ff;
}

.hero p{
opacity:0.9;
}

/* BOTONES */
.btn{
display:inline-block;
margin:15px;
padding:12px 25px;
background:#00f5ff;
color:black;
border-radius:30px;
text-decoration:none;
font-weight:600;
transition:0.3s ease;
box-shadow:0 0 15px rgba(0,245,255,0.4);
}

.btn:hover{
transform:translateY(-3px);
background:white;
}

/* SECCIONES */
section{
padding:120px 10%;
text-align:center;
}

section h2{
margin-bottom:40px;
font-size:2rem;
}

/* TIMELINE */
.timeline{
display:flex;
flex-direction:column;
gap:25px;
max-width:700px;
margin:auto;
}

.timeline-item{
background:rgba(255,255,255,0.08);
padding:25px;
border-radius:15px;
transition:0.3s;
border-left:4px solid #00f5ff;
}

.timeline-item:hover{
transform:translateY(-5px);
background:rgba(255,255,255,0.15);
}

/* ESTADISTICAS */
.stats{
display:flex;
justify-content:center;
gap:60px;
flex-wrap:wrap;
}

.stat{
font-size:2.5rem;
font-weight:bold;
}

.stat p{
font-size:1rem;
margin-top:10px;
font-weight:normal;
}

/* CONTACTO */
.social{
margin-top:20px;
}

/* FOOTER */
footer{
text-align:center;
padding:30px;
background:rgba(0,0,0,0.6);
margin-top:50px;
}

/* ANIMACIONES */
.hidden{
opacity:0;
transform:translateY(40px);
transition:1s ease;
}

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

/* ---------------------- */
/* 🌞 MODO CLARO PREMIUM */
/* ---------------------- */

body.light{
background:linear-gradient(135deg,#f5f7fa,#c3cfe2);
color:#1e1e1e;
}

body.light nav{
background:rgba(255,255,255,0.75);
}

body.light nav a{
color:#1e1e1e;
}

body.light nav a:hover{
color:#0077ff;
}

body.light #toggleTheme{
color:#1e1e1e;
}

body.light .hero span{
color:#0077ff;
}

body.light .timeline-item{
background:white;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
border-left:4px solid #0077ff;
}

body.light .btn{
background:#0077ff;
color:white;
box-shadow:0 10px 20px rgba(0,119,255,0.3);
}

body.light .btn:hover{
background:#005edb;
}

body.light footer{
background:rgba(255,255,255,0.8);
}
