* {box-sizing: border-box;}
body{font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif,"微軟正黑體";margin: 0;background: var(--paper);color: var(--ink);scroll-behavior: smooth;}
button:focus{outline:none}
.container{position: relative;max-width: 80%;}
a {text-decoration: none;color: inherit;}
a:hover{text-decoration: none;}
ul{margin-left: -3%;}
p{font-size: 18px;}
h3{display: flex;align-items: center;font-size: 25px;font-weight: 400;}
h4{line-height: 1.8;}
h6{font-size: 1.8rem;}


:root {
--ink: #0b1736;
--navy: #071b3d;
--blue: #1759d6;
--cyan: #31d8b2;
--lime: #d9ff52;
--paper: #f4f7fb;
--line: #dce3ee;
}

main {
  padding-top: 76px;
}
.nav {
height: 76px;
padding: 0 max(5vw, 24px);
display: flex;
align-items: center;
justify-content: space-between;
background: rgba(157, 231, 214, 0.62);
color: #000;
border-bottom: 1px solid #ffffff1a;
position: fixed !important;
top: 0;
left: 0;
right: 0;
width: 100%;
z-index: 99999;
}
.brand {
font-size: 14px;
font-weight: 700;
letter-spacing: 0.08em;
}
.brand span {
display: inline-grid;
place-items: center;
background: var(--lime);
color: var(--navy);
padding: 7px 10px;
margin-right: 9px;
font-weight: 900;
}
.navlinks {
display: flex;
gap: 30px;
align-items: center;
font-size: 14px;
}
.navlinks a:hover {
color: #19845d;
}
.navcta {
background: #FFF;
border: 1px solid #19845d;
padding: 10px 16px;
}
 /*首頁*/  
      .hero {
        min-height: 680px;
        background: var(--navy);
        color: white;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
      }
      .hero:after {
        content: "AI";
        position: absolute;
        right: -1vw;
        bottom: -15vw;
        font-size: 38vw;
        font-weight: 900;
        color: transparent;
        -webkit-text-stroke: 1px #ffffff12;
        line-height: 1;
      }
      .grid-glow {
        position: absolute;
        inset: 0;
        background:
          linear-gradient(#ffffff0a 1px, transparent 1px),
          linear-gradient(90deg, #ffffff0a 1px, transparent 1px),
          radial-gradient(circle at 75% 45%, #1f66e45c, transparent 32%);
        background-size:
          72px 72px,
          72px 72px,
          auto;
      }
      .hero-inner {
        position: relative;
        z-index: 1;
        padding: 90px 0;
      }
      .eyebrow,
      .kicker {
        font-size: 13px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--cyan);
        font-weight: 800;
      }
      .eyebrow:before,
      .kicker:before {
        content: "";
        display: inline-block;
        width: 35px;
        height: 2px;
        background: currentColor;
        vertical-align: middle;
        margin-right: 12px;
      }
      .hero h1 {
        font-size: clamp(46px, 6.4vw, 80px);
        line-height: 1.08;
        letter-spacing: -0.04em;
        margin: 24px 0;
        max-width: 960px;
      }
      .hero h1 em {
        font-style: normal;
        color: var(--lime);
      }
      .lead {
        font-size: 18px;
        line-height: 1.9;
        color: #c9d5eb;
        max-width: 690px;
      }
      .stats {
        display: flex;
        gap: 44px;
        margin: 42px 0;
      }
      .stats b {
        font-size: 13px;
        color: #9eacc6;
        font-weight: 500;
      }
      .stats strong {
        display: block;
        font-size: 22px;
        color: #fff;
        margin-bottom: 4px;
      }
      .primary {
        display: inline-flex;
        gap: 24px;
        align-items: center;
        background: var(--lime);
        color: var(--navy);
        font-weight: 900;
        padding: 17px 22px;
      }
      .primary span {
        font-size: 20px;
      }
      .section {
        width: min(1180px, 90%);
        margin: auto;
        padding: 110px 0;
      }
      .section-head h2,
      .consult h2 {
        font-size: clamp(34px, 4.2vw, 60px);
        line-height: 1.2;
        letter-spacing: -0.035em;
        margin: 18px 0;
      }
      .section-head h2 span,
      .consult h2 span {
        color: var(--blue);
      }


.hero {
  min-height: 780px;
}

.hero-layout {
  width: min(1440px, 80%);
  min-height: 780px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: min(780px, 62vw);
  position: relative;
  z-index: 5;
}

.hero {
  min-height: 780px;
}

.hero-layout {
  width: min(1440px, 92%);
  min-height: 780px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: min(820px, 62vw);
  position: relative;
  z-index: 5;
}

/* 圖片放大並壓進文字區 */
.hero .ai-visual-section {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -170px;
  width: clamp(650px, 52vw, 760px);
  max-width: none;
  transform: translateY(-50%);
}

.hero .ai-stage {
  width: 100%;
  max-width: none;
}

.hero .ai-visual-section {
  pointer-events: none;
}

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

  .hero-layout {
    width: 94%;
    min-height: 750px;
  }

  .hero-inner {
    width: 68%;
  }

  .hero .ai-visual-section {
    right: -240px;
    width: 820px;
  }
}

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

  .hero-layout {
    width: 100%;
    min-height: auto;
    display: block;
  }

  .hero-inner {
    width: 90%;
    margin: 0 auto;
    padding-bottom: 20px;
  }

  .hero .ai-visual-section {
    position: relative;
    top: auto;
    right: auto;
    width: min(900px, 118vw);
    margin: -90px -9vw -55px auto;
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .hero .ai-visual-section {
    width: 50vw;
    margin: -300px -18vw -45px auto;
  }
  .nav {
    flex-direction: column;
  }
  main {
    padding-top: 30px;
  }
}
 /*第一段*/     
      .intro {
        display: grid;
        grid-template-columns: 1fr 1.1fr;
        gap: 60px;
      }
      .intro-copy {
        font-size: 16px;
        color: #536078;
        line-height: 2;
      }
      .principles {
        grid-column: 1/-1;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
      }
      .principles article {
        padding: 35px 25px;
        border-right: 1px solid var(--line);
      }
      .principles article:last-child {
        border: 0;
      }
      .principles i {
        font-style: normal;
        color: var(--blue);
        font-weight: 900;
      }
      .principles h3 {
        font-size: 19px;
      }
      .principles p {
        color: #69748b;
        line-height: 1.7;
        font-size: 18px;
      }
      .path-section {
        width: 100%;
        max-width: none;
        background: #fff;
        padding-left: 5%;
        padding-right: 5%;
      }
      .center {
        text-align: center;
      }
      .center .kicker:before {
        display: none;
      }
      .center > p:last-child {
        color: #000;
      }
      .path-title,
      .course-grid {
        width: min(1180px, 100%);
        margin-left: auto;
        margin-right: auto;
      }
      .course-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin-top: 35px;
      }
      .course {
        border: 1px solid var(--line);
        padding: 28px;
        background: #fbfcfe;
        transition: 0.25s;
      }
      .course:hover {
        transform: translateY(-4px);
        border-color: var(--blue);
        box-shadow: 0 15px 35px #1e4e9b15;
      }
      .course-top {
        display: flex;
        justify-content: space-between;
        color: var(--blue);
      }
      .course h3 {
        font-size: 19px;
        line-height: 1.5;
      }
      .course p {
        color: #647189;
        line-height: 1.8;
      }
      .two {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
      }
      form > label,
      .two label {
        display: grid;
        gap: 8px;
        font-size: 13px;
        font-weight: 800;
        margin-bottom: 18px;
      }
      input,
      select,
      textarea {
        width: 100%;
        border: 1px solid #ced7e5;
        background: #f9fbfd;
        padding: 13px 14px;
        font: inherit;
        color: var(--ink);
        outline: none;
      }

      input:focus,
      select:focus,
      textarea:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 3px #1759d617;
      }
      textarea {
        resize: vertical;
      }
      fieldset {
        border: 0;
        padding: 0;
        margin: 12px 0 24px;
      }
      legend {
        font-size: 13px;
        font-weight: 800;
        margin-bottom: 12px;
      }
      .checks {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }
      .checks label {
        display: flex;
        align-items: flex-start;
        font-size: 12px;
        color: #56647b;
        line-height: 1.5;
      }
      .checks input {
        width: 17px;
        height: 17px;
        margin: 1px 8px 0 0;
        accent-color: var(--blue);
      }
      .submit {
        width: 100%;
        border: 0;
        background: var(--blue);
        color: #fff;
        padding: 16px;
        font-weight: 900;
        font-size: 16px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        gap: 25px;
      }
      .submit:hover {
        background: #0e45ad;
      }
      .hint {
        text-align: center;
        color: #8994a6;
        font-size: 11px;
      }
      .success {
        text-align: center;
        background: #e9fff8;
        color: #08725b;
        padding: 12px;
        font-size: 13px;
      }

      /* Hero：左側文案、右側可自行替換的臨時主視覺。 */
      .hero-layout {
        width: min(1320px, 90%);
        margin: auto;
        display: grid;
        grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
        gap: 40px;
        align-items: center;
        position: relative;
        z-index: 2;
      }
      .hero-visual {
        width: min(460px, 100%);
        aspect-ratio: 1;
        justify-self: end;
        position: relative;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: radial-gradient(
          circle at 34% 28%,
          rgba(255, 255, 255, 0.96),
          rgba(157, 231, 214, 0.62) 35%,
          rgba(74, 167, 213, 0.23) 68%,
          transparent 69%
        );
        filter: drop-shadow(0 24px 45px rgba(25, 112, 126, 0.22));
      }
      .hero-visual img,
      .hero-visual svg {
        width: 67%;
        height: 67%;
        object-fit: contain;
        opacity: 0.64;
        color: #168f93;
        filter: sepia(1) saturate(5) hue-rotate(115deg) brightness(0.72);
      }
      .hero-visual span {
        position: absolute;
        bottom: 10%;
        right: 3%;
        padding: 9px 13px;
        border: 1px solid rgba(13, 101, 109, 0.24);
        background: rgba(255, 255, 255, 0.72);
        color: #11646b;
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.16em;
        backdrop-filter: blur(8px);
      }
      .visual-orbit {
        position: absolute;
        border: 1px solid rgba(19, 123, 135, 0.22);
        border-radius: 50%;
        transform: rotate(-18deg);
      }
      .orbit-one {
        inset: 8% -4%;
      }
      .orbit-two {
        inset: -3% 15%;
        transform: rotate(48deg);
      }
      @media (max-width: 950px) {
        .hero-layout {
          grid-template-columns: 1fr;
        }
        .hero-inner {
          padding-bottom: 20px;
        }
        .hero-visual {
          width: min(390px, 78vw);
          justify-self: center;
          margin-bottom: 60px;
        }
        .hero {
          min-height: auto;
        }
      }
      @media (max-width: 560px) {
        .hero-layout {
          width: 88%;
        }
        .hero-visual {
          width: min(310px, 78vw);
        }
        .hero-visual span {
          font-size: 9px;
        }
      }

      @media (max-width: 850px) {
        .nav {
          height: 64px;
        }
        .navlinks a:not(.navcta) {
          display: none;
        }
        .hero {
          min-height: 620px;
        }
        .hero-inner {
          padding: 65px 0;
        }
        .stats {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 22px;
        }
        .section {
          padding: 75px 0;
        }
        .intro,
        .faq,
        .consult {
          grid-template-columns: 1fr;
        }
        .principles {
          grid-template-columns: 1fr 1fr;
        }
        .principles article:nth-child(2) {
          border-right: 0;
        }
        .path-tabs {
          grid-template-columns: 1fr 1fr;
        }
        .path-tabs button:nth-child(2) {
          border-right: 0;
        }
        .course-grid {
          grid-template-columns: 1fr;
        }
        .consult {
          padding-top: 75px;
          padding-bottom: 75px;
        }
        .footer {
          align-items: flex-start;
          gap: 20px;
          flex-wrap: wrap;
        }
      }
      @media (max-width: 560px) {
        .brand {
          font-size: 11px;
        }
        .navcta {
          padding: 8px 10px;
        }
        .hero h1 {
          font-size: 34px;
        }
        .lead {
          font-size: 16px;
        }
        .principles {
          grid-template-columns: 1fr;
        }
        .principles article {
          border-right: 0;
          border-bottom: 1px solid var(--line);
        }
        .path-tabs button {
          padding: 18px 14px;
        }
        .path-tabs strong {
          font-size: 15px;
        }
        .path-tabs span {
          display: none;
        }
        .course {
          padding: 22px;
        }
        .consult form {
          padding: 22px;
        }
        .two,
        .checks {
          grid-template-columns: 1fr;
        }
        .footer {
          display: block;
        }
        .footer > p {
          margin: 22px 0;
        }
        .faq-list button {
          grid-template-columns: 38px 1fr 25px;
        }
        .answer p {
          padding-left: 48px;
        }
      }

      /* FAQ：置中標題＋完整展開問答卡片 */
      .faq {
        display: block;
        width: 100%;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
        background: #eef2ff;
      }
      .faq-heading {
        text-align: center;
        margin: 0 auto 52px;
        position: relative;
        padding: 50px 0;
        z-index: 1;
      }
      .faq-heading::before{
        content: "";
        position: absolute;
        inset: 0;
        background: url("../images/Group-6270192.png") no-repeat top center;background-size: cover;
        z-index: -1;
      }     
      .faq-heading > p {
        margin: 0 0 12px;
        font-size: 20px;
        font-weight: 900;
        letter-spacing: 0.02em;
      }
      .faq-heading h2 {
        margin: 0;
        font-size: clamp(25px, 3vw, 38px);
        line-height: 1.45;
        letter-spacing: -0.02em;
        color: #fff;
      }
      .faq-heading span {
        display: block;
        margin-top: 32px;
        color: #465269;
        font-size: 16px;
      }
      .faq .faq-list {
        width: min(1320px, 100%);
        margin: auto;
        display: grid;
        gap: 18px;
      }
      .faq .faq-list article {
        background: #fff;
        border: 0;
        border-radius: 10px;
        padding: 27px 28px;
        box-shadow: 0 3px 8px #304a7912;
      }
      .faq .faq-list h3 {
        margin: 0 0 10px;
        color: #194684;
        font-size: 16px;
        line-height: 1.65;
      }
      .faq .faq-list h3 b,
      .faq .faq-list p b {
        font-weight: 900;
      }
      .faq .faq-list p {
        margin: 0;
        padding: 0;
        color: #27354c;
        font-size: 15px;
        line-height: 1.85;
        overflow: visible;
      }
      @media (max-width: 560px) {
        .faq {
          padding-left: 16px;
          padding-right: 16px;
        }
        .faq-heading {
          margin-bottom: 34px;
        }
        .faq-heading > p {
          font-size: 16px;
        }
        .faq-heading h2 {
          font-size: 23px;
        }
        .faq-heading span {
          margin-top: 20px;
          font-size: 14px;
          line-height: 1.7;
        }
        .faq .faq-list article {
          padding: 21px 19px;
        }
        .faq .faq-list h3,
        .faq .faq-list p {
          font-size: 14px;
        }
      }

      /* Core idea: stack the headline and supporting copy vertically.
   Continue the hero's pale-blue-to-pale-green palette across the full section. */
      .intro {
        grid-template-columns: 1fr;
        gap: 26px;
        position: relative;
        isolation: isolate;
      }

      .intro .kicker, .path-section .kicker {
        color: #147a75;
      }
      .intro .section-head h2 span {
        color: #19845d;
      }
      .intro-copy {
        color: #4d6272;
      }
      .intro .principles {
        border-color: rgba(40, 104, 119, 0.2);
      }
      .intro .principles article {
        border-color: rgba(40, 104, 119, 0.2);
      }
      .intro .principles i {
        color: #087eb2;
      }
      .intro .principles p {
        color: #536b78;
      }
      .intro-copy {
        max-width: 1000px;
      }
      .intro .principles {
        grid-column: auto;
        margin-top: 34px;
      }

      /* All learning paths are displayed in a continuous, scrollable list. */
      .path-jump {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        width: min(1180px, 100%);
        margin: 50px auto 0;
        border: 1px solid var(--line);
        background: #fff;
      }
      .path-jump a {
        display: flex;
        flex-direction: column;
        min-height: 150px;
        padding: 24px;
        border-right: 1px solid var(--line);
        transition: 0.2s;
      }
      .path-jump a:last-child {
        border-right: 0;
      }
      .path-jump a:hover,
      .path-jump a:focus-visible {
        background: var(--navy);
        color: #fff;
        outline: 0;
      }
      .path-jump small {
        font-weight: 900;
      }
      .path-jump strong {
        font-size: 18px;
        margin: 12px 0;
      }
      .path-jump span {
        font-size: 16px;
        line-height: 1.6;
        color: #6e7a91;
      }
      .path-jump a:hover small,
      .path-jump a:focus-visible small {
        color: #fff;
      }
      .path-jump a:hover span,
      .path-jump a:focus-visible span {
        color: #c9d5eb;
      }
