﻿@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");

/* Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  color: #222;
  background: #f8f6fb;
  
	background:#bbe2ed url(images/bg.png) ;
	background-size:cover;
	background-attachment: fixed;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Header */
.header {
  height: 80px;
  background: #fff;
  box-shadow: 0 2px 18px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 150px;
  padding: 10px 0;
}

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

.menu a {
  color: #333;
  font-size: 1.155rem;
  font-weight: 600;
}

.menu a:hover {
  color: #7b2cbf;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 800;
  transition: .25s;
  cursor: pointer;
}

.btn-orange {
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(255,94,0,.35);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255,94,0,.4);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,.75);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,.15);
}


.ai-course-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 0 ;
  color: #26364b;
  line-height: 1.8;
  box-sizing: border-box;
}

.ai-course-page * {
  box-sizing: border-box;
}

/* 主視覺 */
.ai-course-banner {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(12, 76, 119, 0.18);
  position: relative;
  z-index: 2;
  margin-left: auto;
  min-height: 450px;

}

.ai-course-banner img {
  position: absolute;
  left: 35%;
  width: 700px;
}
.ai-course-banner img.title_teacher {
  position: absolute;
  left: 2%;
  top: 5%;
  max-width: 620px;
  z-index: 1;
}
.ai-course-banner .teacher-name {
  position: absolute;
  left: 60%;
  bottom: 12%;
  z-index: 3;
  padding: 8px 20px;
  border-left: 6px solid #e61d3c;
  color: #fff;
  background: rgba(5, 55, 110, 0.86);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
  font-size: 34px;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.3;
}

.ai-course-banner .teacher-name span {
  margin-right: 10px;
  color: #ffe100;
  font-size: 20px;
  letter-spacing: 1px;
}

.ai-course-banner_m {
	display:none;
}

/* 日期列 */
.ai-date-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(90deg, #d31232 0%, #8b276d 48%, #164d99 100%);
  box-shadow: 0 8px 20px rgba(104, 45, 113, 0.18);
  margin-bottom: 26px;
  text-align: center;
}

.ai-date-bar .date-label {
  font-size: 28px;
  font-weight: 700;
}

.ai-date-bar strong {
  font-size: 1.95rem;
  color: #ffe100;
  letter-spacing: 0.5px;
}

/* 左右主內容 */
.ai-course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  align-items: start;
}

/* 共用白色卡片 */
.ai-card {
  background: #fff;
  border: 1px solid #dce8f0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(25, 85, 120, 0.07);
  margin-bottom: 22px;
}

/* 區塊標題 */
.ai-section-title {
  position: relative;
  margin: 0 0 20px;
  padding-left: 15px;
  font-size: 1.65rem;
  font-weight: 800;
  color: #06366f;
  line-height: 1.4;
}

.ai-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 28px;
  border-radius: 5px;
  background: linear-gradient(to bottom, #d81736, #064f9d);
}

/* 課程內容 */
.ai-course-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ai-course-list li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px dashed #d8e3ec;
}

.ai-course-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ai-course-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 14px;
  color: #0079d8;
  font-size: 1.35rem;
}

