body{font-family: "Arial","微軟正黑體";background: #FFF; }
button:focus{outline:none}
.container{position: relative;max-width: 80%;}
a:hover{text-decoration: none;}
ul{margin-left: -3%;}
p{font-size: 20px;}
h3{display: flex;align-items: center;font-size: 25px;font-weight: 400;}
h4{line-height: 1.8;}
h6{font-size: 1.8rem;}

:root {
    --navy: #e2ff59;
    --navy-2: #102a43;
    --cyan: #00c8e8;
    --cyan-soft: #e9fbff;
    --accent-lime: #c8d97a;
    --accent-gold: #b79d5a;
    --hero-text: rgba(255,255,255,.9);
    --text: #dbe5f1;
    --muted: rgba(230,236,244,.72);
    --line: rgba(214,198,158,.24);
    --surface: #fff;
    --page: #0a0e14;
    --green: #52c41a;
    --green-dark: #237804;
    --path-a: #ef5b5b;
    --path-b: #2f80ed;
    --path-c: #7c4dff;
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: #090d13;
    line-height: 1.75;
    font-size: 16px;
}

a { transition: all .2s ease; }

/* =========================
    Hero
    右側主視覺由 .hero::before 載入 raster 圖片
    若要換圖，只需覆蓋 images/hero-right.png
========================== */
.hero {
    position: relative;
    min-height: 820px;
    overflow: hidden;
    display: flex;
    align-items: center;
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 8%, rgba(37, 82, 120, .13), transparent 25%),
        linear-gradient(90deg, #05090f 0%, #071017 48%, #10120f 100%);
}

/* 右側主視覺圖片 */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 61%;
    height: 100%;
    background-image: url("../images/hero-right.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
    z-index: 0;
    pointer-events: none;
}

/* 左側深色漸層，讓文字與右側圖片自然銜接 */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(3, 8, 14, .98) 0%,
        rgba(3, 8, 14, .94) 29%,
        rgba(3, 8, 14, .76) 45%,
        rgba(3, 8, 14, .34) 58%,
        rgba(3, 8, 14, .08) 74%,
        rgba(3, 8, 14, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-inner,
.hero-inner * {
    position: relative;
    z-index: 2;
}

.hero-inner {
    width: 100%;
    padding: 74px 72px 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(480px, .98fr) minmax(560px, 1.02fr);
    align-items: center;
    gap: 28px;
    max-width: 1800px;
    margin: 0 auto;
}

.hero-copy {
    width: 100%;
    max-width: 760px;
    padding-left: 42px;
}

.hero-visual {
    width: 100%;
    min-height: 700px;
    pointer-events: none;
}

.hero-kicker {
    color: rgba(255,255,255,.95);
    border: 1px solid rgba(255,255,255,.36);
    background: rgba(6, 12, 19, .22);
    padding: 12px 22px 10px;
    border-radius: 999px;
    font-size: 1.2rem;
    font-weight: 500;
    display: inline-block;
    margin: 0 0 22px;
    letter-spacing: .01em;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.hero-kicker-ai {
    display: inline-block;
    margin-right: 2px;
    color: #9da64f;
    font-size: 1.45em;
    font-weight: 800;
    line-height: .8;
    vertical-align: -0.05em;
    text-shadow: 0 0 12px rgba(157, 166, 79, .18);
}

.hero h1 {
    margin: 0 0 22px;
    font-family: "Noto Serif TC", "PMingLiU", serif;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: .95;
}

.hero-title-top,
.hero-title-bottom {
    display: block;
}

.hero-title-top {
    font-size: clamp(4.3rem, 5vw, 7rem);
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,.45);
}

.hero-title-bottom {
    margin-top: 18px;
    font-size: clamp(4.8rem, 5.8vw, 8rem);
    background: linear-gradient(90deg, #d7e893 0%, #b9ce65 42%, #8f9e48 76%, #6f7d3e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.34));
}

.hero p {
    margin: 0;
    font-size: 1.08rem;
}

.hero .header-sub {
    width: min(88%, 720px);
    margin: 32px 0 0;
    padding: 0;
    color: var(--hero-text);
    background: transparent;
    border: 0;
    font-size: 1.15rem;
    line-height: 1.9;
    text-shadow: 0 1px 2px rgba(0,0,0,.28);
}

@media (max-width: 1399.98px) {
    .hero-inner {
        padding-left: 42px;
        padding-right: 42px;
    }

    .hero-grid {
        grid-template-columns: minmax(440px, .95fr) minmax(500px, 1.05fr);
    }

    .hero-copy {
        padding-left: 24px;
    }

    .hero::before {
        width: 60%;
        background-size: auto 96%;
    }
}

@media (max-width: 1199.98px) {
    .hero {
        min-height: 740px;
    }

    .hero-inner {
        padding-left: 32px;
        padding-right: 32px;
    }

    .hero-grid {
        grid-template-columns: minmax(420px, .95fr) minmax(420px, 1.05fr);
        gap: 10px;
    }

    .hero-copy {
        padding-left: 0;
    }

    .hero .header-sub {
        width: 100%;
    }

    .hero::before {
        width: 62%;
        background-size: auto 92%;
    }
}

@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
        padding: 24px 0 40px;
    }

    .hero::before {
        width: 100%;
        opacity: .34;
        background-position: 64% center;
        background-size: cover;
    }

    .hero::after {
        background: rgba(3, 8, 14, .76);
    }

    .hero-inner {
        padding: 36px 24px 24px;
    }

    .hero-grid {
        display: block;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-visual {
        display: none;
    }

    .hero-kicker {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-title-top {
        font-size: clamp(3.2rem, 10vw, 4.6rem);
    }

    .hero-title-bottom {
        font-size: clamp(3.4rem, 11.2vw, 5rem);
        margin-top: 10px;
    }

    .hero .header-sub {
        margin-top: 24px;
        font-size: 1rem;
        line-height: 1.85;
    }
}

@media (max-width: 575.98px) {
    .hero-kicker {
        padding: 10px 16px 9px;
        line-height: 1.55;
    }

    .hero::before {
        background-position: 68% center;
    }
}

/* =========================
    Roadmap / Filters
========================== */
 .icon-img {
    width: 65px;
    height: 65px;
    display: block;
    margin: 0 auto 12px auto;
    filter: drop-shadow(0 0 12px rgba(145, 180, 255, .2));
}

.roadmap-wrap {
    position: relative;
    z-index: 10;
    margin-top: -34px;
    margin-bottom: 64px;
}

.roadmap-panel {
    position: relative;
    padding: 48px 34px 36px;
    background:
      linear-gradient(180deg, rgba(5, 13, 27, .88), rgba(6, 12, 23, .92)),
      radial-gradient(circle at 15% 50%, rgba(67, 126, 221, .18), transparent 26%),
      radial-gradient(circle at 82% 14%, rgba(184, 115, 255, .12), transparent 18%);
    border: 1px solid rgba(130, 159, 214, .16);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(4, 9, 16, .35);
    overflow: hidden;
}

.roadmap-panel::before,
.roadmap-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.roadmap-panel::before {
    background:
      linear-gradient(90deg, rgba(62, 103, 180, .16) 0 1px, transparent 1px 120px),
      linear-gradient(rgba(62, 103, 180, .12) 0 1px, transparent 1px 120px);
    background-size: 120px 120px;
    opacity: .18;
    mix-blend-mode: screen;
}

.roadmap-panel::after {
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.roadmap-title {
    margin-bottom: 8px;
    color: #FFF;
    font-size: 3.4rem;
    font-weight: 900;
}

.roadmap-subtitle {
    margin-bottom: 26px;
    color: rgba(235, 242, 252, .84);
    font-size: 1.3rem;
}

.dimension-area {
    padding: 10px 8px 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
}

.click-hint {
    margin-bottom: 24px;
    color: rgba(255,255,255,.82);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-shadow: 0 2px 10px rgba(0,0,0,.22);
}

.dimension-grid .col-lg-4,
.dimension-grid .col-md-6 {
    display: flex;
}

.dimension-card {
    --card-color: #ff7f7f;
    --card-glow: rgba(255, 127, 127, .30);
    --card-bg-idle: rgba(30, 27, 34, .72);
    --card-bg-active: rgba(83, 43, 49, .62);
    --card-text: #fff6f6;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 18px 20px 16px;
    color: var(--card-text);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01)),
      var(--card-bg-idle);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,.025),
      0 0 16px rgba(0,0,0,.16);
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease, opacity .25s ease, filter .25s ease;
    overflow: hidden;
}

.dimension-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.045), transparent 38%, transparent 68%, rgba(255,255,255,.02));
    pointer-events: none;
}

