: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;
}


* {
    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);
}


.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;
}


.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);
}


/* B2B MOCKUP */

.hero-card {
    display: flex;

    justify-content: center;
}


.b2b-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-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-bottom: 18px;

    border-bottom:
        1px solid var(--border);
}


.screen-header small {
    display: block;

    color: var(--muted);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;
}


.screen-header strong {
    display: block;

    color: var(--navy);

    font-size: 16px;
}


.user-icon {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--blue-light);

    border-radius: 50%;
}


.screen-search {
    margin: 18px 0;

    padding: 12px 15px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    color: var(--muted);

    font-size: 12px;
}


.screen-products {
    display: grid;

    gap: 10px;
}


.screen-product {
    display: grid;

    grid-template-columns:
        45px 1fr auto;

    gap: 12px;

    align-items: center;

    padding: 11px;

    border:
        1px solid var(--border);

    border-radius: 10px;
}


.product-image {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--blue-light);

    border-radius: 8px;
}


.screen-product strong {
    display: block;

    font-size: 12px;
}


.screen-product small {
    display: block;

    color: #28a05b;

    font-size: 9px;
}


.screen-product b {
    font-size: 12px;
}


.screen-cart {
    margin-top: 18px;

    padding-top: 18px;

    border-top:
        1px solid var(--border);

    display: grid;

    grid-template-columns:
        1fr auto;

    gap: 5px;
}


.screen-cart span {
    color: var(--muted);

    font-size: 11px;
}


.screen-cart strong {
    font-size: 20px;
}


.screen-cart button {
    grid-column:
        1 / -1;

    margin-top: 8px;

    padding: 12px;

    border: 0;

    border-radius: 9px;

    background: var(--blue);

    color: white;

    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;
}


/* CLIENTS */

.clients {
    background: white;
}


.clients-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 90px;
}


.clients-content p {
    color: var(--muted);

    font-size: 16px;

    margin-bottom: 20px;
}


.check-list {
    display: grid;

    gap: 12px;

    margin-top: 28px;
}


.check-list div {
    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 14px;

    font-weight: 600;
}


.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);
}


/* CUSTOMER CARD */

.customer-card {
    background:
        linear-gradient(
            145deg,
            #f8fbff,
            #eef6fd
        );

    border:
        1px solid var(--border);

    border-radius: 22px;

    padding: 30px;

    box-shadow: var(--shadow);
}


.customer-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom:
        1px solid var(--border);
}


.customer-header small {
    display: block;

    color: var(--muted);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;
}


.customer-header strong {
    color: var(--navy);

    font-size: 16px;
}


.online {
    color: #25a85a;

    font-size: 18px;
}


.customer-info {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;

    padding: 22px 0;
}


.customer-info div {
    padding: 15px;

    background: white;

    border:
        1px solid var(--border);

    border-radius: 12px;
}


.customer-info small {
    display: block;

    color: var(--muted);

    font-size: 9px;

    letter-spacing: 1px;
}


.customer-info strong {
    display: block;

    color: var(--blue);

    font-size: 15px;

    margin-top: 4px;
}


.customer-orders {
    padding: 18px;

    background: white;

    border:
        1px solid var(--border);

    border-radius: 12px;
}


.customer-orders span {
    display: block;

    color: var(--muted);

    font-size: 10px;
}


.customer-orders strong {
    display: block;

    color: var(--navy);

    font-size: 15px;

    margin-top: 3px;
}


.customer-orders small {
    color: var(--muted);

    font-size: 11px;
}


.customer-button {
    width: 100%;

    margin-top: 18px;

    padding: 14px;

    border: 0;

    border-radius: 10px;

    background: var(--blue);

    color: white;

    font-weight: 700;
}


/* INTEGRATION */

.integration {
    background: white;
}


.integration-diagram {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 25px;

    margin-top: 50px;
}


.system-card {
    width: 220px;

    padding: 28px 20px;

    text-align: center;

    background: white;

    border:
        1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 10px 35px rgba(16,38,61,.07);
}


.system-card.central {
    background: var(--blue);

    color: white;

    transform: scale(1.08);
}


.system-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    background: var(--blue-light);

    border-radius: 14px;

    font-size: 22px;
}


