:root {
    --portal-navy: #061a3b;
    --portal-navy-soft: #0b2b59;
    --portal-blue: #176ff2;
    --portal-cyan: #4fd5ff;
    --portal-mint: #60e5c5;
    --portal-ink: #152039;
    --portal-muted: #68748d;
    --portal-page: #f5f8fd;
    --portal-line: #e2e9f4;
    --portal-white: #ffffff;
}

body {
    margin: 0;
}

#portal-app {
    min-height: 100vh;
    color: var(--portal-ink);
    background: var(--portal-page);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

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

#portal-app a {
    color: inherit;
    text-decoration: none;
}

.portal-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.portal-header {
    min-height: 114px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: var(--portal-white);
    border-bottom: 1px solid #edf2f8;
}

.portal-header.portal-container {
    width: 100%;
    padding-right: max(24px, 3vw);
    padding-left: max(24px, 3vw);
}

.portal-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
}

.portal-brand-mark {
    width: 52px;
    height: 52px;
    position: relative;
    flex: none;
    border-radius: 10px;
    background: var(--portal-blue);
    box-shadow: 0 8px 16px rgba(23, 111, 242, 0.22);
}

.portal-brand-mark::before,
.portal-brand-mark::after {
    content: "";
    position: absolute;
    border: 2px solid #ffffff;
    border-radius: 5px;
}

.portal-brand-mark::before {
    inset: 7px 13px 13px 7px;
    transform: skewY(-30deg);
}

.portal-brand-mark::after {
    inset: 13px 7px 7px 13px;
    transform: skewY(-30deg);
}

.portal-nav {
    min-height: 114px;
    display: flex;
    align-items: stretch;
    gap: 49px;
}

.portal-nav a {
    display: inline-flex;
    align-items: center;
    position: relative;
    color: #3e4960;
    font-size: 20px;
    font-weight: 600;
}

.portal-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: transparent;
}

.portal-nav a:hover,
.portal-nav a[aria-current="page"] {
    color: var(--portal-blue);
}

.portal-nav a:hover::after,
.portal-nav a[aria-current="page"]::after {
    background: var(--portal-blue);
}

.portal-mobile-menu {
    display: none;
    width: 38px;
    height: 34px;
    border: 1px solid var(--portal-line);
    border-radius: 8px;
    color: var(--portal-blue);
    background: #ffffff;
    cursor: pointer;
}

.portal-hero-wrap {
    padding: 26px 0 40px;
    background: var(--portal-white);
}

.portal-hero {
    min-height: 490px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.96fr);
    align-items: center;
    gap: 48px;
    padding: 65px 72px;
    overflow: hidden;
    border-radius: 18px;
    color: #ffffff;
    background: var(--portal-navy);
    box-shadow: 0 24px 48px rgba(6, 26, 59, 0.2);
}

.portal-hero::before {
    content: "";
    width: 520px;
    height: 520px;
    position: absolute;
    top: -268px;
    right: -145px;
    border: 1px solid rgba(114, 197, 255, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 0 48px rgba(39, 137, 242, 0.14), 0 0 0 96px rgba(39, 137, 242, 0.08);
}

.portal-hero::after {
    content: "";
    width: 760px;
    height: 120px;
    position: absolute;
    right: -220px;
    bottom: -46px;
    border: 1px solid rgba(75, 190, 255, 0.32);
    border-radius: 50%;
    transform: rotate(-17deg);
}

.portal-hero-copy,
.portal-hero-visual {
    position: relative;
    z-index: 1;
}

.portal-eyebrow {
    color: #7fc6ff;
    font-size: 11px;
    letter-spacing: 2px;
}

.portal-hero h1 {
    max-width: 580px;
    margin: 16px 0 18px;
    color: #ffffff;
    font-size: clamp(40px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 0;
}

.portal-hero-copy > p {
    margin: 0;
    color: #c5dcff;
    font-size: 16px;
    line-height: 1.8;
}

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

.portal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 0 19px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.portal-button:hover {
    transform: translateY(-2px);
}

.portal-button-primary {
    color: #ffffff;
    background: var(--portal-blue);
    box-shadow: 0 8px 18px rgba(23, 111, 242, 0.32);
}

.portal-button-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.07);
}

