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

html{
    scroll-behavior:smooth;
}

body{
    background:#080b12;
    color:white;
    overflow-x:hidden;
}

/* Fondo */

.background{
    position:fixed;
    inset:0;
    z-index:0;
    overflow:hidden;
}

.background span{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
    opacity:.12;
}

.background span:nth-child(1){
    width:400px;
    height:400px;
    background:#2563eb;
    top:10%;
    left:-150px;
}

.background span:nth-child(2){
    width:500px;
    height:500px;
    background:#7c3aed;
    right:-200px;
    top:5%;
}

.background span:nth-child(3){
    width:350px;
    height:350px;
    background:#06b6d4;
    bottom:-150px;
    left:30%;
}

body::before{
    content:"";
    position:fixed;
    inset:0;

    background-image:
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);

    background-size:40px 40px;

    pointer-events:none;
}

/* Header */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;

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

    padding:24px 50px;

    backdrop-filter:blur(20px);
    background:rgba(8,11,18,.75);

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

    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:700;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:#94a3b8;
    transition:.3s;
}

nav a:hover{
    color:white;
}

/* Hero */

main{
    min-height:100vh;

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

    padding-top:100px;
    position:relative;
    z-index:2;
}

.hero{
    width:min(1000px,90%);
    text-align:center;
}

.badge{
    display:inline-block;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(37,99,235,.15);

    border:1px solid rgba(37,99,235,.35);

    color:#60a5fa;

    margin-bottom:25px;
}

.hero h1{
    font-size:5rem;
    line-height:1.05;
    margin-bottom:25px;
}

.hero p{
    max-width:750px;
    margin:auto;

    color:#94a3b8;
    line-height:1.8;
    font-size:1.1rem;
}

.cta{
    margin-top:40px;

    padding:18px 40px;

    border:none;
    border-radius:999px;

    background:linear-gradient(135deg,#2563eb,#7c3aed);

    color:white;

    cursor:pointer;
    font-weight:600;

    transition:.3s;
}

.cta:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 40px rgba(37,99,235,.35);
}

.hero-checks{
    margin-top:25px;

    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;

    color:#9ca3af;
}

.stats{
    margin-top:60px;

    display:flex;
    justify-content:center;
    gap:60px;
}

.stats h3{
    font-size:2rem;
}

.stats span{
    color:#94a3b8;
}

/* Ticker */

.ticker{
    overflow:hidden;
    padding:20px 0;

    border-top:1px solid rgba(255,255,255,.05);
    border-bottom:1px solid rgba(255,255,255,.05);
}

.ticker span{
    display:inline-block;
    white-space:nowrap;

    animation:scrollTicker 30s linear infinite;
}

@keyframes scrollTicker{
    from{
        transform:translateX(100%);
    }
    to{
        transform:translateX(-100%);
    }
}

/* Secciones */

section{
    position:relative;
    z-index:2;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:2.8rem;
}

.section-title p{
    color:#94a3b8;
}

/* Product preview */

.product-preview{
    max-width:1100px;
    margin:120px auto;
    padding:0 30px;
}

.dashboard-mockup{
    max-width:800px;
    margin:auto;

    background:#0f172a;

    border-radius:24px;

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

    padding:30px;
}

.mockup-header{
    display:flex;
    gap:10px;
    margin-bottom:30px;
}

.dot{
    width:12px;
    height:12px;
    border-radius:50%;
}

