:root{
    --black:#0B0B0B;
    --black2:#111111;
    --black3:#1A1A1A;
    --orange:#FF7A00;
    --orange2:#FF8F1F;
    --orangeSoft:#FFB15C;
    --white:#FFFFFF;
    --gray:#A1A1AA;
    --gray2:#D4D4D8;
    --light:#F5F5F5;
    --whatsapp:#25D366;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter', Arial, sans-serif;
    background:var(--black);
    color:var(--white);
    overflow-x:hidden;
}

body.menu-open{
    overflow:hidden;
}

a{
    text-decoration:none;
}

.cori-container{
    max-width:1240px;
    margin:auto;
    padding:0 22px;
}

/* HEADER */

.header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(11,11,11,.86);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(255,255,255,.08);
    transition:background .25s ease, box-shadow .25s ease;
}

.header.scrolled{
    background:rgba(11,11,11,.95);
    box-shadow:0 10px 40px rgba(0,0,0,.45);
}

.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:72px;
    gap:20px;
}

.logo{
    font-size:24px;
    font-weight:900;
    letter-spacing:-1px;
    color:#fff;
    white-space:nowrap;
}

.logo span:first-child{
    color:#fff;
}

.logo span:last-child{
    color:var(--orange);
}

.menu{
    display:flex;
    align-items:center;
}

.menu a{
    color:rgba(255,255,255,.72);
    margin-left:24px;
    font-weight:700;
    font-size:15px;
    transition:.25s ease;
}

.menu a:hover{
    color:#fff;
}

.nav-actions{
    display:flex;
    align-items:center;
    gap:15px;
}

#mobileToggle{
    background:rgba(255,255,255,.08);
    border:none;
    color:#fff;
    font-size:28px;
    display:none;
    cursor:pointer;
    width:44px;
    height:44px;
    border-radius:14px;
}

/* BOTONES */

.btn,
.btn-cori{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:15px 24px;
    border-radius:16px;
    font-weight:900;
    transition:all .25s ease;
    text-align:center;
    border:none;
    cursor:pointer;
    color:#fff;
}

.btn-orange{
    position:relative;
    overflow:hidden;
    background:var(--orange);
    color:#fff;
    box-shadow:0 18px 38px rgba(255,122,0,.24);
}

.btn-orange:hover{
    background:var(--orange2);
    transform:translateY(-2px);
}

.btn-orange::after{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:100%;
    height:100%;
    background:linear-gradient(120deg,transparent,rgba(255,255,255,.38),transparent);
    transition:.65s ease;
}

.btn-orange:hover::after{
    left:120%;
}

.btn-ghost{
    background:rgba(255,255,255,.08);
    color:#fff;
    border:1px solid rgba(255,255,255,.12);
}

.btn-ghost:hover{
    color:var(--orangeSoft);
    border-color:rgba(255,122,0,.55);
}

/* HERO */

