/*==================================================
    RAMIX STUDIO
    GLOBAL STYLE
==================================================*/

/*==================================================
    GOOGLE FONT
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/*==================================================
    VARIABLES
==================================================*/

:root{

    --primary:#4F7CFF;
    --primary-hover:#3366FF;

    --secondary:#00D4FF;

    --background:#F5F7FC;

    --surface:#FFFFFF;

    --surface-2:#F8FAFC;

    --text:#101828;

    --text-light:#667085;

    --border:#E4E7EC;

    --success:#22C55E;

    --danger:#EF4444;

    --warning:#F59E0B;

    --radius:18px;

    --shadow:
        0 10px 30px rgba(0,0,0,.08);

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

    --transition:.30s ease;

}

/*==================================================
    DARK MODE
==================================================*/

body.dark{

    --background:#08111F;

    --surface:#101B2C;

    --surface-2:#162235;

    --text:#FFFFFF;

    --text-light:#A6B2C8;

    --border:#22314B;

    --glass:
        rgba(16,27,44,.70);

}

/*==================================================
    RESET
==================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--background);

    color:var(--text);

    font-family:'Inter',sans-serif;

    overflow-x:hidden;

    transition:.3s;

}

img{

    display:block;

    max-width:100%;

}

button{

    font-family:inherit;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

/*==================================================
    CONTAINER
==================================================*/

.container{

    width:min(1400px,92%);

    margin:auto;

}

/*==================================================
    ANIMATED BACKGROUND
==================================================*/

.background{

    position:fixed;

    inset:0;

    overflow:hidden;

    z-index:-1;

}

.blob{

    position:absolute;

    border-radius:50%;

    filter:blur(90px);

    opacity:.35;

    animation:blobAnimation 16s infinite alternate;

}

.blob1{

    width:420px;

    height:420px;

    background:#4F7CFF;

    top:-120px;

    left:-100px;

}

.blob2{

    width:500px;

    height:500px;

    background:#00D4FF;

    bottom:-180px;

    right:-140px;

    animation-duration:20s;

}

.blob3{

    width:320px;

    height:320px;

    background:#7C4DFF;

    top:45%;

    left:40%;

}

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

.header{

    position:sticky;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    backdrop-filter:blur(18px);

    background:var(--glass);

    border-bottom:1px solid var(--border);

}

.header .container{

    height:84px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

/*==================================================
    LOGO
==================================================*/

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:52px;

    height:52px;

    transition:var(--transition);

}

.logo:hover img{

    transform:rotate(-8deg) scale(1.08);

}

.logo h2{

    font-size:1.35rem;

    font-weight:800;

}

.logo small{

    color:var(--text-light);

}

/*==================================================
    NAVBAR
==================================================*/

.navbar{

    display:flex;

    align-items:center;

    gap:8px;

}

.nav-link{

    position:relative;

    display:flex;

    align-items:center;

    gap:8px;

    padding:13px 18px;

    border-radius:14px;

    transition:var(--transition);

    color:var(--text-light);

    font-weight:600;

}

.nav-link i{

    font-size:15px;

}

/* Hover */

.nav-link:hover{

    color:var(--text);

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

}

/* Active */

.nav-link.active{

    color:var(--primary);

    background:rgba(79,124,255,.12);

}

/* Animated underline */

.nav-link::after{

    content:"";

    position:absolute;

    left:15%;

    bottom:7px;

    width:0;

    height:3px;

    border-radius:50px;

    background:var(--primary);

    transition:.35s;

}

.nav-link:hover::after{

    width:70%;

}

.nav-link.active::after{

    width:70%;

}

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

.header-actions{

    display:flex;

    align-items:center;

    gap:10px;

}

.icon-button{

    width:46px;

    height:46px;

    border:none;

    outline:none;

    cursor:pointer;

    border-radius:14px;

    background:var(--surface);

    color:var(--text);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.icon-button:hover{

    background:var(--primary);

    color:white;

    transform:translateY(-2px);

}

.menu-button{

    display:none;

}

/*==================================================
    KEYFRAMES
==================================================*/

@keyframes blobAnimation{

    from{

        transform:
        translate(0,0)
        scale(1)
        rotate(0deg);

    }

    to{

        transform:
        translate(80px,-40px)
        scale(1.3)
        rotate(180deg);

    }

}

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

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    overflow:hidden;

    padding:120px 0 80px;

}

.hero-container{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    align-items:center;

    gap:80px;

}

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

.hero-left{

    animation:fadeLeft 1s ease;

}

.badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 18px;

    margin-bottom:28px;

    border-radius:100px;

    background:rgba(79,124,255,.10);

    color:var(--primary);

    border:1px solid rgba(79,124,255,.20);

    font-weight:600;

    backdrop-filter:blur(10px);

}

