﻿@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;
}

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);
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  background:
    linear-gradient(270deg, rgba(28,0,60,.95), rgba(80,0,130,.78), rgba(80,0,130,.25)),
    url("images/bg.png") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-teacher {
  position: absolute;
  left: 0;
  top: 13%;
  width: 35%;
  max-width: 520px;
  z-index: 1;
}

.hero-content {
  width: 58%;
  padding: 70px 0;
  position: relative;
  z-index: 2;
  margin-left: auto;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 900;
}

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

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

.hero-subtitle {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  margin: 0 0 22px;
}

.hero-tags {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-tags span {
  color: #ffe45c;
  font-weight: 800;
}

.teacher-name {
  font-size: 28px;
  font-weight: 900;
  margin: 26px 0 10px;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.teacher-name small {
  background: #ffcc00;
  color: #3a006d;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 16px;
}

.hero-note {
  line-height: 1.8;
  opacity: .95;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-robot {
  position: absolute;
  right: 0;
  top: 50%;
  width: 20%;
  max-width: 320px;
  z-index: 1;
}

/* Section */
.section {
  padding: 60px 0;
  scroll-margin-top: 60px;
}

.section-white {
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #24103f;
  margin: 0 0 46px;
  font-weight: 900;
}

.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  background: #7b2cbf;
  border-radius: 99px;
  margin: 14px auto 0;
}

/* Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}


/* Card */
.card {
  background: #fff;
  border-radius: 18px;
  padding: 38px 28px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(64,28,105,.09);
  border: 1px solid rgba(123,44,191,.08);
}

.card h3 {
  margin: 12px 0;
  color: #6a1b9a;
  font-size: 20px;
}


.card p {
  line-height: 1.8;
  margin: 0;
}

.icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  background: #f2e7ff;
}

.icon.pink {
  background: #ffe5f1;
}

.icon.blue {
  background: #e7f3ff;
}

.target-card {
  box-shadow: none;
  border: none;
  background: transparent;
  padding: 10px 20px;
}

.card.target-card h3 {
  margin: 12px 0;
  color: #333;
  font-size: 18px;
}
/* SVG Icon */
.feature-icon svg {
  width: auto;
  height: 85px;
  color: #7b2cbf;
}

.feature-icon svg * {
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon .accent {
  stroke: #ff8a00;
}

/* Teacher */
.teacher-box {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 34px;
  align-items: center;
  background: linear-gradient(135deg, #f0defe, #fff);
  border-radius: 24px;
  padding: 0 44px 0 24px;
  box-shadow: 0 10px 30px rgba(64,28,105,.08);
  overflow: hidden;
}

.teacher-photo {
  position: relative;
  width: 380px;
  height: 320px;
  overflow: hidden;
}

.teacher-photo::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: #d8c6f5;
  bottom: -180px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.teacher-photo img {
  position: absolute;
  width: 220px;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.teacher-info h4 {
  color: #7b2cbf;
  font-size: 20px;
  margin: 0 0 12px;
}

.teacher-info h2 {
  margin: 0 0 18px;
  color: #24103f;
  font-size: 32px;
}

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

.teacher-info li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.teacher-info li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #7b2cbf;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Course Info + Video */
.course-info-video {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: center;
}

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

.info-card {
  background: #fff;
  border-radius: 18px;
  padding: 15px 12px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(64,28,105,.09);
  border: 1px solid rgba(123,44,191,.08);
}

.course-info-grid .feature-icon svg {
  width: 55px;
  height: 55px;
}

.info-card .label {
  color: #7b2cbf;
  font-weight: 800;
  margin: 10px 0;
  font-size: 1.185rem;
}

.info-card .value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}
.info-card .value span {
  font-size: 1.15rem;
  font-weight: 600;
}
.course-video-box {
  width: 100%;
}

.video-box {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #24103f;
  position: relative;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.course-note {
  grid-column: 1 / -1;
  color: #d20962;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 10px 0 0;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(64,28,105,.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: none;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  color: #24103f;
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  line-height: 1.8;
  color: #555;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-plus {
  color: #7b2cbf;
  font-size: 24px;
  font-weight: 900;
  transition: .25s;
}

.faq-item.active .faq-plus {
  transform: rotate(45deg);
}

/* CTA */
.cta {
  background:
    linear-gradient(90deg, rgba(55,0,100,.96), rgba(120,30,190,.9)),
    url("images/ai-banner.jpg") center/cover no-repeat;
  color: #fff;
  border-radius: 18px;
  padding: 40px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size:1.5rem;
  
}

.cta h2 {
  margin: 0 0 10px;
  font-size: 34px;
}

.cta p {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.cta strong {
  color: #ffe600;
}

/* 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: 52px 0 72px;
}

.signup-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  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: 38px;
  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;
}

/* =========================
   手機版：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;
  }

  /* Hero */
  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero {
    background-position: center;
  }

  .hero-teacher,
  .hero-robot {
    display: none;
  }

  .hero-content {
    width: 100%;
    margin-left: 0;
    padding: 52px 0 48px;
    text-align: center;
  }

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

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-tags {
    justify-content: center;
    gap: 8px 12px;
    margin-bottom: 20px;
  }

  .hero-tags span {
    font-size: 13px;
  }

  .teacher-name {
    min-height: auto;
    justify-content: center;
    margin: 20px 0 10px;
    font-size: 22px;
  }

  .teacher-name small {
    padding: 6px 10px;
    font-size: 14px;
  }

  .hero-note {
    font-size: 14px;
  }

  /* Hero 按鈕保持併排 */
 .hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100%;
    flex-wrap: nowrap !important;
  }

  .hero-actions .btn {
    display: flex !important;
    width: 100% !important;
    min-width: 0;
    padding: 12px 4px;
    font-size: 13px;
    white-space: nowrap;
  }
  

  /* 首頁卡片 */
  .grid-4,
  .teacher-box,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  /* 三個卡片改為直向排列 */
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  /* 每張卡片：圖示左、標題右 */
  .grid-3 .card {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 14px;
    padding: 14px 18px;
  }

  /* 圖示縮小，固定在左側 */
  .grid-3 .icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    margin: 0;
    font-size: 25px;
  }

  /* 標題放右邊 */
  .grid-3 .card h3 {
    margin: 0;
    font-size: 1.185rem;
    line-height: 1.5;
  }

  /* 隱藏下方說明 */
  .grid-3 .card p {
    display: none;
  }
  

  .grid-3 .card .feature-icon svg {
  width: 55px;
  height: 55px;
}

  /* 講師介紹 */
  .teacher-box {
    padding: 5px 10px;
    gap: 20px;
  }

  .teacher-photo {
    width: 100%;
    max-width: 340px;
    height: 300px;
    margin: 0 auto;
  }

  .teacher-photo img {
    width: 180px;
  }

  .teacher-info {
    text-align: left;
  }

  .teacher-info h2 {
    font-size: 27px;
  }

  .teacher-info h4 {
    font-size: 18px;
  }

  /* 課程資訊 */

  .course-info-video {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* 四張課程資料卡片維持 2 x 2 */
  .course-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .info-card {
    padding: 14px 6px;
    border-radius: 12px;
  }

  .course-info-grid .feature-icon svg {
    width: 40px;
    height: 40px;
  }

  .info-card .label {
    margin: 6px 0;
    font-size: 1rem;
  }

  .info-card .value {
    font-size: 1.185rem;
    line-height: 1.4;
  }

  .info-card .value span {
    font-size: 14px;
  }

  /* 影片排在四張課程資訊下方 */
  .course-video-box {
    width: 100%;
    grid-column: 1;
  }

  .course-note {
    grid-column: 1;
    margin-top: 10px;
    font-size: 1.05rem;
  }


  /* FAQ */
  .faq-question {
    padding: 16px 18px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 18px 18px;
    font-size: 1.05rem;
  }

  /* CTA */
  .cta {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  font-size:1.25rem;
  }

  .cta h2 {
    font-size: 26px;
  }

  .cta p {
    font-size: 18px;
  }

  .cta .btn {
    width: 100%;
  }
    .site-footer {
    padding: 16px 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;
  }
}