.ai-course-list strong {
  display: block;
  color: #064f9d;
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.ai-course-list p {
  margin: 0;
  color: #475569;
  font-size: 1.085rem;
}

/* Bonus */
.ai-bonus-box {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 13px;
  border: 1px solid #ffd675;
  background: linear-gradient(135deg, #fffdf2, #fff5cc);
}

.ai-bonus-box strong {
  color: #FFF;
  font-size: 18px;
  margin-right: 10px;
 	background:#d20962;
 	padding:5px 15px;
  border-radius: 50px;
}

.ai-bonus-box span {
  margin: 0;
  font-weight: 700;
  color: #9a3f00;
}

/* 講師 */
.ai-teacher-name {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  color: #222;
}

.ai-teacher-role {
  color: #d81736;
  font-weight: 700;
  margin-bottom: 14px;
}

.ai-teacher-info {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-teacher-info li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 5px;
  color: #475569;
}

.ai-teacher-info li::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  left: 1px;
  top: 12px;
  border-radius: 50%;
  background: #064f9d;
}

.ai-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ai-social-links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  color: #064f9d;
  border: 1px solid #bcd7ec;
  background: #f5fbff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

.ai-social-links a:hover {
  color: #fff;
  background: #064f9d;
  border-color: #064f9d;
}

/* 右側報名卡 */
.ai-signup-panel {
  position: sticky;
  top: 90px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #d6e4ed;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 66, 99, 0.14);
}

.ai-signup-head {
  padding: 22px 22px 18px;
  color: #fff;
  background: linear-gradient(135deg, #07559d, #713884);
}

.ai-signup-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

.ai-signup-head p {
  margin: 5px 0 0;
  color: #e6f7ff;
  font-size: 14px;
}

.ai-signup-body {
  padding: 10px 22px ;
}

.ai-info-row {
  padding: 10px 0;
  border-bottom: 1px solid #e4edf3;
}

.ai-info-row:last-of-type {
  border-bottom: 0;
}

.ai-info-row span {
  display: block;
  margin-bottom: 2px;
  color: #718096;
  font-size: 1rem;
}

.ai-info-row strong {
  color: #1e293b;
  font-size: 1.13rem;
  text-decoration: none;
}

.ai-info-row a {
  color: #064f9d;
  word-break: break-all;
  font-size: 1rem;
  margin-left:10px;
}

/* 價格強調區 */
.ai-price-box {
  position: relative;
  overflow: hidden;
  margin: 20px 0 8px;
  padding: 16px 18px;
  border: 1px solid #f3c85f;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff9df 0%, #fff1b8 100%);
}

.ai-price-box::after {
  content: "";
  position: absolute;
  top: -45px;
  right: -35px;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.ai-price-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 2px 11px;
  border-radius: 20px;
  color: #fff;
  background: #d8213d;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
}

.ai-price-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.ai-original-price {
  padding-bottom: 5px;
  color: #8c7a4c;
  font-size: 13px;
  text-decoration: line-through;
}

.ai-sale-price {
  text-align: right;
  line-height: 1.1;
}

.ai-sale-price small {
  display: block;
  margin-bottom: 3px;
  color: #a85000;
  font-size: 13px;
  font-weight: bold;
}

.ai-sale-price strong {
  color: #c7122f;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
}

.ai-sale-price strong b {
  margin-left: 2px;
  font-size: 32px;
  font-family: Arial, sans-serif;
  letter-spacing: -1px;
}

.ai-price-note {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  color: #9b6300;
  font-size: 12px;
  text-align: right;
}

.ai-apply-btn {
  width: 100%;
  border: 0;
  border-radius: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  color: #16233c;
  background: linear-gradient(135deg, #ffe700, #ffc928);
  box-shadow: 0 5px 12px rgba(196, 132, 0, 0.22);
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}

.ai-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 17px rgba(196, 132, 0, 0.3);
}

.ai-remind {
  margin: 15px 0 0;
  color: #8a5700;
  font-size: 13px;
  text-align: center;
}

/* 地點 */
.ai-location-name {
  margin: 0 0 0;
  font-size: 1.185rem;
  font-weight: 700;
  color: #d81736;
}
.ai-location-addr {
  color: #283a51;
  font-weight: 700;
  font-size: 1.105rem;
}

iframe{
  width:400px;
  height: 280px;
}

/* 注意事項 */
.ai-notice-list {
  margin: 0;
  padding-left: 23px;
}

.ai-notice-list li {
  margin-bottom: 12px;
  color: #475569;
}

.ai-notice-list li:last-child {
  margin-bottom: 0;
}

.ai-ps {
  margin-top: 18px;
  padding: 11px 14px;
  border-left: 4px solid #e6ba00;
  background: #fffdeb;
  color: #745d00;
  font-size: 14px;
}

/* 同意條款 */
.ai-form-card {
  scroll-margin-top: 20px;
}

.ai-agree-box {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 15px;
  border-radius: 10px;
  background: #f5faff;
  color: #475569;
  font-size: 15px;
}

.ai-agree-box input {
  width: 17px;
  height: 17px;
  margin-top: 7px;
  accent-color: #064f9d;
}

.ai-bottom-apply {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 15px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #d91637, #8b347f);
  text-align: center;
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  transition: 0.2s;
}

.ai-bottom-apply:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* 手機底部按鈕 */
.ai-mobile-apply {
  display: none;
}

/* Footer */

.site-footer {
  padding: 12px 0;
  color: #fff;
  background: #3d464d;
  text-align: center;
  letter-spacing: .065rem;
}

.site-footer p {
  margin: 0;
  font-size: .85rem;
  line-height: 1.8;
}

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

.site-footer a:hover {
  color: #ffe45c;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  width: min(650px, 92%);
  margin: 3% auto 5%;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  max-height: 85vh;
  overflow-y: auto;
}

.close {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}


/* =========================
   Modal 共用背景
========================= */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 40px 16px;
  overflow-y: auto;
  background: rgba(25, 8, 45, .62);
  backdrop-filter: blur(6px);
}

/* Modal 白色內容框 */
.modal .modal-content {
  position: relative;
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 42px 40px 34px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(20, 0, 40, .35);
  animation: modalPop .28s ease-out;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 關閉按鈕 */
.modal .close {
  position: absolute;
  top: 13px;
  right: 17px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b5b76;
  background: #f5effa;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  transition: .2s;
}

.modal .close:hover {
  color: #fff;
  background: #7b2cbf;
  transform: rotate(90deg);
}

/* =========================
   登入 Modal
========================= */
#loginModal form {
  margin: 0;
}

#loginModal table {
  width: 100%;
  border-collapse: collapse;
}