/* 選單上旁icon */
.path-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.square-icon {
    width: 42px;
    height: 42px;
    padding: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;

    border-radius: 8px;
}

.square-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

      .path-list {
        width: min(1180px, 100%);
        margin: 58px auto 0;
      }
      .path-group {
        padding: 60px 0 72px;
        border-top: 1px solid var(--line);
        scroll-margin-top: 92px;
      }
      .path-group:first-child {
        border-top: 1px solid var(--navy);
      }
      .path-group .path-title {
        width: 100%;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 30px;
      }
      .path-group .path-title > span {
        flex: 0 0 auto;
        background: var(--navy);
        color: var(--lime);
        font-size: 13px;
        font-weight: 900;
        padding: 10px 14px;
      }
      .path-group .course-grid {
        width: 100%;
      }
      @media (max-width: 850px) {
        .path-jump {
          grid-template-columns: 1fr 1fr;
          margin-top: 38px;
        }
        .path-jump a {
          min-height: 132px;
        }
        .path-jump a:nth-child(2) {
          border-right: 0;
        }
        .path-jump a:nth-child(-n + 2) {
          border-bottom: 1px solid var(--line);
        }
        .path-list {
          margin-top: 40px;
        }
        .path-group {
          padding: 45px 0 55px;
          scroll-margin-top: 78px;
        }
      }
      @media (max-width: 560px) {
        .path-jump a {
          min-height: 105px;
          padding: 17px 14px;
        }
        .path-jump strong {
          font-size: 15px;
          margin: 8px 0;
        }
        .path-jump span {
          display: none;
        }
        .path-group .path-title {
          display: block;
        }
        .path-group .path-title h3 {
          font-size: 28px;
        }
        .path-group .path-title > span {
          display: inline-block;
          margin-top: 18px;
        }
      }

      /* Reference-style course cards */
      .course-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        align-items: stretch;
      }
      .course {
        display: flex;
        flex-direction: column;
        min-height: 460px;
        padding: 28px;
        background: #fff;
        border-color: #dfe3e8;
      }
      .course:hover {
        border-color: #bd812d;
        box-shadow: 0 15px 35px #5e431518;
      }
      .course-top {
        align-items: center;
        color: #657186;
        font-size: 14px;
      }
      .course-top b {
        letter-spacing: 0.02em;
      }
      .course-top span {
        color: #945714;
        border: 1px solid #bd812d;
        padding: 6px 10px;
        font-weight: 800;
      }
      .course h3 {
        font-size: 20px;
        line-height: 1.55;
        margin: 25px 0 18px;
        min-height: 62px;
      }
      .course > p {
        margin: 0;
        line-height: 1.9;
      }
      .course-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 18px;
        color: #657186;
        font-size: 13px;
        line-height: 1.6;
        margin-top: 25px;
      }
      .course-meta span:first-child {
        color: #3e495b;
      }
      .course-price {
        margin-top: auto;
        padding-top: 28px;
        font-size: 18px;
        font-weight: 900;
      }
      .course-link {
        border: 1px solid #bd812d;
        background: #fff3c8;
        color: #7d3c0e;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 15px;
        font-weight: 900;
        transition: 0.2s;
        margin-top: auto;
        min-height: 62px;
      }
      .course-link:hover,
      .course-link:focus-visible {
        background: #f5df94;
        outline: 0;
      }
      @media (max-width: 950px) {
        .course-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }
      @media (max-width: 620px) {
        .course-grid {
          grid-template-columns: 1fr;
        }
        .course {
          min-height: 0;
        }
        .course h3 {
          min-height: 0;
        }
        .course-price {
          margin-top: 26px;
        }
      }

      /* Four-color learning path headers */
      .path-group {
        --path-color: #24428e;
        border-top: 0;
        padding-top: 42px;
      }
      .path-banner {
        background: var(--path-color);
        color: #fff;
        border-radius: 10px;
        padding: 25px 32px;
        margin-bottom: 38px;
        box-shadow: 0 8px 22px
          color-mix(in srgb, var(--path-color) 18%, transparent);
      }
      .path-banner h3 {
        font-size: 22px;
        line-height: 1.45;
        margin: 0;
        font-weight: 900;
        letter-spacing: 0.01em;
      }
      .path-banner h3 span {
        white-space: nowrap;
      }
      .path-banner p {
        font-size: 16px;
        line-height: 1.8;
        margin: 20px 0 0;
        color: #fff;
      }
      .path-beginner {
        --path-color: #24428e;
      }
      .path-nontech {
        --path-color: #16756f;
      }
      .path-developer {
        --path-color: #8a4f10;
      }
      .path-enterprise {
        --path-color: #703f85;
      }
      .path-group .course-grid {
        margin-top: 0;
      }
      @media (max-width: 620px) {
        .path-banner {
          border-radius: 8px;
          padding: 21px 20px;
          margin-bottom: 26px;
        }
        .path-banner h3 {
          font-size: 18px;
        }
        .path-banner p {
          font-size: 14px;
          line-height: 1.75;
          margin-top: 13px;
        }
        .path-banner h3 span {
          white-space: normal;
        }
      }

      /* Course cards inherit the color of their PATH header. */
      .path-group .course {
        position: relative;
        overflow: hidden;
        padding-top: 32px;
        border-color: color-mix(in srgb, var(--path-color) 25%, #dfe3e8);
      }
      .path-group .course:before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 6px;
        background: var(--path-color);
      }
      .path-group .course:hover {
        border-color: var(--path-color);
        box-shadow: 0 15px 35px
          color-mix(in srgb, var(--path-color) 16%, transparent);
      }
      .path-group .course-top b {
        color: var(--path-color);
      }
      .path-group .course-top span {
        color: var(--path-color);
        border-color: color-mix(in srgb, var(--path-color) 70%, white);
        background: color-mix(in srgb, var(--path-color) 8%, white);
      }
      .path-group .course-link {
        border-color: var(--path-color);
        background: color-mix(in srgb, var(--path-color) 10%, white);
        color: var(--path-color);
      }
      .path-group .course-link:hover,
      .path-group .course-link:focus-visible {
        background: var(--path-color);
        color: #fff;
      }

      /* Consultation: heading and copy sit above the form, matching the reference. */
      .consult {
        background: #fff;
        color: var(--ink);
        padding: 100px max(5vw, 24px);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
      }
      .consult-copy {
        width: min(900px, 100%);
        text-align: center;
        margin: 0 auto 46px;
      }
      .consult-copy .kicker {
        color: var(--blue);
        margin: 0 0 18px;
      }
      .consult-copy .kicker:before {
        display: none;
      }
      .consult-copy h2 {
        margin: 0 0 20px;
      }
      .consult-copy > p:not(.kicker) {
        color: #536078;
        line-height: 1.9;
        max-width: 820px;
        margin: 0 auto;
      }
      .consult form {
        width: min(900px, 100%);
        background: #f8fafc;
        color: var(--ink);
        padding: 44px;
        border: 1px solid #dbe2ea;
      }
      .consult input,
      .consult select,
      .consult textarea {
        background: #fff;
      }
      @media (max-width: 560px) {
        .consult {
          padding: 70px 16px;
        }
        .consult-copy {
          margin-bottom: 32px;
        }
        .consult-copy h2 {
          font-size: 31px;
        }
        .consult form {
          padding: 22px;
        }
      }

      /* Light hero palette: pale blue on the left, pale green on the right. */
      .hero {
        background:
          radial-gradient(
            circle at 14% 24%,
            rgba(255, 255, 255, 0.88),
            transparent 30%
          ),
          linear-gradient(
            105deg,
            #dff3ff 0%,
            #eaf8ff 46%,
            #effbea 56%,
            #dff5d9 100%
          );
        color: var(--ink);
      }
      .hero:after {
        -webkit-text-stroke: 1px rgba(23, 89, 214, 0.08);
      }
      .grid-glow {
        background:
          linear-gradient(rgba(29, 100, 163, 0.045) 1px, transparent 1px),
          linear-gradient(
            90deg,
            rgba(29, 100, 163, 0.045) 1px,
            transparent 1px
          ),
          radial-gradient(
            circle at 78% 45%,
            rgba(83, 190, 137, 0.18),
            transparent 34%
          );
        background-size:
          72px 72px,
          72px 72px,
          auto;
      }
      .hero .eyebrow {
        color: #147a75;
      }
      .hero h1 em {
        color: #19845d;
      }
      .hero .lead {
        color: #000;
      }
      .hero .stats b {
        color: #667b89;
      }
      .hero .stats strong {
        color: #173d58;
      }
      .hero .primary {
        background: linear-gradient(
          105deg,
          #0759b7 0%,
          #087eb2 52%,
          #009d82 100%
        );
        color: #fff;
        box-shadow: 0 12px 28px rgba(0, 111, 155, 0.24);
        transition:
          transform 0.2s ease,
          box-shadow 0.2s ease,
          filter 0.2s ease;
      }
      .hero .primary:hover,
      .hero .primary:focus-visible {
        background: linear-gradient(
          105deg,
          #0759b7 0%,
          #087eb2 52%,
          #009d82 100%
        );
        filter: brightness(1.08);
        transform: translateY(-2px);
        box-shadow: 0 15px 32px rgba(0, 111, 155, 0.3);
        outline: 0;
      }

      /* Bootstrap 4 form compatibility */
      .consult .form-row {
        margin-right: -9px;
        margin-left: -9px;
      }
      .consult .form-row > [class*="col-"] {
        padding-right: 9px;
        padding-left: 9px;
      }
      .consult .form-group {
        margin-bottom: 18px;
      }
      .consult .form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 13px;
        font-weight: 800;
      }
      .consult .form-control {
        height: auto;
        border-radius: 0;
      }
      .consult textarea.form-control {
        min-height: 112px;
      }
      .required {
        color: #d93025;
      }

      /* Bootstrap 4 常見舊環境的固定色彩備援（避免只依賴 color-mix） */
      .path-beginner .course {
        border-color: #c8d0e5;
      }
      .path-nontech .course {
        border-color: #bfd9d7;
      }
      .path-developer .course {
        border-color: #dfcdb9;
      }
      .path-enterprise .course {
        border-color: #d8c8dd;
      }
      .path-beginner .course-top span {
        border-color: #8998c2;
        background: #f1f3f9;
      }
      .path-nontech .course-top span {
        border-color: #79aaa6;
        background: #eef7f6;
      }
      .path-developer .course-top span {
        border-color: #b38b60;
        background: #f8f2ec;
      }
      .path-enterprise .course-top span {
        border-color: #a783b4;
        background: #f5f0f7;
      }
      .path-beginner .course-link {
        background: #eef1f8;
      }
      .path-nontech .course-link {
        background: #edf6f5;
      }
      .path-developer .course-link {
        background: #f7f1eb;
      }
      .path-enterprise .course-link {
        background: #f4eff6;
      }
      @media (max-width: 767.98px) {
        .consult .form-row {
          display: flex;
        }
      }



      
