/* Modern landing page presentation; page copy and feature sections stay in Index.cshtml. */
:root {
    --home-blue: #1769e8;
    --home-blue-dark: #123b73;
    --home-ink: #192b44;
    --home-muted: #586b82;
    --home-line: #e4edf6;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    color: var(--home-ink);
    background: #fff;
    font-family: Inter, "Segoe UI", Arial, sans-serif !important;
}

#navbar.top-nav {
    z-index: 1050;
    min-height: 76px;
    padding: 10px clamp(16px, 4vw, 56px);
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 4px 24px rgba(20, 54, 96, .08);
}

#navbar .navbar-brand img {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 52px;
}

#navbar .navbar-nav .nav-link {
    padding: 10px 13px;
    color: #44566e;
    font-size: 15px;
    font-weight: 600;
    opacity: 1;
    transition: color .18s ease;
}

#navbar .navbar-nav .nav-link:hover,
#navbar .navbar-nav .nav-link:focus {
    color: var(--home-blue);
}

#navbar .navbar-collapse > .d-flex {
    align-items: center;
    gap: 10px;
    margin-left: 16px;
}

#navbar .btn {
    min-height: 42px;
    padding: 10px 18px !important;
    font-size: 14px;
    font-weight: 700 !important;
}

#navbar .btn-outline-primary {
    color: var(--home-blue);
    border-color: #c7dcf9;
}

#navbar .btn-green {
    border-color: var(--home-blue);
    background: var(--home-blue);
}

#navbar .dropdown-toggle:hover,
#navbar .dropdown-toggle:focus,
#navbar .dropdown-toggle[aria-expanded="true"] {
    color: #fff !important;
    border-color: #1459c4 !important;
    background: #1459c4 !important;
    box-shadow: 0 6px 16px rgba(20, 89, 196, .2);
}

#navbar .menu.dropdown .dropdown-menu {
    width: 240px !important;
    padding: 8px;
    border: 1px solid var(--home-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(25, 53, 88, .16);
}

#navbar .menu.dropdown .dropdown-menu a:not(.btn) {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #35485f;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    transition: color .15s ease, background-color .15s ease;
}

#navbar .menu.dropdown .dropdown-menu a:not(.btn):hover,
#navbar .menu.dropdown .dropdown-menu a:not(.btn):focus {
    color: var(--home-blue);
    background: #eff6ff;
    opacity: 1;
}

#navbar .menu.dropdown .dropdown-menu .btn-outline-primary {
    display: block;
    width: 100%;
    min-height: 40px;
    margin: 6px 0 0;
    padding: 8px 12px !important;
    border-color: #c8dcf7;
    border-radius: 9px !important;
    color: var(--home-blue) !important;
    background: #fff !important;
    text-align: center;
}

#navbar .menu.dropdown .dropdown-menu .btn-outline-primary:hover,
#navbar .menu.dropdown .dropdown-menu .btn-outline-primary:focus {
    border-color: var(--home-blue) !important;
    color: #fff !important;
    background: var(--home-blue) !important;
}

.intro-section {
    width: 100%;
    height: auto;
    background: none;
}

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    padding: 52px 0 46px;
    background:
        radial-gradient(ellipse at 82% 8%, rgba(212, 232, 255, .92), transparent 38%),
        linear-gradient(130deg, #f8fbff 0%, #edf5ff 54%, #e5f1ff 100%);
}

.home-hero-container {
    max-width: 1280px;
}

.home-hero-row {
    min-height: 510px;
}

.home-hero-copy-column {
    position: relative;
    z-index: 2;
}

.home-hero-copy {
    max-width: 570px;
    padding: 32px 0;
}

