:root {
    --green: #39ff88;
    --green-dark: #18d96b;
    --bg: #050806;
    --bg-light: #0a100d;
    --card: rgba(255, 255, 255, 0.045);
    --border: rgba(255, 255, 255, 0.09);
    --text: #f2f5f3;
    --muted: #8d9891;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

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


/* BACKGROUND */

.glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--green);
    filter: blur(180px);
    opacity: 0.055;
    pointer-events: none;
    z-index: -1;
}

.glow-one {
    top: -250px;
    left: -150px;
}

.glow-two {
    right: -250px;
    top: 700px;
}


/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;

    background: rgba(5, 8, 6, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-container {
    width: min(1180px, calc(100% - 40px));
    height: 100%;

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;

    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 18px var(--green);
}

.nav-menu {
    display: flex;
    gap: 34px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--green);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-button {
    padding: 10px 20px;
    border: 1px solid var(--green);
    border-radius: 9px;
    background: var(--green);
    color: #031008;

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

    flex-shrink: 0;

    cursor: pointer;
    transition: 0.2s ease;
}

.nav-button:hover {
    background: transparent;
    color: var(--green);
    box-shadow: 0 0 20px rgba(57, 255, 136, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


/* HERO */

.hero {
    max-width: 1000px;
    margin: 200px auto 100px;
    padding: 0 20px;
    text-align: center;
}

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

    padding: 8px 13px;
    border: 1px solid rgba(57, 255, 136, 0.18);
    background: rgba(57, 255, 136, 0.05);
    border-radius: 100px;

    color: #a8b5ad;
    font-size: 12px;
    font-weight: 600;
}

.hero-badge span {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--green);
}

.hero h1 {
    margin-top: 28px;

    font-size: clamp(55px, 9vw, 105px);
    line-height: 0.95;
    letter-spacing: -5px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--green);
}

.hero-text {
    max-width: 620px;
    margin: 30px auto 0;

    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;

    margin-top: 35px;
}

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

    padding: 14px 20px;
    border-radius: 10px;

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

    transition: 0.25s;
}

.button.primary {
    color: #031008;
    background: var(--green);
    box-shadow: 0 0 35px rgba(57, 255, 136, 0.12);
}

.button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(57, 255, 136, 0.2);
}

.button.secondary {
    border: 1px solid var(--border);
    color: #dce2de;
}

.button.secondary:hover {
    background: rgba(255,255,255,0.05);
}

.hero-note {
    margin-top: 18px;
    color: #59635d;
    font-size: 12px;
}


/* STATS */

.stats {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto 150px;

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

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

.stats div {
    text-align: center;
    padding: 27px 10px;
    border-right: 1px solid var(--border);
}

.stats div:last-child {
    border-right: none;
}

.stats strong {
    display: block;
    font-size: 26px;
    color: var(--green);
}

.stats span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}


/* SECTIONS */

.section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 170px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;

    margin-bottom: 45px;
}

.eyebrow {
    display: block;
    margin-bottom: 14px;

    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2 {
    max-width: 650px;
    font-size: clamp(34px, 5vw, 55px);
    line-height: 1;
    letter-spacing: -2px;
}

.section-heading p {
    max-width: 330px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}


/* SERVICES */

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-card {
    position: relative;
    overflow: hidden;

    min-height: 240px;
    padding: 30px;

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

    background: var(--card);

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(57, 255, 136, 0.3);
}

.service-card.featured {
    background:
        radial-gradient(circle at 90% 10%, rgba(57,255,136,0.13), transparent 35%),
        var(--card);
}

.service-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 10px;
    background: rgba(57,255,136,0.1);
    color: var(--green);

    font-size: 20px;
}

.service-card h3 {
    margin-top: 45px;
    font-size: 20px;
}

.service-card p {
    max-width: 380px;
    margin-top: 10px;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.service-number {
    position: absolute;
    top: 25px;
    right: 28px;

    color: #29322d;
    font-size: 13px;
    font-weight: 800;
}


/* WORK */

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.project-card {
    display: block;
}

.project-preview {
    height: 330px;
    padding: 35px;

    display: grid;
    place-items: center;

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

    overflow: hidden;
}

.preview-one {
    background:
        radial-gradient(circle at 50% 100%, rgba(57,255,136,0.2), transparent 45%),
        #0a100d;
}

.preview-two {
    background:
        radial-gradient(circle at 50% 100%, rgba(57,255,136,0.12), transparent 45%),
        #080b09;
}

.preview-window {
    width: 85%;
    height: 90%;

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 9px;

    background: #0d130f;
    box-shadow: 0 30px 70px rgba(0,0,0,0.5);

    transform: translateY(20px);
    transition: 0.4s;
}

.project-card:hover .preview-window {
    transform: translateY(5px) scale(1.02);
}

.preview-top {
    height: 35px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.025);
}