@media(min-width: 1441px){.container {max-width: 1320px;}}

@media(max-width: 767px){
.container{max-width: 100%;}
        
        
/* visual */
       
/* First */


        
}

/* =========================================================
   2026-07 明亮版配色
   保留原有 Bootstrap 4 版型與功能，只統一整站色彩。
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

:root {
  --ink: #102a43;
  --blue: #087bea;
  --cyan: #18cdb0;
  --paper: #f9fdff;
  --line: #cfe8f3;
}

body {
  background: #f9fdff;
}

.section:not(.intro):not(.faq):not(.consult) {
  background: #f9fdff;
}

.section-head h2 span,
.consult h2 span {
  color: #147a75;
}

.section-head > p,
.intro-copy,
.path-title p,
.course p,
.course-info,
.consult-copy > p:not(.kicker) {
  color: #304f63;
}

/* 四個 PATH 快速選單 */
.path-jump {
  border-color: #c9e8f4;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(27, 126, 167, 0.1);
}

.path-jump a {
  border-color: #c9e8f4;
}

.path-jump a:nth-child(1) {
  background: #0759b7;
  color: #fff;
}

.path-jump a:nth-child(2) {
  background: #009d82;
  color: #fff;
}

.path-jump a:nth-child(3) {
  background: #e58a18;
  color: #fff;
}

