﻿:root {
    --black: #050505;
    --black-soft: #0c0c0c;
    --charcoal: #151515;
    --charcoal-light: #202020;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --gray: #ababab;
    --gray-dark: #666666;
    --red: #e31b23;
    --red-bright: #ff242c;
    --red-dark: #a81016;
    --border: rgba(255, 255, 255, .1);
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--black);
    color: var(--white);
}


img {
    display: block;
    max-width: 100%;
}


.container {
    width: min(1320px, calc(100% - 50px));
    margin: 0 auto;
}


/* SCROLL OFFSET FOR FIXED HEADER */
#home,
#solutions,
#wcs,
#integration,
#ai,
#custom {
    scroll-margin-top: 125px;
}



/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 13px 0;
    background: rgba(5, 5, 5, .88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}


    .site-header.scrolled {
        padding: 7px 0;
        background: rgba(0, 0, 0, .97);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .40);
    }


.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}


.logo-link {
    display: block;
}


.site-logo {
    width: 112px;
}


.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}


    .main-nav a {
        color: white;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
        transition: color .2s ease, background .2s ease;
    }


        .main-nav a:hover {
            color: var(--red);
        }


.nav-contact {
    padding: 11px 17px;
    border-radius: 4px;
    background: var(--red);
}


.main-nav .nav-contact:hover {
    color: white;
    background: var(--red-bright);
}



/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    margin: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    flex-shrink: 0;
}

    .mobile-menu-button span {
        display: block;
        width: 26px;
        height: 3px;
        margin: 5px auto;
        background: #ffffff;
        border-radius: 2px;
        transition: transform .25s ease, opacity .25s ease;
    }

    .mobile-menu-button.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-button.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 790px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 78% 45%, rgba(227, 27, 35, .20), transparent 25%), linear-gradient(110deg, #020202 0%, #090909 55%, #171717);
    overflow: hidden;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 60px 60px;
}


.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 70px;
}


.hero-text {
    max-width: 780px;
}


.eyebrow,
.section-label {
    margin-bottom: 18px;
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2.5px;
}


.hero h1 {
    margin: 0 0 28px;
    font-size: clamp(58px, 6vw, 92px);
    line-height: .96;
    letter-spacing: -4px;
}


    .hero h1 span,
    h2 span {
        color: var(--red);
    }


.hero p {
    max-width: 680px;
    color: #c6c6c6;
    font-size: 19px;
    line-height: 1.7;
}


.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 35px;
}



/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-block;
    padding: 15px 24px;
    border: 0;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}


    .btn:hover {
        transform: translateY(-2px);
    }


.btn-primary {
    color: white;
    background: var(--red);
}


    .btn-primary:hover {
        background: var(--red-bright);
    }


.btn-outline {
    color: white;
    border: 1px solid rgba(255, 255, 255, .35);
}


    .btn-outline:hover {
        border-color: var(--red);
    }


.btn-outline-dark {
    color: #111;
    background: transparent;
    border: 1px solid #999;
}


    .btn-outline-dark:hover {
        color: white;
        background: #111;
        border-color: #111;
    }


.btn-email {
    color: white;
    background: #202020;
    border: 1px solid #202020;
}


    .btn-email:hover {
        color: white;
        background: #050505;
        border-color: var(--red);
    }



/* =========================================================
   INTRO
   ========================================================= */

.intro {
    padding: 110px 0;
    background: white;
    color: #111;
}


.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}


.intro h2,
.section-heading h2,
.cta-inner h2 {
    margin: 0;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.06;
    letter-spacing: -2px;
}


.intro p {
    color: #626262;
    font-size: 18px;
    line-height: 1.8;
}



/* =========================================================
   SOLUTIONS
   ========================================================= */

.solutions {
    padding: 110px 0;
    background: #101010;
}


.section-heading {
    max-width: 800px;
    margin-bottom: 70px;
}


.solution-row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}


    .solution-row.reverse .solution-image {
        order: 2;
    }


    .solution-row.reverse .solution-copy {
        order: 1;
    }



/* =========================================================
   DASHBOARD IMAGES
   ========================================================= */

.solution-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px;
    background: #090909;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .50);
}


    .solution-image img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        border-radius: 6px;
    }



/* =========================================================
   SOLUTION TEXT
   ========================================================= */

.solution-copy {
    position: relative;
    min-width: 0;
}