.hero-cori{
    position:relative;
    padding:105px 0 90px;
    overflow:hidden;
    background:
        radial-gradient(circle at top right, rgba(255,122,0,.22), transparent 30%),
        radial-gradient(circle at bottom left, rgba(255,255,255,.07), transparent 28%),
        linear-gradient(180deg,#0B0B0B 0%,#111111 100%);
}

.hero-cori::before{
    content:"";
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size:52px 52px;
    opacity:.35;
    mask-image:linear-gradient(to bottom, black, transparent 82%);
    -webkit-mask-image:linear-gradient(to bottom, black, transparent 82%);
}

.hero-grid{
    position:relative;
    display:grid;
    grid-template-columns:1.02fr .98fr;
    gap:55px;
    align-items:center;
}

.badge{
    display:inline-flex;
    padding:11px 16px;
    border-radius:999px;
    background:rgba(255,122,0,.12);
    border:1px solid rgba(255,122,0,.28);
    color:var(--orangeSoft);
    font-size:14px;
    font-weight:900;
    margin-bottom:26px;
}

.hero-title{
    font-size:76px;
    line-height:1.01;
    letter-spacing:-3px;
    font-weight:900;
    margin:0;
}

.hero-title span{
    color:var(--orange);
}

.hero-text{
    margin-top:25px;
    max-width:720px;
    color:var(--gray);
    font-size:20px;
    line-height:1.75;
}

.hero-actions{
    margin-top:36px;
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

.hero-mini{
    margin-top:34px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.mini-card{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.09);
    border-radius:22px;
    padding:18px;
}

.mini-card small{
    display:block;
    color:var(--gray);
    margin-bottom:7px;
}

.mini-card strong{
    color:#fff;
}

/* MOCKUP APPLE */

.hero-device{
    position:relative;
    min-height:560px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.device-glow{
    position:absolute;
    width:560px;
    height:560px;
    background:radial-gradient(circle, rgba(255,122,0,.26), transparent 62%);
    filter:blur(18px);
}

.device-frame{
    position:relative;
    width:100%;
    max-width:540px;
    border-radius:42px;
    background:linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.035));
    border:1px solid rgba(255,255,255,.13);
    padding:20px;
    box-shadow:0 45px 110px rgba(0,0,0,.48);
}

.device-frame::before{
    content:"";
    position:absolute;
    inset:14px;
    border-radius:32px;
    border:1px solid rgba(255,255,255,.06);
    pointer-events:none;
}

.device-browser{
    height:52px;
    display:flex;
    align-items:center;
    gap:16px;
    padding:0 20px;
    border-radius:30px 30px 0 0;
    background:#101010;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.browser-dots{
    display:flex;
    gap:8px;
}

.browser-dots span{
    width:12px;
    height:12px;
    border-radius:50%;
    display:block;
}

.browser-dots span:nth-child(1){background:#ff5f57;}
.browser-dots span:nth-child(2){background:#ffbd2e;}
.browser-dots span:nth-child(3){background:#28c840;}

.device-browser small{
    color:#777;
    font-size:13px;
}

.device-screen{
    background:linear-gradient(180deg,#191919,#0B0B0B);
    border-radius:0 0 30px 30px;
    padding:36px;
}

.screen-top{
    display:flex;
    justify-content:space-between;
    color:var(--gray);
    margin-bottom:32px;
}

.device-screen h2{
    font-size:38px;
    line-height:1.05;
    letter-spacing:-1px;
    color:#fff;
}

.orange-line{
    width:110px;
    height:6px;
    background:var(--orange);
    border-radius:999px;
    margin:22px 0 28px;
}

.device-options{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
}

.device-options div{
    padding:16px;
    border-radius:18px;
    background:rgba(255,255,255,.055);
    border:1px solid rgba(255,255,255,.09);
    color:#d4d4d8;
    font-weight:700;
    font-size:14px;
}

.powered-box{
    margin-top:18px;
    padding:22px;
    border-radius:22px;
    background:rgba(255,122,0,.12);
    border:1px solid rgba(255,122,0,.22);
}

.powered-box span{
    display:block;
    color:#ffd1a3;
    margin-bottom:8px;
}

.powered-box strong{
    font-size:27px;
}

.powered-box b{
    color:#fff;
}

.powered-box em{
    color:var(--orange);
    font-style:normal;
}

/* SECCIONES */

.section{
    padding:96px 0;
}

.section-light{
    background:#fff;
    color:#111;
}

.section-soft{
    background:#F5F5F5;
    color:#111;
}

.dark-section{
    background:
        radial-gradient(circle at top left, rgba(255,122,0,.12), transparent 28%),
        linear-gradient(180deg,#0B0B0B,#111111);
    color:#fff;
}

.section-head{
    max-width:820px;
    margin-bottom:44px;
}

.section-head.center{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
}

.eyebrow{
    color:var(--orange);
    font-size:13px;
    letter-spacing:3px;
    text-transform:uppercase;
    font-weight:900;
    margin-bottom:14px;
}

.section-title{
    margin:0;
    font-size:52px;
    line-height:1.08;
    letter-spacing:-1.5px;
    font-weight:900;
}

.section-desc{
    margin-top:18px;
    font-size:18px;
    line-height:1.8;
    color:#5f5f66;
}

.dark-section .section-desc{
    color:var(--gray);
}

.grid-3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.grid-2{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    align-items:center;
}

/* CARDS */

.card{
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:30px;
    padding:32px;
    box-shadow:0 24px 55px rgba(0,0,0,.07);
    transition:transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s cubic-bezier(.16,1,.3,1);
}

.card:hover{
    transform:translateY(-10px) scale(1.015);
    box-shadow:0 32px 80px rgba(0,0,0,.16);
}

.card.dark{
    background:#111;
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
}

.icon{
    width:66px;
    height:66px;
    border-radius:20px;
    background:#111;
    color:var(--orange);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    margin-bottom:22px;
}

.card h3{
    margin:0 0 12px;
    font-size:26px;
    line-height:1.14;
}

.card p{
    margin:0;
    color:#66666f;
    line-height:1.75;
}

.card.dark p{
    color:var(--gray);
}

.feature-list{
    list-style:none;
    padding:0;
    margin:22px 0 0;
}

.feature-list li{
    position:relative;
    padding-left:25px;
    margin-bottom:14px;
    color:#D4D4D8;
    line-height:1.65;
}

.section-light .feature-list li{
    color:#444;
}

.feature-list li::before{
    content:"✓";
    position:absolute;
    left:0;
    color:var(--orange);
    font-weight:900;
}

.tech-logo{
    width:64px;
    height:64px;
    border-radius:20px;
    background:linear-gradient(135deg,#0B0B0B,#1A1A1A);
    color:var(--orange);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    font-weight:900;
    margin-bottom:22px;
}

/* INFRA */

.infra-mini{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    margin-top:28px;
}

.infra-mini div{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.09);
    border-radius:20px;
    padding:20px;
}

.infra-mini strong{
    display:block;
    color:var(--orangeSoft);
    font-size:30px;
    line-height:1;
}

.infra-mini span{
    display:block;
    margin-top:8px;
    color:#d4d4d8;
    font-size:14px;
}

/* SOFTWARE */

.software-layout{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:30px;
    align-items:start;
}

.software-box{
    background:#111;
    border:1px solid rgba(255,255,255,.08);
    border-radius:36px;
    padding:36px;
    box-shadow:0 38px 90px rgba(0,0,0,.25);
}

.software-box h3{
    margin:0;
    font-size:36px;
}

.software-box p{
    color:var(--gray);
    line-height:1.75;
}

.modules{
    margin-top:26px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
}

.module{
    background:#1A1A1A;
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:18px;
}

.module strong{
    display:block;
    color:#fff;
    margin-bottom:7px;
}

.module span{
    color:var(--gray);
    font-size:14px;
    line-height:1.55;
}

.systems-list{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:36px;
    padding:36px;
    box-shadow:0 38px 90px rgba(0,0,0,.20);
}

.systems-list h3{
    font-size:34px;
    line-height:1.1;
    margin-bottom:22px;
}

.system-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:24px;
}

.system-tags span{
    padding:10px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.09);
    color:#fff;
    font-size:14px;
    font-weight:700;
}

.systems-list p{
    color:var(--gray);
    line-height:1.75;
    margin-bottom:24px;
}

/* CTA */

.cta{
    background:linear-gradient(135deg,var(--orange),var(--orange2));
    border-radius:38px;
    padding:54px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:24px;
    align-items:center;
    box-shadow:0 38px 90px rgba(255,122,0,.22);
}

.cta h2{
    margin:0;
    color:#fff;
    font-size:46px;
    line-height:1.08;
}

.cta p{
    margin:16px 0 0;
    color:rgba(255,255,255,.88);
    font-size:18px;
    line-height:1.7;
}

.cta .btn-cori{
    background:#0B0B0B;
    color:#fff;
}

/* FOOTER */

.footer{
    background:#0B0B0B;
    border-top:1px solid rgba(255,255,255,.08);
    padding:32px 0;
    color:var(--gray);
}

.footer-wrap{
    display:flex;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
}

.footer strong{
    color:#fff;
}

.footer-orange{
    color:var(--orange) !important;
}

/* WHATSAPP */

.whatsapp-float{
    position:fixed;
    right:18px;
    bottom:18px;
    z-index:100;
    background:var(--whatsapp);
    color:#fff;
    padding:14px 18px;
    border-radius:999px;
    font-weight:900;
    box-shadow:0 18px 38px rgba(37,211,102,.3);
    transition:.25s ease;
}

.whatsapp-float:hover{
    transform:translateY(-3px) scale(1.03);
}

/* ANIMACIONES */

.fade-in{
    opacity:0;
    transform:translateY(42px);
    transition:opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
    will-change:opacity, transform;
}

.fade-in.show{
    opacity:1;
    transform:translateY(0);
}

/* RESPONSIVE */

@media(max-width:1080px){
    .hero-title{
        font-size:60px;
    }

    .hero-grid,
    .grid-2,
    .software-layout{
        grid-template-columns:1fr;
    }

    .grid-3{
        grid-template-columns:repeat(2,1fr);
    }

    .cta{
        grid-template-columns:1fr;
    }

    .hero-device{
        min-height:auto;
    }
}

@media(max-width:900px){
    #mobileToggle{
        display:flex !important;
        align-items:center;
        justify-content:center;
    }

    #mobileToggle.active{
        background:rgba(255,122,0,.18);
        transform:scale(.98);
    }

    .menu{
        position:fixed;
        top:84px;
        left:12px;
        right:12px;
        z-index:999;
        background:rgba(11,11,11,.96);
        backdrop-filter:blur(20px);
        -webkit-backdrop-filter:blur(20px);
        border:1px solid rgba(255,255,255,.09);
        border-radius:22px;
        padding:18px;
        display:flex;
        flex-direction:column;
        gap:6px;
        opacity:0;
        visibility:hidden;
        transform:translateY(-12px) scale(.98);
        pointer-events:none;
        transition:opacity .25s ease, transform .25s ease, visibility .25s ease;
        box-shadow:0 24px 80px rgba(0,0,0,.45);
    }

    .menu.active{
        opacity:1;
        visibility:visible;
        transform:translateY(0) scale(1);
        pointer-events:auto;
    }

    .menu a{
        margin:0;
        padding:14px 16px;
        width:100%;
        border-radius:14px;
        color:#fff;
        background:rgba(255,255,255,.04);
    }

    .menu a:hover{
        background:rgba(255,122,0,.14);
        color:var(--orangeSoft);
    }

    .nav-actions .btn-cori{
        display:none;
    }

    .card:hover{
        transform:none;
    }

    .fade-in{
        opacity:1;
        transform:none;
        transition:none;
    }
}

@media(max-width:760px){
    .cori-container{
        padding:0 16px;
    }

    .hero-cori{
        padding:58px 0 70px;
    }

    .hero-title{
        font-size:42px;
        letter-spacing:-1.5px;
    }

    .hero-text{
        font-size:17px;
    }

    .hero-actions{
        flex-direction:column;
    }

    .btn,
    .btn-cori{
        width:100%;
    }

    .hero-mini,
    .stats,
    .grid-3,
    .modules,
    .infra-mini{
        grid-template-columns:1fr;
    }

    .hero-mini{
        display:grid;
    }

    .section{
        padding:72px 0;
    }

    .section-title{
        font-size:34px;
    }

    .server-panel,
    .software-box,
    .systems-list,
    .card{
        padding:24px;
        border-radius:24px;
    }

    .device-frame{
        max-width:100%;
        padding:12px;
        border-radius:30px;
    }

    .device-screen{
        padding:24px;
    }

    .device-screen h2{
        font-size:28px;
    }

    .device-options{
        grid-template-columns:1fr;
    }

    .cta{
        padding:34px 24px;
        border-radius:28px;
    }

    .cta h2{
        font-size:32px;
    }

    .footer-wrap{
        flex-direction:column;
    }
}