:root {
    --ink: #15203a;
    --navy: #121a38;
    --blue: #2446a8;
    --violet: #6246ea;
    --teal: #13bfa6;
    --green: #20b86f;
    --coral: #f26b5e;
    --muted: #657089;
    --line: #dfe5f2;
    --soft: #f4f7fb;
    --white: #ffffff;
    --shadow: 0 18px 40px rgba(18, 26, 56, .12);
}

* {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    /*font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;*/
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
    font-display: swap;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(223, 229, 242, .85);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--navy);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 34px;
    margin-right: 2px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal), var(--violet));
    border-radius: 8px;
    font-size: 1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-size: .94rem;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--blue);
    background: #eef4ff;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
    gap: clamp(28px, 6vw, 78px);
    align-items: center;
    min-height: calc(100vh - 76px);
    padding: clamp(48px, 8vw, 94px) clamp(18px, 5vw, 72px);
    color: var(--white);
    background:
        radial-gradient(circle at 12% 18%, rgba(19, 191, 166, .28), transparent 30%),
        linear-gradient(135deg, #111936 0%, #1d2b68 52%, #5534a4 100%);
}

.hero h1,
.page-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.45rem, 6vw, 5.4rem);
    line-height: .98;
    letter-spacing: 0;
}

.hero-text,
.page-hero p {
    max-width: 690px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--teal);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
}

.button.primary {
    color: var(--navy);
    background: var(--teal);
}

.button.secondary {
    color: var(--white);
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .28);
}

.data-flow {
    min-height: 380px;
}

.data-flow svg {
    width: 100%;
    filter: drop-shadow(0 26px 50px rgba(0, 0, 0, .28));
}

.flow-line {
    fill: none;
    stroke: url(#flowGradient);
    stroke-width: 9;
    stroke-linecap: round;
    stroke-dasharray: 18 18;
    animation: flow 8s linear infinite;
}

.node rect,
.node circle {
    fill: rgba(255, 255, 255, .12);
    stroke: rgba(255, 255, 255, .32);
    stroke-width: 2;
}

.node text {
    fill: #ffffff;
    font-size: 24px;
    font-weight: 800;
    text-anchor: middle;
}

.node .small {
    font-size: 14px;
    font-weight: 600;
    opacity: .72;
}

@keyframes flow {
    to {
        stroke-dashoffset: -180;
    }
}

.section,
.page-hero,
.site-footer {
    padding: clamp(46px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.page-hero {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--blue) 55%, #4e3190);
}

.page-hero.compact {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-heading h2,
.calculator h2,
.contact-details h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    line-height: 1.08;
}

.muted {
    background: var(--soft);
}

.feature-grid,
.platform-grid,
.pricing-grid,
.card-grid,
.gallery-grid {
    display: grid;
    gap: 18px;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.supplier-card,
.client-card,
.pricing-card {
    min-width: 0;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(18, 26, 56, .06);
    filter: drop-shadow(2px 3px 4px rgba(0,0,0,.15));

}

.feature-card h3,
.supplier-card h2,
.client-card h2,
.pricing-card h2 {
    margin: 12px 0 8px;
    font-size: 1.15rem;
}

.feature-card p,
.supplier-card p,
.client-card p,
.pricing-card p {
    margin: 0;
    color: var(--muted);
}


.feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-header h3 {
    margin: 0;
}


.feature-icon {
    font-size: 21px;
    filter: drop-shadow(2px 3px 4px rgba(0,0,0,.50));
    flex-shrink: 0;
}

/*
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    font-size: 28px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #ffffff,
        #e9eefc
    );

    box-shadow:
        0 4px 10px rgba(0,0,0,.10),
        inset 0 1px 0 rgba(255,255,255,.9);

    transition: transform .2s ease;
}
*/

.platform-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/*
.platform-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 74px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 800;
    filter: drop-shadow(2px 3px 4px rgba(0,0,0,.10));
}
*/

.platform-badge {
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    filter: drop-shadow(2px 3px 4px rgba(0,0,0,.10));
    min-height: 134px;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.platform-badge:hover {
    transform: translateY(-2px);
}

.platform-badge img {
    display: block;
    margin: 0 auto;
}



.platform-badge small {
    position: absolute;
    top: 8px;
    right: 8px;

    padding: 5px 10px;

    color: #fff;
    background: #6246ea;

    border-radius: 999px;

    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .03em;

    box-shadow: 0 3px 8px rgba(98,70,234,.25);
}

/*
.platform-badge small {
    position: absolute;
    top: 10px;
    right: 10px;

    padding: 4px 8px;

    color: #074f43;
    background: #caf8ee;

    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}
*/
/*
.platform-badge small {
    padding: 4px 8px;
    color: #074f43;
    background: #caf8ee;
    border-radius: 999px;
    font-size: .72rem;
}
*/

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.toolbar label {
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}

.toolbar input {
    max-width: 440px;
}

.supplier-grid,
.client-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.supplier-card img,
.client-card img {
    width: 210px;
    height: 52px;
    object-fit: contain;
    padding: 6px;
    background: var(--soft);
    border-radius: 8px;
}

.pagination-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.pagination-controls button {
    min-width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    font-weight: 800;
}

.pagination-controls button.is-active {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
}

.pricing-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pricing-card strong {
    display: block;
    margin: 12px 0;
    color: var(--blue);
    font-size: 1.8rem;
}

.pricing-card ul {
    padding-left: 18px;
    margin: 18px 0 0;
    color: var(--muted);
}

.calculator {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(300px, 1fr);
    gap: 34px;
    align-items: start;
}

.calculator-panel {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.calculator-panel label {
    display: block;
    margin: 14px 0 8px;
    font-weight: 800;
}

.calculator-panel input[type="range"] {
    padding: 0;
    accent-color: var(--teal);
}

.total-box {
    margin-top: 22px;
    padding: 20px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--violet));
    border-radius: 8px;
}

.total-box span,
.total-box small {
    display: block;
}

.total-box strong {
    display: block;
    margin: 4px 0;
    font-size: 2rem;
}

.client-card a {
    display: inline-block;
    margin-top: 14px;
    color: var(--blue);
    font-weight: 800;
}

.gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
    padding: 0 0 18px;
    overflow: hidden;
    text-align: left;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: zoom-in;
    box-shadow: 0 8px 24px rgba(18, 26, 56, .06);
    filter: drop-shadow(2px 3px 20px rgba(0,0,0,.55));

}

.gallery-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--soft);
}

