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

:root {
    --ink: #1a2744;
    --navy: #1a365d;
    --steel: #4a6488;
    --muted: #6b7f99;
    --mist: #e8eef6;
    --paper: #f3f6fa;
    --white: #ffffff;
    --brass: #1a4a7a;
    --brass-deep: #1a365d;
    --brass-soft: rgba(26, 54, 93, 0.12);

    /* 新增色彩变体 - 增强色彩层次感 */
    --sky-light: #e8f1f8;
    --sky-pale: #f2f7fb;
    --brass-pale: #eef3f9;
    --brass-tint: #e8eef6;
    --warm-beige: #f4f7fb;
    --cool-mist: #eef3f9;

    --line: rgba(42, 63, 99, 0.08);
    --shadow-soft: 0 8px 30px rgba(26, 39, 68, 0.06);
    --shadow-hover: 0 16px 40px rgba(26, 39, 68, 0.1);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-sm: 12px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --nav-h: 72px;
    --max: 1120px;
    --font-display: "Noto Serif SC", "Songti SC", "SimSun", serif;
    --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 2000;
    padding: 8px 14px;
    background: var(--navy);
    color: var(--white);
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
}

/* ——— Navbar ——— */
.navbar {
    position: fixed;
    inset: 0 0 auto;
    height: var(--nav-h);
    z-index: 1000;
    background: var(--navy);
    backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 18px rgba(15, 32, 56, 0.18);
    transition: box-shadow 0.35s var(--ease);
}

.navbar.is-scrolled {
    background: var(--navy);
    backdrop-filter: none;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 24px rgba(15, 32, 56, 0.28);
}

.nav-container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.35s var(--ease);
}

.navbar.is-scrolled .logo {
    color: rgba(255, 255, 255, 0.92);
}

.logo-img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    transition: filter 0.35s var(--ease);
}

/* 校徽为浅色稿，叠在商务蓝顶栏上保持原色 */
.navbar.is-scrolled .logo-img {
    filter: none;
}

.logo-mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 8px;
    background:
        linear-gradient(135deg, transparent 46%, var(--brass) 46%, var(--brass) 54%, transparent 54%),
        linear-gradient(var(--ink), var(--ink));
    clip-path: polygon(50% 8%, 92% 92%, 8% 92%);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a {
    padding: 8px 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
    border-radius: 999px;
    transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu a.is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

.navbar.is-scrolled .nav-menu a {
    color: rgba(255, 255, 255, 0.78);
}

.navbar.is-scrolled .nav-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.is-scrolled .nav-menu a.is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

.nav-cta {
    margin-left: 8px;
    padding: 9px 20px !important;
    color: var(--white) !important;
    background: var(--navy);
    border-radius: 999px !important;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease) !important;
}

.nav-cta:hover {
    background: #234876 !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.35s var(--ease);
}

.navbar.is-scrolled .hamburger span {
    background: var(--white);
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 56px) 24px 100px;
    overflow: hidden;
    background: #121c2e;
    color: var(--white);
}

.hero-plane {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    inset: 0;
    background:
        url("heronew.jpeg") center center / cover no-repeat;
    opacity: 1;
    transform: scale(1.04);
    animation: heroKen 28s ease-in-out infinite alternate;
}

