/* =========================================
   BASIC SETTINGS
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: Arial, Helvetica, sans-serif;

    background-color: #f7fafc;

    color: #263746;

    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;

    max-width: 1180px;

    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    background-color: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid #e7edf2;

    position: sticky;

    top: 0;

    z-index: 1000;

    backdrop-filter: blur(10px);
}

.header-container {
    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================
   LOGO
========================================= */

.logo-link {
    display: flex;

    align-items: center;

    flex-shrink: 0;

    line-height: 0;
}

.site-logo {
    width: 190px;

    height: 62px;

    object-fit: contain;

    display: block;
}


/* =========================================
   NAVIGATION
========================================= */

.main-navigation {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 28px;
}

.main-navigation a {
    color: #34495e;

    font-size: 14px;

    font-weight: 600;

    transition:
        color 0.2s ease;
}

.main-navigation a:hover {
    color: #1677c8;
}


/* =========================================
   GET STARTED NAV BUTTON
========================================= */

.nav-button {
    padding: 11px 20px;

    background-color: #1677c8;

    color: #ffffff !important;

    border-radius: 6px;

    box-shadow:
        0 4px 12px rgba(22, 119, 200, 0.16);

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-button:hover {
    background-color: #0f5f9f;

    transform: translateY(-1px);

    box-shadow:
        0 6px 16px rgba(22, 119, 200, 0.20);
}


/* =========================================
   BUTTONS
========================================= */

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 12px 23px;

    border-radius: 6px;

    font-size: 15px;

    font-weight: 700;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.primary-button {
    background-color: #1677c8;

    color: #ffffff;

    box-shadow:
        0 6px 16px rgba(22, 119, 200, 0.18);
}

.primary-button:hover {
    background-color: #0f5f9f;

    transform: translateY(-2px);

    box-shadow:
        0 9px 20px rgba(22, 119, 200, 0.23);
}

.secondary-button {
    background-color: #ffffff;

    color: #1677c8;

    border: 1px solid #b9d7eb;
}

.secondary-button:hover {
    background-color: #eef7fc;

    border-color: #1677c8;

    transform: translateY(-2px);
}


/* =========================================
   HERO
========================================= */

.hero-section {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f5fbff 0%,
            #eaf5fb 52%,
            #f8fbfd 100%
        );

    padding: 85px 0 90px;
}

.hero-section::before {
    content: "";

    position: absolute;

    width: 400px;

    height: 400px;

    top: -200px;

    right: -120px;

    border-radius: 50%;

    background-color: rgba(22, 119, 200, 0.05);
}

.hero-content {
    position: relative;

    display: grid;

    grid-template-columns: 1fr 0.9fr;

    align-items: center;

    gap: 70px;
}


/* =========================================
   HERO TEXT
========================================= */

.hero-text {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;

    margin-bottom: 20px;

    padding: 7px 12px;

    border: 1px solid #c8e0ef;

    border-radius: 30px;

    background-color: rgba(255, 255, 255, 0.65);

    color: #1677c8;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.2px;
}

.hero-text h1 {
    margin: 0 0 22px;

    color: #163a59;

    font-size: 54px;

    line-height: 1.08;

    letter-spacing: -1.5px;
}

.hero-text h1 span {
    display: block;

    color: #1677c8;
}

.hero-text p {
    max-width: 620px;

    margin: 0 0 30px;

    color: #52606d;

    font-size: 18px;

    line-height: 1.7;
}

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 13px;
}

.hero-note {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 22px;

    color: #667784;

    font-size: 13px;
}

.hero-note-dot {
    width: 7px;

    height: 7px;

    border-radius: 50%;

    background-color: #27a66f;
}


/* =========================================
   HERO DASHBOARD VISUAL
========================================= */

.hero-visual {
    display: flex;

    justify-content: flex-end;
}

.hero-dashboard-card {
    width: 100%;

    max-width: 490px;

    padding: 24px;

    background-color: #ffffff;

    border: 1px solid #dce8ef;

    border-radius: 12px;

    box-shadow:
        0 20px 50px rgba(35, 70, 95, 0.12);
}

.mini-dashboard-header {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;

    padding-bottom: 20px;
}

.mini-label {
    display: block;

    margin-bottom: 5px;

    color: #1677c8;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.7px;
}

.mini-dashboard-header h3 {
    margin: 0;

    color: #163a59;

    font-size: 18px;
}