.portal-hero-visual {
    min-height: 310px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid rgba(124, 204, 255, 0.72);
    border-radius: 14px;
    background: var(--portal-navy-soft);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

.portal-screen-top {
    position: relative;
    z-index: 1;
    padding: 8px 0 12px;
    color: #d7ecff;
    border-bottom: 1px solid rgba(113, 192, 255, 0.38);
    font-size: 12px;
    text-align: center;
}

.portal-screen-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;
    margin-top: 12px;
}

.portal-screen-panel {
    min-height: 113px;
    padding: 12px;
    border: 1px solid rgba(98, 170, 255, 0.4);
    border-radius: 9px;
    background: rgba(6, 32, 77, 0.74);
    color: #a8d5ff;
    font-size: 11px;
}

.portal-screen-panel strong {
    color: #ffffff;
    font-weight: 600;
}

.portal-bars {
    height: 76px;
    display: flex;
    align-items: end;
    gap: 6px;
    padding-top: 15px;
}

.portal-bars i {
    display: block;
    flex: 1;
    border-radius: 4px 4px 1px 1px;
    background: var(--portal-cyan);
}

.portal-network {
    position: relative;
    display: grid;
    min-height: 236px;
    grid-row: span 2;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(98, 170, 255, 0.4);
    border-radius: 9px;
    background: #092a5d;
}

.portal-network::before,
.portal-network::after {
    content: "";
    width: 72%;
    height: 1px;
    position: absolute;
    background: rgba(110, 216, 255, 0.7);
    transform: rotate(26deg);
}

.portal-network::after {
    transform: rotate(-26deg);
}

.portal-network span {
    width: 52px;
    height: 52px;
    position: relative;
    z-index: 1;
    border: 2px solid #bbf3ff;
    border-radius: 12px;
    background: var(--portal-blue);
    box-shadow: 0 0 28px rgba(78, 212, 255, 0.6);
    transform: rotate(45deg);
}

.portal-quick-links {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: min(980px, calc(100% - 80px));
    margin: -20px auto 0;
}

.portal-quick-link {
    display: block;
    padding: 19px;
    border: 1px solid #e8eff8;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(31, 62, 107, 0.12);
}

.portal-quick-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    border-radius: 9px;
    color: var(--portal-blue);
    background: #eaf4ff;
    font-size: 18px;
}

.portal-quick-link strong {
    display: block;
    font-size: 16px;
}

.portal-quick-link span {
    display: block;
    margin-top: 5px;
    color: var(--portal-muted);
    font-size: 12px;
}

.portal-section {
    padding: 80px 0;
    background: #ffffff;
}

.portal-section-alt {
    background: var(--portal-page);
}

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

.portal-section-heading small {
    color: var(--portal-blue);
    font-size: 11px;
    letter-spacing: 2px;
}

.portal-section-heading h2 {
    margin: 13px 0 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
}

.portal-section-heading p {
    max-width: 600px;
    margin: 12px auto 0;
    color: var(--portal-muted);
    font-size: 14px;
    line-height: 1.8;
}

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

.portal-capability {
    min-height: 218px;
    position: relative;
    padding: 27px;
    overflow: hidden;
    border: 1px solid var(--portal-line);
    border-radius: 12px;
    background: #ffffff;
}

.portal-capability::after {
    content: "";
    width: 86px;
    height: 86px;
    position: absolute;
    right: -23px;
    bottom: -24px;
    border: 1px solid #d4e9ff;
    border-radius: 50%;
}

.portal-capability-number {
    color: var(--portal-blue);
    font-size: 12px;
}

.portal-capability h3 {
    margin: 19px 0 11px;
    font-size: 20px;
    font-weight: 700;
}

.portal-capability p {
    margin: 0;
    color: var(--portal-muted);
    font-size: 13px;
    line-height: 1.8;
}