.red{background:#ef4444;}
.yellow{background:#f59e0b;}
.green{background:#22c55e;}

.file-item{
    margin-bottom:25px;
}

.progress{
    margin-top:10px;
    height:10px;
    background:#1e293b;
    border-radius:999px;
}

.progress div{
    height:100%;
    border-radius:999px;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
}

/* Story */

.story{
    max-width:1200px;

    margin:140px auto;

    display:grid;
    grid-template-columns:1fr 1fr;

    gap:50px;

    padding:0 30px;
}

.story-content h2{
    font-size:3rem;
    margin-bottom:20px;
}

.story-content p{
    color:#94a3b8;
    line-height:1.8;
    margin-bottom:15px;
}

.comparison{
    display:grid;
    gap:15px;
}

.bad,
.good{
    padding:18px;
    border-radius:16px;
}

.bad{
    background:rgba(239,68,68,.08);
    border:1px solid rgba(239,68,68,.15);
}

.good{
    background:rgba(34,197,94,.08);
    border:1px solid rgba(34,197,94,.15);
}

/* Features */

.features{
    max-width:1200px;

    margin:120px auto;

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

    gap:25px;

    padding:0 30px;
}

.feature-card{
    padding:30px;

    border-radius:24px;

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

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

    transition:.3s;
}

.feature-card:hover{
    transform:translateY(-8px);
}

.feature-card p{
    margin-top:12px;
    color:#94a3b8;
}

/* Metrics */

.metrics{
    max-width:1200px;

    margin:140px auto;

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

    gap:25px;

    text-align:center;
}

.metric h2{
    font-size:3rem;
}

.metric span{
    color:#94a3b8;
}

/* API */

.api-showcase{
    max-width:1200px;

    margin:140px auto;

    display:grid;
    grid-template-columns:1fr 1fr;

    gap:50px;

    padding:0 30px;
}

.code-window{
    background:#0f172a;
    border-radius:20px;
    padding:30px;
    border:1px solid rgba(255,255,255,.08);
}

.code-window pre{
    overflow:auto;
}

.api-text h2{
    font-size:3rem;
    margin-bottom:20px;
}

.api-text p{
    color:#94a3b8;
}

/* Roadmap */

.roadmap{
    max-width:900px;
    margin:140px auto;
}

.roadmap h2{
    text-align:center;
    margin-bottom:50px;
}

.timeline{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.step{
    padding:25px;

    border-radius:20px;

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

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

.done{
    border-left:5px solid #22c55e;
}

.current{
    border-left:5px solid #f59e0b;
}

/* FAQ */

.faq{
    max-width:900px;
    margin:140px auto;
}

.faq h2{
    text-align:center;
    margin-bottom:40px;
}

.faq-item{
    margin-bottom:15px;
}

.faq-question{
    width:100%;

    padding:20px;

    text-align:left;

    background:#111827;

    border:none;

    color:white;

    border-radius:14px;

    cursor:pointer;
}

.faq-answer{
    padding:20px;
    color:#94a3b8;
}

/* Footer */

footer{
    margin-top:150px;

    padding:80px 30px;

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

.footer-grid{
    max-width:1200px;

    margin:auto;

    display:grid;
    grid-template-columns:2fr 1fr 1fr;

    gap:40px;
}

.footer-grid a{
    display:block;
    color:#94a3b8;
    text-decoration:none;
    margin-top:10px;
}

.footer-grid a:hover{
    color:white;
}

.footer-bottom{
    margin-top:50px;
    text-align:center;
    color:#64748b;
}

/* Modal */

.modal{
    position:fixed;
    inset:0;

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

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

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:99999;
}

.modal.active{
    opacity:1;
    visibility:visible;
}

.modal-card{
    width:420px;

    background:#0f172a;

    border-radius:24px;

    padding:35px;
}

.modal-card input{
    width:100%;
    padding:14px;
    margin-top:12px;

    border:none;

    border-radius:12px;

    background:#1e293b;
    color:white;
}

.submit-btn{
    width:100%;
    margin-top:15px;

    padding:14px;

    border:none;

    border-radius:12px;

    background:linear-gradient(135deg,#2563eb,#7c3aed);

    color:white;
}

.close{
    background:none;
    border:none;
    color:white;
    font-size:2rem;
    cursor:pointer;
}

/* Responsive */

@media(max-width:900px){

    nav{
        display:none;
    }

    .hero h1{
        font-size:3rem;
    }

    .stats{
        flex-direction:column;
        gap:20px;
    }

    .story,
    .api-showcase{
        grid-template-columns:1fr;
    }

    .metrics{
        grid-template-columns:1fr 1fr;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }
}