.dimension-card:hover,
.dimension-card:focus {
    outline: none;
    transform: translateY(-4px);
    border-color: var(--card-color);
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,.035),
      0 0 24px var(--card-glow),
      0 10px 26px rgba(0,0,0,.2);
}

/* 點擊後：卡片色變亮；未選卡維持原本深色，不再整張灰掉 */
.dimension-card.active {
    border-color: var(--card-color);
    background:
      linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
      var(--card-bg-active);
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,.035),
      0 0 30px var(--card-glow),
      0 12px 28px rgba(0,0,0,.22);
}

.dimension-card.inactive {
    opacity: 1;
    filter: none;
}

.dim-security {
    --card-color: #ff7b73;
    --card-glow: rgba(255, 123, 115, .34);
    --card-bg-idle: rgba(38, 29, 34, .76);
    --card-bg-active: rgba(91, 45, 50, .65);
}

.dim-governance {
    --card-color: #6d9cff;
    --card-glow: rgba(109, 156, 255, .32);
    --card-bg-idle: rgba(26, 38, 58, .76);
    --card-bg-active: rgba(33, 58, 103, .66);
}

.dim-augmented {
    --card-color: #b46dff;
    --card-glow: rgba(180, 109, 255, .32);
    --card-bg-idle: rgba(38, 29, 53, .76);
    --card-bg-active: rgba(72, 43, 101, .66);
}