.portal-process {
    padding: 59px 0;
    color: #ffffff;
    background: var(--portal-navy);
}

.portal-process-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 58px;
}

.portal-process h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
}

.portal-process p {
    margin: 13px 0 0;
    color: #bdd9ff;
    font-size: 14px;
    line-height: 1.8;
}

.portal-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(152, 205, 255, 0.38);
    border-bottom: 1px solid rgba(152, 205, 255, 0.38);
}

.portal-process-step {
    min-height: 98px;
    padding: 19px 12px;
    border-right: 1px solid rgba(152, 205, 255, 0.24);
}

.portal-process-step:last-child {
    border-right: 0;
}

.portal-process-step b {
    color: #70bdff;
    font-size: 12px;
}

.portal-process-step strong {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    font-weight: 700;
}

.portal-page-hero {
    padding: 64px 0;
    background: #eaf4ff;
}

.portal-page-hero-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.portal-page-hero small {
    color: var(--portal-blue);
    font-size: 11px;
    letter-spacing: 2px;
}

.portal-page-hero h1 {
    margin: 13px 0 0;
    font-size: 40px;
    line-height: 1.25;
}

.portal-page-hero p {
    max-width: 500px;
    margin: 0;
    color: var(--portal-muted);
    font-size: 14px;
    line-height: 1.85;
}

.portal-detail-list {
    border-top: 1px solid var(--portal-line);
}

.portal-detail-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 32px;
    padding: 25px 12px;
    border-bottom: 1px solid var(--portal-line);
}

.portal-detail-row strong {
    font-size: 18px;
}

.portal-detail-row p {
    margin: 0;
    color: var(--portal-muted);
    font-size: 14px;
    line-height: 1.8;
}

.portal-detail-row span {
    color: var(--portal-blue);
    font-size: 22px;
}

.portal-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.portal-about-grid {
    min-height: 430px;
    position: relative;
    overflow: hidden;
    padding: 72px 8.5%;
    background: #031b3d url("../images/about-background.png") center top / cover no-repeat;
    box-shadow: 0 18px 36px rgba(10, 42, 88, 0.2);
}

/* 关于区域的视觉背景需要覆盖整段视口，内容仍由内部留白控制阅读宽度。 */
.portal-about-section {
    padding: 0;
}

.portal-about-grid.portal-container {
    width: 100vw;
    max-width: none;
    left: 50%;
    margin-right: 0;
    margin-left: 0;
    box-shadow: none;
    transform: translateX(-50%);
}

.portal-about {
    width: min(510px, 48%);
    margin-left: 55%;
    color: #ffffff;
}

.portal-about small {
    display: block;
    margin-bottom: 14px;
    color: #7fdcff;
    font-size: 11px;
    letter-spacing: 2px;
}

.portal-about h2,
.portal-contact h2 {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.35;
}

.portal-about p {
    margin: 0 0 13px;
    color: #d2e5ff;
    font-size: 14px;
    line-height: 1.9;
}

.portal-contact > div > p {
    margin: 0 0 13px;
    color: var(--portal-muted);
    font-size: 14px;
    line-height: 1.9;
}

.portal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 23px;
}

.portal-tags span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #e8f8ff;
    background: rgba(98, 190, 255, 0.24);
    font-size: 12px;
}

.portal-contact-address {
    margin-top: 24px;
    border-top: 1px solid var(--portal-line);
}

.portal-contact-address div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--portal-line);
    font-size: 13px;
}

.portal-contact-address b {
    color: #4f5a72;
    font-weight: 700;
}

.portal-contact-form {
    padding: 27px;
    border-radius: 12px;
    background: #eff6ff;
}

.portal-contact-form h3 {
    margin: 0 0 19px;
    font-size: 19px;
}

.portal-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.portal-contact-form input,
.portal-contact-form textarea {
    width: 100%;
    border: 1px solid #d7e2f1;
    border-radius: 8px;
    padding: 12px;
    color: var(--portal-ink);
    background: #ffffff;
    font: inherit;
    font-size: 14px;
}

