@import url("https://rsms.me/inter/inter.css");

:root {
    --bg-color: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;

    --rally-green: #22c55e;
    --lancit-orange: #f97316;
    --contact-blue: #3b82f6;

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    --glass-blur: 16px;

    --font-family: "Inter", sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius: 24px;

    --background1: radial-gradient(circle at 15% 50%, rgba(34, 197, 94, 0.08), transparent 50%), radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08), transparent 50%);
}

html {
    scroll-behavior: smooth;

    scroll-snap-type: y mandatory;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0;

}




.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    /* background: radial-gradient(circle at 15% 50%, rgba(34, 197, 94, 0.08), transparent 50%), radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08), transparent 50%); */
    background-color: var(--bg-color);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;

    background-color: var(--bg-color);
}

.section {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;

    box-sizing: border-box;
}

.section-abtus1 {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    padding-top: 11vh;
    box-sizing: border-box;
}

.section-abtus2 {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    padding-top: 8vh;
    box-sizing: border-box;
}

.section-abtus2-extended {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    padding-top: 0vh;
    box-sizing: border-box;
}

.section-abtus3-extended {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    padding-top: 0vh;
    box-sizing: border-box;
}


.appimage {

    min-width: 20vw;

    max-width: 20vw;
    max-height: 70vh;
    border-radius: 1rem;
}

.lancit-appimage {

    min-width: 35vw;


    max-height: 30vh;
    border-radius: 1rem;
}

.section-rallypoint {
    min-height: 75vh;
    max-height: 75vh;
    width: 100%;
    align-items: center;



    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;

    box-sizing: border-box;
    margin-top: 20vh;
}

.section-lancit {
    min-height: 75vh;
    max-height: 75vh;
    width: 100%;
    margin-top: 20vh;
    margin-bottom: 15vh;

    align-items: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;

    box-sizing: border-box;
}

.section-contact1 {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    padding-top: 10vh;
    box-sizing: border-box;
}



.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: var(--max-width);
    height: 70px;
    background: rgba(255, 255, 255, 0.043);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    gap: 10px;
    letter-spacing: -0.01em;
}

.logo svg {
    height: 28px;
    width: 28px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}


.text-center {
    text-align: center;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.04em;
    line-height: 1.1;
    text-shadow: 0 0 80px rgba(255, 255, 255, 0.1);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 4rem;
    letter-spacing: -0.03em;
}


.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 3rem;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--glass-shadow);
}


.product-showcase-rally {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 36vh;

}


.product-showcase-lancit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 30vh;


}


.product-showcase-rally.reverse,
.product-showcase-lancit.reverse {
    direction: rtl;
}

.product-showcase-rally.reverse,
.product-showcase-lancit.reverse>* {
    direction: ltr;
}

.product-visual-lancit {
    background: rgba(255, 255, 255, 0.043);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 60vw;
    position: relative;
    overflow: hidden;
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-visual {
    background: rgba(255, 255, 255, 0.043);
    ;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 25vw;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-visual::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    opacity: 0.2;
    pointer-events: none;
}

.rally-visual {
    --glow-color: var(--rally-green);
}

.lancit-visual {
    --glow-color: var(--lancit-orange);
}

.product-details h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech-stack {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.tech-tag {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-family: monospace;
}

.feature-list {
    margin: 20px 0 30px 0;
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--text-primary);
}


.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-rally {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8), rgba(21, 128, 61, 0.8));
}

.btn-lancit {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.8), rgba(194, 65, 12, 0.8));
}

.btn-contact {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(29, 78, 216, 0.8));
}

.app-icon-lg {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
}


.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


.downarrrow {

    flex-direction: column;

    justify-content: center;
    align-items: center;
}


.glass-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;

    z-index: 2;

    margin-top: -1px;

}

.glass-divider svg {
    display: block;
    width: 100%;
    height: 150px;

}


.glass-layer-back {
    fill: var(--glass-bg);
    opacity: 0.5;
}


.glass-layer-mid {
    fill: var(--glass-bg);
}


.glass-layer-rim {
    fill: none;
    stroke: var(--glass-border);
    stroke-width: 2px;
    stroke-opacity: 0.8;

}