.dim-autonomous {
    --card-color: #89e3b3;
    --card-glow: rgba(137, 227, 179, .32);
    --card-bg-idle: rgba(27, 44, 42, .78);
    --card-bg-active: rgba(42, 82, 70, .66);
}

.dim-safety {
    --card-color: #ffb55f;
    --card-glow: rgba(255, 181, 95, .32);
    --card-bg-idle: rgba(48, 39, 31, .78);
    --card-bg-active: rgba(91, 62, 35, .66);
}

.dimension-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
    text-align: center;
}

.dimension-icon {
    flex: 0 0 auto;
    color: var(--card-color);
    font-size: 2rem;
    line-height: 1;
    text-shadow: 0 0 14px var(--card-glow);
}

.dimension-name {
    margin-bottom: 0;
    color: var(--card-color);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    text-indent: 0;
}

.dimension-desc {
    min-height: 0;
    margin: 0;
    color: rgba(255,255,255,.94);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.55;
}

.quick-links {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.20);
}

.quick-link {
    position: relative;
    display: block;
    padding: 4px 0 4px 27px;
    color: #ffffff;
    font-size: 1.02rem;
    line-height: 1.45;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .005em;
}

/* 實心圓勾勾 */
.quick-link::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 5px;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--card-color);
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 0 9px var(--card-glow);
}

.quick-link:hover {
    color: var(--card-color);
    text-decoration: none;
    transform: translateX(3px);
}

.btn-reset {
    display: none;
    min-width: 170px;
    margin-top: 24px;
    padding: 10px 24px;
    color: #fff;
    border: 1px solid rgba(195, 220, 255, .36);
    border-radius: 999px;
    font-weight: 700;
    background: rgba(16, 36, 70, .64);
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.btn-reset:hover {
    color: #fff;
    background: rgba(35, 72, 127, .82);
}

/* =========================
    Learning paths
========================== */
.foundation-box {
    display: block;
    margin-top: 16px;
    padding: 28px 25px 24px;
    color: #fff;
    border: 2px solid rgba(204, 233, 91, .85);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(76, 87, 41, .38), rgba(52, 58, 36, .5));
    box-shadow: 0 0 28px rgba(202, 229, 88, .2), inset 0 0 0 1px rgba(255,255,255,.04);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}

.foundation-box:hover,
.foundation-box:focus {
    color: inherit;
    background: linear-gradient(180deg, rgba(85, 97, 44, .46), rgba(55, 62, 37, .58));
    border-color: rgba(215, 241, 111, .96);
    box-shadow: 0 0 34px rgba(202, 229, 88, .26), 0 8px 20px rgba(0,0,0,.18);
    text-decoration: none;
    transform: translateY(-3px);
    outline: none;
}

.foundation-name {
    display: block;
    margin-bottom: 14px;
    color: #fff;
    border-left: 0;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
}

.foundation-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 0;
    padding: 10px 20px;
    color: #ffffff;
    background: rgba(98, 118, 37, .38);
    border: 1px solid rgba(204, 233, 91, .78);
    border-radius: 14px;
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
    transition: all .25s ease;
}

.foundation-link i {
    color: #d4ef7f;
    font-size: 1.25rem;
}