#loginModal thead td {
  padding: 0 0 24px;
  color: #24103f;
  font-size: 25px;
  font-weight: 900;
  text-align: center;
}

#loginModal tbody th,
#loginModal tbody td {
  padding: 8px 0;
  text-align: left;
}

#loginModal tbody th {
  width: 78px;
  color: #4c3b59;
  font-size: 16px;
  font-weight: 800;
}

#loginModal .input-field {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #ded3e8;
  border-radius: 10px;
  outline: none;
  color: #24103f;
  font-family: inherit;
  font-size: 16px;
  background: #fff;
  transition: .2s;
}

#loginModal .input-field:focus {
  border-color: #7b2cbf;
  box-shadow: 0 0 0 4px rgba(123, 44, 191, .13);
}

#loginModal tfoot td {
  text-align: center;
}

#loginModal input[type="submit"] {
  width: 100%;
  margin: 20px 0 16px;
  padding: 14px 20px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  box-shadow: 0 8px 18px rgba(255, 94, 0, .3);
  font-family: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s;
}

#loginModal input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 22px rgba(255, 94, 0, .4);
}


#loginModal tfoot tr:last-child a:hover {
  color: #ff6a00;
  text-decoration: underline;
}

/* =========================
   忘記密碼 Modal
========================= */
#forgetModal .login-container {
  width: 100%;
  margin: 0;
}

#forgetModal .account-header {
  margin-bottom: 28px;
  text-align: center;
}

#forgetModal .account-title {
  margin: 0 0 10px;
  color: #24103f;
  font-size: 26px;
  font-weight: 900;
}

#forgetModal .account-subtitle {
  margin: 0;
  color: #756781;
  font-size: 15px;
  line-height: 1.8;
}

#forgetModal .form-group {
  margin-bottom: 20px;
}

#forgetModal .form-label {
  display: block;
  margin-bottom: 8px;
  color: #4c3b59;
  font-size: 15px;
  font-weight: 800;
}

#forgetModal .form-input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #ded3e8;
  border-radius: 10px;
  outline: none;
  color: #24103f;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  transition: .2s;
}

#forgetModal .form-input:focus {
  border-color: #7b2cbf;
  box-shadow: 0 0 0 4px rgba(123, 44, 191, .13);
}

#forgetModal .captcha-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

#forgetModal .col-code {
  flex: 1;
  min-width: 0;
}

#forgetModal .captcha-img-wrapper {
  flex: 0 0 120px;
  height: 48px;
  overflow: hidden;
  border: 1px solid #ded3e8;
  border-radius: 10px;
  background: #f8f6fb;
}

#forgetModal #captchaImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

#forgetModal .btn-submit {
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #7b2cbf, #4b137a);
  box-shadow: 0 8px 18px rgba(123, 44, 191, .28);
  font-family: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s;
}

#forgetModal .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 22px rgba(123, 44, 191, .4);
}

/* 忘記密碼、加入會員：並排 */
#loginModal .login-links {
  padding-top: 2px;
  justify-content: center;
  align-items: center;
  gap: 0;
}

#loginModal .login-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #7b2cbf;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: .2s;
}
#loginModal .login-links a:hover {
  color: #ff6a00;
  text-decoration: none;
}

/* =========================
   AI 課程報名頁
========================= */
.signup-page {
  min-height: 100vh;
  background: #f8f6fb;
  color: #2b2332;
}

.signup-container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Header */
.signup-header {
  height: 72px;
  background: #fff;
  box-shadow: 0 2px 18px rgba(0,0,0,.08);
}

.signup-nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signup-logo img {
  width: 150px;
  display: block;
}

.back-course {
  color: #7b2cbf;
  font-size: 15px;
  font-weight: 800;
}

.back-course:hover {
  color: #ff6a00;
}

/* Hero */
.signup-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0;
  color: #fff;

  background:
 linear-gradient(50deg, rgba(28,0,60,.95), rgba(80,0,130,.78), rgba(80,0,130,.25)),
    url("images/bg.png") 40% center / cover no-repeat;
}
.signup-eyebrow {
  margin: 0 0 10px;
  color: #ffe45c;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
}

.signup-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 900;
}

.signup-hero h1 .yellow {
  color: #ffe600;
}

.signup-hero h1 .cyan  {
  color: #68e9ff;
}