.path-jump a:nth-child(4) {
  background: #e04900;
  color: #fff;
}

.path-jump span {
  color: #FFF;
}

/* 四個 PATH 主色：藍、綠、橘、紫 */
.path-beginner {
  --path-color: #0759b7;
}

.path-nontech {
  --path-color: #10a78d;
}

.path-developer {
  --path-color: #e58a18;
}

.path-enterprise {
  --path-color: #e04900;
}

/* 課程卡片與按鈕對齊 */
.course {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(24, 94, 128, 0.09);
}

.course-link {
  margin-top: auto;
}

.path-beginner .course {
  border-color: #a9cef8;
}

.path-nontech .course {
  border-color: #9bdecf;
}

.path-developer .course {
  border-color: #f2ca8c;
}

.path-enterprise .course {
  border-color: #d9b4e8;
}

.path-beginner .course-top span,
.path-beginner .course-link {
  background: #eaf4ff;
  border-color: #91bff2;
}

.path-nontech .course-top span,
.path-nontech .course-link {
  background: #e7faf4;
  border-color: #7ed1bf;
}

.path-developer .course-top span,
.path-developer .course-link {
  background: #fff5df;
  border-color: #edbd71;
}

.path-enterprise .course-top span,
.path-enterprise .course-link {
  background: #ffe4d7;
  border-color: #e04900;
}