.hero-veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 58% at 50% 48%, rgba(12, 20, 34, 0.58) 0%, rgba(12, 20, 34, 0.28) 52%, rgba(12, 20, 34, 0.12) 100%),
        linear-gradient(180deg, rgba(12, 20, 34, 0.28) 0%, rgba(12, 20, 34, 0.1) 38%, rgba(12, 20, 34, 0.42) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 45% 35% at 50% 35%, rgba(26, 54, 93, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 35% 30% at 78% 68%, rgba(100, 150, 200, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse 30% 28% at 18% 70%, rgba(26, 54, 93, 0.1) 0%, transparent 50%);
    animation: softGlow 10s ease-in-out infinite alternate;
}

.hero-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

.hero-path {
    stroke-dasharray: 12 18;
    animation: pathFlow 18s linear infinite;
}

.hero-path-b { animation-duration: 24s; animation-direction: reverse; }
.hero-path-c { animation-duration: 30s; }

.hero-nodes circle {
    transform-box: fill-box;
    transform-origin: center;
    animation: nodePulse 3.2s var(--ease) infinite;
}

.hero-nodes circle:nth-child(2) { animation-delay: 0.4s; }
.hero-nodes circle:nth-child(3) { animation-delay: 0.8s; }
.hero-nodes circle:nth-child(4) { animation-delay: 1.2s; }
.hero-nodes circle:nth-child(5) { animation-delay: 0.6s; }
.hero-nodes circle:nth-child(6) { animation-delay: 1s; }
.hero-nodes circle:nth-child(7) { animation-delay: 1.5s; }

.hero-orbs .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.45;
}

.orb-1 {
    width: 280px;
    height: 280px;
    left: -40px;
    top: 18%;
    background: rgba(26, 54, 93, 0.35);
    animation: orbFloat 14s ease-in-out infinite;
}

.orb-2 {
    width: 360px;
    height: 360px;
    right: -80px;
    bottom: 10%;
    background: rgba(90, 140, 190, 0.3);
    animation: orbFloat 18s ease-in-out infinite reverse;
}

.orb-3 {
    width: 200px;
    height: 200px;
    left: 42%;
    top: 12%;
    background: rgba(255, 255, 255, 0.12);
    animation: orbFloat 11s ease-in-out infinite 2s;
}

.hero-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 8px rgba(26, 54, 93, 0.6);
    animation: particleRise 9s linear infinite;
}

.hero-particles span:nth-child(1) { left: 12%; bottom: 8%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 28%; bottom: 15%; width: 2px; height: 2px; animation-delay: 1.5s; animation-duration: 11s; }
.hero-particles span:nth-child(3) { left: 48%; bottom: 5%; animation-delay: 3s; animation-duration: 10s; }
.hero-particles span:nth-child(4) { left: 62%; bottom: 18%; width: 2px; height: 2px; animation-delay: 0.8s; }
.hero-particles span:nth-child(5) { left: 78%; bottom: 10%; animation-delay: 2.2s; animation-duration: 12s; }
.hero-particles span:nth-child(6) { left: 88%; bottom: 22%; width: 2px; height: 2px; animation-delay: 4s; }

@keyframes heroKen {
    from { transform: scale(1.04) translate(0, 0); }
    to { transform: scale(1.1) translate(-1.2%, 1%); }
}

@keyframes softGlow {
    from { opacity: 0.75; }
    to { opacity: 1; }
}

@keyframes pathFlow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -240; }
}

@keyframes nodePulse {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.35); }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(18px, -22px); }
}

@keyframes particleRise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    15% { opacity: 0.8; }
    100% { transform: translateY(-55vh) scale(0.4); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.25;
    margin-bottom: 28px;
    color: var(--white);
    text-shadow:
        0 1px 2px rgba(8, 14, 24, 0.55),
        0 4px 24px rgba(8, 14, 24, 0.45),
        0 12px 40px rgba(8, 14, 24, 0.35);
    opacity: 0;
    animation: riseIn 0.9s var(--ease) 0.1s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.96);
    margin-bottom: 20px;
    text-shadow:
        0 1px 2px rgba(8, 14, 24, 0.5),
        0 4px 20px rgba(8, 14, 24, 0.4);
    opacity: 0;
    animation: riseIn 0.9s var(--ease) 0.25s forwards;
}