.signup-hero p:last-child {
  margin: 0;
  font-size: 17px;
  opacity: .92;
}
.signup-hero .hero-robot {
  position: absolute;
  right: max(20px, calc((100% - 1180px) / 2));
  top: 65%;
  width: clamp(130px, 18vw, 250px);
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.signup-hero .hero-robot img {
  display: block;
  width: 100%;
  height: auto;
}

.signup-hero .signup-container {
  position: relative;
  z-index: 3;
}

/* Main */
.signup-main {
  padding: 0 0;
}

.signup .ai-signup-panel {
  top: 0;
}

.signup-layout {
  display: grid;
  grid-template-columns:  1fr 350px;
  gap: 30px;
  align-items: start;
}

/* Course Summary */
.course-summary {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(64,28,105,.12);
}

.summary-title {
  padding: 15px 22px;
  color: #fff;
  background: linear-gradient(135deg, #7b2cbf, #4a126f);
  font-weight: 900;
}

.course-summary h2 {
  margin: 24px 22px 8px;
  color: #24103f;
  font-size: 24px;
  line-height: 1.4;
}

.summary-teacher {
  margin: 0 22px 22px;
  color: #7b2cbf;
  font-size: 15px;
  font-weight: 800;
}

.summary-item {
  margin: 0 22px;
  padding: 15px 0;
  border-top: 1px solid #eee5f5;
}

.summary-item:first-of-type {
  border-top: 0;
}

.summary-label {
  display: block;
  margin-bottom: 5px;
  color: #816a91;
  font-size: 14px;
  font-weight: 700;
}

.summary-item strong {
  display: block;
  color: #30203b;
  font-size: 16px;
}

.summary-item small {
  display: block;
  margin-top: 3px;
  color: #8b8190;
}

.summary-price {
  margin-top: 10px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
}

.summary-price span {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
}

.summary-price strong {
  font-size: 30px;
}

.summary-note {
  padding: 18px 22px 22px;
  color: #716478;
  font-size: 14px;
  line-height: 1.75;
}

/* Form Card */
.signup-form-card {
  padding: 15px 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(64,28,105,.10);
}

.form-card-header {
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid #eee5f5;
}

.form-card-header span {
  color: #7b2cbf;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
}

.form-card-header h2 {
  margin: 8px 0;
  color: #24103f;
  font-size: 28px;
}

.form-card-header p {
  margin: 0;
  color: #786c82;
  font-size: 14px;
}

.form-card-header b,
.form-group label b {
  color: #e64b5d;
}

/* Form */
.form-section {
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #eee5f5;
}

.form-section h3 {
  margin: 0 0 20px;
  color: #5b187f;
  font-size: 20px;
}

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

.form-full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #4c3b59;
  font-size: 15px;
  font-weight: 800;
}

.form-group input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #ded3e8;
  border-radius: 10px;
  outline: 0;
  color: #24103f;
  font-family: inherit;
  font-size: 16px;
  transition: .2s;
}

.form-group input:focus {
  border-color: #7b2cbf;
  box-shadow: 0 0 0 4px rgba(123,44,191,.12);
}

.form-group small {
  display: block;
  margin-top: 7px;
  color: #877b8e;
  font-size: 13px;
  line-height: 1.6;
}

/* Invoice */
.invoice-options {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.invoice-options label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #4c3b59;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.invoice-options input {
  accent-color: #7b2cbf;
}
.invoice-address-group {
  margin-top: 20px;
}

.invoice-address-grid {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.invoice-address-grid select {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #ded3e8;
  border-radius: 10px;
  outline: 0;
  color: #24103f;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
}

.invoice-address-grid select:focus {
  border-color: #7b2cbf;
  box-shadow: 0 0 0 4px rgba(123, 44, 191, .12);
}

.invoice-zipcode[readonly] {
  color: #5b187f;
  background: #f5effa;
  font-weight: 800;
}

.invoice-detail-address {
  width: 100%;
}

/* Agreement */
.agreement-area {
  border-bottom: 0;
  margin-bottom: 18px;
  padding-bottom: 0;
}

.agreement-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #65586d;
  font-size: 14px;
  line-height: 1.8;
  cursor: pointer;
}

.agreement-check input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: #7b2cbf;
}

/* Submit */
.submit-signup {
  width: 100%;
  padding: 16px 22px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  box-shadow: 0 8px 18px rgba(255,94,0,.30);
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s;
}

.submit-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255,94,0,.40);
}
/* 發票選項 */
.invoice-options {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.invoice-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid #ded3e8;
  border-radius: 10px;
  color: #4c3b59;
  background: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
}

.invoice-option:has(input:checked) {
  color: #7b2cbf;
  border-color: #7b2cbf;
  background: #f7efff;
  box-shadow: 0 0 0 3px rgba(123, 44, 191, .1);
}