.solution-number {
    position: absolute;
    right: 0;
    top: -18px;
    color: rgba(255, 255, 255, .10);
    font-size: 70px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}


.solution-copy h3 {
    position: relative;
    margin: 0 0 22px;
    padding-right: 115px;
    font-size: 39px;
    line-height: 1.12;
    letter-spacing: -1px;
}


.solution-copy p {
    color: #b8b8b8;
    font-size: 17px;
    line-height: 1.75;
}


.solution-copy ul {
    list-style: none;
    padding: 0;
    margin: 28px 0;
}


.solution-copy li {
    padding: 9px 0;
    color: #dddddd;
}


    .solution-copy li::before {
        content: "✓";
        margin-right: 11px;
        color: var(--red);
        font-weight: 900;
    }


.text-link {
    color: var(--red);
    text-decoration: none;
    font-weight: 800;
    transition: color .2s ease;
}


    .text-link:hover {
        color: var(--red-bright);
    }



/* =========================================================
   CAPABILITIES
   ========================================================= */

.capabilities {
    padding: 80px 0;
    background: #070707;
}


.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


.capability-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #101010;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}


    .capability-card:hover {
        transform: translateY(-4px);
        border-color: rgba(227, 27, 35, .45);
        background: #131313;
    }


.capability-icon {
    margin-bottom: 20px;
    color: var(--red);
    font-size: 28px;
}


.capability-card h4 {
    margin: 0 0 10px;
    font-size: 17px;
}


.capability-card p {
    margin: 0;
    color: #949494;
    font-size: 14px;
    line-height: 1.6;
}



/* =========================================================
   CALL TO ACTION
   ========================================================= */

.cta-section {
    padding: 95px 0;
    background: radial-gradient(circle at 5% 50%, rgba(227, 27, 35, .27), transparent 30%), #141414;
}


.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}



/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: #020202;
    border-top: 1px solid var(--border);
}


.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    padding: 65px 0;
}


.footer-logo {
    width: 100px;
    margin-bottom: 18px;
}


.footer-grid p {
    max-width: 350px;
    color: #858585;
    font-size: 14px;
    line-height: 1.7;
}


.footer-grid h5 {
    margin: 0 0 18px;
    font-size: 13px;
    text-transform: uppercase;
}


.footer-grid a {
    display: block;
    margin: 10px 0;
    color: #929292;
    text-decoration: none;
    font-size: 13px;
}


    .footer-grid a:hover {
        color: var(--red);
    }


.footer-bottom {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: #656565;
    font-size: 12px;
}



/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-hero {
    padding: 190px 0 90px;
    background: radial-gradient(circle at 80% 40%, rgba(227, 27, 35, .20), transparent 28%), #090909;
}


    .contact-hero h1 {
        max-width: 800px;
        margin: 0 0 25px;
        font-size: clamp(54px, 6vw, 82px);
        line-height: .98;
        letter-spacing: -3px;
    }


        .contact-hero h1 span {
            display: block;
            color: var(--red);
        }


    .contact-hero p {
        max-width: 650px;
        color: #b5b5b5;
        font-size: 19px;
        line-height: 1.7;
    }


.contact-page {
    padding: 100px 0;
    background: #f4f4f4;
    color: #111;
}


.contact-page-grid {
    display: grid;
    grid-template-columns: .9fr 1.2fr;
    gap: 90px;
}


.contact-info h2 {
    margin-top: 0;
    font-size: 42px;
    line-height: 1.1;
}


.contact-info p {
    color: #656565;
    font-size: 17px;
    line-height: 1.8;
}


.contact-detail {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #d8d8d8;
}


    .contact-detail strong,
    .contact-detail span {
        display: block;
    }


    .contact-detail span {
        margin-top: 8px;
        color: #555;
    }



/* =========================================================
   EMAIL OPTION BOX
   ========================================================= */

.email-option-box {
    margin-top: 45px;
    padding: 28px;
    background: #e9e9e9;
    border-left: 4px solid var(--red);
}


    .email-option-box h3 {
        margin: 0 0 12px;
        color: #111;
        font-size: 19px;
    }


    .email-option-box p {
        margin: 0 0 22px;
        color: #666;
        font-size: 14px;
        line-height: 1.7;
    }



/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form-card {
    padding: 42px;
    background: white;
    border-top: 4px solid var(--red);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .10);
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