.mini-status {
    padding: 5px 9px;

    border-radius: 20px;

    background-color: #e8f7ef;

    color: #16834b;

    font-size: 10px;

    font-weight: 700;
}


/* =========================================
   MINI SUMMARY
========================================= */

.mini-summary-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-bottom: 20px;
}

.mini-summary-card {
    padding: 14px;

    border: 1px solid #e4ebf0;

    border-radius: 7px;

    background-color: #f8fbfd;
}

.mini-summary-card span,
.mini-summary-card small {
    display: block;
}

.mini-summary-card span {
    margin-bottom: 3px;

    color: #687986;

    font-size: 10px;
}

.mini-summary-card strong {
    display: block;

    margin-bottom: 2px;

    color: #163a59;

    font-size: 24px;

    line-height: 1.2;
}

.mini-summary-card small {
    color: #8a969f;

    font-size: 9px;
}


/* =========================================
   MINI TABLE
========================================= */

.mini-table {
    border: 1px solid #e5ebef;

    border-radius: 7px;

    overflow: hidden;
}

.mini-table-row {
    display: grid;

    grid-template-columns: 1.5fr 0.5fr 0.8fr;

    gap: 10px;

    padding: 11px 13px;

    border-bottom: 1px solid #edf1f4;

    color: #566774;

    font-size: 11px;
}

.mini-table-row:last-child {
    border-bottom: none;
}

.mini-table-heading {
    background-color: #f4f8fa;

    color: #6c7b86;

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;
}

.status-good {
    color: #16834b;

    font-weight: 700;
}

.status-low {
    color: #c47a00;

    font-weight: 700;
}


/* =========================================
   VALUE STRIP
========================================= */

.value-strip {
    background-color: #ffffff;

    border-bottom: 1px solid #e7edf2;
}

.value-strip-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    padding: 25px 0;
}

.value-item {
    display: flex;

    flex-direction: column;

    padding: 0 25px;

    border-right: 1px solid #e7edf2;
}

.value-item:first-child {
    padding-left: 0;
}

.value-item:last-child {
    border-right: none;
}

.value-item strong {
    margin-bottom: 2px;

    color: #163a59;

    font-size: 14px;
}

