:root {
    --blue: #0879d1;
    --blue-dark: #075da3;
    --blue-light: #eaf5ff;

    --navy: #10263d;
    --text: #26384a;
    --muted: #718096;

    --white: #ffffff;
    --light: #f6f9fc;
    --border: #e4ebf2;

    --shadow: 0 20px 60px rgba(16, 38, 61, .10);

    --radius: 18px;
    --container: 1180px;
}


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: auto;
}

.narrow {
    max-width: 850px;
}


/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(228,235,242,.8);

    transition: .3s ease;
}

.header.scrolled {
    box-shadow: 0 8px 30px rgba(16,38,61,.08);
}

.nav {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;

    font-weight: 800;
    letter-spacing: -1px;
}

.logo-main {
    font-size: 22px;
    color: var(--navy);
}

.logo-sub {
    font-size: 18px;
    color: var(--blue);
}


/* MENU */

.menu {
    display: flex;
    align-items: center;
    gap: 32px;

    font-size: 14px;
    font-weight: 600;
}

.menu a {
    transition: .2s ease;
}

.menu a:hover {
    color: var(--blue);
}

.menu-button {
    background: var(--blue);
    color: white !important;

    padding: 11px 20px;

    border-radius: 10px;
}

.menu-button:hover {
    background: var(--blue-dark);
}


/* MOBILE MENU */

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    width: 35px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;

    height: 2px;
    background: var(--navy);

    margin: 6px 0;
}


/* HERO */

.hero {
    position: relative;
    overflow: hidden;

    padding: 170px 0 100px;

    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(255,255,255,.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #075da3,
            #0879d1
        );

    color: white;
}

.hero-background {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 10% 80%,
            rgba(255,255,255,.08),
            transparent 25%
        );
}

.hero-grid {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;
}


/* HERO TEXT */

.eyebrow {
    display: inline-block;

    padding: 7px 12px;

    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;

    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(44px, 5vw, 70px);

    line-height: 1.04;
    letter-spacing: -3px;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    opacity: .9;
}

.hero-lead {
    font-size: 22px;

    line-height: 1.45;

    margin-bottom: 18px;
}

.hero-lead strong {
    display: block;
}

.hero-text {
    max-width: 600px;

    font-size: 16px;

    color: rgba(255,255,255,.84);

    margin-bottom: 35px;
}


/* BUTTONS */

.hero-buttons,
.cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 24px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition: .25s ease;
}

.btn-primary {
    background: white;
    color: var(--blue-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.btn-secondary {
    color: white;

    border: 1px solid rgba(255,255,255,.35);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.1);
}


/* TPV MOCKUP */

.hero-card {
    display: flex;
    justify-content: center;
}

.tpv-screen {
    width: 100%;
    max-width: 500px;

    background: white;
    color: var(--text);

    border-radius: 20px;

    padding: 22px;

    box-shadow:
        0 35px 80px rgba(0,0,0,.25);

    transform: rotate(1deg);
}

.screen-top {
    display: flex;
    justify-content: space-between;

    align-items: center;

    padding-bottom: 18px;

    border-bottom: 1px solid var(--border);
}

.screen-title {
    font-size: 18px;
    font-weight: 800;
}

.screen-status {
    font-size: 10px;
    color: #24a148;

    font-weight: 700;
}

.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    padding: 20px 0;
}

.product {
    padding: 15px;

    border: 1px solid var(--border);
    border-radius: 12px;

    display: grid;
    gap: 5px;
}

.product-image {
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--blue-light);

    border-radius: 10px;

    font-size: 25px;
}

.product span {
    font-size: 12px;
}

.product strong {
    font-size: 14px;
}

.screen-total {
    border-top: 1px solid var(--border);

    padding-top: 18px;

    display: flex;
    justify-content: space-between;

    align-items: center;
}

.screen-total span {
    display: block;

    font-size: 11px;
    color: var(--muted);
}

.screen-total strong {
    font-size: 25px;
}