/* FAQ：明亮淡藍到薄荷綠 */
.faq {
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(255, 255, 255, 0.95),
      transparent 28%
    ),
    linear-gradient(115deg, #e9f7ff 0%, #effff7 100%);
}

.faq-heading span {
  color: #FFF;
}

.faq .faq-list article {
  border: 1px solid #cce9f1;
  box-shadow: 0 12px 28px rgba(32, 112, 143, 0.08);
}

.faq .faq-list h3 {
  color: #0872c9;
}

.faq .faq-list p {
  color: #304f63;
}

/* 表單區：明亮淡藍到薄荷綠 */
.consult {
  background:
    radial-gradient(
      circle at 85% 18%,
      rgba(159, 238, 209, 0.42),
      transparent 27%
    ),
    linear-gradient(115deg, #e9f7ff 0%, #f1fff8 100%);
}

.consult form {
  background: rgba(255, 255, 255, 0.96);
  border-color: #bfe4ed;
  box-shadow: 0 18px 42px rgba(24, 107, 139, 0.1);
}



.consult input {
  background: linear-gradient(105deg, #0759b7 0%, #087eb2 52%, #009d82 100%);
  border-color: #bcdce8;
  color: #fff;
}

.consult input:focus,
.consult select:focus,
.consult textarea:focus {
  border-color: #18a9bc;
  box-shadow: 0 0 0 3px rgba(24, 169, 188, 0.14);
}



/* =========================================================
   導覽列與錨點捲動修正
   ========================================================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

.nav {
  z-index: 1000;
  pointer-events: auto;
}

.navlinks,
.navlinks a {
  position: relative;
  z-index: 1001;
  pointer-events: auto;
}

.hero::after,
.grid-glow,
.hero .ai-visual-section,
.hero .ai-stage,
.hero .ai-layer {
  pointer-events: none;
}

#idea,
#paths,
#faq,
#consult,
.path-group {
  scroll-margin-top: 88px;
}