.hero-lead {
    font-size: 1.02rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.88);
    max-width: 34em;
    margin: 0 auto 40px;
    line-height: 1.9;
    text-shadow: 0 2px 14px rgba(8, 14, 24, 0.45);
    opacity: 0;
    animation: riseIn 0.9s var(--ease) 0.4s forwards;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    opacity: 0;
    animation: riseIn 0.9s var(--ease) 0.55s forwards;
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-solid {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.3);
}

.btn-solid:hover {
    background: #234876;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26, 54, 93, 0.4);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.btn-full { width: 100%; }

.scroll-cue {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    opacity: 0.6;
    transition: opacity 0.25s;
}

.scroll-cue:hover { opacity: 0.95; }

.scroll-cue-line {
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.8);
    animation: scrollDot 1.8s var(--ease) infinite;
}

@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ——— Strip ——— */
.strip {
    padding: 72px 0 40px;
    margin-top: -28px;
    position: relative;
    z-index: 2;
}

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

.strip-item {
    padding: 32px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* 为三个特点卡片添加不同的色彩 */
.strip-item:nth-child(1) {
    background: var(--brass-pale);
}

.strip-item:nth-child(2) {
    background: var(--sky-pale);
}

.strip-item:nth-child(3) {
    background: var(--warm-beige);
}

.strip-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.strip-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass-deep);
    background: var(--brass-soft);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.strip-item h3 {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ink);
    line-height: 1.4;
}

.strip-item p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.8;
}

/* ——— Sections ——— */
.section {
    padding: 88px 0;
    scroll-margin-top: calc(var(--nav-h) + 12px);
}

.section-tint {
    background: transparent;
}

/* 为不同section添加交替的背景色 */
.section:nth-of-type(even) {
    background: linear-gradient(to bottom, var(--paper) 0%, var(--sky-pale) 50%, var(--paper) 100%);
}

.section:nth-of-type(odd) {
    background: var(--paper);
}

.section-head {
    max-width: 560px;
    margin-bottom: 48px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brass-deep);
    background: var(--brass-soft);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.section-kicker-light {
    background: rgba(26, 54, 93, 0.2);
    color: #c5d4e8;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    color: var(--ink);
}

.section-head p {
    font-size: 1rem;
    color: var(--muted);
}

/* ——— Portal cards (home) ——— */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portal-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line);
    color: var(--ink);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.portal-card-media {
    position: relative;
    display: block;
    width: 100%;
    height: 196px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: var(--mist);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: none;
    transition: transform 0.7s var(--ease);
}

.portal-card-media::after {
    content: none;
}

.portal-card:hover .portal-card-media {
    transform: scale(1.03);
}

.portal-card--teacher .portal-card-media {
    background-image: url("images/cards/portal-teacher.jpg");
}

.portal-card--training .portal-card-media {
    background-image: url("images/cards/portal-training.jpg");
}

.portal-card--course .portal-card-media {
    background-image: url("images/cards/portal-course.jpg");
}

.portal-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 28px 26px 26px;
}

.portal-label {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--brass-pale);
    padding: 5px 12px;
    border-radius: 2px;
    margin-bottom: 14px;
}

.portal-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--navy);
}

.portal-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 18px;
}

.portal-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--brass);
    transition: transform 0.25s var(--ease);
}

.portal-card:hover .portal-link {
    transform: translateX(3px);
}

/* ——— Home: overview / workflow / audience ——— */
body[data-page="home"] .section.section-tint {
    background: linear-gradient(180deg, var(--sky-pale) 0%, var(--paper) 100%);
}

.home-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
}

.home-metric {
    background: var(--white);
    padding: 32px 24px 28px;
    text-align: center;
}

.home-metric strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.15rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 8px;
}

.home-metric span {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.home-metric p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.home-scenes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.home-scenes li {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--line);
    padding: 8px 14px;
    border-radius: 999px;
}

.section-head-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.section-head-split > div {
    max-width: 560px;
}

.section-more {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 6px;
    transition: transform 0.25s var(--ease);
}

