/* ==================================================
   KRONO ERP
================================================== */

.nav-active {
    color: var(--blue) !important;
    font-weight: 650 !important;
}


/* ==================================================
   HERO
================================================== */

.erp-hero {
    position: relative;
    overflow: hidden;

    padding: 150px 0 95px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbff 52%,
            #f7f9fc 100%
        );
}


.erp-hero-decoration {
    position: absolute;

    width: 800px;
    height: 800px;

    right: -330px;
    top: -310px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(34,108,220,.12),
            transparent 68%
        );
}


.erp-hero-container {
    position: relative;
    z-index: 2;

    width: calc(100% - 48px);
    max-width: var(--container);

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0,.9fr)
        minmax(550px,1.1fr);

    align-items: center;

    gap: 65px;
}


.product-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 23px;

    color: #59687c;

    font-size: .73rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .08em;
}


.product-eyebrow-icon {
    width: 37px;
    height: 37px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: #edf4ff;

    color: var(--blue);

    font-size: .52rem;
    font-weight: 800;
}


.erp-hero h1 {
    max-width: 700px;

    font-family: var(--font-heading);

    font-size: clamp(3rem,5vw,5rem);

    line-height: 1.04;

    letter-spacing: -.055em;

    color: var(--navy);
}


.erp-hero h1 span {
    display: block;

    color: var(--blue);
}


.erp-hero-description {
    max-width: 620px;

    margin-top: 27px;

    color: var(--text-soft);

    font-size: 1.04rem;

    line-height: 1.8;
}


.erp-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}


.erp-price-preview {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 33px;
}


.erp-price-preview strong {
    color: var(--navy);

    font-size: .78rem;
}


.erp-price-preview span {
    width: 1px;
    height: 18px;

    background: #d7dde6;
}


.erp-price-preview small {
    color: #8a95a5;

    font-size: .66rem;
}


/* ==================================================
   ERP MOCKUP
================================================== */

.erp-hero-system {
    min-height: 500px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}


.erp-system-shadow {
    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(50,119,221,.13),
            transparent 70%
        );

    filter: blur(18px);
}


.erp-system-window {
    width: 100%;
    max-width: 650px;

    position: relative;
    z-index: 2;

    overflow: hidden;

    border-radius: 15px;

    border: 1px solid #dfe5ed;

    background: white;

    box-shadow:
        0 38px 95px rgba(17,38,70,.16);

    transform:
        perspective(1300px)
        rotateY(-2deg)
        rotateX(1deg);
}


.erp-browser {
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 14px;

    background: #fafbfc;

    border-bottom: 1px solid #edf0f4;

    color: #8993a4;

    font-size: .55rem;
}


.erp-browser-dots {
    display: flex;
    gap: 5px;
}


.erp-browser-dots span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #d6dce5;
}


/* SYSTEM HEADER */

.erp-system-header {
    height: 61px;

    display: flex;
    align-items: center;

    padding: 0 15px;

    background: white;

    border-bottom: 1px solid #e9edf2;
}


.erp-system-brand {
    display: flex;
    align-items: center;

    gap: 8px;

    padding-right: 14px;

    border-right: 1px solid #edf0f4;
}


.erp-k {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 6px;

    background: var(--blue);

    color: white;

    font-size: .59rem;
    font-weight: 800;
}


.erp-system-brand > div:last-child {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
}


.erp-system-brand strong {
    color: #253248;

    font-size: .62rem;
}


.erp-system-brand small {
    margin-top: 3px;

    color: #99a3b1;

    font-size: .39rem;
}


.erp-system-menu {
    flex: 1;

    display: flex;
    align-items: center;

    gap: 14px;

    margin-left: 14px;
}


.erp-system-menu span {
    position: relative;

    color: #7d8999;

    font-size: .42rem;

    white-space: nowrap;
}


.erp-system-menu span.active {
    color: var(--blue);

    font-weight: 700;
}


.erp-system-menu span.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -21px;

    height: 2px;

    background: var(--blue);
}


.erp-avatar {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #edf3fb;

    color: var(--blue);

    font-size: .42rem;
    font-weight: 800;
}


/* DASHBOARD */