.screen-total button {
    border: 0;

    background: var(--blue);
    color: white;

    padding: 14px 20px;

    border-radius: 10px;

    font-weight: 700;
}


/* SECTIONS */

.section {
    padding: 110px 0;
}

.section-label {
    display: block;

    color: var(--blue);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 16px;
}

.section-heading {
    max-width: 720px;

    margin-bottom: 55px;
}

.section h2 {
    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.1;

    letter-spacing: -2px;

    color: var(--navy);

    margin-bottom: 20px;
}

.section h2 span {
    color: var(--blue);
}

.section-heading p {
    color: var(--muted);
    font-size: 17px;
}


/* INTRO */

.intro {
    text-align: center;
}

.intro p {
    color: var(--muted);

    font-size: 17px;

    margin-top: 20px;
}


/* LIGHT */

.light {
    background: var(--light);
}


/* FEATURES */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.feature-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 30px;

    transition: .3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.feature-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--blue-light);

    border-radius: 14px;

    font-size: 24px;

    margin-bottom: 22px;
}

.feature-card h3 {
    color: var(--navy);

    font-size: 19px;

    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted);

    font-size: 14px;

    margin-bottom: 18px;
}

.feature-card ul {
    list-style: none;

    display: grid;
    gap: 7px;
}

.feature-card li {
    font-size: 13px;
}

.feature-card li::before {
    content: "✓";

    color: var(--blue);

    font-weight: 800;

    margin-right: 8px;
}


/* INTEGRATION */

.integration {
    background: white;
}

.integration-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 90px;
}

.integration-content p {
    color: var(--muted);

    margin-bottom: 18px;

    font-size: 16px;
}

.check-list {
    display: grid;

    gap: 12px;

    margin-top: 28px;
}

.check-list div {
    display: flex;

    align-items: center;

    gap: 12px;

    font-weight: 600;

    font-size: 14px;
}

.check-list span {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--blue-light);
    color: var(--blue);
}


/* ERP VISUAL */

.erp-box {
    padding: 35px;

    background:
        linear-gradient(
            145deg,
            #f8fbff,
            #eef6fd
        );

    border: 1px solid var(--border);

    border-radius: 22px;

    box-shadow: var(--shadow);
}

.erp-header {
    text-align: center;

    font-size: 12px;
    font-weight: 800;

    color: var(--blue);

    letter-spacing: 1px;

    margin-bottom: 35px;
}

.erp-connections {
    display: flex;

    align-items: center;

    justify-content: center;
}

.erp-node {
    width: 120px;

    padding: 22px 10px;

    text-align: center;

    background: white;

    border: 1px solid var(--border);

    border-radius: 14px;

    box-shadow: 0 8px 25px rgba(16,38,61,.07);
}

.erp-node.main {
    background: var(--blue);

    color: white;

    transform: scale(1.12);
}

.erp-node strong {
    display: block;

    font-size: 15px;
}

.erp-node span {
    display: block;

    font-size: 11px;

    color: var(--muted);
}

.erp-node.main span {
    color: rgba(255,255,255,.8);
}

.connection-line {
    width: 45px;
    height: 2px;

    background: var(--blue);
}


/* STORES */

.stores-diagram {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 25px;

    flex-wrap: wrap;

    margin-bottom: 40px;
}

.store-card,
.central-card {
    min-width: 150px;

    padding: 25px 20px;

    text-align: center;

    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    box-shadow: 0 10px 30px rgba(16,38,61,.06);
}

.store-card span {
    display: block;

    color: var(--blue);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

.store-card strong {
    display: block;

    font-size: 24px;

    color: var(--navy);

    margin: 5px 0;
}

.store-card small {
    color: var(--muted);

    font-size: 11px;
}

.central-card {
    background: var(--blue);

    color: white;

    min-width: 180px;
}

.central-icon {
    font-size: 30px;

    margin-bottom: 8px;
}

.central-card strong {
    display: block;

    font-size: 18px;
}

.central-card span {
    font-size: 10px;

    letter-spacing: 1px;
}

.stores-text {
    text-align: center;

    max-width: 650px;

    margin: auto;

    color: var(--muted);

    font-size: 17px;
}


/* SECOND SCREEN */

.second-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 90px;

    align-items: center;
}

