:root {
    --bg-primary: #f5fbff;
    --bg-secondary: #ffffff;
    --bg-soft: #edf7ff;
    --text-primary: #081b33;
    --text-secondary: #4b6480;
    --text-muted: #7f96ad;
    --primary: #00d9ff;
    --primary-dark: #0095d9;
    --secondary: #0d3f8f;
    --accent: #63ecff;

    --border: rgba(13, 63, 143, 0.12);
    --border-hover: rgba(0, 217, 255, 0.4);

    --shadow-sm: 0 4px 20px rgba(0, 149, 217, 0.08);
    --shadow-md: 0 8px 30px rgba(13, 63, 143, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 217, 255, 0.15);

    --gradient-primary: linear-gradient(135deg, #0d3f8f 0%, #00d9ff 50%, #63ecff 100%);
    --gradient-soft: linear-gradient(135deg, rgba(0, 217, 255, 0.08), rgba(13, 63, 143, 0.06));

    --pop: 'Poppins', sans-serif;
    --unb: 'Unbounded', sans-serif;
    --bold: 'TheBoldFont', sans-serif;
    --cod: 'Quadrillion', sans-serif;

    --ease: 0.4s cubic-bezier(.34, 1.56, .64, 1);
    --spring: 0.8s cubic-bezier(.19, 1, .22, 1);
}


@font-face {
    font-family: 'TheBoldFont';
    src: url('/assets/font/THEBOLDFONT-FREEVERSION.otf') format('opentype'),
        url('/assets/font/THEBOLDFONT-FREEVERSION.ttf') format('truetype');
}

@font-face {
    font-family: 'Quadrillion';
    src: url('/assets/font/quadrillion.semi-bold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
}

body {
    font-family: var(--pop);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--unb);
    line-height: 1.2
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    list-style: none
}

img {
    max-width: 100%;
    display: block
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}

::-webkit-scrollbar-thumb:active {
    background: var(--secondary);
}

/* Roots */
.container-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 100px 24px;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 32px;
    border-radius: 25px;
    color: var(--text-primary);
    font-family: var(--pop);
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
    border: none;
    outline: none;
    position: relative;
    background: var(--bg-secondary);
    transition: var(--spring);
}

.btn::before,
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transition: transform var(--spring);
    transform-origin: bottom;
}

.btn .btn-text {
    position: relative;
}

.btn .btn-ripple {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform-origin: bottom;
    background: var(--gradient-primary);
    z-index: 3;
    transform: scaleY(0);
    transition: transform var(--spring);
}

.btn:hover:after,
.btn:hover:before {
    transform: scaleY(1);
}

.btn:hover .btn-ripple {
    transform: scaleY(1);
    transition-delay: .15s;
}

.btn:before {
    background-color: var(--secondary);
    z-index: 3;
    transition-delay: .07s;
}

.btn:after {
    background-color: var(--primary-dark);
    z-index: 2;
    transition-delay: .15s;
}

.btn .btn-text .text-main {
    display: block;
    width: 100%;
    height: 100%;
    transition: all var(--spring);
    transform-origin: bottom;
}

