/* ==========================================
   VARIABLES
   ========================================== */

:root {
    --blue: #168bea;
    --blue-light: #4ba9f5;

    --black: #080b10;
    --dark: #0d1117;
    --dark-light: #151b23;

    --white: #ffffff;

    --grey: #69717d;
    --light-grey: #f4f6f8;

    --border: #dfe4e8;
}


/* ==========================================
   GLOBAL
   ========================================== */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    font-family: "Inter", Arial, sans-serif;

    color: var(--black);

    background: white;

    overflow-x: hidden;
}


a {
    color: inherit;
}


.section-container {
    width: min(1180px, 90%);

    margin: auto;
}


/* ==========================================
   NAVBAR
   ========================================== */

.navbar {
    height: 100px;

    width: 100%;

    position: absolute;

    top: 0;
    left: 0;

    z-index: 100;


    display: flex;

    align-items: center;

    justify-content: space-between;


    padding: 0 5%;


    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}


.logo-link {
    display: flex;

    align-items: center;
}


.logo {
    width: 260px;

    max-height: 70px;

    object-fit: contain;
}


.nav-links {
    display: flex;

    align-items: center;

    gap: 42px;
}


.nav-links > a {
    position: relative;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 1px;
}


.nav-links > a:not(.nav-buy-button)::after {
    content: "";

    position: absolute;

    width: 0;

    height: 2px;

    left: 0;

    bottom: -7px;

    background: var(--blue);

    transition: width 0.25s ease;
}


.nav-links > a:not(.nav-buy-button):hover::after {
    width: 100%;
}


.nav-buy-button {
    padding: 14px 21px;

    background: var(--blue);

    color: white;

    border: 2px solid var(--blue);

    transition:
        background 0.2s,
        color 0.2s;
}


.nav-buy-button:hover {
    background: transparent;

    color: var(--blue);
}


/* ==========================================
   HERO
   ========================================== */

.hero {
    height: 100vh;

    min-height: 700px;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: var(--black);
}


.hero-background {
    position: absolute;

    top: 100px;
    right: 0;
    bottom: 0;
    left: 0;


    background-image: url("images/code.gif");

    background-size: cover;

    background-position: center;

    transform: scale(1.03);
}


.hero-overlay {
    position: absolute;

    top: 100px;
    right: 0;
    bottom: 0;
    left: 0;


    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 13, 0.95) 0%,
            rgba(5, 8, 13, 0.80) 45%,
            rgba(5, 8, 13, 0.35) 100%
        );
}


.hero-content {
    position: relative;

    z-index: 5;

    width: min(1180px, 90%);

    margin: 100px auto 0;

    color: white;
}


.hero-tag {
    display: inline-block;

    margin-bottom: 22px;

    padding: 9px 13px;


    border: 1px solid rgba(255, 255, 255, 0.3);


    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}


.hero-content h1 {
    max-width: 800px;

    margin: 0;


    font-size: clamp(55px, 7vw, 105px);

    line-height: 0.94;

    letter-spacing: -5px;

    font-weight: 800;
}


.hero-content h1 span {
    display: block;

    color: var(--blue);
}


.hero-content p {
    max-width: 610px;

    margin:
        30px
        0
        36px;


    color: #d7dde5;


    font-size: 19px;

    line-height: 1.7;
}


.hero-buttons {
    display: flex;

    align-items: center;

    gap: 16px;

    flex-wrap: wrap;
}


/* ==========================================
   BUTTONS
   ========================================== */

.primary-button,
.secondary-button {
    min-height: 58px;


    display: inline-flex;

    align-items: center;

    justify-content: center;


    padding: 0 25px;


    text-decoration: none;


    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;


    transition:
        transform 0.2s,
        background 0.2s,
        color 0.2s,
        border 0.2s;
}


.primary-button {
    gap: 20px;

    background: var(--blue);

    border: 2px solid var(--blue);

    color: white;
}


.primary-button span {
    font-size: 20px;

    transition: transform 0.2s;
}


.primary-button:hover {
    background: var(--blue-light);

    border-color: var(--blue-light);

    transform: translateY(-2px);
}


.primary-button:hover span {
    transform: translateX(5px);
}


.secondary-button {
    border: 2px solid rgba(255, 255, 255, 0.6);

    color: white;
}


.secondary-button:hover {
    background: white;

    color: black;

    border-color: white;
}


/* ==========================================
   SCROLL INDICATOR
   ========================================== */

.scroll-indicator {
    position: absolute;

    z-index: 5;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%);


    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 6px;


    color: white;

    text-decoration: none;


    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


.scroll-arrow {
    font-size: 25px;

    animation: bounce 1.6s infinite;
}


@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }

}


/* ==========================================
   SECTION LABEL
   ========================================== */

.section-label {
    margin-bottom: 50px;

    color: var(--blue);


    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.light-label {
    color: #65b7fa;
}


/* ==========================================
   ABOUT
   ========================================== */

.about-section {
    padding: 130px 0;

    background: white;
}


.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: start;
}


.about-title h2 {
    margin: 0;

    font-size: clamp(45px, 5vw, 72px);

    line-height: 1;

    letter-spacing: -3px;
}


.about-title h2 span {
    color: var(--blue);
}


.about-text p {
    margin:
        0
        0
        25px;


    color: #515965;

    font-size: 17px;

    line-height: 1.8;
}


