:root {
    --bg-color: #08080a;
    --text-main: #ffffff;
    --neon-green: #d4ff00;
    --border-color: #333333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    display: flex;
    align-items: flex-start;
    justify-content: left;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    min-width: 360px;
    min-height: 100vh;
    padding: 60px 60px 40px 60px;
}

.layout-grid {
    display: grid;
    position: relative;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: 0px;
    row-gap: 40px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.header {
    grid-column: 1;
    grid-row: 1;
}

.services {
    display: grid;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: 1fr;
    gap: 0px 50px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1;
    grid-row: 3;
    gap: 20px;
}

.footer {
    grid-column: 1;
    grid-row: 4;
    align-self: end;
    margin-top: 20px;
}

.diagram {
    top: 40px;
    position: relative;
    grid-column: 2;
    grid-row: 1 / span 4;
    justify-self: end;
    z-index: -1;
    max-width: 690px;
    pointer-events: none;
}

.diagram img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

h1 {
    margin-bottom: 3px;
    font-size: clamp(3.5rem, 4.5vw, 5.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.5px;
    white-space: nowrap;
}

h1 .highlight {
    color: var(--neon-green);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
}

.subtitle {
    color: #e0e0e0;
    font-size: clamp(1.2rem, 1.6vw, 1.6rem);
    font-weight: 300;
    letter-spacing: -0.5px;
}

.service-list {
    list-style: none;
}

.service-list li {
    position: relative;
    color: #d0d0d0;
    margin-bottom: 22px;
    padding-left: 28px;
    font-size: 1.1rem;
    font-weight: 300;
}

.service-list li::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 0;
    width: 16px;
    height: 2px;
    background-color: var(--neon-green);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    border: 2px solid var(--neon-green);
    background-color: var(--neon-green);
    color: #000000;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--neon-green);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.footer .logo {
    color: #E5E5E5;
    font-size: 1.4rem;
    letter-spacing: -1px;
}

.footer .logo-bold {
    font-weight: 600;
}

.footer .logo-light {
    font-weight: 300;
}

.footer p {
    color: #d0d0d0;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
}



@media (max-width: 1080px) {
    body {
        padding: 40px;
    }

    .layout-grid {
        display: flex;
        flex-direction: column;
    }

    .header {
        order: 1;
        width: 100%;
        text-align: left;
    }

    h1 {
        white-space: normal;
    }

    .services {
        display: grid;
        order: 2;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 0px 40px;
        width: 100%;
        margin: 0;
    }

    .actions {
        order: 3;
        justify-content: flex-start;
        width: 100%;
    }

    .diagram {
        display: flex;
        position: relative;
        top: 0;
        right: 0;
        order: 4;
        justify-content: center;
        width: calc(100% + 20px);
        max-width: none;
        margin-right: -10px;
        margin-left: -10px;
        opacity: 1;
        filter: alpha(opacity=100);
        pointer-events: auto;
    }

    .diagram img {
        display: block;
        width: 100%;
        max-width: none;
    }

    .footer {
        order: 5;
        width: 100%;
        text-align: left;
    }

    .footer .logo {
        text-align: left;
    }
}

@media (max-width: 768px) {
    body {
        padding: 40px 25px 40px 25px;
    }

    .service-list li {
        margin-bottom: 16px;
        font-size: 1.05rem;
    }

    .actions {
        gap: 12px;
    }

    .btn {
        flex: 1 1 auto;
        min-width: 260px;
        padding: 14px 20px;
        text-align: center;
    }


    .footer p {
        font-size: 0.8rem;
    }
}

@media (max-width: 620px) {
    h1 {
        margin-bottom: 15px;
        line-height: 1;
    }

}
