/* =========================================
   ALAPOK
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #080a09;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


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

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(8, 10, 9, 0.88);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: #18c96b;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: #ffffff;
}


/* NAV */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    position: relative;

    color: #a9aeab;

    font-size: 14px;
    font-weight: 500;

    transition: 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #18c96b;
}

.nav-menu a:not(.nav-button)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: #18c96b;

    transition: 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}


/* NAV BUTTON */

.nav-button {
    padding: 11px 18px;

    border: 1px solid rgba(24, 201, 107, 0.5);
    border-radius: 8px;

    color: #18c96b !important;

    background: rgba(24, 201, 107, 0.06);

    transition: 0.3s ease;
}

.nav-button:hover {
    background: #18c96b;
    color: #080a09 !important;

    box-shadow: 0 0 25px rgba(24, 201, 107, 0.25);
}


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

.hero {
    position: relative;

    min-height: 470px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero::before {
    content: "";

    position: absolute;

    top: -250px;
    left: 50%;

    width: 700px;
    height: 700px;

    transform: translateX(-50%);

    background: radial-gradient(
        circle,
        rgba(24, 201, 107, 0.12),
        transparent 65%
    );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    text-align: center;
}


/* BADGE */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 15px;

    margin-bottom: 25px;

    border: 1px solid rgba(24, 201, 107, 0.25);
    border-radius: 50px;

    background: rgba(24, 201, 107, 0.05);

    color: #aeb4b1;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-badge span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #18c96b;

    box-shadow: 0 0 12px #18c96b;
}


/* HERO TITLE */

.hero h1 {
    max-width: 850px;

    margin: 0 auto;

    font-size: clamp(48px, 7vw, 82px);

    line-height: 1.02;

    letter-spacing: -4px;
}

.hero h1 strong {
    display: block;

    color: #18c96b;

    font-weight: 800;

    text-shadow:
        0 0 40px rgba(24, 201, 107, 0.15);
}

.hero p {
    max-width: 650px;

    margin: 28px auto 0;

    color: #8e9591;

    font-size: 17px;
}


/* =========================================
   REFERENCIÁK
========================================= */

.references {
    padding: 110px 0;
}

.section-heading {
    max-width: 700px;

    margin-bottom: 55px;
}

.section-label {
    display: inline-block;

    margin-bottom: 15px;

    color: #18c96b;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.5px;
}

.section-heading h2 {
    margin-bottom: 15px;

    font-size: clamp(34px, 5vw, 52px);

    line-height: 1.1;

    letter-spacing: -2px;
}

.section-heading p {
    color: #8e9591;

    font-size: 16px;
}


/* GRID */

.reference-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* CARD */

.reference-card {
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;

    background: #0c0f0d;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.reference-card:hover {
    transform: translateY(-8px);

    border-color: rgba(24, 201, 107, 0.45);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 35px rgba(24, 201, 107, 0.06);
}


/* IMAGE */

.reference-image {
    height: 230px;

    padding: 18px;
}

.reference-placeholder {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    overflow: hidden;

    border: 1px solid rgba(24, 201, 107, 0.2);
    border-radius: 12px;

    background:
        radial-gradient(
            circle at center,
            rgba(24, 201, 107, 0.15),
            transparent 65%
        ),
        #080a09;
}

.reference-placeholder::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border: 1px solid rgba(24, 201, 107, 0.08);

    border-radius: 50%;
}

.reference-placeholder::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 1px;

    background: rgba(24, 201, 107, 0.1);

    transform: rotate(-35deg);
}


/* ICON */

.placeholder-icon {
    position: relative;
    z-index: 2;

    margin-bottom: 10px;

    color: #18c96b;

    font-size: 32px;
    font-weight: 800;

    text-shadow: 0 0 20px rgba(24, 201, 107, 0.4);
}

.reference-placeholder span {
    position: relative;
    z-index: 2;

    color: #ffffff;

    font-size: 21px;
    font-weight: 800;

    letter-spacing: 4px;
}

