:root {
    --navy: #000033;
    --maroon: #990000;
    --gold: #d4af37;
    --gold2: #f1c95a;
    --bg: #f6f8fc;
    --text: #101733;
    --muted: #667085;
    --white: #ffffff;
    --border: #e7eaf1;
    --shadow: 0 14px 38px rgba(0, 0, 51, .10);
    --shadow-strong: 0 22px 52px rgba(0, 0, 51, .16);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    text-decoration: none;
}

.container {
    width: min(1320px, calc(100% - 70px));
    margin: 0 auto;
}

.topbar {
    background: var(--navy);
    color: #fff;
    font-size: 15px;
}

.topbar-inner {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.top-left span {
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
}

.top-social {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-social a {
    color: #fff;
    font-size: 19px;
}

.main-header {
    background: #fff;
    border-bottom: 1px solid #e6e8ef;
}

.header-inner {
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand-logo img {
    width: 780px;
    max-width: 100%;
    height: auto;
    display: block;
}

.header-search {
    width: 300px;
    min-width: 260px;
    height: 48px;
    border: 1px solid #cfd5df;
    border-radius: 9px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: #fff;
}

.header-search input {
    border: 0;
    outline: 0;
    width: 100%;
    font-size: 14px;
    color: var(--text);
}

.header-search i {
    font-size: 20px;
    color: #000;
}

.main-nav {
    background: var(--navy);
    border-bottom: 3px solid var(--gold);
}

.nav-inner {
    height: 66px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.nav-inner a {
    color: #fff;
    font-weight: 800;
    letter-spacing: .2px;
    padding: 0 36px;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: .2s;
}

.nav-inner a:hover,
.nav-inner a.active {
    background: var(--maroon);
}

.hero {
    height: 430px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0,0,51,.96) 0%, rgba(0,0,51,.88) 37%, rgba(153,0,0,.91) 100%), radial-gradient(circle at 20% 40%, rgba(255,255,255,.13), transparent 30%), radial-gradient(circle at 85% 35%, rgba(255,255,255,.12), transparent 32%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(45deg, rgba(255,255,255,.035) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,.035) 25%, transparent 25%);
    background-size: 70px 70px;
    opacity: .8;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding-bottom: 45px;
}

.hero-subtitle {
    color: var(--gold2);
    font-size: 30px;
    letter-spacing: 6px;
    font-weight: 800;
    margin-bottom: 6px;
}

.hero h1 {
    margin: 0;
    color: #fff;
    font-size: 70px;
    letter-spacing: 2px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 8px 24px rgba(0,0,0,.35);
}

.hero p {
    color: #fff;
    font-size: 21px;
    line-height: 1.45;
    margin: 22px 0 26px;
}

.hero-search {
    width: min(640px, 90%);
    height: 66px;
    background: #fff;
    border: 4px solid var(--gold);
    border-radius: 999px;
    display: flex;
    align-items: center;
    padding: 0 28px;
    box-shadow: 0 15px 35px rgba(0,0,0,.18);
}

.hero-search i {
    font-size: 25px;
    color: #111;
    margin-right: 18px;
}

.hero-search input {
    border: 0;
    outline: 0;
    font-size: 18px;
    width: 100%;
    color: var(--text);
}

.gold-wave {
    position: absolute;
    z-index: 4;
    left: -5%;
    right: -5%;
    bottom: -82px;
    height: 155px;
    background: #fff;
    border-top: 24px solid var(--gold);
    border-radius: 0 0 50% 50%;
    transform: rotate(-2deg);
}

.main-content {
    background: #fff;
    padding: 34px 0 44px;
}

.notice-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 20px 28px;
    margin-bottom: 30px;
}

.notice-icon {
    width: 58px;
    height: 58px;
    background: var(--maroon);
    color: #fff;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 23px;
    flex: 0 0 auto;
}

.notice-card h3 {
    margin: 0 0 7px;
    color: var(--maroon);
    font-size: 22px;
    font-weight: 900;
}

.notice-card p {
    margin: 0;
    color: #33394d;
    font-size: 16px;
}

.section-block {
    margin-bottom: 44px;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 22px;
    border-left: 8px solid var(--navy);
    padding-left: 22px;
}

.section-title-row h2 {
    margin: 0;
    color: var(--navy);
    font-size: 27px;
    font-weight: 900;
    letter-spacing: .4px;
}

.section-title-row p {
    margin: 5px 0 0;
    color: var(--navy);
    font-size: 15px;
}

.btn-see {
    color: var(--navy);
    border: 1px solid #cfd5df;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    white-space: nowrap;
}

.btn-see:hover {
    color: #fff;
    background: var(--maroon);
    border-color: var(--maroon);
}

.slider-shell {
    position: relative;
    padding: 0 50px 42px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.app-card {
    min-height: 255px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 14px;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: .22s;
    overflow: hidden;
}

.app-card.is-hidden {
    display: none;
}

.app-card:hover {
    transform: translateY(-6px);
    border-color: var(--maroon);
    box-shadow: var(--shadow-strong);
}

.app-image-wrap {
    position: relative;
    width: 100%;
    height: 130px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e7eaf1;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8fafc;
    display: block;
    transition: .35s;
}

.app-card:hover .app-image {
    transform: scale(1.05);
}

.app-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(135deg, #fafbff 0%, #f3f5f8 100%);
    color: #cfd5df;
}

.app-no-image i {
    font-size: 58px;
    color: #c9ced8;
    transition: .35s;
}

.app-card:hover .app-no-image {
    background: linear-gradient(135deg, #fff8f8, #f4f6fb);
}

.app-card:hover .app-no-image i {
    color: var(--maroon);
    transform: scale(1.12) rotate(-5deg);
}

.app-card h4 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 18px;
    font-weight: 900;
}

.app-card p {
    margin: 0 0 16px;
    color: #33394d;
    font-size: 14px;
    line-height: 1.42;
    flex: 1;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
}

.status-badge.online {
    color: #0057b8;
    background: #eaf3ff;
}

.status-badge.maintenance {
    color: #a87300;
    background: #fff4d8;
}

.status-badge.offline {
    color: #cc0000;
    background: #ffe9e9;
}

.slider-btn {
    position: absolute;
    top: 42%;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: var(--shadow);
    transition: .2s;
}

.slider-btn:hover {
    background: var(--maroon);
    transform: translateY(-2px);
}

.slider-btn:disabled {
    opacity: .28;
    cursor: not-allowed;
    transform: none;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #cfd5df;
    cursor: pointer;
}

.slider-dot.active {
    background: var(--navy);
}

.announcement-panel,
.status-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 28px;
}

.announcement-full {
    margin-top: 36px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dfe4ec;
    padding-bottom: 17px;
    margin-bottom: 10px;
}

.panel-head h3,
.status-panel h3 {
    margin: 0;
    color: var(--maroon);
    font-size: 24px;
    font-weight: 900;
}

.panel-head h3 i,
.status-panel h3 i {
    margin-right: 9px;
}

.panel-head a {
    color: var(--navy);
    border: 1px solid #d6dce5;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.announcement-item {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid #dfe4ec;
}

.announcement-item:last-child {
    border-bottom: 0;
}

.timeline-dot {
    margin-top: 7px;
    width: 12px;
    height: 12px;
    background: var(--maroon);
    border-radius: 50%;
}

.announcement-item h4 {
    margin: 0 0 9px;
    color: var(--navy);
    font-size: 17px;
    font-weight: 900;
}

.announcement-item p {
    margin: 0 0 9px;
    color: #30384d;
    line-height: 1.55;
    font-size: 14px;
}

.announcement-item small {
    color: #6b7280;
}

.status-panel {
    margin-top: 28px;
}

.status-panel h3 {
    padding-bottom: 17px;
    border-bottom: 1px solid #dfe4ec;
    margin-bottom: 16px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 42px;
    row-gap: 17px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dfe4ec;
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--navy);
    font-weight: 700;
}