.section-more:hover {
    transform: translateX(3px);
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.flow-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px 22px 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: inherit;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.flow-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(26, 54, 93, 0.22);
}

.flow-count {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--brass-pale);
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 14px;
}

.flow-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.flow-card > p {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.flow-card ul {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flow-card li {
    font-size: 0.84rem;
    color: var(--ink);
    padding-left: 12px;
    border-left: 2px solid var(--mist);
    line-height: 1.45;
}

.cert-list + .cert-feature {
    margin-top: 22px;
}

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

.audience-card {
    display: flex;
    flex-direction: column;
    padding: 28px 26px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.audience-card h3 {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.audience-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 18px;
    flex: 1;
}

.home-jump {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 36px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.home-jump h2 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--navy);
    margin: 8px 0 10px;
}

.home-jump p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 36em;
    margin: 0;
}

.home-jump .btn {
    flex-shrink: 0;
}

/* ——— Inner page hero ——— */
.page-inner .navbar {
    background: var(--navy);
    backdrop-filter: none;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + 48px) 0 56px;
    background:
        radial-gradient(ellipse 50% 60% at 90% 20%, rgba(26, 54, 93, 0.14), transparent 55%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(61, 90, 115, 0.08), transparent 50%),
        linear-gradient(180deg, #e8eef4 0%, var(--paper) 100%);
    border-bottom: 1px solid var(--line);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.28;
    pointer-events: none;
}

body[data-page="teacher"] .page-hero::before {
    background-image: url("images/cards/portal-teacher.jpg");
}

body[data-page="training"] .page-hero::before {
    background-image: url("images/cards/portal-training.jpg");
}

body[data-page="course"] .page-hero {
    background: #152a4a;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body[data-page="course"] .page-hero::before {
    background-image: url("images/cards/hero-course.jpg");
    background-position: center right;
    opacity: 0.92;
}

body[data-page="course"] .page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 32, 58, 0.78) 0%, rgba(15, 32, 58, 0.42) 48%, rgba(15, 32, 58, 0.12) 100%);
    pointer-events: none;
}

body[data-page="course"] .page-crumb {
    color: rgba(232, 238, 246, 0.62);
}

body[data-page="course"] .page-crumb a {
    color: rgba(232, 238, 246, 0.86);
}

body[data-page="course"] .page-crumb a:hover {
    color: var(--white);
}

body[data-page="course"] .page-hero .section-kicker {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

body[data-page="course"] .page-hero h1 {
    color: var(--white);
}

body[data-page="course"] .page-hero-copy > p:not(.page-crumb) {
    color: rgba(232, 238, 246, 0.78);
}

body[data-page="course"] .flow-nav a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
}

body[data-page="course"] .flow-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

body[data-page="course"] .page-hero-panel {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
}

body[data-page="course"] .hero-stat {
    background: rgba(255, 255, 255, 0.92);
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 40px;
    align-items: end;
}

.page-crumb {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.page-crumb a {
    color: var(--steel);
    transition: color 0.25s;
}

.page-crumb a:hover {
    color: var(--ink);
}

.page-hero .section-kicker {
    margin-bottom: 12px;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.5vw, 2.4rem);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.page-hero-copy > p:not(.page-crumb) {
    font-size: 1rem;
    color: var(--muted);
    max-width: 34em;
    line-height: 1.85;
    margin-bottom: 24px;
}

.flow-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.flow-nav a {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.flow-nav a:hover {
    border-color: rgba(26, 54, 93, 0.45);
    color: var(--brass-deep);
    background: var(--brass-soft);
}

.page-hero-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(26, 39, 68, 0.06);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}

.hero-stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: var(--white);
    border-radius: var(--radius-sm);
}

.hero-stat strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
}

.hero-stat span {
    font-size: 0.82rem;
    color: var(--muted);
}

.section-head-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.course-copy h2 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ——— Tool grid ——— */
.tool-group {
    margin-bottom: 0;
}