.erp-system-body {
    padding: 22px;

    background: #f8fafc;
}


.erp-dashboard-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.erp-dashboard-title > div:first-child {
    display: flex;
    flex-direction: column;
}


.erp-dashboard-title span {
    color: #9ba4b3;

    font-size: .46rem;

    text-transform: uppercase;
}


.erp-dashboard-title strong {
    margin-top: 3px;

    color: #263348;

    font-size: .72rem;
}


.system-online {
    display: flex;
    align-items: center;

    gap: 5px;

    padding: 5px 8px;

    border-radius: 20px;

    background: #e9f7f2;

    color: #18835e;

    font-size: .41rem;
    font-weight: 700;
}


.system-online span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #1ba36f;
}


.erp-kpis {
    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 7px;

    margin-top: 18px;
}


.erp-kpi {
    padding: 11px;

    border-radius: 7px;

    background: white;

    border: 1px solid #edf0f4;
}


.kpi-label {
    color: #9aa4b3;

    font-size: .4rem;
}


.erp-kpi strong {
    display: block;

    margin-top: 3px;

    color: #263348;

    font-size: .72rem;
}


.erp-kpi > span {
    display: block;

    margin-top: 7px;

    color: #9aa4b3;

    font-size: .36rem;
}


.erp-dashboard-lower {
    display: grid;

    grid-template-columns: 1.5fr .72fr;

    gap: 7px;

    margin-top: 7px;
}


.erp-chart-card,
.erp-activity {
    min-height: 150px;

    padding: 12px;

    border-radius: 7px;

    background: white;

    border: 1px solid #edf0f4;
}


.erp-card-heading {
    display: flex;
    justify-content: space-between;
}


.erp-card-heading > div {
    display: flex;
    flex-direction: column;
}


.erp-card-heading span {
    color: #9ca5b3;

    font-size: .38rem;
}


.erp-card-heading strong {
    margin-top: 2px;

    color: #475469;

    font-size: .52rem;
}


.erp-chart {
    height: 85px;

    margin-top: 13px;

    display: flex;
    align-items: end;

    gap: 6px;

    border-bottom: 1px solid #edf0f4;
}


.erp-chart span {
    flex: 1;

    border-radius: 2px 2px 0 0;

    background:
        linear-gradient(
            180deg,
            #3d81e2,
            #a7c8f4
        );
}


.erp-activity-item {
    display: flex;

    gap: 7px;

    padding: 8px 0;

    border-top: 1px solid #f1f3f6;
}


.erp-activity-item > span {
    width: 5px;
    height: 5px;

    min-width: 5px;

    margin-top: 4px;

    border-radius: 50%;

    background: var(--blue);
}


.erp-activity-item > div {
    display: flex;
    flex-direction: column;
}


.erp-activity-item strong {
    color: #526074;

    font-size: .41rem;
}


.erp-activity-item small {
    margin-top: 2px;

    color: #a1a9b5;

    font-size: .34rem;
}


/* FLOATS */

.erp-floating-module {
    position: absolute;

    z-index: 5;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 10px 13px;

    border-radius: 9px;

    background: rgba(255,255,255,.98);

    border: 1px solid #e5e9ef;

    box-shadow:
        0 14px 35px rgba(25,45,75,.12);

    animation: erpFloat 5s ease-in-out infinite;
}


.erp-floating-module > span {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border-radius: 6px;

    background: #edf4ff;

    color: var(--blue);

    font-size: .42rem;
    font-weight: 800;
}


.erp-floating-module > div {
    display: flex;
    flex-direction: column;
}


.erp-floating-module strong {
    color: #324055;

    font-size: .62rem;
}


.erp-floating-module small {
    color: #98a2b1;

    font-size: .46rem;
}


.erp-float-one {
    top: 31px;
    right: -25px;
}


.erp-float-two {
    left: -32px;
    bottom: 40px;

    animation-delay: -2s;
}


@keyframes erpFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


/* ==================================================
   CAPABILITIES
================================================== */

.erp-capabilities {
    padding: 105px 0;

    background: white;
}


.capabilities-heading {
    max-width: 720px;
}