.badge i{

    font-size:14px;

}

.hero-left h1{

    font-size:clamp(3rem,6vw,5rem);

    line-height:1.1;

    font-weight:900;

    letter-spacing:-2px;

    margin-bottom:28px;

}

.hero-left p{

    max-width:650px;

    color:var(--text-light);

    font-size:1.15rem;

    line-height:1.9;

    margin-bottom:42px;

}

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

.hero-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.primary-button,
.secondary-button{

    display:flex;

    align-items:center;

    gap:12px;

    padding:18px 32px;

    border-radius:16px;

    font-weight:700;

    transition:var(--transition);

}

.primary-button{

    color:white;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    box-shadow:
    0 20px 35px rgba(79,124,255,.35);

}

.primary-button:hover{

    transform:
        translateY(-6px)
        scale(1.02);

}

.secondary-button{

    background:var(--surface);

    border:1px solid var(--border);

}

.secondary-button:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow);

}

/*==================================================
    STATISTICS
==================================================*/

.statistics{

    margin-top:55px;

    display:flex;

    flex-wrap:wrap;

    gap:22px;

}

.stat-card{

    min-width:140px;

    padding:22px;

    border-radius:18px;

    background:var(--surface);

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.stat-card:hover{

    transform:translateY(-8px);

}

.stat-card h2{

    color:var(--primary);

    font-size:2rem;

    margin-bottom:8px;

}

.stat-card p{

    margin:0;

    color:var(--text-light);

    font-size:.95rem;

}

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

.hero-right{

    display:flex;

    justify-content:center;

    animation:fadeRight 1s ease;

}

.hero-visual{

    position:relative;

    width:100%;

    max-width:560px;

    height:620px;

}

/*==================================================
    MAIN WINDOW
==================================================*/

.window{

    position:absolute;

    inset:0;

    border-radius:26px;

    overflow:hidden;

    background:var(--surface);

    border:1px solid var(--border);

    box-shadow:
        0 30px 60px rgba(0,0,0,.15);

    animation:floatWindow 6s ease-in-out infinite;

}

.window-header{

    display:flex;

    align-items:center;

    gap:10px;

    padding:18px 24px;

    border-bottom:1px solid var(--border);

}

.dot{

    width:13px;

    height:13px;

    border-radius:50%;

}

.red{

    background:#ef4444;

}

.yellow{

    background:#f59e0b;

}

.green{

    background:#22c55e;

}

.window-body{

    padding:35px;

}

.code-line{

    height:14px;

    margin-bottom:20px;

    border-radius:50px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            rgba(79,124,255,.15)
        );

    animation:pulseLine 2.2s infinite;

}

.w100{

    width:100%;

}

.w90{

    width:90%;

}

.w75{

    width:75%;

}

.w60{

    width:60%;

}

.w40{

    width:40%;

}

/*==================================================
    FLOATING CARDS
==================================================*/

.floating-card{

    position:absolute;

    display:flex;

    align-items:center;

    gap:15px;

    padding:18px;

    width:230px;

    border-radius:18px;

    background:var(--glass);

    backdrop-filter:blur(18px);

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

    box-shadow:var(--shadow);

    animation:floating 5s ease-in-out infinite;

}

.floating-card i{

    width:55px;

    height:55px;

    display:grid;

    place-items:center;

    border-radius:16px;

    color:white;

    font-size:1.3rem;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

}

.floating-card h4{

    margin-bottom:4px;

}

.floating-card small{

    color:var(--text-light);

}

.card-one{

    top:-25px;

    left:-40px;

}

.card-two{

    right:-55px;

    top:210px;

    animation-delay:1s;

}

.card-three{

    bottom:-25px;

    left:20px;

    animation-delay:2s;

}

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

@keyframes floating{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0);

    }

}

@keyframes floatWindow{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0);

    }

}

@keyframes pulseLine{

    0%{

        opacity:.45;

    }

    50%{

        opacity:1;

    }

    100%{

        opacity:.45;

    }

}

@keyframes fadeLeft{

    from{

        opacity:0;

        transform:
            translateX(-60px);

    }

    to{

        opacity:1;

        transform:
            translateX(0);

    }

}

@keyframes fadeRight{

    from{

        opacity:0;

        transform:
            translateX(60px);

    }

    to{

        opacity:1;

        transform:
            translateX(0);

    }

}
/*==================================================
    SECTION TITLE
==================================================*/

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title small{

    display:inline-block;

    padding:10px 18px;

    margin-bottom:18px;

    border-radius:100px;

    color:var(--primary);

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

    font-weight:700;

    letter-spacing:1px;

}