.tool-group-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.tool-group-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    padding-left: 14px;
    border-left: 3px solid var(--brass);
}

.tool-group-desc {
    font-size: 0.92rem;
    color: var(--muted);
    padding-left: 17px;
}

.tool-group-count {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--brass-deep);
    background: var(--brass-soft);
    padding: 6px 12px;
    border-radius: 999px;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.tool-grid-narrow {
    grid-template-columns: 1fr;
    max-width: 560px;
}

.tool {
    position: relative;
    display: grid;
    grid-template-columns: 132px 1fr;
    min-height: 0;
    overflow: hidden;
    background: var(--white);
    color: inherit;
    border-radius: var(--radius-sm);
    box-shadow: none;
    border: 1px solid var(--line);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.tool:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(26, 54, 93, 0.28);
}

.tool-media {
    position: relative;
    display: block;
    height: 100%;
    min-height: 118px;
    background-color: var(--mist);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tool-media::after {
    content: none;
}

.tool--syllabus .tool-media { background-image: url("images/cards/tool-syllabus.jpg"); }
.tool--lessonplan .tool-media { background-image: url("images/cards/tool-lessonplan.jpg"); }
.tool--courseplan .tool-media { background-image: url("images/cards/tool-courseplan.jpg"); }
.tool--case .tool-media { background-image: url("images/cards/tool-case.jpg"); }
.tool--prompt .tool-media { background-image: url("images/cards/tool-prompt.jpg"); }
.tool--quiz .tool-media { background-image: url("images/cards/tool-quiz.jpg"); }
.tool--charts .tool-media { background-image: url("images/cards/tool-charts.jpg"); }
.tool--page .tool-media { background-image: url("images/cards/tool-page.jpg"); }
.tool--podcast .tool-media { background-image: url("images/cards/tool-podcast.jpg"); }
.tool--eval .tool-media { background-image: url("images/cards/tool-eval.jpg"); }
.tool--paper .tool-media { background-image: url("images/cards/tool-paper.jpg"); }
.tool--bookedit .tool-media { background-image: url("images/cards/tool-bookedit.jpg"); }

.tool-status {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--white);
    background: var(--navy);
    padding: 3px 8px;
    border-radius: 2px;
}

.tool-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 18px 16px 20px;
    min-width: 0;
}

.tool h3 {
    font-size: 1.02rem;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--ink);
}

.tool p {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 10px;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--navy);
    align-self: flex-start;
    padding: 6px 0 0;
    border-bottom: 1px solid transparent;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.tool:hover .tool-link,
.cert-card:hover .tool-link,
.cert-feature:hover .tool-link {
    transform: translateX(3px);
    border-bottom-color: rgba(26, 54, 93, 0.35);
    color: var(--brass-deep);
}

/* ——— Cert list / cards ——— */
.cert-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}

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

.cert-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background: var(--white);
    border-radius: 2px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(26, 54, 93, 0.12);
    color: inherit;
    min-height: 0;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.cert-card::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(26, 54, 93, 0.12);
    pointer-events: none;
    z-index: 1;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.cert-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px 12px;
    background: var(--navy);
    color: var(--white);
    position: relative;
    z-index: 2;
}

.cert-card-index {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: #c5d4e8;
}

.cert-card-kind {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.cert-card-media {
    display: block;
    height: 128px;
    margin: 14px 22px 0;
    background-color: var(--mist);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
}

.cert-card--logistics .cert-card-media {
    background-image: url("images/cards/cert-logistics.jpg");
}

.cert-card--procurement .cert-card-media {
    background-image: url("images/cards/cert-procurement.jpg");
}

.cert-card--scm .cert-card-media {
    background-image: url("images/cards/cert-scm.jpg");
}

.cert-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 22px 22px;
    position: relative;
    z-index: 2;
}

.cert-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
    letter-spacing: 0.04em;
}

.cert-card-body > p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 14px;
}