.value-item span {
    color: #7a8994;

    font-size: 12px;
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.problem-section,
.features-section,
.dashboard-preview-section,
.how-it-works-section,
.cta-section {
    padding: 90px 0;
}


/* =========================================
   PROBLEM SECTION
========================================= */

.problem-section {
    background-color: #ffffff;

    text-align: center;
}

.problem-content {
    max-width: 850px;
}

.section-eyebrow {
    margin-bottom: 12px;

    color: #1677c8;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;
}

.problem-section h2 {
    margin: 0 auto 20px;

    color: #163a59;

    font-size: 38px;

    line-height: 1.2;
}

.problem-section p {
    max-width: 780px;

    margin: 0 auto 15px;

    color: #5d6b76;

    font-size: 16px;
}

.problem-section p:last-child {
    margin-bottom: 0;
}


/* =========================================
   SECTION HEADERS
========================================= */

.section-header {
    max-width: 760px;

    margin: 0 auto 45px;

    text-align: center;
}

.section-header h2 {
    margin: 0 0 15px;

    color: #163a59;

    font-size: 38px;

    line-height: 1.2;
}

.section-intro {
    max-width: 680px;

    margin: 0 auto;

    color: #687782;

    font-size: 16px;
}


/* =========================================
   FEATURES
========================================= */

.features-section {
    background-color: #f7fafc;
}

.features-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.feature-card {
    min-height: 240px;

    padding: 27px 24px;

    background-color: #ffffff;

    border: 1px solid #e1e9ef;

    border-radius: 9px;

    box-shadow:
        0 5px 18px rgba(24, 56, 78, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 25px rgba(24, 56, 78, 0.08);
}

.feature-number {
    margin-bottom: 30px;

    color: #8ca5b5;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.5px;
}

.feature-card h3 {
    margin: 0 0 10px;

    color: #163a59;

    font-size: 19px;
}

.feature-card p {
    margin: 0;

    color: #697984;

    font-size: 14px;
}


/* =========================================
   DASHBOARD PREVIEW
========================================= */

.dashboard-preview-section {
    background-color: #ffffff;
}

.dashboard-summary {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 25px;
}

.summary-card {
    padding: 23px 24px;

    border: 1px solid #dfe8ef;

    border-radius: 8px;

    background-color: #f9fbfc;
}

.summary-label {
    display: block;

    margin-bottom: 5px;

    color: #697984;

    font-size: 13px;

    font-weight: 600;
}

.summary-number {
    display: block;

    margin-bottom: 2px;

    color: #1677c8;

    font-size: 31px;

    line-height: 1.2;
}

.summary-description {
    color: #8a969f;

    font-size: 12px;
}


/* =========================================
   DASHBOARD TABLE
========================================= */

.dashboard-table-container {
    overflow: hidden;

    border: 1px solid #dfe8ef;

    border-radius: 10px;

    background-color: #ffffff;

    box-shadow:
        0 8px 25px rgba(25, 58, 80, 0.05);
}

.dashboard-table-header {
    padding: 22px 24px;

    border-bottom: 1px solid #e6edf1;
}

.table-eyebrow {
    display: block;

    margin-bottom: 4px;

    color: #1677c8;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.8px;
}

.dashboard-table-header h3 {
    margin: 0;

    color: #163a59;

    font-size: 19px;
}

.table-wrapper {
    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}

.inventory-table {
    width: 100%;

    min-width: 650px;

    border-collapse: collapse;

    font-size: 14px;
}

.inventory-table th {
    padding: 13px 16px;

    background-color: #f4f8fa;

    color: #536875;

    text-align: left;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    border-bottom: 1px solid #dfe7ec;
}

.inventory-table td {
    padding: 14px 16px;

    color: #52616d;

    border-bottom: 1px solid #edf1f3;
}

.inventory-table tbody tr:last-child td {
    border-bottom: none;
}

.inventory-table tbody tr:hover td {
    background-color: #f9fbfc;
}

.table-status {
    display: inline-block;

    padding: 4px 8px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;
}

.status-in-stock {
    background-color: #e8f7ef;

    color: #16834b;
}

.status-low-stock {
    background-color: #fff4df;

    color: #b36b00;
}


/* =========================================
   HOW IT WORKS
========================================= */

.how-it-works-section {
    background-color: #f7fafc;
}

.steps-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.step-card {
    position: relative;

    padding: 30px 28px;

    background-color: #ffffff;

    border: 1px solid #e1e9ef;

    border-radius: 9px;

    text-align: center;
}

.step-number {
    width: 46px;

    height: 46px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background-color: #1677c8;

    color: #ffffff;

    font-size: 17px;

    font-weight: 700;
}

.step-card h3 {
    margin: 0 0 10px;

    color: #163a59;

    font-size: 19px;
}

.step-card p {
    max-width: 300px;

    margin: 0 auto;

    color: #6c7b85;

    font-size: 14px;
}


/* =========================================
   CALL TO ACTION
========================================= */

.cta-section {
    background:
        linear-gradient(
            135deg,
            #eaf5fb,
            #f6fbfd
        );

    text-align: center;
}

.cta-content {
    max-width: 720px;
}

.cta-section h2 {
    margin: 0 0 15px;

    color: #163a59;

    font-size: 40px;

    line-height: 1.2;
}

.cta-section p {
    max-width: 600px;

    margin: 0 auto 28px;

    color: #60717d;

    font-size: 16px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background-color: #132f46;

    color: #ffffff;

    padding: 25px 0;
}

.footer-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer-brand img {
    width: 130px;

    height: 42px;

    object-fit: contain;
}

.footer-content p {
    margin: 0;

    color: #b8c7d1;

    font-size: 12px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .site-logo {
        width: 175px;

        height: 58px;
    }

    .main-navigation {
        gap: 18px;
    }

    .hero-content {
        grid-template-columns: 1fr 0.85fr;

        gap: 40px;
    }

    .hero-text h1 {
        font-size: 45px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-strip-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 20px 0;
    }

    .value-item:nth-child(2) {
        border-right: none;
    }

    .value-item:nth-child(3),
    .value-item:nth-child(4) {
        padding-top: 15px;
    }

    .steps-grid {
        gap: 15px;
    }

}


/* =========================================
   SMALL LAPTOP / TABLET
========================================= */

@media (max-width: 800px) {

    .header-container {
        min-height: 76px;
    }

    .site-logo {
        width: 160px;

        height: 56px;
    }

    .main-navigation {
        gap: 13px;
    }

    .main-navigation a {
        font-size: 13px;
    }

    .nav-button {
        padding: 9px 14px;
    }


    .hero-section {
        padding: 65px 0 70px;
    }

    .hero-content {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero-text {
        max-width: 700px;

        text-align: center;

        margin: 0 auto;
    }

    .hero-text p {
        margin-left: auto;

        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-note {
        justify-content: center;
    }

    .hero-visual {
        justify-content: center;
    }

    .hero-dashboard-card {
        max-width: 600px;
    }

    .dashboard-summary {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        max-width: 600px;

        margin: 0 auto;

        width: 100%;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .container {
        width: 92%;
    }


    /* Header */

    .site-header {
        position: relative;
    }

    .header-container {
        min-height: auto;

        padding: 13px 0 15px;

        flex-direction: column;

        gap: 10px;
    }

    .site-logo {
        width: 170px;

        height: 58px;
    }

    .main-navigation {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 6px 14px;
    }

    .main-navigation a {
        padding: 6px 2px;

        font-size: 12px;
    }

    .nav-button {
        padding: 8px 13px !important;
    }


    /* Hero */

    .hero-section {
        padding: 50px 0 55px;
    }

    .hero-badge {
        font-size: 10px;

        padding: 6px 10px;
    }

    .hero-text h1 {
        font-size: 35px;

        letter-spacing: -0.7px;
    }

    .hero-text p {
        font-size: 16px;

        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;

        gap: 10px;
    }

    .hero-buttons .primary-button,
    .hero-buttons .secondary-button {
        width: 100%;

        max-width: 310px;
    }

    .hero-note {
        font-size: 12px;
    }


    /* Hero visual */

    .hero-dashboard-card {
        padding: 18px;
    }

    .mini-dashboard-header h3 {
        font-size: 15px;
    }

    .mini-summary-grid {
        gap: 7px;
    }

    .mini-summary-card {
        padding: 11px 9px;
    }

    .mini-summary-card strong {
        font-size: 20px;
    }

    .mini-table-row {
        grid-template-columns: 1.4fr 0.5fr 0.8fr;

        font-size: 10px;
    }


    /* Value strip */

    .value-strip-grid {
        grid-template-columns: 1fr 1fr;

        padding: 20px 0;
    }

    .value-item {
        padding: 8px 14px;

        border-right: none;
    }

    .value-item:first-child {
        padding-left: 14px;
    }


    /* Sections */

    .problem-section,
    .features-section,
    .dashboard-preview-section,
    .how-it-works-section,
    .cta-section {
        padding: 65px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2,
    .problem-section h2 {
        font-size: 29px;
    }

    .section-intro,
    .problem-section p {
        font-size: 15px;
    }


    /* Features */

    .features-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .feature-card {
        min-height: auto;

        padding: 23px 20px;
    }

    .feature-number {
        margin-bottom: 20px;
    }


    /* Dashboard */

    .dashboard-summary {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .summary-card {
        padding: 20px;
    }

    .dashboard-table-header {
        padding: 18px;
    }

    .inventory-table {
        min-width: 650px;

        font-size: 13px;
    }

    .inventory-table th,
    .inventory-table td {
        padding: 12px;
    }


    /* CTA */

    .cta-section h2 {
        font-size: 30px;
    }

    .cta-section p {
        font-size: 15px;
    }


    /* Footer */

    .footer-content {
        flex-direction: column;

        justify-content: center;

        text-align: center;

        gap: 10px;
    }

}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 400px) {

    .container {
        width: 94%;
    }

    .site-logo {
        width: 155px;

        height: 54px;
    }

    .main-navigation {
        gap: 5px 9px;
    }

    .main-navigation a {
        font-size: 11px;
    }

    .nav-button {
        padding: 7px 10px !important;
    }


    .hero-text h1 {
        font-size: 31px;
    }

    .hero-text p {
        font-size: 15px;
    }


    .mini-summary-card span {
        font-size: 9px;
    }

    .mini-summary-card strong {
        font-size: 18px;
    }


    .value-strip-grid {
        grid-template-columns: 1fr;
    }


    .section-header h2,
    .problem-section h2 {
        font-size: 26px;
    }


    .cta-section h2 {
        font-size: 27px;
    }

}