.capabilities-heading h2 {
    margin-top: 12px;

    font-family: var(--font-heading);

    font-size: clamp(2.2rem,3.5vw,3.5rem);

    line-height: 1.14;

    letter-spacing: -.045em;

    color: var(--navy);
}


.capabilities-grid {
    margin-top: 50px;

    display: grid;

    grid-template-columns: repeat(4,1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}


.capability-card {
    min-height: 260px;

    padding: 26px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.capability-number {
    color: #a0a8b5;

    font-size: .62rem;
    font-weight: 700;
}


.capability-card h3 {
    margin-top: 30px;

    font-family: var(--font-heading);

    color: var(--navy);

    font-size: 1.15rem;
}


.capability-card p {
    margin-top: 9px;

    color: var(--text-soft);

    font-size: .78rem;

    line-height: 1.7;
}


.capability-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 18px;
}


.capability-tags span {
    padding: 5px 7px;

    border-radius: 4px;

    background: #f3f6fa;

    color: #6a7789;

    font-size: .55rem;
}


/* ==================================================
   AUTOMATION
================================================== */

.erp-automation {
    padding: 105px 0;

    background: #0c1729;

    color: white;
}


.automation-heading {
    max-width: 760px;
}


.automation-heading h2 {
    margin-top: 12px;

    font-family: var(--font-heading);

    font-size: clamp(2.3rem,4vw,3.8rem);

    line-height: 1.12;

    letter-spacing: -.05em;
}


.automation-heading h2 span {
    display: block;

    color: #80b1f8;
}


.automation-flow {
    margin-top: 55px;

    display: grid;

    grid-template-columns:
        1fr
        100px
        .72fr
        1.3fr;

    gap: 22px;

    align-items: center;
}


.automation-node,
.automation-output {
    display: flex;
    align-items: center;

    gap: 12px;

    border: 1px solid rgba(255,255,255,.1);

    background: rgba(255,255,255,.035);

    border-radius: 10px;

    padding: 16px;
}


.automation-code,
.automation-output > span {
    width: 38px;
    height: 38px;

    min-width: 38px;

    display: grid;
    place-items: center;

    border-radius: 7px;

    background: rgba(74,137,229,.10);

    color: #83b3f7;

    font-size: .52rem;
    font-weight: 800;
}


.automation-node > div,
.automation-output > div {
    display: flex;
    flex-direction: column;
}


.automation-node strong,
.automation-output strong {
    color: white;

    font-size: .71rem;
}


.automation-node small,
.automation-output small {
    margin-top: 3px;

    color: #74859c;

    font-size: .55rem;
}


.automation-connector {
    display: flex;
    align-items: center;
}


.automation-connector span {
    flex: 1;

    height: 1px;

    background: #45648e;
}


.automation-connector div {
    margin-left: 8px;

    color: #6388b9;
}


.automation-core {
    min-height: 145px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    border-radius: 12px;

    background: #122a4a;

    border: 1px solid #2a4d7d;
}


.automation-core-logo {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: var(--blue);

    color: white;

    font-weight: 800;
}


.automation-core strong {
    margin-top: 9px;

    font-size: .75rem;
}


.automation-core > span {
    color: #7990ac;

    font-size: .52rem;

    margin-top: 3px;
}


.automation-outputs {
    display: grid;

    gap: 7px;
}


/* ==================================================
   PRICING
================================================== */

.erp-pricing {
    padding: 110px 0;

    background: #f7f9fc;
}


.pricing-title {
    max-width: 720px;

    margin: auto;

    text-align: center;
}


.pricing-title h2 {
    margin-top: 12px;

    color: var(--navy);

    font-family: var(--font-heading);

    font-size: clamp(2.3rem,3.7vw,3.7rem);

    line-height: 1.13;

    letter-spacing: -.045em;
}


.pricing-title p {
    max-width: 600px;

    margin: 17px auto 0;

    color: var(--text-soft);

    font-size: .88rem;
}


.erp-billing-toggle {
    width: max-content;

    max-width: 100%;

    display: flex;

    margin: 38px auto 45px;

    padding: 5px;

    border-radius: 9px;

    border: 1px solid #e1e6ed;

    background: #edf1f6;
}


.erp-toggle {
    min-height: 43px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 0 17px;

    border: 0;

    border-radius: 6px;

    color: #687587;

    background: transparent;

    cursor: pointer;

    font-size: .75rem;
    font-weight: 600;
}


.erp-toggle small {
    padding: 3px 6px;

    border-radius: 4px;

    color: #6285b2;

    background: #e0eaff;

    font-size: .5rem;
}


.erp-toggle.active {
    background: white;

    color: var(--blue);

    box-shadow:
        0 3px 12px rgba(25,45,70,.08);
}


.erp-pricing-grid {
    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 18px;
}


.erp-price-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 29px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 12px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.erp-price-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 25px 60px rgba(22,42,72,.09);
}