.portal-contact-form textarea {
    min-height: 88px;
    margin-top: 12px;
    resize: vertical;
}

.portal-contact-form button {
    margin-top: 12px;
}

.portal-footer {
    padding: 28px 0;
    color: #aab8d0;
    background: #091a38;
    font-size: 12px;
}

.portal-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.portal-footer strong {
    color: #ffffff;
}

.portal-icp-link {
    color: #aab8d0;
    text-decoration: none;
}

.portal-icp-link:hover,
.portal-icp-link:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.portal-home {
    position: relative;
    overflow: visible;
    min-height: calc(100vh - 114px);
    padding: 72px 0 0;
    color: #ffffff;
    background: #041633;
}

.portal-home-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}

.portal-home-inner {
    min-height: 590px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(460px, 1.04fr);
    align-items: center;
    gap: 62px;
}

.portal-home-copy h1 {
    margin: 17px 0 19px;
    color: #ffffff;
    font-size: clamp(43px, 4.5vw, 60px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 0;
}

.portal-home-copy > p {
    margin: 0;
    color: #d2e5ff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8;
}

.portal-home-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.portal-data-platform {
    min-height: 0;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 2px solid rgba(125, 204, 255, 0.82);
    border-radius: 16px;
    background: #061a3c;
    box-shadow: 0 24px 45px rgba(1, 7, 25, 0.45), 0 0 28px rgba(47, 166, 255, 0.2);
}

.portal-data-platform img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.portal-data-platform::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(173, 226, 255, 0.3);
    border-radius: 14px;
    pointer-events: none;
}

.portal-platform-header {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    position: relative;
    border-bottom: 1px solid rgba(82, 169, 255, 0.4);
    color: #f1f8ff;
    font-size: 17px;
    font-weight: 700;
}

.portal-platform-header::before,
.portal-platform-header::after {
    content: "";
    width: 22%;
    height: 1px;
    position: absolute;
    top: 50%;
    background: #2898fb;
}

.portal-platform-header::before {
    left: 0;
}

.portal-platform-header::after {
    right: 0;
}

.portal-platform-header small {
    position: absolute;
    top: 13px;
    right: 8px;
    color: #73ebc9;
    font-size: 10px;
    font-weight: 400;
}

.portal-platform-body {
    display: grid;
    grid-template-columns: 0.76fr 1.35fr 0.76fr;
    gap: 8px;
    padding-top: 10px;
}

.portal-platform-sidebar,
.portal-platform-core {
    display: grid;
    gap: 8px;
}

.portal-platform-metric,
.portal-platform-ring,
.portal-platform-table,
.portal-platform-chart,
.portal-platform-tools,
.portal-platform-core {
    border: 1px solid rgba(76, 165, 255, 0.37);
    border-radius: 8px;
    background: rgba(6, 39, 91, 0.68);
}

.portal-platform-metric {
    min-height: 68px;
    padding: 10px;
    color: #9bd4ff;
    font-size: 10px;
}