.foundation-box:hover .foundation-link,
.foundation-box:focus .foundation-link {
    color: #fff;
    background: rgba(112, 133, 43, .52);
    border-color: rgba(223, 245, 127, .98);
}

.path-arrow {
    position: relative;
    height: 42px;
    margin-bottom: 4px;
}

.path-arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 28px;
    background: #cbd5e1;
}

.path-arrow::after {
    content: "";
    position: absolute;
    left: calc(50% - 5px);
    top: 22px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(45deg);
}

.path-card {
    height: 100%;
    padding: 23px 20px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-top-width: 5px;
    border-radius: 13px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .045);
}

.path-a { border-top-color: var(--path-a); }
.path-b { border-top-color: var(--path-b); }
.path-c { border-top-color: var(--path-c); }

.path-card h3 {
    margin-bottom: 7px;
    font-size: 1.16rem;
    font-weight: 900;
}

.path-a h3 { color: #cf3f3f; }
.path-b h3 { color: #1767c6; }
.path-c h3 { color: #6540d8; }

.path-desc {
    min-height: 44px;
    margin-bottom: 13px;
    color: var(--muted);
    font-size: .86rem;
}

.path-link {
    display: block;
    margin-bottom: 8px;
    padding: 9px 11px;
    text-align: left;
    color: #475569;
    background: #f1f5f9;
    border-left: 3px solid transparent;
    border-radius: 7px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.path-link:last-child { margin-bottom: 0; }
.path-link:hover { color: #1f2937; background: #e8eef5; text-decoration: none; transform: translateX(3px); }
.path-a .path-link:hover { border-left-color: var(--path-a); }
.path-b .path-link:hover { border-left-color: var(--path-b); }
.path-c .path-link:hover { border-left-color: var(--path-c); }

/* =========================
    Course sections
========================== */
.courses-area { padding: 0 0 80px; }

.course-section {
    margin-bottom: 58px;
    transition: opacity .25s ease;
}

.course-section-title {
    margin-bottom: 25px;
    padding: 4px 0 4px 16px;
    color: #fff;
    border-left: 5px solid #94a3b8;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.45;
}

.title-foundation { border-left-color: var(--green); }
.title-a { border-left-color: #ef5b5b;}
.title-b { border-left-color: var(--path-b); }
.title-c { border-left-color: var(--path-c); }



.course-card {
    margin-bottom: 25px;
    overflow: hidden;
    background: rgb(214, 255, 62, .1);
    border: 3px solid #d6ff3e;
    border-radius: 15px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .055);
    transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    scroll-margin-top: 20px;
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 32px rgba(15, 23, 42, .08);
}

.course-card-inner { padding: 28px; }

.course-title {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.55;
}

.highlight-dimension {
    margin-bottom: 13px;
    font-size: 1.2rem;
    font-weight: 900;
    display: inline-block;
    padding: 7px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 0 18px rgba(0,0,0,.08), inset 0 0 0 1px rgba(255,255,255,.04);
}

.content-block {
    margin-bottom: 12px;
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: flex-start;
}

.content-block strong {
  flex: 0 0 auto;
  white-space: nowrap;
}

.content-block span {
  flex: 1;
  min-width: 0;
}

.content-block:last-child { margin-bottom: 0; }

#layer-a .highlight-dimension {
    color: #ffd8c9;
    background: linear-gradient(135deg, rgba(255, 168, 145, .20), rgba(116, 46, 54, .38));
    border-color: rgba(255, 168, 145, .34);
}

#layer-a .content-block strong { color: #ff8f7f; }

#layer-b .highlight-dimension {
    color: #d8e7ff;
    background: linear-gradient(135deg, rgba(136, 184, 255, .18), rgba(34, 62, 119, .40));
    border-color: rgba(136, 184, 255, .30);
}

#layer-b .content-block strong { color: #7fb8ff; }

#layer-c .highlight-dimension {
    color: #ead8ff;
    background: linear-gradient(135deg, rgba(193, 171, 255, .18), rgba(69, 44, 120, .40));
    border-color: rgba(193, 171, 255, .30);
}

#layer-c .content-block strong { color: #c9b0ff; }

/* Route-specific course colors */
#layer-a .course-card {
    border-color: var(--path-a);
    background: rgba(239, 91, 91, .10);
}

#layer-a .course-title {
    color: #ff8d8d;
}

#layer-a .course-card:hover {
    border-color: #ff9f9f;
    box-shadow: 0 13px 32px rgba(239, 91, 91, .14);
}