.section-title h2{

    font-size:clamp(2.2rem,5vw,3.5rem);

    font-weight:800;

    line-height:1.2;

}

/*==================================================
    SERVICES
==================================================*/

.services{

    padding:120px 0;

}

.service-grid{

    display:grid;

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

    gap:30px;

}

.service-card{

    position:relative;

    overflow:hidden;

    padding:40px;

    border-radius:24px;

    background:var(--surface);

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    transition:.35s;

}

.service-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(
        135deg,
        rgba(79,124,255,.10),
        transparent
    );

    opacity:0;

    transition:.35s;

}

.service-card:hover::before{

    opacity:1;

}

.service-card:hover{

    transform:

        perspective(1200px)

        rotateX(4deg)

        rotateY(-4deg)

        translateY(-12px);

}

.service-card i{

    width:72px;

    height:72px;

    display:grid;

    place-items:center;

    border-radius:18px;

    margin-bottom:28px;

    color:white;

    font-size:1.8rem;

    background:

    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

}

.service-card h3{

    margin-bottom:15px;

    font-size:1.4rem;

}

.service-card p{

    color:var(--text-light);

    line-height:1.8;

}

/*==================================================
    PRODUCTS
==================================================*/

.products-preview{

    padding:120px 0;

}

.product-grid{

    display:grid;

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

    gap:28px;

}

.product-card{

    padding:35px;

    border-radius:22px;

    background:var(--surface);

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    transition:.35s;

    text-align:center;

}

.product-card:hover{

    transform:

        translateY(-10px)

        scale(1.02);

}

.product-card i{

    width:85px;

    height:85px;

    display:grid;

    place-items:center;

    margin:auto;

    margin-bottom:25px;

    border-radius:20px;

    color:white;

    font-size:2rem;

    background:

    linear-gradient(

        135deg,

        var(--primary),

        var(--secondary)

    );

}

.product-card h3{

    margin-bottom:15px;

}

.product-card span{

    color:var(--text-light);

}

/*==================================================
    NEWS
==================================================*/

.latest-news{

    padding:120px 0;

}

.news-grid{

    display:grid;

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

    gap:35px;

}

.news-card{

    overflow:hidden;

    border-radius:22px;

    background:var(--surface);

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    transition:.35s;

}

.news-card:hover{

    transform:translateY(-12px);

}

.news-image{

    height:220px;

    background:

    linear-gradient(

        135deg,

        var(--primary),

        var(--secondary)

    );

}

.news-card h3{

    padding:25px 25px 10px;

}

.news-card p{

    padding:0 25px;

    color:var(--text-light);

    line-height:1.8;

}

.news-card a{

    display:inline-flex;

    align-items:center;

    gap:8px;

    margin:25px;

    color:var(--primary);

    font-weight:700;

}

.news-card a:hover{

    transform:translateX(6px);

}

/*==================================================
    CTA
==================================================*/

.cta{

    padding:140px 0;

}

.cta-content{

    padding:70px;

    border-radius:32px;

    text-align:center;

    background:

    linear-gradient(

        135deg,

        var(--primary),

        var(--secondary)

    );

    color:white;

    box-shadow:

        0 35px 80px

        rgba(79,124,255,.30);

}

.cta-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 20px;

    border-radius:100px;

    margin-bottom:25px;

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

}

.cta-content h2{

    font-size:3rem;

    margin-bottom:25px;

}

.cta-content p{

    max-width:760px;

    margin:auto;

    margin-bottom:40px;

    line-height:1.9;

    opacity:.95;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

}

.cta .primary-button{

    background:white;

    color:var(--primary);

}

.cta .secondary-button{

    color:white;

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

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

}

.cta .secondary-button:hover{

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

}

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