.cert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.cert-tags li {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--navy);
    background: var(--mist);
    padding: 4px 10px;
    border-radius: 2px;
}

.cert-feature {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid rgba(26, 39, 68, 0.06);
    box-shadow: var(--shadow-soft);
    color: inherit;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.cert-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cert-feature-copy {
    padding: 44px 40px;
}

.cert-feature-copy h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 8px 0 14px;
}

.cert-feature-copy > p {
    font-size: 0.98rem;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 24px;
    max-width: 32em;
}

.cert-feature-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 36px;
    background:
        linear-gradient(180deg, rgba(243, 246, 250, 0.72) 0%, rgba(232, 238, 246, 0.88) 100%),
        url("images/cards/cert-1x.jpg") center / cover no-repeat;
    color: var(--navy);
}

.cert-feature-side span {
    display: block;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(26, 54, 93, 0.12);
    border-radius: var(--radius-sm);
}

.page-cta {
    padding: 56px 0 72px;
}

.page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 36px 40px;
    background:
        radial-gradient(ellipse 50% 80% at 100% 50%, rgba(26, 54, 93, 0.16), transparent 55%),
        linear-gradient(135deg, #1a2744 0%, #152238 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.page-cta-inner h2 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.page-cta-inner p {
    font-size: 0.92rem;
    color: rgba(238, 242, 247, 0.7);
    max-width: 32em;
}

.page-cta-inner .btn-solid {
    flex-shrink: 0;
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    box-shadow: none;
}

.page-cta-inner .btn-solid:hover {
    background: #e8eef6;
    color: var(--ink);
}

.cert {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(26, 39, 68, 0.04);
    color: inherit;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.cert:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(26, 54, 93, 0.25);
}

.cert-index {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--brass-deep);
    background: var(--brass-soft);
    border-radius: 50%;
    letter-spacing: 0.02em;
}

.cert-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--ink);
}

.cert-body p {
    font-size: 0.88rem;
    color: var(--muted);
}

.cert-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--steel);
    background: var(--mist);
    border-radius: 50%;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.cert:hover .cert-arrow {
    transform: translateX(3px);
    background: var(--brass-soft);
    color: var(--brass-deep);
}

/* ——— Course ——— */
.course {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: inherit;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(26, 39, 68, 0.04);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

a.course:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.course-soon {
    cursor: default;
    opacity: 0.92;
}

.course-soon .course-media {
    filter: saturate(0.85);
}

.course-media {
    min-height: 320px;
    background:
        linear-gradient(180deg, rgba(26, 54, 93, 0.04) 0%, rgba(26, 54, 93, 0.55) 100%),
        url("images/cards/portal-course.jpg") center / cover no-repeat;
    position: relative;
}

.course-media-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.course-media-label {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brass);
    background: rgba(26, 54, 93, 0.18);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.course-media-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--white);
    letter-spacing: 0.02em;
}

.course-copy {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.course-copy h3 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.course-copy > p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 28px;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.course-meta li {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.02em;
    background: var(--mist);
    padding: 6px 14px;
    border-radius: 999px;
}

.course-cta {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--brass-deep);
    letter-spacing: 0.02em;
}

.course-cta-soon {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    color: var(--muted);
    background: var(--mist);
    border-radius: 999px;
    letter-spacing: 0.06em;
}

a.course:hover .course-cta {
    color: var(--brass-deep);
}

.course-cta span {
    display: inline-block;
    transition: transform 0.3s var(--ease);
}

a.course:hover .course-cta span {
    transform: translateX(5px);
}

.learn-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: stretch;
}

.learn-copy,
.learn-aside {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 30px;
}

.learn-copy p {
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.85;
    margin-bottom: 16px;
}

.learn-copy p + p {
    color: var(--muted);
}

.learn-copy .course-meta {
    margin-bottom: 0;
    margin-top: 8px;
}