@media (max-width: 900px) {


    .product-showcase-rally,
    .product-showcase-lancit {
        grid-template-columns: 1fr;

        gap: 40px;
        margin-bottom: 80px;
        margin-top: 10vh;

        text-align: left;

    }


    .product-showcase-rally.reverse,
    .product-showcase-lancit.reverse {
        direction: ltr;
    }


    .product-visual,
    .product-visual-lancit {
        min-height: 250px;
        max-width: 100%;
        width: 100%;
        padding: 20px;
    }


    .appimage,
    .lancit-appimage {
        min-width: unset;
        max-width: 100%;
        width: auto;
        height: auto;
        margin: 0 auto;

        display: block;
    }

    .product-details {
        order: 1;
    }


    .product-visual,
    .product-visual-lancit {
        order: 2;
        margin-top: 20px;

    }


    .product-showcase-rally,
    .product-showcase-lancit {
        grid-template-columns: 1fr;
        display: flex;

        flex-direction: column;
    }
}

@media (max-width: 768px) {

    html {
        scroll-snap-type: none;
    }

    .section {
        min-height: auto;
        max-height: none;
        width: 80vw;
        height: auto;
        margin-top: 7vh;
        scroll-snap-align: none;
        position: relative;
        left: 3.3%;
    }

    .glass-divider svg {
        height: 80px;
    }

    .section-rallypoint {
        min-height: auto;
        max-height: none;
        width: 80vw;
        height: 155vh;
        margin-bottom: 15vh;
        margin-top: 5.2vh;
        scroll-snap-align: none;
        position: relative;
        right: 1.85%;
        bottom: 3vh;
    }

    .section-lancit {
        min-height: auto;
        max-height: none;
        width: 80vw;
        margin-top: 10px;
        scroll-snap-align: none;
        position: relative;
        right: 1.85%;
        bottom: 2vh;
        height: 120vh;
    }

    .navbar {
        top: 0;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        border-top: none;
        border-left: none;
        border-right: none;
        z-index: 1001;
    }


    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;


        background: rgba(20, 20, 20, 0.65);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-right: 1px solid rgba(255, 255, 255, 0.1);


        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;

        padding: 100px 20px 20px 20px;

        gap: 8px;

        z-index: 999;
    }


    .nav-links a {
        display: block;
        position: relative;
        text-align: left;
        padding: 12px 15px;


        width: auto;
        max-width: none;
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 8px;
        margin-bottom: 5px;


        font-family: "Inter", sans-serif;
        font-size: 1.1rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        text-shadow: none !important;
        transform: none !important;

        /* Subtle divider line */
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);

        transition: background 0.2s ease, color 0.2s ease;
    }


    .nav-links a:hover,
    .nav-links a:active,
    .nav-links a:focus {
        background: rgba(255, 255, 255, 0.1);
        color: #3b82f6;
        transform: none;
        box-shadow: none;
    }

    .nav-links.active {
        display: flex;
        animation: sidebarSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    @keyframes sidebarSlideIn {
        from {
            opacity: 0;
            transform: translateX(-10px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .mobile-menu-btn {
        display: block;
    }



    .hero-title {
        font-size: 3rem;
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .product-details h3 {
        font-size: 1.8rem;
    }

    .glass-panel {
        padding: 1.5rem;
    }

    .product-showcase-rally,
    .product-showcase-lancit {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 0px;
        margin-top: 10vh;
        text-align: left;
    }

    .product-showcase-rally.reverse,
    .product-showcase-lancit.reverse {
        direction: ltr;
    }

    .product-visual,
    .product-visual-lancit {
        min-height: 250px;
        max-width: 100%;
        width: 100%;
        padding: 20px;
        position: relative;
        left: 5.5vw;
    }

    .product-visual-lancit {
        position: relative;
        bottom: 3.5vh;
    }

    .product-visual {
        position: relative;
        bottom: 4vh;
    }

    .appimage,
    .lancit-appimage {
        min-width: unset;
        max-width: 100%;
        width: auto;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .section-contact1 {
        position: relative;
        bottom: 8vh;
    }

    .section-abtus1 {
        padding-top: 1vh;
    }

    .section-abtus2 {
        padding-top: 1vh;
    }

    .section-heading {
        margin-bottom: 4.5vh;
    }

    .section-abtus2-extended {
        position: relative;
        bottom: 5vh;
    }
}