.portal-platform-metric strong {
    display: inline-block;
    margin: 6px 5px 0 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.portal-platform-metric em {
    color: #7db8e8;
    font-size: 10px;
    font-style: normal;
}

.portal-platform-ring {
    width: 76px;
    height: 76px;
    display: grid;
    place-self: center;
    place-items: center;
    border: 8px solid #257fdf;
    border-top-color: #63d9ff;
    border-right-color: #63d9ff;
    border-radius: 50%;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.portal-platform-table {
    display: grid;
    min-height: 135px;
    padding: 9px;
    color: #8fc5ef;
    font-size: 9px;
}

.portal-platform-table b {
    margin-bottom: 5px;
    color: #f1f8ff;
    font-size: 10px;
}

.portal-platform-table span {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(105, 184, 255, 0.18);
}

.portal-platform-core {
    min-height: 300px;
    padding: 10px;
    overflow: hidden;
}

.portal-platform-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.portal-platform-kpis span {
    padding: 7px 2px;
    border: 1px solid rgba(102, 190, 255, 0.3);
    border-radius: 5px;
    color: #cceaff;
    background: rgba(18, 81, 155, 0.4);
    font-size: 9px;
    text-align: center;
}

.portal-platform-network {
    min-height: 225px;
    position: relative;
    overflow: hidden;
}

.portal-platform-network::before,
.portal-platform-network::after {
    content: "";
    width: 79%;
    height: 1px;
    position: absolute;
    top: 49%;
    left: 10%;
    background: rgba(102, 223, 255, 0.63);
    transform: rotate(24deg);
}

.portal-platform-network::after {
    transform: rotate(-24deg);
}

.portal-node {
    width: 13px;
    height: 13px;
    position: absolute;
    z-index: 2;
    border: 2px solid #c2f6ff;
    border-radius: 50%;
    background: #1689ee;
    box-shadow: 0 0 12px #49cbff;
}

.portal-node-top { top: 31px; left: 49%; }
.portal-node-left { top: 118px; left: 18%; }
.portal-node-center { top: 106px; left: 50%; width: 21px; height: 21px; background: #38c8ff; }
.portal-node-right { top: 103px; right: 17%; }
.portal-node-bottom { bottom: 24px; left: 49%; }

.portal-data-stack {
    width: 34px;
    height: 36px;
    position: absolute;
    z-index: 1;
    border: 2px solid #8beeff;
    border-radius: 6px;
    background: #126acc;
    box-shadow: 0 6px 0 #0c4b99, 0 12px 0 #082f6c, 0 0 18px rgba(61, 202, 255, 0.55);
    transform: rotate(45deg);
}

.portal-data-stack::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid #c9f8ff;
    border-radius: 2px;
}

.stack-one { top: 130px; left: 29%; }
.stack-two { top: 151px; right: 24%; width: 38px; height: 42px; }
.stack-three { right: 39%; bottom: 25px; width: 28px; height: 29px; }

.portal-platform-chart {
    min-height: 137px;
    display: flex;
    align-items: end;
    gap: 6px;
    padding: 29px 10px 10px;
    position: relative;
}

.portal-platform-chart b {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #eef8ff;
    font-size: 10px;
}

.portal-platform-chart i {
    flex: 1;
    min-height: 18px;
    border-radius: 4px 4px 1px 1px;
    background: #41c7ff;
}

.portal-platform-chart i:nth-of-type(2) { height: 44%; }
.portal-platform-chart i:nth-of-type(3) { height: 64%; }
.portal-platform-chart i:nth-of-type(4) { height: 51%; }
.portal-platform-chart i:nth-of-type(5) { height: 82%; }
.portal-platform-chart i:nth-of-type(6) { height: 70%; }

.portal-platform-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 9px;
}

.portal-platform-tools span {
    display: grid;
    min-height: 46px;
    place-items: center;
    border-radius: 5px;
    color: #c1eaff;
    background: rgba(21, 103, 190, 0.55);
    font-size: 10px;
}

.portal-home-services {
    width: min(1040px, calc(100% - 48px));
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 34px auto -52px;
    padding: 25px 0;
    border-radius: 12px;
    color: var(--portal-ink);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(5, 35, 82, 0.18);
}

.portal-home-services div {
    display: grid;
    place-items: center;
    gap: 8px;
    border-right: 1px solid #e1e8f3;
}

.portal-home-services div:last-child {
    border-right: 0;
}

.portal-service-symbol {
    color: var(--portal-blue);
    font-size: 26px;
    line-height: 1;
}

.portal-home-services strong {
    font-size: 20px;
}

.portal-toast {
    position: fixed;
    z-index: 10;
    right: 22px;
    bottom: 22px;
    max-width: calc(100% - 44px);
    padding: 12px 16px;
    border: 1px solid rgba(96, 229, 197, 0.5);
    border-radius: 9px;
    color: #d9fff5;
    background: #0a3350;
    box-shadow: 0 12px 25px rgba(3, 25, 52, 0.25);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.portal-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 780px) {
    .portal-container {
        width: min(100% - 32px, 1180px);
    }

    .portal-header {
        min-height: 68px;
    }

    .portal-brand {
        font-size: 15px;
    }

    .portal-brand-mark {
        width: 31px;
        height: 31px;
    }

    .portal-nav {
        display: none;
        position: absolute;
        z-index: 5;
        top: 68px;
        right: 16px;
        left: 16px;
        min-height: 0;
        padding: 10px;
        border: 1px solid var(--portal-line);
        border-radius: 10px;
        background: #ffffff;
        box-shadow: 0 12px 24px rgba(30, 57, 99, 0.15);
    }

    .portal-nav.is-open {
        display: grid;
    }

    .portal-nav a {
        min-height: 40px;
        padding: 0 10px;
    }

    .portal-mobile-menu {
        display: inline-grid;
        place-items: center;
    }

    .portal-hero-wrap {
        padding: 16px 0 28px;
    }

    .portal-home {
        padding-top: 45px;
        min-height: calc(100vh - 68px);
    }

    .portal-home-inner {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .portal-home-copy h1 {
        font-size: 39px;
    }

    .portal-home-copy > p {
        font-size: 16px;
    }

    .portal-home-actions {
        margin-top: 26px;
    }

    .portal-data-platform {
        min-height: 0;
        padding: 0;
        border-radius: 12px;
    }

    .portal-data-platform img {
        border-radius: 10px;
    }

    .portal-platform-header {
        min-height: 35px;
        font-size: 14px;
    }

    .portal-platform-header small,
    .portal-platform-header::before,
    .portal-platform-header::after,
    .portal-platform-sidebar {
        display: none;
    }

    .portal-platform-body {
        display: block;
        padding-top: 8px;
    }

    .portal-platform-core {
        min-height: 252px;
    }

    .portal-platform-network {
        min-height: 183px;
    }

    .portal-node-top { top: 20px; }
    .portal-node-left { top: 92px; }
    .portal-node-center { top: 81px; }
    .portal-node-right { top: 82px; }
    .portal-node-bottom { bottom: 15px; }
    .stack-one { top: 100px; }
    .stack-two { top: 118px; }
    .stack-three { bottom: 16px; }

    .portal-home-services {
        width: calc(100% - 32px);
        margin-top: 28px;
        margin-bottom: -30px;
        padding: 18px 0;
    }

    .portal-home-services strong {
        font-size: 14px;
    }

    .portal-service-symbol {
        font-size: 21px;
    }

    .portal-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 44px 25px;
        border-radius: 14px;
    }

    .portal-hero h1 {
        font-size: 38px;
    }

    .portal-hero-visual {
        min-height: 250px;
    }

    .portal-quick-links {
        grid-template-columns: 1fr;
        width: calc(100% - 32px);
        margin-top: -8px;
    }

    .portal-quick-link {
        padding: 15px 16px;
    }

    .portal-quick-icon {
        display: none;
    }

    .portal-section {
        padding: 58px 0;
    }

    .portal-about-section {
        padding: 0;
    }

    .portal-capabilities,
    .portal-contact-grid,
    .portal-process-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .portal-about-grid {
        min-height: 500px;
        display: flex;
        align-items: end;
        padding: 42px 26px;
        background-position: center top;
    }

    .portal-about {
        width: 100%;
        margin-left: 0;
        padding: 24px;
        background: rgba(2, 19, 47, 0.78);
    }

    .portal-process-steps {
        grid-template-columns: 1fr 1fr;
    }

    .portal-process-step {
        min-height: 80px;
    }

    .portal-page-hero {
        padding: 52px 0;
    }

    .portal-page-hero-inner {
        display: block;
    }

    .portal-page-hero p {
        margin-top: 15px;
    }

    .portal-detail-row {
        grid-template-columns: 1fr 28px;
        gap: 9px;
        padding: 22px 5px;
    }

    .portal-detail-row p {
        grid-column: 1 / -1;
    }

    .portal-detail-row span {
        grid-column: 2;
        grid-row: 1;
    }

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

    .portal-footer-inner {
        display: flex;
        align-items: center;
        line-height: 2;
        text-align: center;
    }
}
