/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(rgba(242, 245, 255, 0.10), rgba(31, 35, 49, 0.05)), url("../img/hero/hero-Vocab_bg.jpg") center/cover no-repeat;
  color: var(--dark-2);
  padding: 0;
}
.hero::before, .hero::after {
  content: ""; position: absolute; left: -10%; right: 0;
  height: 36%; background: var(--gradient-blue);
  transform: skewY(-6deg); z-index: 1; box-shadow: 0 20px 60px rgba(0,80,212,.35);
}
.hero::before { top: 142px; opacity: 0.00; }
.hero::after { top: auto; bottom: 98px; transform: skewY(6deg); opacity: .10; }
.hero .hero-wrap { position: relative; margin: 0px 0 0px; padding: 0; background: url("../img/hero/hero-Vocab_laptop.webp") center center no-repeat; background-size: auto; z-index: 2; }

.hero h1 {
  text-shadow: none !important;
}
.hero h1 .accent {
  font-size: 1.375em;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(2px 8px 12px rgba(255, 255, 255, 0.5));
  letter-spacing: -1px;
}
.hero p.lead { margin: 5px 25px 35px; }
.hero-image img { display: none; }
.hero-text { padding-left: 0px; width: calc(100% + 5%); margin-left: -5%; }

.hero-stats { display: flex; gap: 0.75rem; color: var(--text-soft); margin: 0; align-items: center; justify-content: flex-start; position: absolute; }
.hero-stat-item { background-color: var(--bg); box-shadow: 0 8px 20px rgba(255,255,255,.25); border-radius: 0.5rem; margin: 10px auto; padding: 8px 12px 10px; text-align: center; width: 150px; }
.hero-stat-item .stat-number { display: block; font-size: 1.375rem; font-weight: bold; }
.hero-stat-item .stat-label { font-size: 0.9375rem; }

/*  Hero-Intro-Section */
.hero-intro-section { position: relative; }
.hero-intro-section .hero-left-column {
  position: relative;
  max-width: 100% !important;
  width: calc(100% - 5%) !important; 
  margin-top: -42px;
  margin-right: 5%;
  height: 320px;
}
.hero-intro-section .hero-intro-container {
  position: relative; width: 90%; height: 100%; z-index: 10; display: flex; justify-content: flex-end; align-items: center; pointer-events: none;
}
.hero-intro-section .desktop-stage {
  position: relative; width: 100%; max-width: 420px; height: 280px; margin: 0 auto;
}

