:root {
    --background: #0c0f0e;
    --background-light: #111614;
    --card: #151b18;
    --card-light: #19211d;
    --text: #f4f7f5;
    --muted: #a4afa9;
    --green: #69e3ac;
    --green-light: #a3f3ce;
    --green-dark: #143a2b;
    --border: #29342f;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at 85% 5%,
            rgba(105, 227, 172, 0.12),
            transparent 500px
        ),
        var(--background);

    color: var(--text);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(
        var(--max-width),
        calc(100% - 40px)
    );

    margin: 0 auto;
}


/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(12, 15, 14, 0.9);
    backdrop-filter: blur(15px);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.nav {
    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* BRANDING */

.logo {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    text-decoration: none;
}

.logo-jg {
    min-width: 42px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 9px;

    color: #07130e;
    background: var(--green);

    border-radius: 8px;

    font-size: 17px;
    font-weight: 900;

    letter-spacing: -1px;
}

.logo-name {
    color: white;

    font-size: 18px;
    font-weight: 900;

    letter-spacing: -0.8px;
}

.nav-links {
    display: flex;
    align-items: center;

    gap: 26px;
}

.nav-links a {
    color: var(--muted);

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition: 0.2s;
}

.nav-links a:hover {
    color: white;
}

.nav-links .nav-button {
    padding: 10px 15px;

    color: #07130e;
    background: var(--green);

    border-radius: 10px;
}

.nav-links .nav-button:hover {
    color: #07130e;
    background: var(--green-light);
}


/* HERO */

.hero {
    padding: 110px 0 90px;
}

.hero-grid {
    display: grid;

    grid-template-columns:
        1.08fr 0.92fr;

    align-items: center;

    gap: 70px;
}

.eyebrow,
.section-label {
    display: inline-block;

    color: var(--green);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1.5px;
}

.eyebrow {
    margin-bottom: 22px;

    padding: 7px 11px;

    background: #11241c;

    border: 1px solid #28503f;
    border-radius: 100px;
}

.hero h1 {
    max-width: 760px;

    margin-bottom: 26px;

    font-size: clamp(
        54px,
        7vw,
        92px
    );

    line-height: 0.95;
    letter-spacing: -5px;
}

.hero h1 span {
    color: var(--green);
}

.hero-copy > p {
    max-width: 650px;

    margin-bottom: 8px;

    color: var(--muted);

    font-size: 18px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


/* BUTTONS */

.button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border: 1px solid var(--border);
    border-radius: 11px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.2s,
        background 0.2s,
        border-color 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: #07130e;
    background: var(--green);

    border-color: var(--green);
}

.button.primary:hover {
    background: var(--green-light);
}

.button.secondary {
    color: white;
    background: var(--card);
}

.button.secondary:hover {
    background: var(--card-light);
}

.button.full {
    width: 100%;
}


/* WEBSITE MOCKUP */

.website-preview {
    padding: 18px;

    background:
        linear-gradient(
            145deg,
            #171e1b,
            #0e1210
        );

    border: 1px solid var(--border);
    border-radius: 28px;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.4);
}

.browser {
    overflow: hidden;

    color: #152019;
    background: #f1f7f4;

    border-radius: 18px;
}

.browser-bar {
    height: 44px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 0 14px;

    background: #dce6e1;
}

.browser-bar span {
    width: 9px;
    height: 9px;

    background: #9faea6;

    border-radius: 50%;
}

.browser-content {
    min-height: 380px;

    padding: 48px 38px;

    background:
        linear-gradient(
            145deg,
            #f8fbfa,
            #e4f5ed
        );
}

.browser-content > small {
    color: #39745b;

    font-weight: 900;

    letter-spacing: 1px;
}

.browser-content h2 {
    max-width: 380px;

    margin: 13px 0;

    font-size: 45px;

    line-height: 1;
    letter-spacing: -3px;
}

.browser-content > p {
    max-width: 350px;

    color: #617068;
}

.preview-button {
    display: inline-block;

    margin-top: 20px;

    padding: 9px 12px;

    color: white;
    background: #245c44;

    border-radius: 7px;

    font-size: 10px;
    font-weight: 900;
}

.preview-cards {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 9px;

    margin-top: 28px;
}

.preview-feature {
    min-width: 0;
    min-height: 112px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 14px 12px;

    background:
        rgba(255, 255, 255, 0.86);

    border: 1px solid #d2e1da;
    border-radius: 11px;

    box-shadow:
        0 8px 24px rgba(28, 73, 53, 0.08);

    transition:
        transform 0.2s,
        box-shadow 0.2s,
        border-color 0.2s;
}

.preview-feature:hover {
    transform: translateY(-3px);

    border-color: #a6cdbb;

    box-shadow:
        0 12px 28px rgba(28, 73, 53, 0.13);
}

