

/* =========================================================
   RAPTOR SYSTEMS PUBLIC LANDING PAGE
   ========================================================= */

.raptor-public-home {
    min-height: calc(100vh - 110px);
    background:
        radial-gradient(circle at 80% 10%, rgba(25, 159, 232, .13), transparent 30%),
        radial-gradient(circle at 10% 35%, rgba(24, 79, 120, .13), transparent 28%),
        linear-gradient(180deg, #07111b 0%, #091521 48%, #071019 100%);
    color: #eaf2f7;
}


/* HERO */

.raptor-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #213342;
}

.raptor-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(62, 111, 145, .18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(62, 111, 145, .18) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.raptor-hero-grid {
    position: relative;
    z-index: 1;
    max-width: 1450px;
    min-height: 580px;
    margin: 0 auto;
    padding: 90px 48px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 70px;
}

.raptor-hero-eyebrow {
    color: #26adf1;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .32em;
    margin-bottom: 17px;
}

.raptor-hero h1 {
    margin: 0;
    color: #f2f6f9;
    font-size: clamp(46px, 6vw, 82px);
    line-height: .98;
    font-weight: 700;
    letter-spacing: -.035em;
}

.raptor-hero-tagline {
    margin: 27px 0 22px;
    color: #b4c5d2;
    font-size: 15px;
    letter-spacing: .20em;
    font-weight: 600;
}

.raptor-hero-tagline span {
    color: #1da9ed;
    padding: 0 7px;
}

.raptor-hero-description {
    max-width: 720px;
    color: #94a8b8;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 34px;
}

.raptor-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.raptor-signin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    height: 50px;
    padding: 0 28px;
    border: 1px solid #25b8ff;
    border-radius: 6px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .05em;
    background:
        linear-gradient(180deg, #1caaf1 0%, #087ac2 100%);
    box-shadow:
        0 8px 30px rgba(0, 145, 220, .18),
        inset 0 1px rgba(255,255,255,.15);
    transition:
        transform .15s ease,
        box-shadow .15s ease,
        background .15s ease;
}

.raptor-signin-button:hover {
    transform: translateY(-1px);
    background:
        linear-gradient(180deg, #24b9ff 0%, #0a86d1 100%);
    box-shadow:
        0 10px 35px rgba(0, 154, 230, .27);
}

.raptor-restricted {
    margin-top: 22px;
    color: #6f8494;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.raptor-status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: #21acef;
    box-shadow: 0 0 10px rgba(33,172,239,.75);
}

.raptor-hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.raptor-hero-logo img {
    width: min(100%, 580px);
    filter: drop-shadow(0 24px 60px rgba(0,0,0,.4));
}


/* CAPABILITIES */

.raptor-capabilities {
    max-width: 1450px;
    margin: 0 auto;
    padding: 92px 48px;
}

.raptor-section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px;
}

.raptor-section-heading > span {
    color: #1fa9ed;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .28em;
}

.raptor-section-heading h2 {
    color: #eef4f8;
    margin: 14px 0 12px;
    font-size: 34px;
}

.raptor-section-heading p {
    color: #7f94a4;
    font-size: 16px;
}

.raptor-capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.raptor-capability-card {
    min-height: 245px;
    padding: 30px;
    background:
        linear-gradient(180deg, rgba(17,30,43,.94), rgba(11,21,31,.96));
    border: 1px solid #223544;
    border-radius: 8px;
    box-shadow:
        inset 0 1px rgba(255,255,255,.025);
    transition:
        border-color .15s ease,
        transform .15s ease,
        background .15s ease;
}

.raptor-capability-card:hover {
    transform: translateY(-3px);
    border-color: #27658a;
    background:
        linear-gradient(180deg, rgba(19,36,51,.98), rgba(12,24,35,.98));
}

.raptor-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 27px;
    border: 1px solid #245675;
    border-radius: 7px;
    background: #0a1824;
    color: #1eb0f4;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .05em;
}

.raptor-capability-card h3 {
    color: #eef5f8;
    margin-bottom: 12px;
    font-size: 19px;
}

.raptor-capability-card p {
    color: #8197a8;
    line-height: 1.65;
    font-size: 14px;
}


/* PLATFORM STRIP */

.raptor-platform-strip {
    max-width: 1450px;
    margin: 0 auto 80px;
    padding: 25px 45px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #09151f;
    border-top: 1px solid #1e3342;
    border-bottom: 1px solid #1e3342;
}

.raptor-platform-strip div {
    text-align: center;
    border-right: 1px solid #1e3342;
}

.raptor-platform-strip div:last-child {
    border-right: none;
}

.raptor-platform-strip strong {
    display: block;
    color: #25acef;
    font-size: 12px;
    letter-spacing: .18em;
    margin-bottom: 6px;
}

.raptor-platform-strip span {
    color: #768b9b;
    font-size: 12px;
}