.central .system-icon {
    background:
        rgba(255,255,255,.15);
}


.system-card strong {
    display: block;

    font-size: 14px;
}


.system-card span {
    display: block;

    color: var(--muted);

    font-size: 11px;

    margin-top: 5px;
}


.central span {
    color:
        rgba(255,255,255,.75);
}


.integration-arrow {
    text-align: center;

    color: var(--blue);
}


.integration-arrow span {
    display: block;

    font-size: 30px;
}


.integration-arrow small {
    font-size: 9px;

    color: var(--muted);
}


.integration-features {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    margin-top: 45px;
}


.integration-features div {
    padding: 16px;

    text-align: center;

    background: var(--light);

    border-radius: 10px;

    font-size: 13px;
}


.integration-features strong {
    color: var(--blue);

    margin-right: 5px;
}


/* AUTOMATION */

.automation-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 90px;
}


.workflow {
    background: white;

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius: 20px;

    box-shadow: var(--shadow);
}


.workflow-title {
    color: var(--blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 25px;
}


.workflow-step {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 14px;

    border-radius: 12px;
}


.workflow-step.active {
    background: var(--blue-light);
}


.workflow-step > span {
    width: 35px;
    height: 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--blue);

    color: white;

    font-size: 10px;

    font-weight: 800;
}


.workflow-step strong {
    display: block;

    color: var(--navy);

    font-size: 13px;
}


.workflow-step small {
    color: var(--muted);

    font-size: 10px;
}


.workflow-line {
    width: 2px;

    height: 22px;

    margin-left: 31px;

    background: var(--border);
}


.automation-content p {
    color: var(--muted);

    font-size: 16px;

    margin-bottom: 20px;
}


/* RESPONSIVE */

.responsive-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 90px;
}


.device-list {
    display: grid;

    gap: 12px;

    margin-top: 25px;
}


.device-list div {
    font-size: 14px;

    font-weight: 600;
}


.device-list strong {
    color: var(--blue);

    margin-right: 8px;
}


/* DEVICES */

.devices {
    position: relative;

    min-height: 350px;
}


.device {
    position: absolute;

    background: #172b3d;

    padding: 8px;

    border-radius: 12px;

    box-shadow: var(--shadow);
}


.device-screen {
    background: white;

    height: 100%;

    border-radius: 7px;

    padding: 10px;
}


.desktop {
    width: 330px;
    height: 210px;

    top: 30px;
    left: 20px;
}


.tablet {
    width: 150px;
    height: 210px;

    right: 70px;
    top: 100px;
}


.mobile {
    width: 75px;
    height: 150px;

    right: 0;
    bottom: 0;
}


.device-top {
    height: 8px;

    background: var(--blue-light);

    border-radius: 4px;

    margin-bottom: 12px;
}


.device-content {
    display: grid;

    gap: 8px;
}


.device-content div {
    height: 35px;

    background: var(--blue-light);

    border-radius: 6px;
}


/* 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,
    .clients-grid,
    .automation-grid,
    .responsive-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);
    }


    .clients-content,
    .automation-content,
    .responsive-content {
        text-align: center;
    }


    .check-list {
        max-width: 350px;

        margin-left: auto;
        margin-right: auto;

        text-align: left;
    }


    .integration-diagram {
        flex-wrap: wrap;
    }


    .integration-features {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .devices {
        max-width: 500px;

        margin: auto;

        width: 100%;
    }
}


@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;
    }


    .b2b-screen {
        padding: 15px;
    }


    .section {
        padding: 75px 0;
    }


    .section h2 {
        font-size: 36px;
    }


    .feature-grid {
        grid-template-columns: 1fr;
    }


    .integration-diagram {
        flex-direction: column;
    }


    .integration-arrow span {
        transform: rotate(90deg);
    }


    .integration-features {
        grid-template-columns: 1fr;
    }


    .customer-info {
        grid-template-columns: 1fr;
    }


    .desktop {
        width: 260px;
        height: 165px;

        left: 0;
    }


    .tablet {
        width: 115px;
        height: 165px;

        right: 40px;
        top: 80px;
    }


    .mobile {
        width: 65px;
        height: 130px;

        right: 0;
    }


    .devices {
        min-height: 300px;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 50px 0;
    }

}