.hero-intro-section .mock-window {
  position: absolute; width: 250px; height: 130px; background-color: rgba(15, 23, 42, 0.95);
  border-radius: 8px; border: 2px solid #7c3aed; box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
  display: flex; flex-direction: column; opacity: 0;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.45s ease, 
              border-color 0.45s ease; 
}
.mock-window .window-header {
  height: 22px; background-color: #0b0f17; border-top-left-radius: 7px; border-top-right-radius: 7px; display: flex; align-items: center; padding: 0 10px; position: relative;
}
.window-header .buttons { display: flex; gap: 5px; }
.window-header .buttons .btn { width: 6px; height: 6px; border-radius: 50%; background-color: #3b4252; padding: 0; }
.window-header .window-title { position: absolute; left: 50%; transform: translateX(-50%); color: var(--border-color) ; font-size: 0.8125rem; font-weight: bold; }
.mock-window .window-body { flex: 1; padding: 12px; font-size: 12px; line-height: 1.4; color: #fff; }

.hero-intro-section .win-html.is-typing {
  top: 33.33%; left: 50%; transform: translate(-50%, -50%);   
  background-color: transparent;
  border-radius: 8px; border: 2px transparent;
  width: 360px; height: 280px; opacity: 1;
  box-shadow: 0 0 25px rgba(255, 185, 35, 0.0);
  transition: opacity 0.25s ease;
}

.hero-intro-section .win-html.is-typing > .window-header {
  opacity: 0;
  visibility: hidden;
  height: 0; /* 讓出空間給打字 */
  padding: 0;
}
.hero-intro-section .win-html.is-typing .window-body {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 2px;
}

/*  intro第一圖片樣式 */
.hero-intro-section .win-html.is-typing .window-body .intro-img { 
  display: block; 
  max-width: 100%;
  height: auto;
}
/* 標語打字游標 */
.hero-intro-section .highlight-text {
  color: #ffb923; font-weight: bold; font-size: 1.75rem; line-height: 1.3; text-align: center;
}
.hero-intro-section .slogan-text::after { content: '|'; animation: edmBlink 0.8s infinite; }
@keyframes edmBlink { 50% { opacity: 0; } }


/* --- 視窗 --- */
.hero-intro-section .win-html { 
  top: -10px; left: -5px; opacity: 1; }
.hero-intro-section .win-html.is-code { 
  top: -10px !important; left: -5px !important; transform: none !important;
  width: 250px; height: 130px; /* 鎖定window大小 */
  background: url("../img/hero/hero-intro-icon-01.webp") center top/100% no-repeat rgba(15, 23, 42, 0.95); border-color: #7c3aed; 
  opacity: 1;
  transition: none !important; 
}
/* 視窗 2 & 3  */
.hero-intro-section .trigger-fly { animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); animation-fill-mode: forwards; }
.hero-intro-section .win-css { top: 60px; left: 145px; color: #38bdf8; background: url("../img/hero/hero-intro-icon-02.webp") center top/100% no-repeat rgba(15, 23, 42, 0.95); }
.hero-intro-section .win-css.trigger-fly { animation-name: edmFlyRight; animation-duration: 0.6s; animation-delay: 0.15s; box-shadow: 0 15px 35px rgba(0,0,0,0.5); }
.hero-intro-section .win-js { bottom: 10px; left: 60px; color: #ffb923; background: url("../img/hero/hero-intro-icon-03.webp") center top/100% no-repeat rgba(15, 23, 42, 0.95); }
.hero-intro-section .win-js.trigger-fly { animation-name: edmFlyBottom; animation-duration: 0.6s; animation-delay: 0.35s; box-shadow: 0 20px 45px rgba(0,0,0,0.6); }
@keyframes edmFlyRight { 0% { transform: translate(30px, -15px) scale(0.95); opacity: 0; } 100% { transform: translate(0) scale(1); opacity: 1; } }
@keyframes edmFlyBottom { 0% { transform: translateY(40px) scale(0.95); opacity: 0; } 100% { transform: translateY(0) scale(1); opacity: 1; } }
/* CRT 關機 */
.hero-intro-section .tv-shut-down { animation: heroCrtClose 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards; animation-delay: 4.8s; } /* 視窗動態停頓時間 */
@keyframes heroCrtClose { 0% { transform: scale(1); filter: brightness(1); opacity: 1; } 40% { transform: scaleX(1.3) scaleY(0.01); filter: brightness(6); background: transparent; } 100% { transform: scaleX(0) scaleY(0); opacity: 0; filter: brightness(10); } }
.hero-intro-section .hero-intro-container.fade-out { opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }

/* 字卡 */
.hero-intro-section .hero-left-cards {
  opacity: 0;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  height: auto;
  transform-style: preserve-3d; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex; gap: 5px;
  perspective: 1000px; /* 啟用 3D 透視效果 */
  background: url("../img/hero/hero-intro-container_bg.webp") center top/100% no-repeat transparent;
  margin-bottom: 10px; margin-left: 5%;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #f2f2f2;
}
.hero-intro-section.content-active .hero-left-cards { opacity: 1; }

.hero-intro-section .info-card {
background: rgba(255, 255, 255, 0.95); padding: 11px 14px; border-radius: 8px; text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,0.15); 
  margin-top: 118px; backface-visibility: hidden; }
.hero-intro-section .info-card strong { display: block; color: #1e1b4b; font-size: 24px; margin-bottom: 2px; }
.hero-intro-section .info-card span { color: #6b7280; font-size: 15px; white-space: nowrap; }
/* 文字顏色 */
.window-body .tag, .info-card strong.tag, .tag { color: #ff4a75; }
.window-body .attr, .info-card strong.attr, .attr { color: #38bdf8; }
.window-body .val, .info-card strong.val, .val { color: #ffb923; }

/* 修正寬度範圍768px變更 */
@media (max-width: 850px) {
  .hero-intro-section .hero-left-column {
    max-width: 100% !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.825); 
    margin: 58px auto -20px !important;
  }
  .hero-intro-section .hero-intro-container {
    transform-origin: bottom center; 
    transform: scale(0.90); 
    width: 100%;
    margin: 0 auto;
  }
  .hero-intro-section .win-html.is-code {
    left: -10px !important; 
  }
  .hero-intro-section .hero-left-cards {
    margin-left: auto;
  }
}
@media (max-width: 767.98px) {
  .hero { background: url("../img/hero/hero-Vocab_bg-sm.jpg") center/cover no-repeat; padding: 0px; }
  .hero .hero-wrap { background: url("../img/hero/hero-Vocab_laptop-sm.webp") center 17.5% no-repeat; background-size: auto; }
  .hero-image { flex: 1; }
  .hero-text { flex: 1; padding-left: 0px; flex-direction: column; width: 100%; margin-left: 0%; }
}
@media (max-width: 439.98px) {
  .hero .hero-wrap { background-size: 100%; }
}

/* ============ Feature ============ */
.feature {
  position: relative; overflow: hidden;
  background: linear-gradient(rgba(229, 229, 235, 0.35), rgba(186, 183, 228, 0.55)),
              url("../img/features/feature-Vocab_bg.jpg") center/auto no-repeat;
  color: #fff;
  padding: 0;
}
.feature::before, .feature::after {
  content: ""; position: absolute; left: 0; right: -10%;
  height: 36%; background: var(--gradient-dark-blue-purple);
  transform: skewY(-6deg); z-index: 1; box-shadow: 0 20px 60px rgba(0,80,212,.35);
}
.feature::before { top: 180px; opacity: 0.00; }
.feature::after { top: auto; bottom: 0px; transform: skewY(6deg); opacity: .65; }
.feature .feature-wrap { position: relative; background: url("../img/features/feature-Vocab_bg.webp") center 4% no-repeat; background-size: contain; z-index: 2; }
.feature h2 { margin-bottom: 0px; text-shadow: 0 3px 13px rgba(0, 0, 0, 0.55); }

.feature .num i.svg-icon { width: 42px; height: 42px; }

.feature-warning {
  background: transparent; 
  background-size: contain;
  display: block;
  box-shadow: none;
}
.feature-warning strong { color: var(--accent); margin-left: 15px; }
.feature-warning p.lead { color: #fff; opacity: 1.0;margin-right: 0px; }

.blob {
  position: relative;
  margin: 5px -15px 5px 5px;
}

/* ============ Section base ============ */
section { padding: 80px 0 0; }
.section-title {
  text-align: center; margin-bottom: 16px; /*line-height: 1.35;*/
  font-size: clamp(1.75rem, 5.4vw, 3.125rem); font-weight: 900; color: var(--dark);
  letter-spacing: -.1px;
}
.section-title .hl { color: var(--orange); }


/* ==========================================================================
   遊戲模組 Game Modes /  5 大模組
   ========================================================================== */
/* ============ 5-functional plan ============ */
.plan { background: url("../img/features/plan-Vocab_bg.jpg") top/100% no-repeat var(--bg-soft-gray); }
.plan-card.featured {
  background: var(--gradient-purple);
  color: #fff; box-shadow: 0 16px 36px rgba(45, 30, 255, 0.35);
}
.why-item .num {
  background: linear-gradient(135deg, rgba(146, 134, 250, 0.35), rgba(56, 26, 190, 0.55));
  border: 1px solid rgba(120, 89, 255, 0.75);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/* 5大模組三欄網格 */
.game-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 auto;
  align-items: center;
}
.grid-column-side {
  display: flex;
  flex-direction: column; /* 上下排列 */
  gap: 10px;
}

.price-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  text-align: left;
  color: #fff;
}
.grid-column-side > .plan-card { padding-left: 25px; padding-right: 25px; }
.grid-column-side > .plan-card > .num { margin: -4px 8px 10px 0; display: inline-flex; justify-content: center; align-items: center; }
.grid-column-side > .plan-card > .text-white { width: 180px; }
.grid-column-side > .plan-card > p { padding: 0.5rem 1.25rem; text-align: left; background: linear-gradient(#4b24ca, #4b24ca) padding-box, linear-gradient(to right, #f9ff41, #2bffae) border-box;  }
.price-card .text-white { color: #fff; }
.price-card h3 { font-size: 1.75rem; }
.price-card h4 { font-size: 1.25rem; }

/* 中間突出的直式卡片 */
.price-card.card-highlight {
  background: #ffffff;
  padding: 22px 18px;
  align-self: stretch;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transform: translateY(-0px); 
}
.price-card.card-highlight .rice-gradient-border {
  padding: 25px 15px 0px;
  border-width: 3px;
}

.price-card .features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.price-card .features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0px 0;
}

.price-card .list-icon {
  width: 20px;
  height: 20px;
  background: #fcece7;
  border-radius: 50px;
  margin-top: 2px;
  flex-shrink: 0;
  position: relative;
}
/* 微小幾何圖形顏色 */
.price-card .list-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  background: #ef7d31;
  border-radius: 50%;
}
.price-card .list-text strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 4px;
  font-weight: 700;
}
.price-card .list-text p {
  margin: 0;
  font-size: 0.9375rem;
}


/* ==========================================================================
   單字配對遊戲
   ========================================================================== */
/* ============ Match Game ============ */
.match-game { margin: 0; }
.match-game.why { padding-top: 80px; background: url("../img/features/why-Vocab_bg.jpg") center/cover no-repeat; }

.match-game .game-container {
  margin: 42px auto 70px;
  background: rgba(5, 10, 83, 0.25);
  border-radius: 24px;
  padding: 42px 20px;
  color: #fff;
  border: #edf2f7 solid 3px;
  box-shadow: 0 20px 50px rgba(30, 38, 64, 0.25);
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.match-game .game-container::after {
  content: "";
  background: 
    url("../img/features/match-game-right_cover.webp") right top / auto no-repeat,
    url("../img/features/match-game-left_cover.webp") left bottom / auto no-repeat rgba(5, 10, 83, 0.25);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 22px;
}
.match-game .game-container h3 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.match-game .game-container p.game-subtitle {
  color: #94a3b8;
  font-size: 1.0625rem;
  margin-bottom: 35px;
}

/* ============ Game Screen ============ */
.game-screen {
  display: none;
  width: 100%;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.game-screen.active {
  display: flex;
}
        /* HUD Stats Panels */
        .game-hud {
          display: flex;
          justify-content: space-between;
          width: 100%;
          max-width: 650px;
          margin-bottom: 25px;
      }
      .hud-panel {
          background: rgba(6, 1, 80, 0.75);
          border: 1px solid rgba(128,184,255, 0.4);
          border-radius: 14px;
          padding: 10px 25px 8px;
          min-width: 120px;
          text-align: center;
      }
      .hud-label {
          font-size: 0.8125rem;
          color: var(--text-light-soft);
          margin-bottom: 5px;
          font-weight: bold;
      }
      .hud-value {
          font-size: 1.75rem;
          font-weight: 900;
          letter-spacing: 1px;
          color: #10b981;
          font-family: 'Inter', Arial, Helvetica, sans-serif;
      }

/* 元件 (Icon & Start Button) */
   .game-thunder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 165, 91, 0.85);
    border-radius: 20px;
    background: linear-gradient(135deg, #ff922b, #ff6b35);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    font-size: 2.25rem;
  }
  
  .btn-game-start {
    padding: 16px 50px;
    border: none;
    border-radius: 14px;
    background-color: #ffffff;
    color: #1e2640;
    font-size: 1.125rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
  }
  .btn-game-start:hover {
    color: var(--orange);
    transform: scale(1.03);
  }
  
  .result-panel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    font-size: 2.25rem;
  }

  .bg-success-green {
    border: 1px solid rgba(59, 228, 180, 0.85);
    background: linear-gradient(135deg, #19dfa6, #1ea58c);
    box-shadow: 0 10px 25px rgba(53, 218, 172, 0.75);
  }
  .bg-fail-red {
    border: 1px solid rgba(255, 80, 80, 0.85);
    background: linear-gradient(135deg, #ff635c, #d20909);
    box-shadow: 0 10px 25px rgba(218, 53, 84, 0.75);
  }
  
  /* 結果文字設定 */
  .game-result-title {
    margin-bottom: 20px;
    font-size: 2.25rem;
    font-weight: bold;
  }
  .game-result-desc {
    max-width: 500px;
    margin-bottom: 35px;
    color: var(--border-color);
    font-size: 1.125rem;
  }
  /* 高亮與顏色分類 */
  .game-result-desc span.highlight, 
  .game-result-title.highlight {
    color: #19dfa6;
    font-weight: bold;
  }
  .game-result-title.red {
    color: #ef4444;
    font-weight: bold;
  }
  
  .btn-action-group {
    display: flex;
    gap: 20px;
  }
  /* 主要次要按鈕 */
  .btn-game-secondary, .btn-game-primary {
    padding: 14px 35px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #fff;
    font-size: clamp(1rem, 1vw + 0.75rem, 1.25rem);
    font-weight: bold;
    cursor: pointer;
  }
  .btn-game-secondary {
    border: 1px solid rgba(128, 184, 255, 0.4);
    background: rgba(38, 39, 121, 0.75);
    transition: background 0.2s;
  }
  .btn-game-secondary:hover {
    background: rgba(24, 19, 87, 0.75);
  }
  .btn-game-primary {
    border: none;
    background: linear-gradient(90deg, #ff6b35, #ff4757);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
    transition: opacity 0.2s;
  }
  .btn-game-primary:hover {
    opacity: 0.95;
  }
  

.match-game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
}
/* 卡片與雙面特效 */
.match-game-grid .card { 
  width: 100%;
  aspect-ratio: 4 / 3; 
  perspective: 1000px; 
  cursor: pointer; 
  box-sizing: border-box;
}
.match-game-grid .card-inner {
  position: relative; 
  width: 100%; 
  height: 100%; 
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}
/* 答對翻轉 */
.match-game-grid .card.matched .card-inner { 
  transform: rotateY(180deg); 
}
/* 正面與背面 */
.match-game-grid .card-front, 
.match-game-grid .card-back {
  position: absolute; 
  width: 100%; 
  height: 100%; 
  backface-visibility: hidden;
  border: 5px solid #ffffff; 
  border-radius: 18px; 
  display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  box-sizing: border-box; 
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); 
  overflow: hidden;
}

/* 正面：黃底出字 */
.match-game-grid .card-front { 
  background: #fec93d url("../img/icons/front.png") center/cover no-repeat;
  color: #2d3436; 
  padding: 15px; 
}
.match-game-grid .card-text { 
  font-size: clamp(15px, 5.2vw, 19px);
  font-weight: bold; 
  word-break: break-word; 
  line-height: 1.3; 
}
/* 選取綠框（僅在此遊戲卡片生效） */
.match-game-grid .card.selected .card-front { 
  border-color: #7fe3a0; 
  box-shadow: 0 0 15px rgba(18, 255, 178, 0.7); 
}
/* 答錯紅框（僅在此遊戲卡片生效） */
.match-game-grid .card.wrong .card-front {
  border-color: #ff7675 !important; 
  color: #ff7675 !important;
  background-color: #ffeaea !important; 
  animation: match-game-shake 0.4s ease-in-out;
}

/* 背面：綠底兔子 */
.match-game-grid .card-back { 
  background: url("../img/icons/back.png") center/contain no-repeat #7fe3a0;
  color: #ffffff; 
  transform: rotateY(180deg); 
}
.match-game-grid .job-tag { 
  background-color: #ffb7b4; 
  padding: 8px 20px; 
  border-radius: 20px; 
  font-size: 0.75em;
  font-weight: bold; 
  letter-spacing: 1px;
  position: absolute;
  top: calc(100% - 42px);
}
/* 震動動畫 */
@keyframes match-game-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

/* ==========================================================================
   校園學霸方案 Pricing / 常見問題解答 FAQ
   ========================================================================== */
/* ============ Pricing ============ */
.pricing { background: url("../img/features/pricing-Vocab_bg.jpg") center -50px no-repeat var(--bg-soft-gray); background-size: 180%; }

/* 學霸1欄位 */
.pricing-grid--single-scholar {
  grid-template-columns: 1fr !important;
  max-width: 960px;
  margin: 40px auto;
  padding: 0;
  position: relative;
  z-index: 2;
}
.pricing-grid--single-scholar .price-card {
  display: grid;
  grid-template-columns: 39% 61%;
  padding: 0;
  background: rgba(255, 255, 255, 0.88);
  border: 3px solid var(--orange);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(239, 125, 49, 0.28);
}
/* 左側區塊 */
.pricing-grid--single-scholar .card-left {
  background: rgba(251, 235, 230, 0.45);
  padding: 40px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px dashed rgba(239, 125, 49, 0.2);
}
.pricing-grid--single-scholar .scholar-tag {
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--orange);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.pricing-grid--single-scholar .card-left h3 {
  font-size: 2.625rem;
  color: var(--dark);
  margin: 0 0 15px 0;
  font-weight: 800;
}
.pricing-grid--single-scholar .card-left .price-amount { font-size: 1.75em; line-height: 1.15; display: inline-block; transform: translateY(0.10em); }

.pricing-grid--single-scholar .badge-saving {
  background: #fff;
  border: 1px solid #fcdbd0;
  color: var(--orange);
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(239, 125, 49, 0.05);
}
.pricing-grid--single-scholar .btn {
  display: inline-block; max-width: 260px;
}

/* 右側區塊 */
.pricing-grid--single-scholar .card-right {
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pricing-grid--single-scholar .right-title {
  font-size: 1.5rem;
  color: var(--dark);
  font-weight: 700;
  margin: 0 0 25px 0;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}
/* 特點列表 (上下排版) */
.pricing-grid--single-scholar .features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricing-grid--single-scholar .features-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.pricing-grid--single-scholar .list-icon {
  width: 20px;
  height: 20px;
  background: #fcece7;
  border-radius: 50px;
  margin-top: 2px;
  flex-shrink: 0;
  position: relative;
}
/* 微小幾何圖形顏色 */
.pricing-grid--single-scholar .list-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  background: var(--light-orange);
  border-radius: 50%;
}
.pricing-grid--single-scholar .list-text strong {
  display: block;
  font-size: 1.125rem;
  color: var(--dark-2);
  margin-bottom: 2px;
  font-weight: 700;
}
.pricing-grid--single-scholar .list-text p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.4;
}

/* ============ Trust FAQ ============ */
.trust-grid { gap: 10px; grid-template-columns: repeat(2, 1fr); /*問答三題變兩題*/ }

.trust-item h4 { font-size: 1.125rem; color: var(--dark); margin-bottom: 12px; }
.trust-grid--single-scholar {
  grid-template-columns: 1fr !important;  /*變更一欄*/
}
 /* FAQ 問題解答 */
.faq-item {
  position: relative;
  margin: 0;
  padding: 0;
}
.faq-item-container {
  border: 1px solid #edf2f7;   /*border-bottom: 1px solid #edf2f7;*/
  border-radius: 11px;
}
.faq-question {
    font-weight: bold;
    font-size: clamp(1rem, 0.5vw + 0.75rem, 1.125rem);
    color: var(--dark-2);
    line-height: 1.3;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    user-select: none;
    margin: 5px auto;
    padding: 8px 8px 8px 2px;
    min-height: 66px;
    height: auto;
}

.faq-toggle-icon {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--light-orange);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 3px;
    padding: 5px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-soft);
    text-align: justify;
    line-height: 1.42;
    margin-top: 0;
}
.faq-answer-inner {
  background-color: #fff;
  border-radius: 10px;
  margin-top: 5px;
  padding: 10px 20px;
}

/* ============ RWD ============ */
@media (max-width: 768px) {
  .feature { background-position: center top; background-size: 200%; }
  .feature-wrap { background-position: center 6%; }
  .pricing-grid--single-scholar .price-card, .game-modes-grid/* modes區塊變一欄 */ {
    grid-template-columns: 1fr;
  }
  .pricing-grid--single-scholar .card-left {
    border-right: none;
    border-bottom: 1px dashed rgba(239, 125, 49, 0.2);
    padding: 35px 20px;
  }
  .pricing-grid--single-scholar .card-right {
    padding: 30px 20px;
  }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .match-game-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0px; }
  .match-game-grid .card { width: 100%; aspect-ratio: 3 / 4; perspective: 1000px; cursor: pointer; }

  .pricing { background: url("../img/features/pricing-Vocab_bg.jpg") center bottom /cover no-repeat var(--bg-soft-gray); }
  .price-card.card-highlight { transform: translateY(-20px); }
  }



/* Form 填單 */
.sticky-cta-form .accent { -webkit-text-fill-color: transparent; color: transparent; background: var(--gradient-orange); -webkit-background-clip: text; background-clip: text; font-size: 105%; }