.learn-aside h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.learn-aside ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.learn-aside li {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.75;
    padding-left: 14px;
    border-left: 2px solid var(--mist);
    margin-bottom: 14px;
}

.learn-aside li:last-child {
    margin-bottom: 0;
}

/* ——— Course roadmap (non-interactive until resources ship) ——— */
.resource-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #f7fafc 0%, #eef3f9 100%);
    border: 1px solid rgba(26, 54, 93, 0.1);
    border-left: 3px solid var(--navy);
    border-radius: var(--radius-sm);
}

.resource-banner strong {
    display: block;
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.resource-banner p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 52ch;
}

.status-pill {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--navy);
    background: var(--white);
    border: 1px solid rgba(26, 54, 93, 0.14);
    padding: 6px 12px;
    border-radius: 999px;
}

.status-pill--light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

.path-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: start;
}

.path-col {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.path-col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.path-col-head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--navy);
}

.video-poster {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 16px;
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
}

.video-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 54, 93, 0.2), rgba(26, 54, 93, 0.72));
}

.video-poster-status {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    text-align: center;
    color: var(--white);
    pointer-events: none;
}

.video-poster-status p {
    margin: 0;
    font-size: 0.86rem;
    opacity: 0.88;
    max-width: 28ch;
}

.roadmap {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.roadmap-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    background: var(--sky-pale);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: default;
    user-select: none;
}

.roadmap-index {
    font-family: var(--font-display);
    font-size: 0.84rem;
    color: var(--steel);
    min-width: 3.6em;
}

.roadmap-body strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 3px;
}

.roadmap-body em {
    font-style: normal;
    font-size: 0.8rem;
    color: var(--muted);
}

.status-chip {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--steel);
    background: rgba(26, 54, 93, 0.06);
    padding: 4px 10px;
    border-radius: 999px;
}

.access-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.access-copy {
    padding: 36px 34px;
}

.access-copy h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--navy);
    margin: 0 0 12px;
}

.access-copy > p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.access-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.access-list li {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--navy);
    background: var(--mist);
    padding: 6px 12px;
    border-radius: 999px;
}

.access-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 32px 28px;
    background:
        linear-gradient(160deg, rgba(26, 54, 93, 0.92), rgba(26, 39, 68, 0.96)),
        url("images/cards/portal-course.jpg") center / cover no-repeat;
    color: var(--white);
}

.access-note {
    margin: 0 0 4px;
    font-size: 0.86rem;
    line-height: 1.65;
    opacity: 0.88;
}

.access-action .btn-solid {
    background: var(--white);
    color: var(--navy);
    text-align: center;
}

.access-action .btn-solid:hover {
    background: var(--mist);
}

.access-action .btn-ghost {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
    text-align: center;
}

.access-action .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.55);
}

.page-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.page-cta-actions .btn-ghost {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
}

.page-cta-actions .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ——— Footer ——— */
.footer {
    background: var(--navy);
    color: rgba(232, 238, 246, 0.72);
    padding: 56px 0 28px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.footer-logo-link {
    flex-shrink: 0;
    display: block;
    transition: opacity 0.25s;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: none;
}

.footer-school-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #c5d4e8;
    transition: color 0.25s, transform 0.25s;
}

.footer-school-link:hover {
    color: var(--white);
}

.footer-brand strong {
    display: block;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 8px;
}

.footer h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.footer ul li { margin-bottom: 10px; }

.footer a {
    color: rgba(232, 238, 246, 0.72);
    transition: color 0.25s;
}

.footer a:hover { color: var(--white); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
    color: rgba(232, 238, 246, 0.55);
}