.status-item.status-extra {
    display: none;
}

.status-panel.status-show-all .status-item.status-extra {
    display: flex;
}

.status-item > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: inline-block;
}

.dot.online {
    background: #08a045;
}

.dot.maintenance {
    background: #f4ad00;
}

.dot.offline {
    background: #f00000;
}

.system-online {
    color: #08a045;
}

.system-maintenance {
    color: #f4ad00;
}

.system-offline {
    color: #f00000;
}

.center {
    text-align: center;
}

.more-link {
    display: inline-block;
    color: var(--maroon);
    font-weight: 900;
    padding-top: 18px;
}

.quick-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}

.quick-card {
    min-height: 112px;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    display: grid;
    grid-template-columns: 62px 1fr 32px;
    align-items: center;
    gap: 18px;
    padding: 24px 30px;
    transition: .22s;
}

.quick-card:hover {
    background: var(--maroon);
    transform: translateY(-4px);
}

.quick-card > i {
    color: var(--gold);
    font-size: 43px;
}

.quick-card h3 {
    margin: 0 0 5px;
    font-size: 21px;
    font-weight: 900;
}

.quick-card p {
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 15px;
    line-height: 1.35;
}

.quick-card span {
    color: #fff;
    font-size: 22px;
}

.footer {
    background: linear-gradient(90deg, rgba(0,0,51,.98), rgba(0,0,51,.93)), radial-gradient(circle at top right, rgba(153,0,0,.35), transparent 25%);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 42px;
    padding: 54px 0;
}