.customer-screen {
    background: var(--navy);

    color: white;

    border-radius: 20px;

    padding: 35px;

    box-shadow: var(--shadow);

    min-height: 330px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}

.customer-header {
    font-size: 18px;
    font-weight: 700;
}

.customer-offer {
    padding: 25px;

    background: rgba(255,255,255,.08);

    border-radius: 15px;
}

.customer-offer span {
    display: block;

    color: #7fc6ff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.customer-offer strong {
    font-size: 22px;
}

.customer-price {
    color: white;

    font-size: 36px;

    font-weight: 800;
}

.mini-features {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;

    margin-top: 30px;
}

.mini-features div {
    font-size: 14px;
}

.mini-features strong {
    color: var(--blue);

    margin-right: 7px;
}


/* CTA */

.cta {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255,255,255,.15),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #075da3,
            #0879d1
        );

    color: white;

    text-align: center;
}

.cta-inner {
    max-width: 750px;
}

.cta .section-label {
    color: rgba(255,255,255,.75);
}

.cta h2 {
    color: white;

    margin-bottom: 15px;
}

.cta p {
    color: rgba(255,255,255,.85);

    font-size: 17px;

    margin-bottom: 30px;
}

.cta-buttons {
    justify-content: center;
}

.btn-white {
    background: white;

    color: var(--blue-dark);
}

.btn-outline-white {
    color: white;

    border: 1px solid rgba(255,255,255,.4);
}


/* FOOTER */

.footer {
    background: #0c1d2d;

    color: white;
}

.footer-grid {
    padding: 70px 0;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 60px;
}

.footer-logo {
    font-size: 22px;

    font-weight: 800;

    margin-bottom: 15px;
}

.footer-logo span {
    color: #4da7ef;
}

.footer p {
    color: #91a3b5;

    max-width: 350px;

    font-size: 14px;
}

.footer h4 {
    font-size: 14px;

    margin-bottom: 18px;
}

.footer a {
    display: block;

    color: #91a3b5;

    font-size: 13px;

    margin-bottom: 10px;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);

    padding: 20px 0;

    color: #718396;

    font-size: 12px;
}


/* ANIMATIONS */

.animate {
    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.animate.visible {
    opacity: 1;

    transform: translateY(0);
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .hero-grid,
    .integration-grid,
    .second-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card {
        max-width: 600px;

        margin: auto;
    }

    .feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .integration-content {
        text-align: center;
    }

    .check-list {
        max-width: 350px;

        margin-left: auto;
        margin-right: auto;

        text-align: left;
    }

    .second-content {
        text-align: center;
    }

    .mini-features {
        text-align: left;
    }
}


@media (max-width: 700px) {

    .container {
        width: min(
            var(--container),
            calc(100% - 30px)
        );
    }

    .nav {
        height: 68px;
    }

    .menu {
        display: none;

        position: absolute;

        top: 68px;
        left: 0;

        width: 100%;

        padding: 20px;

        background: white;

        flex-direction: column;

        gap: 18px;

        box-shadow: 0 15px 30px rgba(16,38,61,.08);
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 125px 0 70px;
    }

    .hero h1 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .hero-lead {
        font-size: 19px;
    }

    .tpv-screen {
        padding: 15px;
    }

    .section {
        padding: 75px 0;
    }

    .section h2 {
        font-size: 36px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .erp-connections {
        flex-direction: column;

        gap: 10px;
    }

    .connection-line {
        width: 2px;
        height: 30px;
    }

    .stores-diagram {
        flex-direction: column;
    }

    .second-grid {
        gap: 40px;
    }

    .mini-features {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 50px 0;
    }
}