:root {
    --intelliscope-navy: #0B103E;
    --intelliscope-light: #EDF5FF;
    --intelliscope-gold: #B59410;
    --intelliscope-orange: #FF7417;
    --intelliscope-white: #FFFFFF;
    --intelliscope-text: #202536;
    --intelliscope-muted: #6C7384;
    --intelliscope-font: "Afacad", sans-serif;
}


/* ==================================================
   BASE
================================================== */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--intelliscope-font);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--intelliscope-text);
    background-color: var(--intelliscope-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--intelliscope-navy);
    font-weight: 600;
    line-height: 1.15;
}

p {
    margin-top: 0;
}

a {
    color: var(--intelliscope-navy);
}

    a:hover {
        color: var(--intelliscope-orange);
    }

img {
    max-width: 100%;
}


/* ==================================================
   HEADER / NAVIGATION
================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--intelliscope-navy);
    box-shadow: 0 2px 12px rgba(11, 16, 62, 0.08);
}

    .site-header .navbar {
        min-height: 96px;
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }

.site-logo {
    display: block;
    width: auto;
    height: 64px;
}

.site-header .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    font-weight: 500;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    transition: color 0.2s ease;
}

    .site-header .nav-link:hover,
    .site-header .nav-link:focus {
        color: var(--intelliscope-orange);
    }

    .site-header .nav-link.active {
        color: #fff;
    }

        .site-header .nav-link.active::after {
            position: absolute;
            right: 1rem;
            bottom: 0.25rem;
            left: 1rem;
            height: 2px;
            content: "";
            background-color: var(--intelliscope-orange);
            border-radius: 2px;
        }

.site-header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
}

    .site-header .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(237, 245, 255, 0.15);
    }


/* ==================================================
   NAVIGATION CTA
================================================== */

.navbar-demo-btn {
    padding: 0.6rem 1.4rem;
    color: #fff !important;
    white-space: nowrap;
}

    .navbar-demo-btn.active {
        border-color: #fff;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
    }


/* ==================================================
   FOOTER
================================================== */

.site-footer {
    padding: 3rem 0 1.5rem;
    background-color: var(--intelliscope-navy);
    color: rgba(255, 255, 255, 0.7);
}

.footer-intelliscope-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    text-decoration: none;
}

    .footer-intelliscope-brand:hover {
        color: #fff;
    }

.footer-brand-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.footer-intelliscope-brand strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
}

.footer-intelliscope-brand span {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
}

    .footer-nav a {
        color: rgba(255, 255, 255, 0.72);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-nav a:hover {
            color: var(--intelliscope-orange);
        }

.footer-ryatech {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    text-decoration: none;
}

    .footer-ryatech span {
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .footer-ryatech img {
        width: auto;
        height: 42px;
        max-width: 220px;
        object-fit: contain;
        transition: opacity 0.2s ease;
    }

    .footer-ryatech:hover img {
        opacity: 0.8;
    }

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}


/* ==================================================
   BRAND UTILITIES
================================================== */

.text-intelliscope-navy {
    color: var(--intelliscope-navy) !important;
}

.text-intelliscope-gold {
    color: var(--intelliscope-gold) !important;
}

.text-intelliscope-orange {
    color: var(--intelliscope-orange) !important;
}

.bg-intelliscope-navy {
    background-color: var(--intelliscope-navy) !important;
}

.bg-intelliscope-light {
    background-color: var(--intelliscope-light) !important;
}


/* ==================================================
   BUTTONS
================================================== */

.btn-intelliscope-primary {
    background-color: var(--intelliscope-orange);
    border: 2px solid var(--intelliscope-orange);
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 1.7rem;
    border-radius: 0.6rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .btn-intelliscope-primary:hover,
    .btn-intelliscope-primary:focus {
        background-color: #e9640c;
        border-color: #e9640c;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 10px 25px rgba(255, 116, 23, 0.18);
    }

.btn-intelliscope-outline {
    background-color: transparent;
    border: 2px solid var(--intelliscope-navy);
    color: var(--intelliscope-navy);
    font-weight: 600;
    padding: 0.8rem 1.7rem;
    border-radius: 0.6rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

    .btn-intelliscope-outline:hover,
    .btn-intelliscope-outline:focus {
        background-color: var(--intelliscope-navy);
        border-color: var(--intelliscope-navy);
        color: #fff;
    }

.btn-intelliscope-light {
    background-color: #fff;
    border: 2px solid #fff;
    color: var(--intelliscope-navy);
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: 0.6rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

    .btn-intelliscope-light:hover,
    .btn-intelliscope-light:focus {
        background-color: var(--intelliscope-light);
        border-color: var(--intelliscope-light);
        color: var(--intelliscope-navy);
    }


/* ==================================================
   COMMON SECTION STYLES
================================================== */

.section-heading {
    max-width: 820px;
}

.section-eyebrow {
    margin-bottom: 1rem;
    color: var(--intelliscope-orange);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--intelliscope-muted);
    font-size: 1.2rem;
}


/* ==================================================
   SHARED DEMO PANEL
================================================== */

.demo-panel {
    padding: 4rem;
    background: linear-gradient(135deg, var(--intelliscope-navy), #171d59);
    border-radius: 1.25rem;
    box-shadow: 0 20px 60px rgba(11, 16, 62, 0.15);
}

    .demo-panel .section-eyebrow {
        color: var(--intelliscope-orange);
    }

    .demo-panel h2 {
        margin-bottom: 1rem;
        color: #fff;
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 700;
    }

    .demo-panel p {
        max-width: 700px;
        margin: 0;
        color: rgba(255, 255, 255, 0.7);
        font-size: 1.15rem;
    }


/* ==================================================
   SHARED TEXT LINK
================================================== */

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--intelliscope-navy);
    font-weight: 600;
    text-decoration: none;
}

    .text-link span {
        color: var(--intelliscope-orange);
        transition: transform 0.2s ease;
    }

    .text-link:hover {
        color: var(--intelliscope-orange);
    }

        .text-link:hover span {
            transform: translateX(4px);
        }


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 991.98px) {
    .site-header .navbar {
        min-height: 84px;
    }

    .site-logo {
        height: 54px;
    }

    .site-header .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }

    .site-header .nav-link.active::after {
        right: auto;
        left: 1rem;
        width: 28px;
    }

    .navbar-demo-btn {
        display: inline-block;
        margin-top: 0.75rem;
    }

    .footer-nav {
        justify-content: flex-start;
    }

    .footer-ryatech {
        align-items: flex-start;
    }

    .demo-panel {
        padding: 3rem;
    }
}

@media (max-width: 575.98px) {
    .site-header .navbar {
        min-height: 76px;
    }

    .site-logo {
        height: 46px;
    }

    .demo-panel {
        padding: 2.25rem 1.5rem;
    }
}