.invoice-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #7b2cbf;
}

.invoice-fields {
  padding: 20px;
  border-radius: 12px;
  background: #faf7fd;
  border: 1px solid #eee4f5;
}

.invoice-fields[hidden] {
  display: none;
}
.invoice-tip {
  margin: 0;
  color: #756781;
  font-size: 14px;
  line-height: 1.8;
}

/* 付款方式 */
.payment-desc {
  margin: -10px 0 20px;
  color: #786c82;
  font-size: 14px;
}

.payment-options {
  display: grid;
  gap: 14px;
}

.payment-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 14px 18px;
  border: 1px solid #ded3e8;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: .2s;
}

.payment-option:hover {
  border-color: #b68adc;
  background: #fcf9ff;
}

/* 保留 radio，可直接點 */
.payment-option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
  accent-color: #7b2cbf;
  cursor: pointer;
}

/* 選取後的樣式，不需 JS */
.payment-option:has(input[type="radio"]:checked) {
  border-color: #7b2cbf;
  background: #f7efff;
  box-shadow: 0 0 0 3px rgba(123, 44, 191, .10);
}

.payment-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0e5fb;
  font-size: 23px;
}

.payment-option:has(input[type="radio"]:checked) .payment-icon {
  background: #7b2cbf;
}

.payment-option-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.payment-option-content strong {
  color: #4c3b59;
  font-size: 16px;
}

.payment-option:has(input[type="radio"]:checked) .payment-option-content strong {
  color: #7b2cbf;
}

.payment-option-content small {
  color: #897b91;
  font-size: 13px;
}

.payment-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  color: #6a5a74;
  background: #faf7fd;
  font-size: 14px;
  line-height: 1.7;
}

/* =========================
   報名送出／付款確認頁
========================= */
.payment-confirm-page {
  min-height: 100vh;
  background: #f8f6fb;
  color: #2b2332;
}

.payment-confirm-container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Header */
.payment-confirm-header {
  height: 72px;
  background: #fff;
  box-shadow: 0 2px 18px rgba(0,0,0,.08);
}

.payment-confirm-nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-confirm-logo img {
  width: 150px;
}

.payment-confirm-back {
  color: #7b2cbf;
  font-size: 15px;
  font-weight: 800;
}

.payment-confirm-back:hover {
  color: #ff6a00;
}

/* Hero */
.payment-confirm-hero {
  padding: 52px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(45,0,78,.96), rgba(105,24,160,.88)),
    url("../images/bg.png") center/cover no-repeat;
}

.payment-confirm-step {
  margin: 0 0 8px;
  color: #ffe45c;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
}

.payment-confirm-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
}

.payment-confirm-hero p:last-child {
  margin: 0;
  font-size: 16px;
  opacity: .92;
}

/* Main */
.payment-confirm-main {
  padding: 45px 0 70px;
}

/* 進度條 */
.payment-steps {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 32px;
}

.payment-step {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9a8da3;
  font-size: 15px;
  font-weight: 800;
}

.payment-step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8c7d97;
  background: #e9e1ed;
  font-size: 13px;
}

.payment-step.done,
.payment-step.active {
  color: #7b2cbf;
}

.payment-step.done span,
.payment-step.active span {
  color: #fff;
  background: #7b2cbf;
}

.payment-step.active span {
  box-shadow: 0 0 0 5px rgba(123,44,191,.13);
}

/* 成功提示 */
.payment-confirm-message {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto 30px;
  padding: 20px 24px;
  border: 1px solid #d7c4ed;
  border-radius: 16px;
  background: #fbf8ff;
}

.payment-confirm-check {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #7b2cbf;
  font-size: 24px;
  font-weight: 900;
}

.payment-confirm-message h2 {
  margin: 0 0 4px;
  color: #3e1d5b;
  font-size: 21px;
}

.payment-confirm-message p {
  margin: 0;
  color: #75647f;
  font-size: 14px;
}

/* 兩欄內容 */
.payment-confirm-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.payment-order-card,
.payment-detail-card {
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(64,28,105,.10);
}

.payment-card-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #eee5f5;
}

.payment-card-title h2,
.payment-detail-card h2 {
  margin: 0;
  color: #24103f;
  font-size: 23px;
}

.payment-card-title span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #7b2cbf;
  background: #f4eaff;
  font-size: 12px;
  font-weight: 800;
}

.payment-course-name {
  margin-bottom: 16px;
  color: #6a1b9a;
  font-size: 21px;
  font-weight: 900;
}

.payment-data-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #f1ebf5;
  line-height: 1.6;
}

.payment-data-row span {
  color: #806f8a;
  font-size: 14px;
  font-weight: 700;
}