#layer-b .course-card {
    border-color: var(--path-b);
    background: rgba(47, 128, 237, .10);
}

#layer-b .course-title {
    color: #7fb8ff;
}

#layer-b .course-card:hover {
    border-color: #96c8ff;
    box-shadow: 0 13px 32px rgba(47, 128, 237, .14);
}

#layer-c .course-card {
    border-color: var(--path-c);
    background: rgba(124, 77, 255, .10);
}

#layer-c .course-title {
    color: #c1abff;
}

#layer-c .course-card:hover {
    border-color: #d0bfff;
    box-shadow: 0 13px 32px rgba(124, 77, 255, .14);
}

.content-ul{
    margin-Left: -16px;
}

.chart-box {
    position: relative;
    width: 100%;
    height: 290px;
    margin: 0 auto;
    padding: 15px;
    border-radius: 13px;
    background: linear-gradient(145deg, #0c1613, #000000);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

.chart-caption {
    position: absolute;
    right: 11px;
    bottom: 8px;
    color: rgba(255,255,255,.42);
    font-size: .66rem;
    letter-spacing: .04em;
}

.flash-highlight {
    border-color: var(--cyan) !important;
    box-shadow: 0 0 0 3px rgba(0,200,232,.11), 0 12px 32px rgba(0,200,232,.16) !important;
}

@media (min-width: 1200px) {
    .container {
    max-width: 1280px;
    }
}

.back-to-cards-wrap {
    padding-top: 4px;
    text-align: center;
}

.back-to-cards-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 11px 22px;
    color: #075a9c;
    background: #ffffff;
    border: 1px solid #b9dceb;
    border-radius: 30px;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}

.back-to-cards-btn:hover {
    color: #ffffff;
    background: #075a9c;
    border-color: #075a9c;
    text-decoration: none;
    transform: translateY(-2px);
}

/* =========================
    RWD
========================== */
@media (max-width: 991.98px) {
    .hero { padding: 65px 0 112px; }
    .hero-title { font-size: 2.2rem; }
    .roadmap-panel { padding: 35px 24px; }
    .click-hint { font-size: 1.2rem; }
    .dimension-desc { min-height: auto; }
    .foundation-name { font-size: 2.3rem; }
    .path-desc { min-height: auto; }
}

@media (max-width: 767.98px) {
    body { font-size: 15px; }
    .hero { padding: 54px 0 100px; }
    .hero-title { font-size: 1.85rem; }
    .hero-lead { font-size: 1rem; }
    .roadmap-wrap { margin-top: -10px; margin-bottom: 48px; }
    .roadmap-panel { padding: 27px 18px; border-radius: 18px; }
    .roadmap-title { font-size: 1.7rem; }
    .roadmap-subtitle { font-size: 1rem; }
    .click-hint { margin-bottom: 18px; font-size: 1rem; }
    .dimension-area { padding: 10px 0 0; }
    .dimension-card { min-height: 0; padding: 17px 16px 15px; border-radius: 20px; }
    .dimension-head { margin-bottom: 9px; }
    .dimension-icon { font-size: 1.8rem; }
    .dimension-name { font-size: 1.6rem; }
    .dimension-desc { font-size: .95rem; }
    .quick-link { font-size: .97rem; }
    .foundation-box { padding: 22px 18px 20px; border-radius: 18px; }
    .foundation-name { margin-bottom: 12px; font-size: 2rem; }
    .foundation-link { font-size: 1rem; }
    .course-section-title { font-size: 1.3rem; }
    .course-card-inner { padding: 22px 20px; }
    .course-title { font-size: 1.12rem; }
    .chart-box { height: 270px; max-width: 320px; margin-top: 18px; }
}

@media (max-width: 575.98px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .hero-title { font-size: 1.65rem; }
    .hero-kicker { font-size: .74rem; }
    .roadmap-title { font-size: 1.45rem; }
    .icon-img { width: 52px; height: 52px; }
    .dimension-card { padding: 16px 14px 14px; }
    .quick-link { padding-left: 25px; font-size: .92rem; }
    .foundation-name { font-size: 1.6rem; }
    .foundation-link { width: 100%; justify-content: center; font-size: .95rem; }
    .chart-box { height: 250px; }
}
.course-card a {
  text-decoration: none;
}

.course-card a .course-title {
  transition: opacity .2s ease;
}

.course-card a:hover .course-title {
  opacity: .55;
}