.preview-icon {
    width: 29px;
    height: 29px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 9px;

    color: #176747;
    background: #d8f5e7;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 900;

    line-height: 1;
}

.preview-feature strong {
    display: block;

    color: #173126;

    font-size: 11px;
    font-weight: 900;

    line-height: 1.25;
}

.preview-feature small {
    display: block;

    margin-top: 4px;

    color: #68786f;

    font-size: 8px;
    font-weight: 700;

    line-height: 1.35;
    letter-spacing: 0;
}


/* TRUST */

.trust {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}

.trust-grid > div {
    padding: 25px 20px;

    border-right: 1px solid var(--border);
}

.trust-grid > div:first-child {
    padding-left: 0;
}

.trust-grid > div:last-child {
    border-right: 0;
}

.trust strong,
.trust span {
    display: block;
}

.trust strong {
    margin-bottom: 3px;

    font-size: 14px;
}

.trust span {
    color: var(--muted);

    font-size: 12px;
}


/* GENERAL SECTIONS */

.section {
    padding: 100px 0;
}

.section-heading {
    display: grid;

    grid-template-columns:
        1fr 0.8fr;

    align-items: end;

    gap: 50px;

    margin-bottom: 45px;
}

.section-heading h2,
.center-heading h2 {
    margin-top: 10px;

    font-size: clamp(
        38px,
        5vw,
        62px
    );

    line-height: 1;
    letter-spacing: -3px;
}

.section-heading > p,
.center-heading > p {
    color: var(--muted);
}

.center-heading {
    max-width: 700px;

    margin: 0 auto 45px;

    text-align: center;
}

.center-heading > p {
    margin-top: 15px;
}


/* SERVICES */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;
}

.service-card {
    min-height: 235px;

    padding: 25px;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 17px;

    transition:
        transform 0.2s,
        border-color 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);

    border-color: #3e5c4e;
}

.number {
    color: var(--green);

    font-size: 12px;
    font-weight: 900;
}

.service-card h3 {
    margin: 60px 0 10px;

    font-size: 20px;
}

.service-card p {
    color: var(--muted);

    font-size: 14px;
}


/* PORTFOLIO */

.portfolio-section {
    background: var(--background-light);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.portfolio-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}

.portfolio-card {
    overflow: hidden;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 20px;

    transition:
        transform 0.2s,
        border-color 0.2s;
}

.portfolio-card:hover {
    transform: translateY(-5px);

    border-color: #4a9d79;
}

.portfolio-image {
    min-height: 290px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 32px;
}

.portfolio-image > span {
    width: fit-content;

    display: inline-block;

    margin-bottom: 12px;

    padding: 6px 9px;

    border-radius: 100px;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1px;
}

.portfolio-image h3 {
    margin-bottom: 8px;

    font-size: 38px;

    line-height: 1;
    letter-spacing: -2px;
}

.portfolio-image p {
    max-width: 400px;

    font-size: 14px;
}

.homeflow-preview {
    color: #10231a;

    background:
        linear-gradient(
            135deg,
            #e9f8f0,
            #9fe2c2
        );
}

.homeflow-preview > span {
    color: white;
    background: #245c44;
}

.stuffing-preview {
    color: #2c1d14;

    background:
        linear-gradient(
            135deg,
            #f7e4d1,
            #d6a875
        );
}

.stuffing-preview > span {
    color: white;
    background: #67452e;
}

.portfolio-content {
    padding: 28px;
}

.portfolio-content h3 {
    margin: 10px 0;

    font-size: 24px;
}

.portfolio-content p {
    min-height: 70px;

    margin-bottom: 22px;

    color: var(--muted);

    font-size: 14px;
}


/* PRICING */

.pricing-section {
    background: var(--background);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pricing-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}

.price-card {
    position: relative;

    padding: 28px;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 20px;
}

.price-card.featured {
    border-color: #4a9d79;

    box-shadow:
        inset 0 0 0 1px #4a9d79;
}

.popular {
    position: absolute;

    top: 20px;
    right: 20px;

    padding: 6px 9px;

    color: var(--green-light);
    background: var(--green-dark);

    border-radius: 100px;

    font-size: 10px;
    font-weight: 900;
}

.price-card h3 {
    font-size: 21px;
}

.price {
    margin: 17px 0;

    font-size: 39px;
    font-weight: 900;

    letter-spacing: -2px;
}

.price span {
    color: var(--muted);

    font-size: 12px;

    letter-spacing: 0;
}

.price-intro {
    min-height: 75px;

    color: var(--muted);

    font-size: 14px;
}

.price-card ul {
    margin: 18px 0 27px;

    padding-left: 20px;

    color: var(--muted);

    font-size: 14px;
}