.payment-data-row strong {
  max-width: 65%;
  color: #382846;
  font-size: 15px;
  text-align: right;
  word-break: break-word;
}

.payment-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 20px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
}

.payment-total span {
  font-size: 15px;
  font-weight: 800;
}

.payment-total strong {
  font-size: 28px;
}

/* 右側資料 */
.payment-detail-card h2 {
  margin-bottom: 12px;
}

.payment-divider {
  height: 1px;
  margin: 25px 0;
  background: #eee5f5;
}

.payment-invoice-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #725d7d;
  background: #faf7fd;
  font-size: 14px;
  line-height: 1.7;
}

.payment-method-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 22px;
  padding: 16px;
  border: 1px solid #d9c4eb;
  border-radius: 14px;
  background: #faf5ff;
}

.payment-method-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ead9fa;
  font-size: 23px;
}

.payment-method-box strong {
  color: #5b187f;
  font-size: 16px;
}

.payment-method-box p {
  margin: 3px 0 0;
  color: #796785;
  font-size: 13px;
  line-height: 1.6;
}

.payment-confirm-submit {
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  box-shadow: 0 8px 18px rgba(255,94,0,.30);
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s;
}

.payment-confirm-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255,94,0,.40);
}

.payment-edit-link {
  display: block;
  margin-top: 18px;
  color: #7b2cbf;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.payment-edit-link:hover {
  color: #ff6a00;
}

.payment-security-note {
  margin: 14px 0 0;
  color: #918397;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
}

/* =========================
   報名完成／ATM 付款頁
========================= */
.finish-page {
  min-height: 100vh;
  color: #2b2332;
  background: #f8f6fb;
}

.finish-container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.finish-header {
  height: 72px;
  background: #fff;
  box-shadow: 0 2px 18px rgba(0,0,0,.08);
}

.finish-nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.finish-logo img {
  width: 150px;
}

.finish-back {
  color: #7b2cbf;
  font-size: 15px;
  font-weight: 800;
}

.finish-back:hover {
  color: #ff6a00;
}

.finish-hero {
  padding: 52px 0;
  color: #fff;
  background: linear-gradient(90deg, #320058, #7b2cbf);
}

.finish-step-label {
  margin: 0 0 8px;
  color: #ffe45c;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
}

.finish-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
}

.finish-hero p:last-child {
  margin: 0;
  font-size: 16px;
  opacity: .92;
}

.finish-main {
  padding: 44px 0 72px;
}

.finish-steps {
  display: flex;
  justify-content: center;
  gap: 54px;
  margin-bottom: 32px;
}

.finish-step {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9a8da3;
  font-size: 15px;
  font-weight: 800;
}

.finish-step span {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #8c7d97;
  background: #e9e1ed;
  font-size: 13px;
}

.finish-step.done,
.finish-step.active {
  color: #7b2cbf;
}

.finish-step.done span,
.finish-step.active span {
  color: #fff;
  background: #7b2cbf;
}

.finish-step.active span {
  box-shadow: 0 0 0 5px rgba(123,44,191,.13);
}

/* 狀態提示 */
.finish-status-card {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto 30px;
  padding: 20px 24px;
  border-radius: 16px;
}

.status-pending {
  border: 1px solid #f3cf91;
  background: #fff8e9;
}

.status-success {
  border: 1px solid #c5e6cf;
  background: #f1fbf4;
}

.finish-status-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
}

.status-pending .finish-status-icon {
  background: #f39b16;
}

.status-success .finish-status-icon {
  background: #2d9b56;
}

.finish-status-card h2 {
  margin: 0 0 5px;
  color: #3e1d5b;
  font-size: 21px;
}

.finish-status-card p {
  margin: 0;
  color: #705e78;
  font-size: 14px;
  line-height: 1.75;
}

/* 兩欄 */
.finish-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
}

.finish-layout-paid {
  grid-template-columns: 1.1fr .9fr;
}

.atm-card,
.finish-order-card,
.finish-complete-card {
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(64,28,105,.10);
}

.finish-card-title {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee5f5;
}

.finish-card-title h2,
.finish-order-card h2,
.finish-complete-card h2 {
  margin: 0;
  color: #24103f;
  font-size: 23px;
}

.payment-pending {
  padding: 6px 11px;
  border-radius: 999px;
  color: #b66900;
  background: #fff1d5;
  font-size: 13px;
  font-weight: 900;
}

/* ATM 資訊 */
.atm-amount-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
}

.atm-amount-box span {
  font-size: 15px;
  font-weight: 800;
}

.atm-amount-box strong {
  font-size: 30px;
}

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

.atm-info-item {
  padding: 17px;
  border: 1px solid #e8dff0;
  border-radius: 12px;
  background: #faf7fd;
}