.preview-content {
    padding: 40px 25px;
}

.preview-content span {
    display: block;
    width: 70%;
    height: 10px;

    margin-bottom: 14px;

    border-radius: 20px;
    background: rgba(57,255,136,0.2);
}

.preview-content span:nth-child(2) {
    width: 45%;
    background: rgba(255,255,255,0.08);
}

.preview-content span:nth-child(3) {
    width: 60%;
    background: rgba(255,255,255,0.05);
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 4px;
}

.project-info h3 {
    font-size: 16px;
}

.project-info p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.arrow {
    color: var(--green);
    font-size: 20px;
}


/* PRICING */

.pricing-section {
    max-width: 1100px;
}

.centered {
    display: block;
    text-align: center;
}

.centered h2 {
    margin: auto;
}

.centered h2 span {
    color: var(--green);
}

.centered p {
    margin: 22px auto 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;

    margin-top: 50px;
}

.price-card {
    position: relative;

    padding: 30px;

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

    background: var(--card);
}

.price-card.popular {
    border-color: rgba(57,255,136,0.35);
    background:
        radial-gradient(circle at 50% 0%, rgba(57,255,136,0.09), transparent 50%),
        var(--card);
}

.popular-label {
    position: absolute;
    top: 15px;
    right: 15px;

    padding: 5px 8px;
    border-radius: 5px;

    background: var(--green);
    color: #041009;

    font-size: 8px;
    font-weight: 900;
}

.price-top > span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.price-top h3 {
    margin-top: 20px;
    font-size: 30px;
}

.price-top small {
    color: var(--green);
    font-size: 13px;
}

.price-card > p {
    min-height: 45px;
    margin-top: 12px;

    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.price-card ul {
    list-style: none;
    margin: 25px 0;
}

.price-card li {
    padding: 8px 0;
    color: #bbc4be;
    font-size: 12px;
}

.price-card li::first-letter {
    color: var(--green);
}

.price-button {
    display: block;
    padding: 12px;

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

    text-align: center;
    font-size: 12px;
    font-weight: 700;

    transition: 0.2s;
}

.price-button:hover {
    border-color: var(--green);
    color: var(--green);
}


/* CTA */

.cta {
    position: relative;
    overflow: hidden;

    width: min(1100px, calc(100% - 40px));
    margin: 0 auto 100px;
    padding: 100px 30px;

    border: 1px solid rgba(57,255,136,0.2);
    border-radius: 20px;

    background:
        radial-gradient(circle at 50% 100%, rgba(57,255,136,0.13), transparent 55%),
        #080e0a;

    text-align: center;
}

.cta h2 {
    position: relative;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -3px;
}

.cta h2 span {
    color: var(--green);
}

.cta p {
    margin: 20px auto 30px;
    color: var(--muted);
    font-size: 14px;
}


/* FOOTER */

footer {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
    padding: 45px 0;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;

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

.footer-brand p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--muted);
    font-size: 14px;
    transition: 0.2s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    grid-column: 1 / -1;

    color: #4d5751;
    font-size: 11px;
}


/* MOBILE */

@media (max-width: 750px) {

    .navbar-container {
        gap: 16px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(5, 8, 6, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 300px;
    }

    .nav-link {
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        display: block;
        font-size: 15px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: rgba(57, 255, 136, 0.1);
    }

    .nav-button {
        margin: 12px 20px;
        width: calc(100% - 40px);
        text-align: center;
    }

    .hero {
        margin-top: 120px;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        justify-content: center;
    }

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

    .stats div {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .stats div:last-child {
        border-bottom: none;
    }

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 18px;
    }

    .service-grid,
    .projects,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .project-preview {
        height: 260px;
    }

    .pricing-grid {
        gap: 15px;
    }

    footer {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .copyright {
        grid-column: auto;
    }
}


/* LOGO IMAGE (replaces text logo) */

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
    /* logo.png has a black background, invert makes it white to match the dark site */
    filter: invert(1);
    object-fit: contain;
}

.logo-img--footer {
    height: 28px;
}


/* REVEAL ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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