.gallery-item span,
.gallery-item small {
    display: block;
    padding: 0 18px;
}

.gallery-item span {
    margin-top: 16px;
    font-weight: 800;
}

.gallery-item small {
    margin-top: 4px;
    color: var(--muted);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 15, 31, .84);
}

.lightbox.is-open {
    display: flex;
}

.lightbox figure {
    width: min(700px, 94vw);
    margin: 0;
}

.lightbox img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    background: var(--white);
    border-radius: 8px;
}

.lightbox figcaption {
    margin-top: 12px;
    color: var(--white);
    font-weight: 800;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    color: var(--white);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 8px;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
}

.accordion {
    max-width: 980px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--line);
}

.accordion-trigger {
    width: 100%;
    padding: 20px 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
    font-weight: 800;
}

.accordion-content {
    padding: 0 0 20px;
    color: var(--muted);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(300px, 1fr);
    gap: 28px;
    filter: drop-shadow(2px 3px 4px rgba(0,0,0,.15));

}

.contact-details,
.contact-form {
    padding: 26px;
    xxbackground: var(--white);
    xbackground: #f3f3f3;
    background: #e9f9ff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(18, 26, 56, .06);
}

.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    margin-bottom: 7px;
    font-weight: 800;
}

.form-response {
    margin-top: 14px;
    font-weight: 800;
}

.form-response.success {
    color: var(--green);
}

.form-response.error {
    color: var(--coral);
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    color: rgba(255, 255, 255, .78);
    background: var(--navy);
}

.footer-brand {
    color: var(--white);
}

.site-footer p {
    max-width: 580px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-weight: 800;
}

.copyright {
    grid-column: 1 / -1;
    margin: 0;
}

@media (max-width: 1100px) {
    .feature-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .supplier-grid,
    .client-grid,
    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 75px;
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero,
    .calculator,
    .contact-layout,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .data-flow {
        min-height: 260px;
    }

    .platform-grid,
    .supplier-grid,
    .client-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .feature-grid,
    .platform-grid,
    .supplier-grid,
    .client-grid,
    .pricing-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.35rem;
    }

    .toolbar input {
        max-width: none;
    }
}







.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    max-width: 700px;
    width: 100%;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.more-link {
    margin-left: 6px;
    white-space: nowrap;
}

.supplier-trigger {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.supplier-trigger:hover {
    transform: translateY(-2px);
}