.footer-bottom a {
    color: #c5d4e8;
    transition: color 0.25s;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ——— Reveal ——— */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ——— Toast ——— */
.toast {
    position: fixed;
    top: calc(var(--nav-h) + 16px);
    right: 20px;
    padding: 14px 20px;
    background: var(--ink);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 500;
    z-index: 10000;
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 32px rgba(26, 39, 68, 0.2);
    max-width: 320px;
    animation: toastIn 0.35s var(--ease);
}

.toast-success {
    background: #3d6b58;
}

.toast-out {
    animation: toastOut 0.3s var(--ease) forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(16px); }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
    .strip-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .home-metrics,
    .flow-grid,
    .audience-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-head-split {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-jump {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

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

    .tool-grid-narrow {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .cert-feature {
        grid-template-columns: 1fr;
    }

    .page-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

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

    .course-media { min-height: 220px; }

    .learn-layout,
    .path-grid,
    .access-panel {
        grid-template-columns: 1fr;
    }

    .resource-banner {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 768px) {
    .logo-img { height: 34px; }

    .portal-card {
        min-height: 0;
    }

    .portal-card-media {
        height: 176px;
    }

    .tool {
        grid-template-columns: 96px 1fr;
    }

    .logo-text {
        font-size: 0.78rem;
        max-width: 12em;
        line-height: 1.3;
    }

    .hamburger { display: flex; }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 12px;
        right: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px;
        background: #163052;
        border-radius: var(--radius);
        box-shadow: 0 16px 40px rgba(15, 32, 56, 0.35);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.is-open { display: flex; }

    .nav-menu a {
        padding: 12px 14px;
        border-radius: var(--radius-sm);
        color: rgba(255, 255, 255, 0.82);
    }

    .nav-menu a:hover,
    .nav-menu a.is-active {
        color: var(--white);
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-menu a.is-active {
        background: rgba(255, 255, 255, 0.14);
    }

    .nav-cta {
        margin: 8px 0 0 !important;
        text-align: center;
    }

    .hero {
        padding-top: calc(var(--nav-h) + 64px);
        align-items: flex-start;
        padding-bottom: 120px;
    }

    .hero-network {
        opacity: 0.55;
    }

    .tool-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }

    .home-metrics,
    .flow-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-panel {
        grid-template-columns: 1fr;
    }

    .tool-group-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .cert-feature-copy {
        padding: 32px 24px;
    }

    .cert {
        grid-template-columns: 44px 1fr;
        gap: 14px;
        padding: 18px 20px;
    }

    .cert-arrow { display: none; }

    .course-copy {
        padding: 32px 24px;
    }

    .roadmap-item {
        grid-template-columns: auto 1fr;
        gap: 10px;
    }

    .roadmap-item .status-chip {
        grid-column: 2;
        justify-self: start;
    }

    .page-cta-actions {
        width: 100%;
    }

    .page-cta-actions .btn {
        flex: 1;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-brand,
    .hero-title,
    .hero-lead,
    .hero-actions {
        opacity: 1;
        animation: none;
    }

    .portal-card:hover .portal-card-media {
        transform: none;
    }
}

/* 顶栏始终商务蓝，避免滚动后被其它样式改成白底导致浅色字看不见 */
nav.navbar,
nav.navbar.is-scrolled,
.page-inner nav.navbar,
.page-inner nav.navbar.is-scrolled {
    background: #1a365d !important;
    background-color: #1a365d !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

nav.navbar .logo,
nav.navbar.is-scrolled .logo {
    color: #ffffff !important;
}

nav.navbar .logo-img,
nav.navbar.is-scrolled .logo-img {
    filter: none !important;
}

nav.navbar .nav-menu a,
nav.navbar.is-scrolled .nav-menu a {
    color: rgba(255, 255, 255, 0.86) !important;
}

nav.navbar .nav-menu a:hover,
nav.navbar .nav-menu a.is-active,
nav.navbar.is-scrolled .nav-menu a:hover,
nav.navbar.is-scrolled .nav-menu a.is-active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14) !important;
}

nav.navbar .hamburger span,
nav.navbar.is-scrolled .hamburger span {
    background: #ffffff !important;
}
