/* ===========================================
   NOVATECH
   PARTE 1 DEL CSS
   =========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

:root{

    --color1:#0f172a;
    --color2:#111827;
    --color3:#1e293b;
    --principal:#3b82f6;
    --secundario:#38bdf8;
    --texto:#ffffff;
    --gris:#cbd5e1;

    --glass:rgba(255,255,255,.08);

}

body{

    font-family:"Poppins",sans-serif;
    background:linear-gradient(135deg,#020617,#111827,#1e293b);
    color:white;
    overflow-x:hidden;

}

.background{

    position:fixed;
    inset:0;

    background:
    radial-gradient(circle at top left,#2563eb33,transparent 40%),
    radial-gradient(circle at bottom right,#38bdf833,transparent 35%),
    radial-gradient(circle at center,#9333ea22,transparent 50%);

    z-index:-5;

}

/* ================= HEADER ================= */

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    padding:20px 10%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    backdrop-filter:blur(20px);

    background:rgba(15,23,42,.65);

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:1000;

}

.logo{

    font-size:34px;
    font-weight:800;
    letter-spacing:2px;

}

.logo span{

    color:var(--principal);

}

nav ul{

    display:flex;
    list-style:none;
    gap:35px;

}

nav a{

    color:white;
    text-decoration:none;
    transition:.3s;
    font-weight:500;

}

nav a:hover{

    color:var(--principal);

}

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

.hero{

    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:150px 10%;

    text-align:center;

}

.hero-content{

    max-width:900px;

}

.hero h1{

    font-size:72px;

    line-height:1.1;

    margin-bottom:30px;

}

.hero p{

    font-size:22px;

    color:var(--gris);

    line-height:1.8;

}

.hero-buttons{

    margin-top:50px;

    display:flex;

    justify-content:center;

    gap:25px;

}

.hero-buttons a{

    text-decoration:none;

    padding:18px 40px;

    border-radius:50px;

    transition:.35s;

    font-weight:600;

}

.hero-buttons a:first-child{

    background:var(--principal);

    color:white;

}

.hero-buttons a:last-child{

    border:2px solid white;

    color:white;

}

.hero-buttons a:hover{

    transform:translateY(-5px);

}

/* ================= STATS ================= */

.stats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    padding:80px 10%;

}

.stat{

    background:var(--glass);

    backdrop-filter:blur(18px);

    border-radius:20px;

    text-align:center;

    padding:45px;

    border:1px solid rgba(255,255,255,.08);

    transition:.4s;

}

.stat:hover{

    transform:translateY(-10px);

}

.stat h2{

    font-size:52px;

    color:var(--principal);

}

.stat p{

    margin-top:10px;

    color:var(--gris);

}

/* ================= TITULOS ================= */

section h2{

    text-align:center;

    font-size:48px;

    margin-bottom:60px;

}

/* ================= SERVICIOS ================= */