.atm-info-item span {
  display: block;
  margin-bottom: 7px;
  color: #806f8a;
  font-size: 13px;
  font-weight: 700;
}

.atm-info-item strong {
  color: #372044;
  font-size: 21px;
  letter-spacing: .5px;
}

.atm-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.atm-account {
  font-size: 17px !important;
  letter-spacing: 1px !important;
}

.copy-btn {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid #b68adc;
  border-radius: 7px;
  color: #7b2cbf;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.copy-btn:hover {
  color: #fff;
  background: #7b2cbf;
}

.atm-deadline {
  grid-column: 1 / -1;
  border-color: #f3cf91;
  background: #fff8e9;
}

.atm-deadline strong {
  color: #b66900;
}

.atm-guide {
  margin-top: 22px;
  padding: 20px;
  border-radius: 12px;
  background: #f7f1fc;
}

.atm-guide h3 {
  margin: 0 0 12px;
  color: #5b187f;
  font-size: 17px;
}

.atm-guide ol {
  margin: 0;
  padding-left: 22px;
  color: #63536d;
  font-size: 14px;
  line-height: 1.9;
}

.atm-bottom-actions {
  margin-top: 22px;
  text-align: center;
}

.check-payment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 9px;
  color: #fff;
  background: #7b2cbf;
  font-size: 15px;
  font-weight: 900;
}

.check-payment-btn:hover {
  background: #5d168f;
}

.atm-bottom-actions p {
  margin: 13px 0 0;
  color: #8d7e96;
  font-size: 12px;
  line-height: 1.7;
}

/* 訂單摘要 */
.order-number {
  padding: 11px 13px;
  margin: 15px 0;
  border-radius: 9px;
  color: #715980;
  background: #faf7fd;
  font-size: 13px;
}

.order-number strong {
  color: #5b187f;
}

.finish-course-title,
.complete-course-title {
  margin-bottom: 17px;
  color: #6a1b9a;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.5;
}

.finish-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #f1ebf5;
  line-height: 1.6;
}

.finish-row span {
  color: #806f8a;
  font-size: 14px;
  font-weight: 700;
}

.finish-row strong {
  max-width: 65%;
  color: #382846;
  font-size: 15px;
  text-align: right;
  word-break: break-word;
}

.finish-invoice-note,
.complete-note {
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 10px;
  color: #725d7d;
  background: #faf7fd;
  font-size: 13px;
  line-height: 1.7;
}

.finish-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 20px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
}

.finish-total span {
  font-size: 15px;
  font-weight: 800;
}

.finish-total strong {
  font-size: 26px;
}

.paid-text {
  color: #2d9b56 !important;
}

.back-course-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 15px 20px;
  border-radius: 10px;
  color: #fff;
  background: #7b2cbf;
  font-weight: 900;
}