.footer-about img {
    width: 225px;
    max-width: 100%;
    filter: brightness(1.1);
    background: rgba(255,255,255,.95);
    border-radius: 8px;
    padding: 7px;
}

.footer-about p,
.footer-col p {
    color: rgba(255,255,255,.86);
    line-height: 1.65;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 22px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.10);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.footer-col {
    border-left: 1px solid rgba(255,255,255,.14);
    padding-left: 34px;
}

.footer-col h4 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 900;
}

.footer-col h4 i {
    color: var(--gold);
    margin-right: 8px;
}

.footer-col p i {
    color: var(--gold);
    width: 25px;
}

.map-btn {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 700;
}

.map-btn:hover {
    background: var(--maroon);
}

.footer-bottom {
    background: var(--maroon);
    padding: 18px 0;
    font-size: 14px;
}

.bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom a {
    color: #fff;
}

@media (max-width: 1280px) {
    .apps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .status-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 980px) {
    .container {
        width: min(100% - 32px, 1320px);
    }

    .topbar-inner {
        height: auto;
        padding: 10px 0;
        align-items: flex-start;
    }

    .top-left {
        flex-direction: column;
        gap: 7px;
    }

    .header-inner {
        min-height: auto;
        padding: 24px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .header-search {
        width: 100%;
    }

    .nav-inner {
        overflow-x: auto;
        justify-content: flex-start;
    }

    .nav-inner a {
        padding: 0 22px;
        white-space: nowrap;
    }

    .hero h1 {
        font-size: 44px;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 22px;
        letter-spacing: 3px;
    }

    .hero p {
        font-size: 17px;
    }

    .slider-shell {
        padding: 0 42px 42px;
    }

    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .quick-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        border-left: 0;
        padding-left: 0;
    }

    .bottom-inner {
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .top-social {
        display: none;
    }

    .hero {
        height: 480px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-search {
        height: 58px;
        padding: 0 18px;
    }

    .hero-search input {
        font-size: 14px;
    }

    .notice-card {
        align-items: flex-start;
    }

    .section-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .slider-shell {
        padding: 0 38px 42px;
    }

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

    .app-image-wrap {
        height: 110px;
    }

    .app-no-image i {
        font-size: 46px;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    .announcement-grid {
        grid-template-columns: 1fr;
    }
}

.announcement-enterprise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.announcement-enterprise-card {
    position: relative;
    min-height: 245px;
    border-radius: 20px;
    padding: 24px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--ann-color), #000033);
    box-shadow: 0 16px 38px rgba(0,0,51,.16);
    transition: .25s;
}

    .announcement-enterprise-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 58px rgba(0,0,51,.22);
    }

    .announcement-enterprise-card::after {
        content: "";
        position: absolute;
        right: -55px;
        bottom: -55px;
        width: 150px;
        height: 150px;
        background: rgba(255,255,255,.10);
        border-radius: 50%;
    }

.ann-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.ann-badge,
.ann-pin {
    display: inline-flex;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 900;
    background: rgba(255,255,255,.20);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
}

    .ann-pin:empty {
        display: none;
    }

.ann-icon {
    font-size: 38px;
    margin-bottom: 16px;
    color: rgba(255,255,255,.95);
}

.announcement-enterprise-card h4 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.25;
}

.ann-content {
    color: rgba(255,255,255,.90);
    font-size: 14px;
    line-height: 1.55;
    max-height: 96px;
    overflow: hidden;
}

    .ann-content p {
        margin-top: 0;
    }

.announcement-enterprise-card small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: rgba(255,255,255,.82);
    font-weight: 700;
}

@media (max-width: 980px) {
    .announcement-enterprise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .announcement-enterprise-grid {
        grid-template-columns: 1fr;
    }
}