.services{

    padding:120px 10%;

}

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.card{

    background:var(--glass);

    border-radius:25px;

    padding:45px;

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.card:hover{

    transform:translateY(-15px) scale(1.03);

}

.card h3{

    font-size:28px;

    margin-bottom:20px;

}

.card p{

    color:var(--gris);

    line-height:1.8;

}

/* ================= ABOUT ================= */

.about{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

    padding:120px 10%;

}

.about p{

    color:var(--gris);

    margin:20px 0;

    line-height:2;

}

.fake-image{

    height:420px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:48px;

    border-radius:35px;

    background:linear-gradient(135deg,#2563eb,#9333ea);

    font-weight:700;

    box-shadow:0 20px 40px rgba(0,0,0,.3);

}

/* ===========================================
   NOVATECH
   PARTE 2 DEL CSS
   =========================================== */

/* ================= TEAM ================= */

.team{

    padding:120px 10%;

}

.team-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:35px;

}

.member{

    background:var(--glass);
    backdrop-filter:blur(20px);

    border-radius:25px;

    padding:35px;

    text-align:center;

    border:1px solid rgba(255,255,255,.08);

    transition:.4s;

}

.member:hover{

    transform:translateY(-15px);

}

.photo{

    width:160px;
    height:160px;

    border-radius:50%;

    margin:auto;

    background:linear-gradient(135deg,#3b82f6,#9333ea);

    margin-bottom:25px;

}

.member h3{

    font-size:28px;

}

.member p{

    color:var(--gris);

    margin-top:10px;

}

/* ================= PROYECTOS ================= */

.projects{

    padding:120px 10%;

}

.gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.project{

    height:260px;

    border-radius:25px;

    overflow:hidden;

    background:
    linear-gradient(135deg,#2563eb,#9333ea);

    transition:.5s;

    cursor:pointer;

}

.project:hover{

    transform:scale(1.05) rotate(.5deg);

    box-shadow:0 20px 50px rgba(0,0,0,.4);

}

/* ================= PRECIOS ================= */

.pricing{

    padding:120px 10%;

}

.pricing-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

}

.price-card{

    background:var(--glass);

    backdrop-filter:blur(25px);

    border-radius:30px;

    padding:45px;

    text-align:center;

    transition:.4s;

    border:1px solid rgba(255,255,255,.08);

}

.price-card:hover{

    transform:translateY(-15px);

}

.price-card h1{

    font-size:60px;

    color:var(--principal);

    margin:25px 0;

}

.price-card ul{

    list-style:none;

}

.price-card li{

    margin:15px 0;

    color:var(--gris);

}

.price-card button{

    margin-top:35px;

    border:none;

    padding:18px 35px;

    border-radius:50px;

    background:var(--principal);

    color:white;

    cursor:pointer;

    transition:.3s;

    font-size:17px;

}

.price-card button:hover{

    background:#2563eb;

}

.premium{

    transform:scale(1.05);

    border:2px solid var(--principal);

}

/* ================= CONTACTO ================= */

.contact{

    padding:120px 10%;

}

form{

    max-width:750px;

    margin:auto;

}

input,
textarea{

    width:100%;

    padding:20px;

    margin:15px 0;

    border:none;

    border-radius:18px;

    background:rgba(255,255,255,.08);

    color:white;

    font-size:17px;

    outline:none;

}

textarea{

    resize:none;

    height:180px;

}

form button{

    width:100%;

    padding:20px;

    border:none;

    border-radius:18px;

    cursor:pointer;

    background:var(--principal);

    color:white;

    font-size:18px;

    transition:.3s;

}

form button:hover{

    background:#2563eb;

}

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

footer{

    padding:60px;

    text-align:center;

    background:#020617;

}

footer h2{

    margin-bottom:20px;

}

footer p{

    color:var(--gris);

}

/* ================= SCROLL ================= */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:#3b82f6;

    border-radius:50px;

}

::-webkit-scrollbar-track{

    background:#111827;

}

/* ================= ANIMACIONES ================= */

@keyframes aparecer{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero,
.stats,
.services,
.about,
.team,
.projects,
.pricing,
.contact{

    animation:aparecer 1s ease;

}

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

@media(max-width:1000px){

.about{

    grid-template-columns:1fr;

}

.hero h1{

    font-size:52px;

}

.stats{

    grid-template-columns:repeat(2,1fr);

}

header{

    flex-direction:column;

    gap:20px;

}

nav ul{

    flex-wrap:wrap;

    justify-content:center;

}

}

@media(max-width:700px){

.hero{

    padding-top:200px;

}

.hero h1{

    font-size:40px;

}

.hero p{

    font-size:18px;

}

.hero-buttons{

    flex-direction:column;

}

.stats{

    grid-template-columns:1fr;

}

section h2{

    font-size:36px;

}

.logo{

    font-size:28px;

}

}

/* ===========================================
   NOVATECH
   PARTE 3 DEL CSS
   EFECTOS PREMIUM
   =========================================== */

/* ---------- Selección de texto ---------- */

::selection{
    background:#3b82f6;
    color:white;
}

/* ---------- Fondo animado ---------- */

body::before{

    content:"";

    position:fixed;

    width:700px;
    height:700px;

    background:#2563eb22;

    border-radius:50%;

    filter:blur(180px);

    left:-250px;
    top:-250px;

    animation:mover1 18s infinite alternate;

    z-index:-2;

}

body::after{

    content:"";

    position:fixed;

    width:700px;
    height:700px;

    background:#9333ea22;

    border-radius:50%;

    filter:blur(180px);

    right:-250px;
    bottom:-250px;

    animation:mover2 22s infinite alternate;

    z-index:-2;

}

@keyframes mover1{

    from{

        transform:translate(0,0);

    }

    to{

        transform:translate(250px,180px);

    }

}

@keyframes mover2{

    from{

        transform:translate(0,0);

    }

    to{

        transform:translate(-220px,-150px);

    }

}

/* ---------- Brillo en botones ---------- */

.hero-buttons a,
.price-card button,
form button{

    position:relative;

    overflow:hidden;

}

.hero-buttons a::before,
.price-card button::before,
form button::before{

    content:"";

    position:absolute;

    width:60px;
    height:250%;

    background:rgba(255,255,255,.35);

    transform:rotate(30deg);

    top:-80%;

    left:-150px;

    transition:.7s;

}

.hero-buttons a:hover::before,
.price-card button:hover::before,
form button:hover::before{

    left:140%;

}

/* ---------- Tarjetas Premium ---------- */

.card,
.member,
.project,
.price-card,
.stat{

    position:relative;

}

.card::after,
.member::after,
.project::after,
.price-card::after,
.stat::after{

    content:"";

    position:absolute;

    inset:0;

    border-radius:inherit;

    border:1px solid transparent;

    transition:.4s;

}

.card:hover::after,
.member:hover::after,
.project:hover::after,
.price-card:hover::after,
.stat:hover::after{

    border-color:#3b82f6;

    box-shadow:
    0 0 25px rgba(59,130,246,.45);

}

/* ---------- Línea decorativa ---------- */

section h2::after{

    content:"";

    display:block;

    width:90px;

    height:5px;

    margin:18px auto;

    border-radius:30px;

    background:linear-gradient(
    90deg,
    #3b82f6,
    #38bdf8,
    #9333ea
    );

}

/* ---------- Inputs ---------- */

input:focus,
textarea:focus{

    border:2px solid #3b82f6;

    box-shadow:0 0 18px rgba(59,130,246,.45);

}

/* ---------- Logo ---------- */

.logo{

    cursor:pointer;

    transition:.4s;

}

.logo:hover{

    transform:scale(1.08);

    text-shadow:
    0 0 20px #3b82f6;

}

/* ---------- Menú ---------- */

nav a{

    position:relative;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-6px;

    width:0;

    height:2px;

    background:#3b82f6;

    transition:.35s;

}

nav a:hover::after{

    width:100%;

}

/* ---------- Galería ---------- */

.project{

    overflow:hidden;

}

.project::before{

    content:"Proyecto";

    position:absolute;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    color:white;

    font-size:34px;

    font-weight:700;

    background:rgba(0,0,0,.35);

    opacity:0;

    transition:.4s;

}

.project:hover::before{

    opacity:1;

}

/* ---------- Footer ---------- */

footer{

    border-top:1px solid rgba(255,255,255,.08);

}

footer h2{

    letter-spacing:3px;

}

/* ---------- Hero ---------- */

.hero h1{

    background:linear-gradient(
    90deg,
    white,
    #38bdf8,
    #3b82f6
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

/* ---------- Scroll ---------- */

html{

    scroll-padding-top:120px;

}

/* ---------- Flotación ---------- */

.fake-image{

    animation:flotar 4s ease-in-out infinite;

}

@keyframes flotar{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0);

    }

}