.back-course-btn:hover {
  background: #5d168f;
}
.mobile-signup-fixed {
  display: none;
}
/* =========================
   手機版：768px 以下
========================= */
@media (max-width: 768px) {

  /* 共用 */
  .container,
  .signup-container,
  .payment-confirm-container,
  .finish-container {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding: 48px 0;
    scroll-margin-top: 74px;
  }

  .section-title {
    margin-bottom: 32px;
    font-size: 28px;
  }

  /* Header */
  .header,
  .nav {
    height: 64px;
  }

  .logo img {
    width: 130px;
  }

  .menu {
    display: none;
  }

  .ai-course-page {
    padding: 0 ;
  }

  .ai-course-banner {
  	display:none;
  }
  
.ai-course-banner_m {
	display:block;
}
.ai-course-banner_m {
	display:block;
}

.ai-course-banner_m img{
	width:100%;
}

  .ai-date-bar {
    display: block;
    padding: 10px 15px;
    margin-bottom: 18px;
  }

  .ai-date-bar .date-label {
    display: block;
    font-size: 15px;
  }

  .ai-date-bar strong {
    display: block;
    margin-top: 2px;
    font-size: 20px;
  }

  .ai-course-layout {
    display: block;
    
    padding: 0 10px;
  }

  .ai-signup-panel {
    position: static;
    margin-bottom: 0;
  }

  .ai-card {
    padding: 21px 18px;
    margin-bottom: 16px;
    border-radius: 13px;
  }

  .ai-section-title {
    margin-bottom: 15px;
    font-size: 21px;
  }

  .ai-section-title::before {
    height: 24px;
  }

  .ai-course-list strong {
    font-size: 16px;
  }

iframe{
  width:100%;
  height: 250px;
}

  .ai-course-list p,
  .ai-notice-list li {
    font-size: 15px;
  }

  .ai-teacher-name {
    font-size: 22px;
  }

  .ai-mobile-apply {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #dce5eb;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.1);
  }

  .ai-mobile-apply a {
    display: block;
    padding: 12px;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #d91637, #773588);
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
  }

    .site-footer {
    padding: 10px 18px;
  }

  .site-footer p {
    font-size: 12px;
    line-height: 1.8;
  }

  /* 手機版隱藏較不重要資訊 */
.footer-fax,
.footer-en {
  display: none;
}
  .footer-tax {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, .72);
  }
  .footer-contact,
  .footer-copyright {
    display: block;
  }

  .footer-email {
    display: block;
  }

  .footer-copy {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, .72);
  }

  /* Modal */
  .modal {
    padding: 20px 12px;
  }

  .modal .modal-content {
    padding: 38px 22px 28px;
    border-radius: 16px;
  }

  #loginModal thead td {
    font-size: 22px;
  }

  #loginModal tbody th,
  #loginModal tbody td {
    display: block;
    width: 100%;
  }

  #loginModal tbody th {
    padding: 8px 0 3px;
  }

  #loginModal tbody td {
    padding: 0 0 8px;
  }

  #forgetModal .captcha-row {
    align-items: stretch;
  }

  #forgetModal .captcha-img-wrapper {
    flex-basis: 110px;
  }

  /* 報名頁 */
  .signup-main {
    padding: 32px 0 52px;
  }

  .signup-layout {
    grid-template-columns: 1fr;
  }

  .course-summary {
    position: static;
  }

  .signup-form-card {
    padding: 26px 20px;
  }

  .signup-hero {
    padding: 42px 0;
  }

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

  .form-full {
    grid-column: auto;
  }

  .invoice-options {
    flex-direction: column;
    gap: 12px;
  }

  .invoice-option {
    width: 100%;
  }
  .invoice-address-grid {
    grid-template-columns: 82px minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
  }

  .invoice-address-grid input,
  .invoice-address-grid select {
    padding: 0 8px;
    font-size: 13px;
  }
  
  /* 付款確認頁 */
  .payment-confirm-main {
    padding: 30px 0 50px;
  }

  .payment-confirm-hero {
    padding: 40px 0;
  }

  .payment-confirm-layout {
    grid-template-columns: 1fr;
  }

  .payment-steps {
    gap: 8px;
    justify-content: space-between;
  }

  .payment-step {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 11px;
  }

  .payment-order-card,
  .payment-detail-card {
    padding: 24px 18px;
  }

  .payment-card-title {
    flex-direction: column;
  }

  .payment-data-row {
    flex-direction: column;
    gap: 3px;
  }

  .payment-data-row strong {
    max-width: 100%;
    text-align: left;
  }

  .payment-confirm-message {
    padding: 17px;
  }

  /* ATM／完成頁 */
  .finish-main {
    padding: 30px 0 50px;
  }

  .finish-hero {
    padding: 40px 0;
  }

  .finish-layout,
  .finish-layout-paid {
    grid-template-columns: 1fr;
  }

  .finish-steps {
    gap: 8px;
    justify-content: space-between;
  }

  .finish-step {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 11px;
  }

  .atm-card,
  .finish-order-card,
  .finish-complete-card {
    padding: 24px 18px;
  }

  .atm-info-grid {
    grid-template-columns: 1fr;
  }

  .atm-deadline {
    grid-column: auto;
  }

  .finish-row {
    flex-direction: column;
    gap: 3px;
  }

  .finish-row strong {
    max-width: 100%;
    text-align: left;
  }

  .finish-status-card {
    align-items: flex-start;
    padding: 17px;
  }

  .finish-status-card h2 {
    font-size: 18px;
  }
  
  .ai-course-page {
    padding-bottom: 20px;
  }

  .mobile-signup-fixed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #e6d6ad;
    box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.16);
  }

  .mobile-signup-price {
    min-width: 110px;
    line-height: 1.25;
  }

  .mobile-signup-price span {
    display: block;
    color: #875700;
    font-size: 12px;
    font-weight: bold;
  }

  .mobile-signup-price strong {
    display: block;
    color: #cf1735;
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: -0.5px;
  }

  .mobile-signup-btn {
    flex: 1;
    min-height: 48px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #e32242, #8a337e);
    box-shadow: 0 4px 10px rgba(174, 27, 67, 0.35);
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    animation: mobileApplyPulse 1.8s infinite;
  }

  .mobile-signup-btn:active {
    transform: scale(0.97);
  }

  @keyframes mobileApplyPulse {
    0% {
      box-shadow: 0 4px 10px rgba(174, 27, 67, 0.3);
    }

    50% {
      box-shadow: 0 4px 18px rgba(227, 34, 66, 0.65);
    }

    100% {
      box-shadow: 0 4px 10px rgba(174, 27, 67, 0.3);
    }
  }

}