body {
    padding-top: 56px;
    padding-bottom: 0;
    color: #07111a;
    background: #f7f9fb;
    font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    letter-spacing: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
}

.body-content {
    max-width: 1360px;
    width: auto;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

input,
select,
textarea {
    max-width: 280px;
}

.field-validation-error {
    display: block;
    margin-top: 5px;
    color: #b94a48;
    font-size: 12px;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.bmw-navbar {
    min-height: 56px;
    margin-bottom: 0;
    background: #050d15;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    text-rendering: auto;
}

.bmw-nav-container {
    max-width: 1360px;
    width: auto;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.bmw-navbar .navbar-brand {
    height: 56px;
    padding: 0;
    color: #ffffff;
    font-size: 23px;
    font-weight: 700;
    line-height: 56px;
    text-shadow: none !important;
}

.bmw-navbar .navbar-brand:hover,
.bmw-navbar .navbar-brand:focus {
    color: #ffffff;
}

.bmw-main-nav {
    margin-left: 70px;
}

.bmw-navbar .navbar-nav > li > a {
    height: 56px;
    padding: 0 18px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 56px;
    text-shadow: none !important;
}

.bmw-navbar .navbar-nav > li > a:hover,
.bmw-navbar .navbar-nav > li > a:focus {
    color: #ffffff;
    background: transparent;
}

.bmw-navbar .navbar-nav > .active > a,
.bmw-navbar .navbar-nav > .active > a:hover,
.bmw-navbar .navbar-nav > .active > a:focus {
    color: #1591ff;
    background: transparent;
    box-shadow: inset 0 -3px 0 #1591ff;
}

.bmw-navbar .navbar-toggle {
    margin-top: 11px;
    margin-right: 0;
    border-color: rgba(255, 255, 255, 0.35);
}

.bmw-navbar .navbar-toggle:hover,
.bmw-navbar .navbar-toggle:focus {
    background: rgba(255, 255, 255, 0.08);
}

.bmw-navbar .dropdown-menu {
    border: 1px solid #d7e1ec;
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(6, 19, 31, 0.18);
}

.navbar-right > li > a.nav-login-button {
    margin: 10px 0 0 10px;
    height: 36px !important;
    padding: 0 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 10px;
    color: #ffffff !important;
    line-height: 34px !important;
    text-shadow: none !important;
}

.navbar-right > li > a.nav-login-button:hover,
.navbar-right > li > a.nav-login-button:focus {
    background: rgba(255, 255, 255, 0.08) !important;
}

.navbar-right > li > a.nav-account-link,
.navbar-right > li > a.nav-global-link {
    color: #ffffff;
}

.home-page,
.login-page {
    margin-top: 0;
}

.home-hero {
    min-height: 465px;
    overflow: hidden;
    border-radius: 0 0 18px 18px;
    background:
        linear-gradient(90deg, rgba(0, 5, 10, 0.9) 0%, rgba(0, 7, 12, 0.76) 42%, rgba(0, 11, 20, 0.16) 100%),
        url("images/home-hero-ecu-rendered.png") center center / 100% auto no-repeat,
        #05101a;
}

.home-hero__content {
    max-width: 620px;
    width: auto;
    margin-left: 76px;
    padding-top: 80px;
    padding-bottom: 80px;
    color: #ffffff;
}

.home-hero__eyebrow,
.login-copy__eyebrow {
    display: inline-block;
    color: #cfe7ff;
    font-size: 13px;
    font-weight: 700;
}

.home-hero__eyebrow::before,
.login-copy__eyebrow::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    border-radius: 999px;
    background: #168ce8;
    box-shadow: 0 0 0 5px rgba(22, 140, 232, 0.16);
}

.home-hero h1,
.login-copy h1 {
    margin: 18px 0 16px;
    color: #ffffff;
    font-size: 52px;
    line-height: 1.12;
    font-weight: 900;
}

.home-accent {
    width: 42px;
    height: 4px;
    margin-bottom: 28px;
    border-radius: 999px;
    background: #1789e7;
}

.home-hero p,
.login-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.85;
}

.home-hero__actions {
    margin-top: 34px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.home-btn {
    min-width: 0;
    height: 48px;
    display: inline-flex;
    flex: 0 0 162px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    vertical-align: top;
    white-space: nowrap;
}

.home-btn .glyphicon {
    margin-right: 8px;
}

.home-btn--primary {
    color: #ffffff;
    background: linear-gradient(135deg, #0969c9, #0788ff);
    box-shadow: 0 12px 24px rgba(9, 105, 201, 0.28);
}

.home-btn--primary:hover,
.home-btn--primary:focus {
    color: #ffffff;
    filter: brightness(1.04);
}

.home-btn--ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.03);
}

.home-btn--ghost:hover,
.home-btn--ghost:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.home-btn--air {
    flex-basis: 112px;
    color: #ffffff;
    border: 1px solid rgba(86, 174, 255, 0.82);
    background: rgba(9, 105, 201, 0.24);
}

.home-btn--air:hover,
.home-btn--air:focus {
    color: #ffffff;
    background: rgba(9, 105, 201, 0.34);
}

.home-core {
    padding: 34px 0 42px;
    background: transparent;
}

.section-heading {
    margin-bottom: 28px;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    color: #07111a;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

.section-heading span {
    display: block;
    width: 42px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: #0969c9;
}

.service-grid {
    margin-left: -12px;
    margin-right: -12px;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.service-grid::before,
.service-grid::after {
    content: none;
    display: none;
}

.service-grid::after {
    clear: both;
}

.service-card {
    min-height: 232px;
    display: flex;
    align-items: flex-start;
    float: none;
    flex: 1 1 calc(50% - 24px);
    width: calc(50% - 24px);
    margin-left: 12px;
    margin-right: 12px;
    padding: 28px;
    color: #07111a;
    border: 1px solid #cdd8e5;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: none;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.service-card:hover,
.service-card:focus {
    color: #07111a;
    border-color: #9fb6d0;
    transform: translateY(-2px);
}

.service-card--files {
    border-bottom: 4px solid #0969c9;
}

.service-card--tools {
    border-bottom: 4px solid #0b8a4a;
}

.service-card__icon {
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
    float: none;
    border-radius: 999px;
    background: #edf4ff;
    color: #0969c9;
    font-size: 42px;
    line-height: 86px;
    text-align: center;
}

.service-card--tools .service-card__icon {
    background: #edf8f1;
    color: #0b8a4a;
}

.service-card__body {
    min-height: 100%;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-self: stretch;
    margin-left: 30px;
}

.service-card h3 {
    margin: 0 0 12px;
    color: #07111a;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 900;
}

.service-card p {
    margin: 0 0 15px;
    color: #5e6d7f;
    font-size: 15px;
    line-height: 1.75;
}

.service-card ul {
    margin: 0 0 18px;
    padding: 0;
    color: #425468;
    list-style: none;
    font-size: 14px;
}

.service-card ul::before,
.service-card ul::after {
    content: " ";
    display: table;
}

.service-card ul::after {
    clear: both;
}

.service-card li {
    float: left;
    width: 50%;
    margin-bottom: 8px;
    padding-right: 16px;
}

.service-card li::before {
    content: "\e013";
    margin-right: 8px;
    color: #0969c9;
    font-family: "Glyphicons Halflings";
    font-size: 11px;
}

.service-card--tools li::before {
    color: #0b8a4a;
}

.service-link {
    margin-top: auto;
    color: #0969c9;
    font-weight: 900;
}

.service-card--tools .service-link {
    color: #0b8a4a;
}

.menu-page {
    padding: 28px 0 48px;
}

.menu-page__header {
    margin: 0 0 26px;
    text-align: center;
}

.menu-page__header h1 {
    margin: 0;
    color: #07111a;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 900;
}

.menu-page__header p {
    max-width: 720px;
    margin: 12px auto 0;
    color: #5e6d7f;
    font-size: 15px;
    line-height: 1.75;
}

.menu-grid {
    margin: 0 -1% 18px;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.menu-grid::before,
.menu-grid::after {
    content: none;
    display: none;
}

.menu-grid::after {
    clear: both;
}

.menu-grid .menu-card {
    display: flex;
    flex-direction: column;
    float: none;
    width: 31.333333%;
    min-height: 256px;
    margin: 0 1% 24px;
    padding: 24px 24px 76px;
    position: relative;
    color: #17304a;
    background: #ffffff;
    border: 1px solid #d6e1ee;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(20, 44, 89, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.menu-grid .menu-card:nth-child(3n+1) {
    clear: left;
}

.menu-grid .menu-card:hover {
    transform: translateY(-2px);
    border-color: #a9c2df;
    box-shadow: 0 14px 32px rgba(20, 44, 89, 0.12);
}

.menu-grid .menu-card h2 {
    margin: 0 0 14px;
    color: #0b3976;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 900;
}

.menu-grid .menu-card p {
    margin: 0 0 10px;
    color: #4c5a6e;
    font-size: 14px;
    line-height: 1.75;
}

.menu-grid .menu-card .btn {
    min-width: 108px;
    height: 38px;
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 8px 24px;
    border: 0;
    border-radius: 19px;
    color: #ffffff;
    background: #35b4d4;
    font-weight: 800;
    line-height: 20px;
}

.menu-grid .menu-card .btn-success {
    background: #148a51;
}

.menu-grid .menu-card .btn:hover,
.menu-grid .menu-card .btn:focus {
    color: #ffffff;
    filter: brightness(0.96);
}

.login-page {
    min-height: calc(100vh - 56px);
    overflow: hidden;
    border-radius: 0 0 18px 18px;
    background:
        linear-gradient(90deg, rgba(0, 5, 10, 0.9) 0%, rgba(0, 7, 12, 0.74) 42%, rgba(0, 11, 20, 0.2) 100%),
        url("images/home-hero-ecu-rendered.png") center center / cover no-repeat,
        #05101a;
}

.login-page::before,
.login-page::after {
    content: " ";
    display: table;
}

.login-page::after {
    clear: both;
}

.login-copy {
    float: left;
    width: calc(100% - 488px);
    min-height: 600px;
    padding: 96px 76px;
    color: #ffffff;
}

.login-panel {
    float: right;
    width: 440px;
    margin: 64px 48px 64px 0;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.login-panel h2 {
    margin: 0 0 8px;
    color: #071521;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 900;
}

.login-panel__sub {
    margin: 0 0 24px;
    color: #5e6d7f;
    font-size: 14px;
    line-height: 1.7;
}

.login-field {
    margin-bottom: 16px;
}

.login-label {
    display: block;
    margin-bottom: 8px;
    color: #182a3b;
    font-size: 13px;
    font-weight: 800;
}

.login-input {
    width: 100%;
    max-width: none;
    height: 46px;
    border: 1px solid #d7e1ec;
    border-radius: 10px;
    padding: 0 14px;
    color: #0b1b2b;
    background: #ffffff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.login-input:focus {
    border-color: #0075e3;
    box-shadow: 0 0 0 4px rgba(0, 117, 227, 0.14);
}

.login-options {
    margin: 4px 0 22px;
    color: #536376;
    font-size: 13px;
}

.login-remember {
    display: inline-block;
    font-weight: 400;
    cursor: pointer;
}

.login-remember input {
    width: 16px;
    height: 16px;
    margin: 0 8px 0 0;
}

.login-submit {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #0969c9, #0788ff);
    box-shadow: 0 12px 24px rgba(9, 105, 201, 0.28);
    font-size: 16px;
    font-weight: 900;
}

.login-submit:hover,
.login-submit:focus {
    color: #ffffff;
    filter: brightness(1.04);
}

.login-validation {
    margin-bottom: 14px;
    color: #b94a48;
}

.login-statement {
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px solid #e6edf5;
    color: #6a7889;
    font-size: 12px;
    line-height: 1.7;
}

.site-footer {
    margin: 24px 0 0;
    padding: 18px 0;
    color: #5f6f82;
    background: transparent;
    border-top: 1px solid #e5ebf2;
    text-align: center;
}

.site-footer__meta {
    margin: 0;
    color: #5f6f82;
    font-size: 12px;
    line-height: 1.6;
}

.site-footer__meta a {
    color: #1f78d1;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .bmw-main-nav {
        margin-left: 32px;
    }

    .bmw-navbar .navbar-nav > li > a {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 991px) {
    .body-content,
    .bmw-nav-container {
        max-width: none;
        width: auto;
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-hero {
        min-height: 420px;
        background:
            linear-gradient(90deg, rgba(0, 5, 10, 0.92) 0%, rgba(0, 7, 12, 0.78) 58%, rgba(0, 11, 20, 0.32) 100%),
            url("images/home-hero-ecu-rendered.png") center center / auto 100% no-repeat,
            #05101a;
    }

    .service-card {
        display: flex;
        flex: none;
        float: none;
        width: auto;
        margin-bottom: 22px;
    }

    .service-grid {
        display: block;
    }

    .menu-grid .menu-card:nth-child(3n+1) {
        clear: none;
    }

    .menu-grid .menu-card:nth-child(2n+1) {
        clear: left;
    }

    .menu-grid .menu-card {
        width: 48%;
        min-height: auto;
        padding: 20px 18px 70px;
    }

    .login-copy {
        float: none;
        width: auto;
        min-height: 360px;
        padding: 64px 42px 34px;
    }

    .login-panel {
        float: none;
        width: auto;
        max-width: 520px;
        margin: 0 auto 36px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 0;
    }

    .bmw-navbar {
        position: static;
    }

    .bmw-nav-container {
        padding-left: 0;
        padding-right: 0;
    }

    .bmw-navbar .navbar-brand {
        padding-left: 0;
    }

    .bmw-main-nav {
        margin-left: 0;
    }

    .bmw-navbar .navbar-nav > li > a {
        height: auto;
        padding: 12px 0;
    }

    .navbar-right > li > a {
        margin: 6px 0;
        display: inline-block !important;
    }

    .home-hero {
        min-height: auto;
        padding: 46px 0;
        border-radius: 0 0 14px 14px;
        background:
            linear-gradient(180deg, rgba(0, 6, 11, 0.92) 0%, rgba(0, 7, 12, 0.8) 55%, rgba(0, 8, 15, 0.94) 100%),
            url("images/home-hero-ecu-rendered.png") center top / auto 100% no-repeat,
            #05101a;
    }

    .home-hero__content {
        width: calc(100% - 36px);
        margin-left: 18px;
    }

    .home-hero h1,
    .login-copy h1 {
        font-size: 34px;
    }

    .home-hero p,
    .login-copy p {
        font-size: 15px;
    }

    .home-btn {
        width: 100%;
        flex: 1 1 100%;
    }

    .home-core {
        padding: 30px 0;
    }

    .menu-grid {
        margin-left: 0;
        margin-right: 0;
        display: block;
    }

    .menu-grid .menu-card,
    .menu-grid .menu-card:nth-child(2n+1),
    .menu-grid .menu-card:nth-child(3n+1) {
        float: none;
        clear: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .service-card {
        padding: 22px;
    }

    .service-card__icon {
        float: none;
        margin-bottom: 18px;
    }

    .service-card__body {
        margin-left: 0;
    }

    .service-card li {
        float: none;
        width: auto;
    }

    .login-page {
        border-radius: 0 0 14px 14px;
        background:
            linear-gradient(180deg, rgba(0, 6, 11, 0.92) 0%, rgba(0, 7, 12, 0.78) 52%, rgba(0, 8, 15, 0.92) 100%),
            url("images/home-hero-ecu-rendered.png") center top / auto 100% no-repeat,
            #05101a;
    }

    .login-copy {
        min-height: auto;
        padding: 38px 22px 24px;
    }

    .login-panel {
        width: calc(100% - 32px);
        padding: 22px;
        border-radius: 14px;
    }

    .site-footer__meta {
        text-align: center;
    }
}