.reveal{

    opacity:0;

    transform:translateY(60px);

    transition:

        opacity .8s ease,

        transform .8s ease;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

/*==================================================
    HOVER GLOW
==================================================*/

.service-card:hover,
.product-card:hover,
.news-card:hover{

    box-shadow:

        0 25px 60px rgba(79,124,255,.20);

}

/*==================================================
    SECTION SPACING
==================================================*/

.services,
.products-preview,
.latest-news,
.cta{

    position:relative;

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

.footer{

    margin-top:100px;

    padding-top:80px;

    background:var(--surface);

    border-top:1px solid var(--border);

}

.footer-grid{

    display:grid;

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

    gap:50px;

    padding-bottom:50px;

}

.footer-logo{

    width:70px;

    margin-bottom:20px;

}

.footer-column h3{

    margin-bottom:15px;

    font-size:1.5rem;

}

.footer-column h4{

    margin-bottom:25px;

    font-size:1.1rem;

}

.footer-column p{

    color:var(--text-light);

    line-height:1.8;

}

.footer-column a{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:14px;

    color:var(--text-light);

    transition:var(--transition);

}

.footer-column a:hover{

    color:var(--primary);

    transform:translateX(8px);

}

.footer-column a i{

    width:22px;

}

/*==================================================
    SOCIAL LINKS
==================================================*/

.social-links{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

.social-links a{

    width:48px;

    height:48px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:14px;

    background:var(--surface-2);

    border:1px solid var(--border);

    font-size:1.1rem;

    transition:var(--transition);

}

.social-links a:hover{

    color:white;

    background:var(--primary);

    transform:
        translateY(-5px)
        rotate(-5deg);

}

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

.footer-bottom{

    padding:25px;

    text-align:center;

    border-top:1px solid var(--border);

    color:var(--text-light);

}

/*==================================================
    MOBILE MENU
==================================================*/

@media (max-width:992px){

    .menu-button{

        display:flex;

        align-items:center;

        justify-content:center;

    }

    .navbar{

        position:fixed;

        top:84px;

        left:0;

        right:0;

        display:flex;

        flex-direction:column;

        gap:10px;

        padding:25px;

        background:var(--surface);

        border-bottom:1px solid var(--border);

        box-shadow:var(--shadow);

        transform:translateY(-150%);

        opacity:0;

        visibility:hidden;

        transition:.35s;

    }

    .navbar.show{

        transform:translateY(0);

        opacity:1;

        visibility:visible;

    }

    .nav-link{

        width:100%;

        justify-content:center;

    }

    .hero-container{

        grid-template-columns:1fr;

        text-align:center;

    }

    .hero-left p{

        margin-left:auto;

        margin-right:auto;

    }

    .hero-buttons{

        justify-content:center;

    }

    .statistics{

        justify-content:center;

    }

    .hero-right{

        margin-top:60px;

    }

    .floating-card{

        display:none;

    }

    .footer-grid{

        grid-template-columns:1fr 1fr;

    }

}

/*==================================================
    MOBILE
==================================================*/

@media (max-width:768px){

    .header .container{

        height:75px;

    }

    .logo h2{

        font-size:1.1rem;

    }

    .logo small{

        display:none;

    }

    .hero{

        padding-top:70px;

    }

    .hero-left h1{

        font-size:2.8rem;

    }

    .hero-left p{

        font-size:1rem;

    }

    .primary-button,

    .secondary-button{

        width:100%;

        justify-content:center;

    }

    .window{

        height:430px;

    }

    .hero-visual{

        height:450px;

    }

    .cta-content{

        padding:45px 25px;

    }

    .cta-content h2{

        font-size:2rem;

    }

    .footer-grid{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-column a{

        justify-content:center;

    }

    .social-links{

        justify-content:center;

    }

}

/*==================================================
    SMALL DEVICES
==================================================*/

@media (max-width:480px){

    .hero-left h1{

        font-size:2.2rem;

    }

    .section-title h2{

        font-size:2rem;

    }

    .stat-card{

        width:100%;

    }

}

/*==================================================
    CUSTOM SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:var(--surface);

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(

        var(--primary),

        var(--secondary)

    );

    border-radius:50px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary);

}

/*==================================================
    TEXT SELECTION
==================================================*/

::selection{

    color:white;

    background:var(--primary);

}

/*==================================================
    FOCUS
==================================================*/

button:focus,

a:focus{

    outline:none;

    box-shadow:

        0 0 0 4px rgba(79,124,255,.25);

}

/*==================================================
    SMOOTH ANIMATIONS
==================================================*/

img,
button,
a,
.card,
.service-card,
.product-card,
.news-card{

    transition:all .30s ease;

}

/*==================================================
    FADE IN
==================================================*/

.fade-in{

    animation:fadeIn .8s ease forwards;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==================================================
    END
==================================================*/

body{

    transition:
        background-color .35s,
        color .35s;

}

.header,
.window,
.card,
.service-card,
.product-card,
.news-card,
.footer,
.icon-button{

    transition:

        background-color .35s,

        border-color .35s,

        color .35s,

        box-shadow .35s;

}
.menu-toggle{

    display:none;

    background:none;

    border:none;

    font-size:1.8rem;

    cursor:pointer;

    color:var(--text);

}

@media(max-width:768px){

    .menu-toggle{

        display:block;

    }

    .navbar nav{

        position:absolute;

        top:100%;

        left:0;

        width:100%;

        display:none;

        flex-direction:column;

        background:var(--surface);

        padding:20px;

        border-top:1px solid var(--border);

    }

    .navbar nav.active{

        display:flex;

    }

}