.btn:hover .btn-text .text-main {
    transform: translateY(-150%) rotate(-25deg);
    opacity: 0;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.btn:hover .btn-text .text-ghost {
    transform: translateY(0) rotate(0);
    opacity: 1;
    transition-delay: .2s;
}

.btn .btn-text .text-ghost {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 4;
    text-decoration: none;
    color: var(--color-white);
    will-change: transform;
    transform: translateY(150%) rotate(25deg);
    transition: transform .8s cubic-bezier(.19, 1, .22, 1), opacity .4s cubic-bezier(.19, 1, .22, 1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 20px 0;
    background: transparent;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--ease);
}

header.scrolled {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    box-shadow: var(--shadow-sm);
}

header .container {
    padding: 0px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .container .logo {
    font-family: var(--cod);
    font-size: 1.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}

header .container .logo .logo-mark {
    width: 80px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .container .logo .logo-text {
    color: var(--secondary);
}

header .container .logo .logo-text span {
    background: var(--gradient-primary);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

header .container .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

header .container .nav-links a {
    font-family: var(--pop);
    font-size: 1rem;
    font-weight: 550;
    color: var(--text-secondary);
    transition: var(--ease);
    position: relative;
}

header .container .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--ease);
    border-radius: 2px;
}

header .container .nav-links a:hover,
header .container .nav-links a.active {
    color: var(--primary-dark);
}

header .container .nav-links a:hover::after,
header .container .nav-links a.active::after {
    width: 100%;
}

header .container .header-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

header .container .menu-btn {
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    outline: none;
    border: none;
    background: transparent;
    border: 1px solid transparent;
    position: relative;
    align-items: center;
    justify-content: center;
    transition: var(--spring);
}

header .container .menu-btn .a-sys {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


header .container .menu-btn .a-sys .bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1;
}

header .container .menu-btn .a-sys .bars .bar {
    position: relative;
    z-index: 2;
    height: 3px;
    border-radius: 1px;
    background: var(--text-primary);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s, width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}


header .container .menu-btn.active .a-sys .bars .bar {
    background: var(--bg-primary);
}

.bar.bar-t {
    width: 26px;
}

.bar.bar-m {
    width: 18px;
}

.bar.bar-b {
    width: 22px;
}

header .container .menu-btn.active .bar {
    background: var(--gradient-primary);
}

header .container .menu-btn.active .bar-t {
    transform: translateY(8px) rotate(45deg);
    width: 24px;
}

header .container .menu-btn.active .bar-m {
    opacity: 0;
    transform: scaleX(0);
}

header .container .menu-btn.active .bar-b {
    transform: translateY(-8px) rotate(-45deg);
    width: 24px;
}

.mobile-menu {
    display: none;
}


/* Lets Builds */
.cta-build {
    background: var(--bg-soft);
    text-align: center;
    padding: 120px 60px;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.cta-build .cta-build-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none
}

.cta-build .cta-build-blob:nth-child(1) {
    width: 420px;
    height: 420px;
    background: var(--primary-dark);
    top: -200px;
    left: -150px;
}

.cta-build .cta-build-blob:nth-child(2) {
    width: 420px;
    height: 420px;
    background: var(--secondary);
    bottom: -200px;
    right: -150px;
}

.cta-build .cta-build-big {
    font-family: var(--unb);
    font-size: clamp(50px, 10vw, 140px);
    font-weight: 900;
    line-height: .83;
    position: relative;
    z-index: 1
}

.cta-build .cta-build-big .cta-build-line {
    overflow: hidden;
    display: block
}

.cta-build .cta-build-big .cta-build-line .cta-build-w {
    display: inline-block;
    opacity: 0;
    transform: translateY(150px);
}

.cta-build .cta-build-big .cta-build-lime {
    color: var(--primary);
}

.cta-build .build-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 48px;
    position: relative;
}

.cta-build .build-cta .btn {
    border-radius: 25px;
    padding: 10px 45px;
    box-shadow: var(--shadow-sm)
}


footer {
    background: var(--text-primary);
    margin: 10px 20px 10px 20px;
    border-radius: 25px;
    box-shadow: 0px 0px 22px 50px var(--bg-soft);
    padding: 50px 50px 0px 50px;
    position: relative;
    z-index: 4;
}

footer .footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    position: relative;
}

footer .footer-top .foot-top-left p {
    max-width: 400px;
    width: 100%;
    color: var(--bg-soft);
}

footer .footer-top .foot-top-left .foot-social-icon {
    display: flex;
    margin-top: 1rem;
    align-items: center;
}

footer .footer-top .foot-top-left .foot-social-icon .social-link {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-right: 0.5rem;
    border-radius: 50%;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    color: var(--bg-primary);
    transition: var(--spring);
}

footer .footer-top .foot-top-left .foot-social-icon .social-link i {
    position: relative;
    z-index: 1;
    transition: var(--spring);
}

footer .footer-top .foot-top-left .foot-social-icon .social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0%;
    height: 0%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent);
    z-index: 0;
    transition: all 0.3s;
}

footer .footer-top .foot-top-left .foot-social-icon .social-link:hover {
    color: var(--text-primary);
    transform: translateY(-5px);
}

footer .footer-top .foot-top-left .foot-social-icon .social-link:hover i {
    transform: rotate(15deg);
}

footer .footer-top .foot-top-left .foot-social-icon .social-link:hover::before {
    width: 105%;
    height: 105%;
}

footer .footer-top .foot-top-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