.erp-price-card.featured {
    border-color: #8eb7ee;

    box-shadow:
        0 20px 55px rgba(7,87,201,.10);
}


.featured-label {
    position: absolute;

    top: -13px;
    left: 50%;

    transform: translateX(-50%);

    padding: 5px 12px;

    border-radius: 20px;

    background: var(--blue);

    color: white;

    font-size: .57rem;
    font-weight: 700;

    white-space: nowrap;
}


.plan-level {
    color: #9aa4b2;

    font-size: .57rem;

    letter-spacing: .11em;

    font-weight: 700;
}


.price-card-header h3 {
    margin-top: 7px;

    font-family: var(--font-heading);

    font-size: 1.65rem;

    color: var(--navy);
}


.price-card-header p {
    min-height: 68px;

    margin-top: 8px;

    color: var(--text-soft);

    font-size: .76rem;
}


.erp-price {
    display: flex;
    align-items: baseline;

    margin: 24px 0;

    color: var(--navy);
}


.erp-currency {
    align-self: flex-start;

    margin-top: 8px;

    color: #6c7889;

    font-size: 1rem;
}


.erp-price-amount {
    margin-left: 4px;

    font-family: var(--font-heading);

    font-size: 2.8rem;

    letter-spacing: -.05em;

    transition: opacity .15s ease;
}


.erp-price-period {
    margin-left: 6px;

    color: #929baa;

    font-size: .69rem;
}


.erp-plan-features {
    flex: 1;

    list-style: none;

    border-top: 1px solid var(--border);
}


.erp-plan-features li {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 11px 0;

    border-bottom: 1px solid var(--border);

    font-size: .72rem;
}


.erp-plan-features li span {
    color: #748093;
}


.erp-plan-features li strong {
    color: #354257;

    text-align: right;
}


.erp-plan-button {
    min-height: 46px;

    margin-top: 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 16px;

    border-radius: 7px;

    border: 1px solid #d9dfe8;

    color: #455267;

    font-size: .75rem;
    font-weight: 650;
}


.erp-plan-button:hover {
    border-color: var(--blue);

    color: var(--blue);
}


.erp-plan-button.primary {
    border-color: var(--blue);

    background: var(--blue);

    color: white;
}


.erp-pricing-note {
    margin-top: 27px;

    padding: 23px 26px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border-radius: 10px;

    background: white;

    border: 1px solid var(--border);
}


.erp-pricing-note > div {
    display: flex;
    flex-direction: column;
}


.erp-pricing-note strong {
    color: var(--navy);

    font-size: .82rem;
}


.erp-pricing-note > div span {
    margin-top: 4px;

    color: var(--text-soft);

    font-size: .7rem;
}


.erp-pricing-note > a {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--blue);

    font-size: .72rem;
    font-weight: 650;

    white-space: nowrap;
}


.permanent-note {
    display: none;

    margin-top: 15px;

    text-align: center;

    color: #8b95a3;

    font-size: .65rem;
}


.permanent-note.visible {
    display: block;
}


/* ==================================================
   MORE MODULES
================================================== */

.erp-more {
    padding: 105px 0;

    background: white;
}


.erp-more-grid {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 100px;
}


.erp-more-title {
    position: sticky;

    top: 120px;

    align-self: start;
}


.erp-more-title h2 {
    margin-top: 12px;

    font-family: var(--font-heading);

    font-size: clamp(2rem,3.2vw,3.2rem);

    line-height: 1.15;

    letter-spacing: -.045em;

    color: var(--navy);
}