.reference-placeholder small {
    position: relative;
    z-index: 2;

    margin-top: 5px;

    color: #747b77;

    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}


/* CONTENT */

.reference-content {
    padding: 5px 25px 28px;
}

.reference-tag {
    display: inline-block;

    padding: 6px 11px;

    margin-bottom: 15px;

    border: 1px solid rgba(24, 201, 107, 0.25);
    border-radius: 50px;

    color: #18c96b;

    background: rgba(24, 201, 107, 0.05);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.reference-content h3 {
    margin-bottom: 10px;

    font-size: 21px;

    letter-spacing: -0.5px;
}

.reference-content p {
    color: #818884;

    font-size: 14px;

    line-height: 1.7;
}


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

.cta-section {
    padding: 20px 0 110px;
}

.cta {
    position: relative;

    overflow: hidden;

    padding: 80px 30px;

    text-align: center;

    border: 1px solid rgba(24, 201, 107, 0.2);
    border-radius: 22px;

    background: #0c0f0d;
}

.cta::before {
    content: "";

    position: absolute;

    top: -250px;
    left: 50%;

    width: 600px;
    height: 500px;

    transform: translateX(-50%);

    background: radial-gradient(
        circle,
        rgba(24, 201, 107, 0.13),
        transparent 65%
    );
}

.cta > * {
    position: relative;
    z-index: 2;
}

.cta h2 {
    margin-bottom: 15px;

    font-size: clamp(35px, 5vw, 55px);

    letter-spacing: -2px;
}

.cta p {
    max-width: 620px;

    margin: 0 auto 30px;

    color: #858c88;
}


/* CTA BUTTON */

.main-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 14px 24px;

    border-radius: 9px;

    background: #18c96b;

    color: #080a09;

    font-size: 14px;
    font-weight: 700;

    transition: 0.3s ease;
}

.main-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(24, 201, 107, 0.25);
}

.main-button span {
    font-size: 20px;
}


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

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);

    background: #060807;
}

.footer-container {
    min-height: 210px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 50px;
}

.footer-brand p {
    max-width: 300px;

    margin-top: 15px;

    color: #707672;

    font-size: 13px;
}

.footer-contact {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.footer-contact h4 {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 14px;
}

.footer-contact a {
    color: #747b77;

    font-size: 13px;

    transition: 0.3s ease;
}

.footer-contact a:hover {
    color: #18c96b;
}

.footer-bottom {
    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.05);

    color: #555c58;

    font-size: 11px;

    text-align: center;
}


/* =========================================
   MOBIL
========================================= */

@media (max-width: 900px) {

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .reference-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 900px) {

    .nav-container {
        min-height: 80px;
    }

    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu.is-open {
        position: absolute;
        top: 80px;
        right: 5%;
        left: 5%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: #101412;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
    }

    .nav-menu.is-open a {
        display: block;
        padding: 14px;
        color: #ffffff;
        font-size: 0.95rem;
    }

    .nav-menu.is-open a::after {
        display: none;
    }

    .nav-menu.is-open .nav-button {
        display: block;
        margin-top: 6px;
        padding: 14px;
        background: #18c96b;
        color: #080a09 !important;
        font-weight: 700;
        text-align: center;
    }

    .hero {
        min-height: 400px;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 15px;
    }

    .references {
        padding: 80px 0;
    }

    .reference-grid {
        grid-template-columns: 1fr;
    }

    .reference-card {
        max-width: 500px;
        margin: 0 auto;

        width: 100%;
    }

    .footer-container {
        padding: 45px 0;

        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    .nav-container {
        min-height: 70px;
    }

    .nav-menu.is-open {
        top: 70px;
    }
}


@media (max-width: 450px) {

    .hero h1 {
        font-size: 40px;
    }

    .reference-image {
        height: 210px;
    }

    .cta {
        padding: 60px 20px;
    }

}