.price-card li {
    margin: 9px 0;
}


/* PROCESS */

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}

.process-grid article {
    padding-top: 20px;

    border-top: 1px solid var(--border);
}

.process-grid article > span {
    color: var(--green);

    font-size: 12px;
    font-weight: 900;
}

.process-grid h3 {
    margin: 18px 0 10px;

    font-size: 18px;
}

.process-grid p {
    color: var(--muted);

    font-size: 14px;
}


/* CTA */

.cta-section {
    padding: 20px 0;
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 45px;

    background:
        linear-gradient(
            135deg,
            #14271f,
            #101713
        );

    border: 1px solid #2d5947;
    border-radius: 25px;
}

.cta h2 {
    max-width: 700px;

    margin: 10px 0;

    font-size: clamp(
        34px,
        4vw,
        54px
    );

    line-height: 1;
    letter-spacing: -3px;
}

.cta p {
    color: var(--muted);
}


/* CONTACT */

.contact {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    align-items: start;

    gap: 65px;
}

.contact-copy h2 {
    margin: 12px 0 18px;

    font-size: clamp(
        42px,
        5vw,
        65px
    );

    line-height: 1;
    letter-spacing: -4px;
}

.contact-copy > p {
    color: var(--muted);
}

.contact-details {
    margin-top: 35px;
}

.contact-details > div {
    padding: 16px 0;

    border-bottom: 1px solid var(--border);
}

.contact-details small,
.contact-details strong {
    display: block;
}

.contact-details small {
    margin-bottom: 4px;

    color: var(--muted);
}

.contact-details a {
    color: white;

    text-decoration: none;

    transition: color 0.2s;
}

.contact-details a:hover {
    color: var(--green);
}

.contact-form {
    padding: 28px;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 20px;
}

.contact-form label {
    display: block;

    margin-bottom: 17px;

    font-size: 13px;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    margin-top: 7px;

    padding: 14px;

    color: white;
    background: #0f1412;

    border: 1px solid var(--border);
    border-radius: 9px;

    outline: none;

    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--green);
}

.submit-button {
    width: 100%;

    border: 0;
}


/* FOOTER */

footer {
    border-top: 1px solid var(--border);
}

.footer {
    min-height: 110px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    color: var(--muted);

    font-size: 12px;
}


/* TABLET */

@media (max-width: 900px) {

    .hero-grid,
    .section-heading,
    .contact {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 45px;
    }

    .service-grid,
    .pricing-grid,
    .portfolio-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .nav-links a:not(.nav-button) {
        display: none;
    }

    .cta {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-image {
        min-height: 230px;
    }

    .portfolio-image h3 {
        font-size: 32px;
    }

    .portfolio-content p {
        min-height: auto;
    }
}


@media (max-width: 600px) {

    .container {
        width:
            min(
                100% - 28px,
                var(--max-width)
            );
    }

    .header .nav {
        min-height: 66px;
    }

    .logo {
        gap: 7px;
    }

    .logo-jg {
        min-width: 38px;
        height: 31px;

        font-size: 15px;
    }

    .logo-name {
        font-size: 14px;
    }

    .nav-button {
        padding: 8px 11px !important;

        font-size: 12px !important;
    }

    .hero {
        padding: 70px 0 60px;
    }

    .hero h1 {
        font-size: 51px;

        letter-spacing: -3px;
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .website-preview {
        padding: 10px;
    }

    .browser-content {
        min-height: 330px;

        padding: 35px 24px;
    }

    .browser-content h2 {
        font-size: 37px;
    }

    .preview-cards {
        gap: 7px;

        margin-top: 24px;
    }

    .preview-feature {
        min-height: 94px;

        padding: 10px 8px;
    }

    .preview-icon {
        width: 24px;
        height: 24px;

        margin-bottom: 7px;

        font-size: 12px;
    }

    .preview-feature strong {
        font-size: 9px;
    }

    .preview-feature small {
        font-size: 7px;
    }

    .trust-grid,
    .service-grid,
    .pricing-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid > div {
        padding: 18px 0;

        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        gap: 20px;
    }

    .section-heading h2,
    .center-heading h2 {
        font-size: 42px;

        letter-spacing: -2px;
    }

    .price-intro {
        min-height: auto;
    }

    .cta {
        padding: 28px;
    }

    .cta h2 {
        font-size: 39px;

        letter-spacing: -2px;
    }

    .contact {
        gap: 40px;
    }

    .contact-copy h2 {
        font-size: 44px;

        letter-spacing: -2px;
    }

    .contact-form {
        padding: 20px;
    }

    .footer {
        padding: 30px 0;

        align-items: flex-start;
        flex-direction: column;

        gap: 8px;
    }
}