/* ==========================================
   FEATURES
   ========================================== */

.features {
    margin-top: 100px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}


.feature {
    min-height: 260px;

    padding: 40px;


    border-right: 1px solid var(--border);
}


.feature:first-child {
    border-left: 1px solid var(--border);
}


.feature-number {
    margin-bottom: 45px;

    color: var(--blue);

    font-size: 13px;

    font-weight: 800;
}


.feature h3 {
    margin-bottom: 15px;

    font-size: 20px;
}


.feature p {
    margin: 0;

    color: var(--grey);

    line-height: 1.7;

    font-size: 14px;
}


/* ==========================================
   SERVICES
   ========================================== */

.services-section {
    padding: 130px 0;

    background: var(--dark);

    color: white;
}


.services-heading {
    display: grid;

    grid-template-columns:
        1.4fr 0.6fr;

    gap: 80px;

    align-items: end;


    margin-bottom: 70px;
}


.services-heading h2 {
    margin: 0;

    font-size: clamp(50px, 6vw, 85px);

    line-height: 0.95;

    letter-spacing: -4px;
}


.services-heading h2 span {
    display: block;

    color: var(--blue);
}


.services-heading p {
    margin: 0;

    color: #aeb7c3;

    line-height: 1.7;
}


/* ==========================================
   SERVICE CARDS
   ========================================== */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.service-card {
    min-height: 390px;

    padding: 32px;


    display: flex;

    flex-direction: column;


    background: var(--dark-light);

    border: 1px solid #28313d;


    transition:
        transform 0.25s,
        border 0.25s,
        background 0.25s;
}


.service-card:hover {
    transform: translateY(-8px);

    border-color: var(--blue);

    background: #18212b;
}


.service-top {
    display: flex;

    justify-content: space-between;

    align-items: center;
}


.service-number {
    color: #76808c;

    font-size: 13px;
}


.service-arrow {
    color: var(--blue);

    font-size: 25px;

    transition: transform 0.2s;
}


.service-card:hover .service-arrow {
    transform:
        translate(4px, -4px);
}


.service-card h3 {
    margin:
        auto
        0
        25px;


    white-space: pre-line;


    font-size: 34px;

    line-height: 1;

    letter-spacing: -1px;
}


.service-card p {
    margin: 0;

    color: #aab4c0;

    line-height: 1.7;

    font-size: 14px;
}


/* ==========================================
   SERVICES CTA
   ========================================== */

.services-cta {
    margin-top: 70px;


    display: flex;

    align-items: center;

    justify-content: space-between;


    padding-top: 40px;

    border-top: 1px solid #28313d;
}


.services-cta p {
    color: #9da7b3;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* ==========================================
   FINAL CTA
   ========================================== */

.final-cta {
    padding: 140px 0;

    text-align: center;

    background: var(--light-grey);
}


.final-cta .section-label {
    margin-bottom: 25px;
}


.final-cta h2 {
    max-width: 900px;

    margin:
        0
        auto
        45px;


    font-size: clamp(55px, 7vw, 95px);

    line-height: 0.95;

    letter-spacing: -5px;
}


.final-cta h2 span {
    display: block;

    color: var(--blue);
}


/* ==========================================
   FOOTER
   ========================================== */

footer {
    padding: 45px 5%;

    background: white;

    border-top: 1px solid var(--border);
}


.footer-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.footer-logo {
    width: 190px;

    max-height: 55px;

    object-fit: contain;
}


.footer-content p {
    color: #77808a;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


.footer-content a {
    color: black;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;
}


/* ==========================================
   SCROLL REVEAL
   ========================================== */

.reveal {
    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 950px) {

    .about-grid,
    .services-heading {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .features,
    .services-grid {
        grid-template-columns: 1fr;
    }


    .feature {
        border-left: 1px solid var(--border);

        border-bottom: 1px solid var(--border);
    }


    .service-card {
        min-height: 320px;
    }

}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 700px) {

    .navbar {
        height: 80px;

        padding: 0 20px;
    }


    .logo {
        width: 170px;

        max-height: 55px;
    }


    .nav-links {
        gap: 12px;
    }


    .nav-links > a:not(.nav-buy-button) {
        display: none;
    }


    .nav-buy-button {
        padding: 11px 13px;

        font-size: 10px;
    }


    .hero {
        min-height: 650px;
    }


    .hero-background,
    .hero-overlay {
        top: 80px;
    }


    .hero-content {
        margin-top: 80px;
    }


    .hero-content h1 {
        font-size: 52px;

        letter-spacing: -3px;
    }


    .hero-content p {
        font-size: 16px;
    }


    .hero-buttons {
        align-items: stretch;

        flex-direction: column;

        max-width: 300px;
    }


    .about-section,
    .services-section,
    .final-cta {
        padding: 90px 0;
    }


    .section-label {
        margin-bottom: 35px;
    }


    .about-title h2,
    .services-heading h2 {
        letter-spacing: -2px;
    }


    .features {
        margin-top: 60px;
    }


    .feature {
        min-height: auto;
    }


    .service-card {
        min-height: 300px;
    }


    .services-cta {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }


    .final-cta h2 {
        letter-spacing: -3px;
    }


    .footer-content {
        flex-direction: column;

        text-align: center;
    }

}