.form-group {
    margin-bottom: 22px;
}


    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 13px;
        font-weight: 700;
    }


    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 13px 14px;
        border: 1px solid #cfcfcf;
        border-radius: 3px;
        background: white;
        font: inherit;
    }


    .form-group textarea {
        resize: vertical;
        min-height: 150px;
    }


        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--red);
            box-shadow: 0 0 0 3px rgba(227, 27, 35, .10);
        }


.submit-button {
    width: 100%;
}



/* =========================================================
   CONTACT STATUS MESSAGES
   ========================================================= */

.form-message {
    margin-bottom: 30px;
    padding: 18px 20px;
    border-radius: 4px;
    font-size: 14px;
}


    .form-message strong {
        display: block;
        margin-bottom: 6px;
        font-size: 16px;
    }


    .form-message span {
        display: block;
        line-height: 1.5;
    }


.form-message-success {
    color: #16652d;
    background: #e8f7ed;
    border: 1px solid #9bd4ab;
}


.form-message-error {
    color: #8b1515;
    background: #fdecec;
    border: 1px solid #e9a5a5;
}



/* =========================================================
   OR DIVIDER
   ========================================================= */

.or-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    margin: 22px 0;
}


    .or-divider::before,
    .or-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #d5d5d5;
    }


    .or-divider span {
        color: #222;
        background: white;
        font-size: 14px;
        font-weight: 900;
        letter-spacing: 2px;
    }



/* =========================================================
   SPAM HONEYPOT
   ========================================================= */

.website-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


    .website-field input {
        position: absolute !important;
        left: -10000px !important;
        width: 1px !important;
        height: 1px !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .solution-row {
        grid-template-columns: 1.15fr 1fr;
        gap: 45px;
    }


    .solution-copy h3 {
        font-size: 34px;
    }


    .main-nav {
        gap: 18px;
    }


        .main-nav a {
            font-size: 12px;
        }
}



/* =========================================================
   TABLET / MOBILE NAV
   ========================================================= */

@media (max-width: 1000px) {

    .mobile-menu-button {
        display: block;
    }

    .main-nav {
        display: none;
    }

        .main-nav.open {
            display: flex;
        }

        .main-nav a,
        .main-nav a:not(.nav-contact) {
            display: block;
            width: 100%;
            padding: 15px 14px;
            margin: 0;
            color: white;
            font-size: 14px;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, .08);
        }

        .main-nav .nav-contact {
            margin-top: 10px;
            padding: 14px;
            text-align: center;
            background: var(--red);
            border-bottom: 0;
        }


    .intro-grid,
    .solution-row,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }


    .solution-row {
        gap: 40px;
        padding: 75px 0;
    }


        /* TEXT FIRST, IMAGE SECOND */
        .solution-row .solution-copy,
        .solution-row.reverse .solution-copy {
            order: 1;
        }

        .solution-row .solution-image,
        .solution-row.reverse .solution-image {
            order: 2;
        }


    .solution-image {
        width: 100%;
        max-width: 850px;
        margin: 0 auto;
    }


    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }


    #home,
    #solutions,
    #wcs,
    #integration,
    #ai,
    #custom {
        scroll-margin-top: 105px;
    }
}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .container {
        width: min(100% - 30px, 1320px);
    }


    .site-logo {
        width: 95px;
    }


    .site-header,
    .site-header.scrolled {
        padding: 9px 0;
    }


    .hero {
        min-height: 720px;
    }


        .hero h1 {
            font-size: 53px;
            letter-spacing: -2px;
        }


        .hero p {
            font-size: 17px;
        }


    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }


    .intro,
    .solutions,
    .contact-page {
        padding: 75px 0;
    }


    .section-heading {
        margin-bottom: 30px;
    }


    .solution-row {
        gap: 28px;
        padding: 65px 0;
    }


    .solution-image {
        padding: 4px;
        border-radius: 7px;
    }


        .solution-image img {
            border-radius: 4px;
        }


    .solution-copy h3 {
        font-size: 31px;
        padding-right: 0;
    }

    .solution-number {
        top: -10px;
        right: 0;
        font-size: 50px;
    }


    .capability-grid {
        grid-template-columns: 1fr;
    }


    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }


    .form-row {
        grid-template-columns: 1fr;
    }


    .contact-form-card {
        padding: 25px;
    }


    .email-option-box {
        padding: 22px;
    }


    #home,
    #solutions,
    #wcs,
    #integration,
    #ai,
    #custom {
        scroll-margin-top: 95px;
    }
}
