:root {
    --bs-body-font-family: 'Inter', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    background: #f8fafc;
}

.navbar {
    padding: 20px 0;
    background: #021b45;
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
    font-size: 1.5rem;
}

.nav-link {
    color: rgba(255,255,255,.85) !important;
    margin-left: 20px;
    font-weight: 500;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #0dcaf0;
    color: white;
}

.hero {
    background: linear-gradient(150deg,#021b45 0%, #0dcaf0 100%);
    color: white;
    padding: 100px 0;
    overflow: hidden;
}

    .hero h1 {
        font-size: 4rem;
        font-weight: 800;
        line-height: 1.05;
    }

    .hero .highlight {
        color: #0dcaf0;
    }

    .hero p {
        font-size: 1.2rem;
        color: rgba(255,255,255,.85);
        margin-top: 25px;
        line-height: 1.8;
    }

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 40px;
    color: white;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0dcaf0;
    font-size: 20px;
}

.btn-info {
    padding: 14px 28px;
    border: none;
    color: #fff;
    font-weight: 600;
}

    .btn-info:hover {
        background: #09b5d7ba;
        border: none;
        color: #fff;
        font-weight: 600;
    }

    .btn-info,
    .btn-info:visited,
    .btn-info:hover,
    .btn-info:active,
    .btn-info:focus,
    .btn-info:focus-visible {
        color: #ffffff !important;
    }

.hero-image {
    background: white;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 40px 80px rgba(0,0,0,.35);
}

.stat-box {
    text-align: center;
    padding: 40px 20px;
}

    .stat-box i {
        font-size: 2rem;
        color: #0dcaf0;
    }

    .stat-box h4 {
        margin-top: 15px;
        font-weight: 700;
    }

.section-title {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-subtitle {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.05rem;
}

.fade-section {
    opacity: 0;
    transform: translateY(40px) scale(.98);
    transition: opacity 1s ease, transform 1s ease;
}

    .fade-section.visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

.feature-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    transition: .3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(0,0,0,.08);
    }

.feature-icon {
    width: 65px;
    height: 65px;
    background: rgba(71,186,237,.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

    .feature-icon i {
        font-size: 1.8rem;
        color: #0dcaf0;
    }

.product-card {
    background: white;
    border-radius: 28px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    height: 100%;
}

.product-badge {
    color: #0dcaf0;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: .85rem;
    text-transform: uppercase;
}

.metrics {
    background: linear-gradient(135deg,#021b45 0%, #1e87b9 120%);
    color: white;
    padding: 40px 0;
}

.metric-item {
    text-align: center;
}

    .metric-item h2 {
        font-weight: 800;
        font-size: 3rem;
    }

.testimonial {
    background: white;
    border-radius: 28px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.cta-section {
    background: white;
    border-radius: 30px;
    padding: 60px;
    margin-top: 60px;
    box-shadow: 0 15px 40px rgba(0,0,0,.05);
}

footer {
    background: #021b45;
    color: rgba(255,255,255,.75);
    padding: 70px 0 30px;
}

    footer a {
        color: rgba(255,255,255,.75)  !important;
        text-decoration: none;
    }

.dashboard-placeholder {
    height: 450px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 600;
    font-size: 1.2rem;
}

    .dashboard-placeholder img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 12px;
        cursor: pointer;
    }

/* Pages/Shared/_BrandLogo.cshtml. Size a logo with font-size; everything inside is in em. The wordmark font
   is self-hosted (wwwroot/lib/montserrat), copied from JAS.WebCore's site.css. */
@font-face {
    font-family: "Montserrat";
    src: url("../lib/montserrat/montserrat-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.brand-logo {
    --brand-ink: #26323f;
    --brand-accent: #1cb8ee;
    display: inline-flex;
    align-items: center;
    gap: .5em;
    color: var(--brand-ink);
    font-family: "Montserrat", var(--bs-body-font-family);
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
}

.brand-logo-mark {
    flex: none;
    height: 3em;
    width: auto;
}

/* Pages/Shared/_BrandLogo.cshtml's TrakIq branch: the hand-drawn "IQ" glyph, sized to sit on the
   "Trak" text's own baseline/cap-height (em is relative to .brand-logo-word's font-size, its parent). */
.brand-logo-iq {
    height: 0.78em;
    width: auto;
    vertical-align: -0.06em;
    margin-left: 0.12em;
}

.brand-logo--jas .brand-logo-word {
    font-size: 2.05em;
    font-weight: 600;
    letter-spacing: .04em;
}

.brand-logo--trakiq {
    --brand-ink: #141414;
    --brand-accent: #10c4f4;
    gap: .4em;
}

    .brand-logo--trakiq .brand-logo-word {
        font-size: 2.5em;
        font-weight: 650;
        letter-spacing: -.01em;
    }

.brand-logo--ctb .brand-logo-word {
    display: flex;
    flex-direction: column;
    font-size: 1.35em;
    font-weight: 700;
    line-height: 1.05;
}

/* The navbar and footer are permanently dark navy here (no data-bs-theme toggle in this app), so the
   CTB logo's default dark ink is illegible - force it white in those two spots only. */
.navbar-brand .brand-logo,
footer .brand-logo {
    --brand-ink: #fff;
}

.navbar-ctb-logo {
    font-size: 1.05rem;
}

.footer-ctb-logo {
    font-size: 1.1rem;
}

.product-badge .brand-logo {
    font-size: 1.3rem;
    text-transform: none;
    letter-spacing: normal;
}

@media(max-width:991px) {
    .hero {
        text-align: center;
        padding: 70px 0;
    }

        .hero h1 {
            font-size: 2.8rem;
        }

    .section-title {
        font-size: 2rem;
    }

    .cta-section {
        padding: 40px 30px;
    }
}