.home-hero-kicker {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--home-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.home-hero-copy h1 {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(38px, 4.1vw, 58px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.08;
}

.home-hero-copy h1 span {
    display: block;
    color: var(--home-blue);
}

.intro-section .home-hero-copy .baner-text {
    max-width: 520px;
    margin: 22px 0 0;
    color: var(--home-muted);
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 400;
    line-height: 1.65;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.home-hero-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px !important;
    border: 1px solid transparent;
    border-radius: 12px !important;
    font-size: 15px;
    font-weight: 700 !important;
    line-height: 1.3;
    text-align: center;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.home-hero-button:hover,
.home-hero-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(23, 105, 232, .16);
}

.home-hero-button-primary {
    color: #fff;
    background: var(--home-blue);
}

.home-hero-button-primary:hover,
.home-hero-button-primary:focus {
    color: #fff;
    background: #0d56c7;
}

.home-hero-button-outline {
    color: var(--home-blue);
    border-color: #b9d4f6;
    background: rgba(255, 255, 255, .75);
}

.home-hero-button-outline:hover,
.home-hero-button-outline:focus {
    color: var(--home-blue-dark);
    background: #fff;
}

.home-hero-image-column {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-illustration {
    display: block;
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(27, 77, 138, .16);
}

.home-hero .comingsoon {
    z-index: 3;
    top: 24px;
    right: max(28px, calc((100vw - 1250px) / 2));
    width: auto;
    height: auto;
    padding: 11px 17px;
    transform: rotate(0);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 8px 26px rgba(31, 71, 121, .1);
    color: var(--home-blue-dark);
    backdrop-filter: blur(10px);
}

.home-hero .comingsoon h3,
.home-hero .comingsoon h4,
.home-hero .comingsoon p {
    display: inline;
    width: auto;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
}

.home-hero .comingsoon p { padding: 0 4px; }
.home-hero .and-small { display: inline; }

#vidBox {
    max-width: 100%;
}

#content {
    overflow: hidden;
}

#content img {
    max-width: 100%;
}

#features .module__header {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

#features .toptitle,
#features .bottomtitle {
    color: var(--home-muted);
    line-height: 1.7;
}

#features .middltitle {
    color: var(--home-ink);
    font-weight: 800;
    line-height: 1.2;
}

.nav-list-block .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-list-block .nav-tabs .nav-link {
    border-radius: 10px 10px 0 0;
}

@media (max-width: 991.98px) {
    #navbar .navbar-collapse {
        padding: 12px 0 8px;
    }

    #navbar .navbar-nav .nav-link {
        padding: 9px 4px;
    }

    #navbar .navbar-collapse > .d-flex {
        flex-wrap: wrap;
        margin: 8px 0 0;
    }

    .home-hero {
        min-height: 0;
        padding-top: 64px;
    }

    .home-hero-row {
        min-height: 0;
    }

    .home-hero-copy {
        max-width: 680px;
        padding: 24px 0 12px;
    }

    .home-hero-image-column {
        margin-top: 18px;
    }

    .home-hero-illustration {
        max-width: 760px;
    }
}

@media (max-width: 575.98px) {
    #navbar.top-nav {
        min-height: 66px;
        padding: 8px 14px;
    }

    #navbar .navbar-brand img {
        max-width: 145px;
        max-height: 44px;
    }

    #navbar .navbar-collapse > .d-flex {
        align-items: stretch;
    }

    #navbar .navbar-collapse > .d-flex > a,
    #navbar .navbar-collapse > .d-flex > .dropdown {
        flex: 1 1 100%;
    }

    .home-hero {
        padding: 26px 0 32px;
    }

    .home-hero .comingsoon {
        position: relative;
        top: auto;
        right: auto;
        display: table;
        margin: 0 auto 14px;
    }

    .home-hero-copy {
        padding: 12px 6px 0;
        text-align: center;
    }

    .home-hero-kicker {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .home-hero-copy h1 {
        font-size: clamp(34px, 10vw, 45px);
    }

    .intro-section .home-hero-copy .baner-text {
        margin-top: 16px;
        font-size: 16px;
    }

    .home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 22px;
    }

    .home-hero-button {
        width: 100%;
        min-height: 48px;
        padding: 11px 14px !important;
        font-size: 14px;
    }

    .home-hero-image-column {
        margin-top: 22px;
        padding: 0 8px;
    }

    .home-hero-illustration {
        border-radius: 16px;
    }

    #features .toptitle { padding-bottom: 4px !important; }
    #features .middltitle { margin-top: 12px !important; font-size: 1.7rem; }
    #features .bottomtitle { padding-top: 4px !important; font-size: 15px; }

    .nav-list-block .nav-tabs {
        gap: 4px;
    }

    .nav-list-block .nav-tabs .nav-link {
        padding: 8px 10px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