/* CUSTOM LANDING FOOTER */

.raptor-home-footer {
    text-align: center;
    padding: 18px 20px 55px;
    color: #617787;
}

.raptor-home-footer img {
    width: 175px;
    opacity: .85;
    margin-bottom: 6px;
}

.raptor-home-footer p {
    margin: 2px 0 8px;
    color: #8ca0af;
    font-size: 10px;
    letter-spacing: .25em;
}

.raptor-home-footer span {
    font-size: 11px;
    letter-spacing: .06em;
}


/* Hide the global banner we previously injected on the public homepage.
   The homepage now provides its own correctly positioned branding. */

.raptor-public-home ~ .raptor-login-banner {
    display: none;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

    .raptor-hero-grid {
        grid-template-columns: 1fr;
        padding-top: 70px;
        text-align: center;
    }

    .raptor-hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .raptor-hero-actions {
        justify-content: center;
    }

    .raptor-hero-logo img {
        max-width: 460px;
    }

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

    .raptor-platform-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .raptor-platform-strip div {
        border-right: none;
    }
}


@media (max-width: 650px) {

    .raptor-hero-grid,
    .raptor-capabilities {
        padding-left: 22px;
        padding-right: 22px;
    }

    .raptor-hero-grid {
        min-height: auto;
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .raptor-hero h1 {
        font-size: 46px;
    }

    .raptor-hero-tagline {
        font-size: 11px;
        letter-spacing: .13em;
    }

    .raptor-capability-grid {
        grid-template-columns: 1fr;
    }

    .raptor-platform-strip {
        margin-left: 15px;
        margin-right: 15px;
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RAPTOR PUBLIC HOME — LIGHT SITE THEME
   ========================================================= */

.raptor-public-home {
    background: #f7f8f2 !important;
    color: #0b312e !important;
}

/* HERO */

.raptor-hero {
    background:
        radial-gradient(circle at 82% 20%, rgba(137, 185, 76, .08), transparent 28%),
        linear-gradient(180deg, #fafbf6 0%, #f3f6ed 100%) !important;
    border-bottom: 1px solid #d9e1d3 !important;
}

.raptor-hero::before {
    opacity: .12 !important;
    background-image:
        linear-gradient(rgba(45, 84, 65, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 84, 65, .12) 1px, transparent 1px) !important;
}

.raptor-hero-eyebrow {
    color: #5d9628 !important;
}

.raptor-hero h1 {
    color: #0b312e !important;
}

.raptor-hero-tagline {
    color: #36584f !important;
}

.raptor-hero-tagline span {
    color: #75ad38 !important;
}

.raptor-hero-description {
    color: #526a63 !important;
}

.raptor-signin-button {
    background: #123f39 !important;
    border: 1px solid #123f39 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.raptor-signin-button:hover {
    background: #1a5149 !important;
    border-color: #1a5149 !important;
}

.raptor-restricted {
    color: #70847d !important;
}

.raptor-status-dot {
    background: #86bd45 !important;
    box-shadow: 0 0 8px rgba(134, 189, 69, .45) !important;
}

.raptor-hero-logo img {
    filter: none !important;
}


/* CAPABILITIES */

.raptor-capabilities {
    background: #f7f8f2 !important;
}

.raptor-section-heading > span {
    color: #6ba12f !important;
}

.raptor-section-heading h2 {
    color: #0b312e !important;
}

.raptor-section-heading p {
    color: #637870 !important;
}

.raptor-capability-card {
    background: #fbfcf8 !important;
    border: 1px solid #d8e0d4 !important;
    box-shadow: 0 1px 2px rgba(20, 50, 40, .03) !important;
}

.raptor-capability-card:hover {
    background: #f4f7ef !important;
    border-color: #b8cbae !important;
    transform: translateY(-2px);
}

.raptor-card-icon {
    background: #edf3e8 !important;
    border: 1px solid #cbd9c2 !important;
    color: #497d27 !important;
}

.raptor-capability-card h3 {
    color: #0b312e !important;
}

.raptor-capability-card p {
    color: #5d7069 !important;
}


/* LOWER STRIP */

.raptor-platform-strip {
    background: #eef3e9 !important;
    border-top: 1px solid #d3ded0 !important;
    border-bottom: 1px solid #d3ded0 !important;
}

.raptor-platform-strip div {
    border-right-color: #d3ded0 !important;
}

.raptor-platform-strip strong {
    color: #3f7029 !important;
}

.raptor-platform-strip span {
    color: #61736c !important;
}


/* FOOTER */

.raptor-home-footer {
    background: #f7f8f2 !important;
    color: #72827b !important;
}

.raptor-home-footer p {
    color: #4f685f !important;
}

.raptor-home-footer span {
    color: #7a8c84 !important;
}


/* =========================================================
   FIX CHECKBOX / RADIO STYLING
   ========================================================= */

.ui.form input[type="checkbox"],
.ui.form input[type="radio"],
.ui.checkbox input[type="checkbox"],
.ui.radio.checkbox input[type="radio"] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin: 0 10px 0 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 1px solid #bcc8ba !important;
    box-shadow: none !important;
    accent-color: #285f53 !important;
    position: static !important;
    opacity: 1 !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}

/* Disable theme pseudo-checkbox rendering so only the real box shows */
.ui.checkbox label:before,
.ui.checkbox label:after,
.ui.radio.checkbox label:before,
.ui.radio.checkbox label:after {
    display: none !important;
}

.ui.checkbox,
.ui.radio.checkbox {
    display: inline-flex !important;
    align-items: center !important;
}

.ui.checkbox label,
.ui.radio.checkbox label {
    padding-left: 0 !important;
    margin-left: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #415852 !important;
    cursor: pointer !important;
}


/* =========================================================
   LIGHT LOGIN FORM INPUTS
   ========================================================= */

.raptor-login-panel input[type="text"],
.raptor-login-panel input[type="email"],
.raptor-login-panel input[type="password"],
.page-content.user.signin input[type="text"],
.page-content.user.signin input[type="email"],
.page-content.user.signin input[type="password"],
.ui.form input[type="text"],
.ui.form input[type="email"],
.ui.form input[type="password"] {
    background: #ffffff !important;
    color: #123b35 !important;
    border: 1px solid #c7d1c4 !important;
    box-shadow: none !important;
}

.raptor-login-panel input::placeholder,
.page-content.user.signin input::placeholder,
.ui.form input::placeholder {
    color: #8a9a93 !important;
    opacity: 1 !important;
}

.raptor-login-panel input:focus,
.page-content.user.signin input:focus,
.ui.form input:focus {
    background: #ffffff !important;
    color: #123b35 !important;
    border-color: #5b8f7f !important;
    box-shadow: 0 0 0 2px rgba(91, 143, 127, .12) !important;
}


/* =========================================================
   RAPTOR FINAL FORM CONTROL FIXES
   ========================================================= */

/* Normal text/password/email/select fields */
.ui.form input:not([type="checkbox"]):not([type="radio"]),
.ui.form textarea,
.ui.form select {
    background: #ffffff !important;
    color: #0b312e !important;
    border: 1px solid #c7d1c4 !important;
    box-shadow: none !important;
}

/* Text visible whether focused or not */
.ui.form input:not([type="checkbox"]):not([type="radio"]):focus,
.ui.form textarea:focus,
.ui.form select:focus {
    background: #ffffff !important;
    color: #0b312e !important;
    border-color: #5d897c !important;
    box-shadow: 0 0 0 2px rgba(49, 100, 84, .10) !important;
}

/* Browser autofill fix - prevents olive/dark autofill boxes */
.ui.form input:-webkit-autofill,
.ui.form input:-webkit-autofill:hover,
.ui.form input:-webkit-autofill:focus,
.ui.form input:-webkit-autofill:active {
    -webkit-text-fill-color: #0b312e !important;
    caret-color: #0b312e !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    border: 1px solid #c7d1c4 !important;
    transition: background-color 9999s ease-out 0s;
}

/* Placeholders */
.ui.form input::placeholder,
.ui.form textarea::placeholder {
    color: #879790 !important;
    opacity: 1 !important;
}


/* =========================================================
   RAPTOR CHECKBOX FIX
   ========================================================= */

.ui.checkbox {
    position: relative !important;
    display: inline-block !important;
    min-height: 20px !important;
}

/* Hide browser checkbox but leave it clickable */
.ui.checkbox input[type="checkbox"] {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 3 !important;
}

/* Label */
.ui.checkbox label {
    position: relative !important;
    display: inline-block !important;
    padding-left: 28px !important;
    margin: 0 !important;
    color: #213f39 !important;
    cursor: pointer !important;
    line-height: 20px !important;
}

/* Visible empty checkbox */
.ui.checkbox label:before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 1px !important;
    width: 18px !important;
    height: 18px !important;
    background: #ffffff !important;
    border: 1px solid #aebbb2 !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;
}

/* Remove any previous generated content */
.ui.checkbox label:after {
    display: none !important;
}

/* Checked state */
.ui.checkbox input[type="checkbox"]:checked + label:before {
    background: #285a4f !important;
    border-color: #285a4f !important;
}

/* Visible checkmark */
.ui.checkbox input[type="checkbox"]:checked + label:after {
    content: "✓" !important;
    display: block !important;
    position: absolute !important;
    left: 3px !important;
    top: -1px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
}

/* Focus state */
.ui.checkbox input[type="checkbox"]:focus + label:before {
    box-shadow: 0 0 0 2px rgba(40, 90, 79, .12) !important;
}

