/*==========================================================
    TRACKING SYSTEM
    layout.css
==========================================================*/

/*==========================
    BODY BACKGROUND
===========================*/

body{
    position:relative;
    background:linear-gradient(180deg,#f8fafc 0%,#eef3f8 100%);
}

/* Fondo decorativo */

body::before{
    content:"";
    position:fixed;
    top:-250px;
    right:-180px;
    width:650px;
    height:650px;
    background:radial-gradient(circle,var(--secondary),transparent 70%);
    opacity:.18;
    filter:blur(40px);
    z-index:-2;
}

body::after{
    content:"";
    position:fixed;
    bottom:-300px;
    left:-200px;
    width:700px;
    height:700px;
    background:radial-gradient(circle,var(--primary),transparent 70%);
    opacity:.12;
    filter:blur(55px);
    z-index:-2;
}

/*==========================
    HEADER
===========================*/

header{

    width:100%;

    position:sticky;

    top:0;

    left:0;

    z-index:1000;

    backdrop-filter:blur(14px);

    background:rgba(255,255,255,.80);

    border-bottom:1px solid rgba(255,255,255,.4);

}

/*==========================
    NAVBAR
===========================*/

nav{

    width:min(1320px,92%);

    margin:auto;

    height:85px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    height:60px;

    transition:.35s;

}

.logo img:hover{

    transform:scale(1.05);

}

.logo h2{

    font-size:1.6rem;

    color:var(--primary);

}

nav ul{

    display:flex;

    gap:35px;

    list-style:none;

}

nav li{

    position:relative;

    cursor:pointer;

    font-weight:500;

    transition:var(--transition);

}

nav li::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    border-radius:20px;

    background:var(--gradient);

    transition:.35s;

}

nav li:hover{

    color:var(--primary);

}

nav li:hover::after{

    width:100%;

}

/*==========================
    HERO
===========================*/

.hero{

    min-height:85vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:60px 20px;

}

.hero h1{

    max-width:900px;

    margin-bottom:20px;

    background:var(--gradient);

    background-clip:text;

    -webkit-background-clip:text;

    color:transparent;

    -webkit-text-fill-color:transparent;

}

.hero p{

    max-width:700px;

    font-size:1.2rem;

    margin-bottom:45px;

}

/*==========================
    SEARCH BOX
===========================*/

.search{

    width:min(760px,100%);

    display:flex;

    align-items:center;

    background:white;

    border-radius:70px;

    padding:12px;

    box-shadow:var(--shadow-lg);

    transition:.35s;

}

.search:hover{

    transform:translateY(-3px);

}

.search input{

    flex:1;

    border:none;

    outline:none;

    padding:18px 25px;

    font-size:1rem;

    background:transparent;

}

.search input::placeholder{

    color:#94a3b8;

}

.search button{

    border:none;

    padding:18px 35px;

    border-radius:50px;

    background:var(--gradient);

    color:white;

    cursor:pointer;

    font-size:1rem;

    font-weight:600;

    transition:.35s;

}

.search button:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(217,4,41,.35);

}

/*==========================
    HERO INFO
===========================*/

.hero-info{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

    width:min(1100px,100%);

}

.hero-box{

    background:rgba(255,255,255,.85);

    backdrop-filter:blur(10px);

    border-radius:22px;

    padding:35px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.hero-box:hover{

    transform:translateY(-8px);

}

.hero-box h3{

    margin-bottom:15px;

    color:var(--primary);

}

.hero-box p{

    font-size:.95rem;

}

/*==========================
    SECTION TITLE
===========================*/

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title h2{

    margin-bottom:15px;

}

.section-title p{

    max-width:650px;

    margin:auto;

}

/*==========================
    FOOTER
===========================*/

footer{

    margin-top:100px;

    padding:50px 20px;

    background:#111827;

    color:white;

}

.footer-container{

    width:min(1320px,92%);

    margin:auto;

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:50px;

}

.footer-logo{

    margin-bottom:20px;

}

.footer-logo img{

    height:55px;

}

.footer-links{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.footer-links a{

    color:#d1d5db;

    transition:.3s;

}

.footer-links a:hover{

    color:white;

}

.footer-copy{

    margin-top:50px;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.12);

    padding-top:25px;

    color:#9ca3af;

}

/*==========================
    DECORATIVE SHAPES
===========================*/

.circle{

    position:absolute;

    border-radius:50%;

    filter:blur(50px);

    z-index:-1;

}

.circle.one{

    width:320px;

    height:320px;

    background:rgba(255,190,11,.18);

    top:120px;

    left:-120px;

}

.circle.two{

    width:260px;

    height:260px;

    background:rgba(217,4,41,.18);

    bottom:120px;

    right:-80px;

}

/*==========================
    GLASS EFFECT
===========================*/

.glass{

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(16px);

    border:1px solid rgba(255,255,255,.4);

}

/*==========================
    DIVIDER
===========================*/

.divider{

    width:120px;

    height:5px;

    margin:25px auto;

    border-radius:50px;

    background:var(--gradient);

}

/*==========================
    LOADING OVERLAY
===========================*/

.loading{

    position:fixed;

    inset:0;

    background:rgba(255,255,255,.9);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:9999;

    opacity:0;

    pointer-events:none;

    transition:.3s;

}

.loading.show{

    opacity:1;

    pointer-events:all;

}