footer .footer-top .foot-top-right .foot-top-right-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

footer .footer-top .foot-top-right .foot-top-right-link .head {
    color: var(--primary);
    font-family: var(--cod);
    font-size: 1.2rem;
    position: relative;
}

footer .footer-top .foot-top-right .foot-top-right-link .head:hover::before,
footer .footer-top .foot-top-right .foot-top-right-link .head.active::before {
    width: 100%;
}

footer .footer-top .foot-top-right .foot-top-right-link .head::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: var(--spring);
}

footer .footer-top .foot-top-right .foot-top-right-link .links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    font-size: 1rem;
    font-family: var(--pop);
    color: var(--bg-primary);
}

footer .footer-top .foot-top-right .foot-top-right-link .links.active {
    color: var(--text-secondary);
}

footer .footer-top .foot-top-right .foot-top-right-link .links .link {
    position: relative;
    transition: var(--spring);
}

footer .footer-top .foot-top-right .foot-top-right-link .links .link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: var(--spring);
}

footer .footer-top .foot-top-right .foot-top-right-link .links .link:hover {
    color: var(--accent);
}

.link:hover~.links {
    color: var(--text-secondary);
}

footer .footer-top .foot-top-right .foot-top-right-link .links .link:hover::before {
    width: 100%;
}

footer .footer-center {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 20px;
    position: relative;
}

footer .footer-center::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}

footer .footer-center h1 {
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-wrap: nowrap;
    color: var(--bg-primary);
    font-size: min(15vw, 28rem);
    font-family: var(--cod);
}

footer .footer-center h1 .ani-foot-text {
    display: block;
    overflow: hidden;
    text-align: center;
    transition: var(--spring);
}

footer .footer-center h1 .ani-foot-text .f-c-t {
    display: block;
    transform: translateY(300px);
    opacity: 0;
}

/* footer .footer-center h1 .ani-foot-text:hover {
    transform: scaleY(1.4) translateY(-5px) skew(15deg);
} */

footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    color: var(--bg-primary);
    position: relative;
}

footer .footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}

/* Responsive */

@media (max-width:1000px) {
    header .container .nav-links {
        gap: 15px;
    }

    header .container .nav-links a {
        font-size: 0.89rem;
    }
}

@media (max-width:786px) {


    header .container .nav-links,
    header .container .header-cta {
        display: none;
    }

    header .container .menu-btn {
        display: flex;
    }

    .mobile-menu {
        position: fixed;
        top: 0px;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-top: 91.78px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--gradient-primary);
        clip-path: inset(0 0 100% 0);
        transition: clip-path var(--spring);
        z-index: 9;
    }

    .mobile-menu.scrolled-padding {
        padding-top: 67.78px;
    }

    .mobile-menu.active {
        clip-path: inset(0 0 0 0);
    }

    header .container .menu-btn.active {
        border: 1px solid var(--bg-secondary);
    }


    .mobile-menu .mob-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .mobile-menu .mob-menu a {
        font-family: var(--unb);
        font-size: 3rem;
    }

    .cta-build {
        padding: 50px 5px 80px 5px;
    }

    .cta-build .cta-build-big .cta-build-line .cta-build-w {
        opacity: 1;
        transform: translateY(0px);
    }

    .cta-build .build-cta {
        margin-top: 15px;
    }

    footer {
        margin: 10px 5px 10px 5px;
        border-radius: 25px;
        box-shadow: 0px 0px 22px 50px var(--bg-soft);
        padding: 20px 0px 0px 0px;
        position: relative;
        z-index: 4;
    }

    footer .footer-top {
        flex-direction: column;
        gap: 1rem;
    }

    footer .footer-top .foot-top-left p {
        font-size: 0.85rem;
    }

    footer .footer-top .foot-top-right .foot-top-right-link {
        gap: 8px;
    }

    footer .footer-top .foot-top-right .foot-top-right-link .head {
        font-size: 1rem;
    }

    footer .footer-top .foot-top-right .foot-top-right-link .links {
        font-size: 0.85rem;
    }

    footer .footer-center {
        padding: 5px;
    }

    footer .footer-center h1 .ani-foot-text .f-c-t {
        transform: translateY(0px);
        opacity: 1;
    }

    footer .footer-bottom {
        padding: 20px 20px;
        font-size: 0.85rem;
    }
}