.erp-more-title p {
    margin-top: 18px;

    color: var(--text-soft);

    font-size: .85rem;
}


.erp-module-list {
    border-top: 1px solid var(--border);
}


.erp-module-list > div {
    min-height: 57px;

    display: grid;

    grid-template-columns: 55px 1fr;

    align-items: center;

    border-bottom: 1px solid var(--border);
}


.erp-module-list span {
    color: #a1aab7;

    font-size: .62rem;
    font-weight: 700;
}


.erp-module-list strong {
    color: #39475a;

    font-size: .82rem;
    font-weight: 550;
}


/* ==================================================
   CTA
================================================== */

.erp-final-cta {
    padding: 0 0 110px;

    background: white;
}


.erp-final-box {
    padding: 58px;

    display: grid;

    grid-template-columns: 1.35fr .65fr;

    gap: 60px;

    align-items: center;

    border-radius: 14px;

    background: var(--blue);

    color: white;
}


.erp-final-box h2 {
    margin-top: 13px;

    font-family: var(--font-heading);

    font-size: clamp(2rem,3vw,3.1rem);

    line-height: 1.13;

    letter-spacing: -.045em;
}


.erp-final-box h2 span {
    display: block;

    color: #bed8ff;
}


.erp-final-actions {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 13px;
}


.erp-final-actions > a:last-child {
    color: #c3d9fa;

    font-size: .7rem;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media(max-width:1100px) {

    .erp-hero-container {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .erp-hero-content {
        text-align: center;
    }

    .product-eyebrow,
    .erp-hero-actions,
    .erp-price-preview {
        justify-content: center;
    }

    .erp-hero h1,
    .erp-hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .erp-hero-system {
        width: 85%;

        margin: auto;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .automation-flow {
        grid-template-columns: 1fr;
    }

    .automation-connector {
        width: 30px;

        margin: auto;

        transform: rotate(90deg);
    }

    .erp-more-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .erp-more-title {
        position: static;
    }

    .erp-final-box {
        grid-template-columns: 1fr;
    }

}


@media(max-width:768px) {

    .erp-hero {
        padding: 120px 0 75px;
    }

    .erp-hero-container {
        width: calc(100% - 32px);
    }

    .erp-hero-system {
        width: 100%;
    }

    .erp-system-window {
        transform: none;
    }

    .erp-floating-module {
        display: none;
    }

    .erp-system-menu span:nth-child(4),
    .erp-system-menu span:nth-child(5) {
        display: none;
    }

    .erp-dashboard-lower {
        grid-template-columns: 1fr;
    }

    .erp-activity {
        display: none;
    }

    .erp-capabilities,
    .erp-automation,
    .erp-pricing,
    .erp-more {
        padding: 80px 0;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .erp-pricing-grid {
        grid-template-columns: 1fr;
    }

    .erp-billing-toggle {
        width: 100%;
    }

    .erp-toggle {
        flex: 1;

        justify-content: center;

        padding: 0 8px;
    }

    .erp-toggle small {
        display: none;
    }

    .erp-pricing-note {
        flex-direction: column;

        align-items: flex-start;
    }

    .erp-final-box {
        padding: 38px 27px;
    }

}


@media(max-width:520px) {

    .erp-hero h1 {
        font-size: 2.55rem;
    }

    .erp-hero-actions {
        flex-direction: column;
    }

    .erp-hero-actions a {
        width: 100%;
    }

    .erp-price-preview {
        flex-direction: column;

        gap: 4px;
    }

    .erp-price-preview span {
        display: none;
    }

    .erp-system-brand small {
        display: none;
    }

    .erp-system-menu {
        gap: 7px;

        margin-left: 8px;
    }

    .erp-system-menu span {
        font-size: .37rem;
    }

    .erp-system-menu span:nth-child(3) {
        display: none;
    }

    .erp-system-body {
        padding: 13px;
    }

    .erp-kpis {
        grid-template-columns: repeat(2,1fr);
    }

    .erp-kpi:nth-child(3),
    .erp-kpi:nth-child(4) {
        display: none;
    }

    .capability-card {
        min-height: auto;
    }

    .erp-toggle {
        font-size: .63rem;
    }

}