/* ===================================================
   檔案路徑：public/css/member.css
   說明：精簡卡片尺寸，下方資訊區塊恢復並排顯示
   =================================================== */

.membership-main {
  padding: 40px 0 70px;
}

.section-header {
  margin-bottom: 25px;
}

.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.section-sub {
  color: #64748b;
  font-size: 0.92rem;
}

/* ---------------------------------------------------
   1. 流程步驟 (Process Steps)
   --------------------------------------------------- */
.process-section {
  margin-bottom: 50px;
}

.process-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  padding: 24px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 0 6px;
}

.step-badge {
  width: 36px;
  height: 36px;
  background-color: var(--accent-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.step-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.step-card p {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

.step-divider {
  width: 20px;
  height: 2px;
  background-color: var(--border-color);
  margin-bottom: 25px;
}

/* ---------------------------------------------------
   2. 會員方案區塊 (精簡縮小版)
   --------------------------------------------------- */
.membership-plans-section {
  margin-bottom: 50px;
}

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

.plan-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* 個人會員方案：沉穩藍灰色邊框 */
.plan-card.plan-individual {
  border: 2px solid #94a3b8;
}
.plan-card.plan-individual:hover {
  border-color: #64748b;
}
.ind-pill {
  color: #334155;
  background: #f1f5f9;
}

/* 團體會員方案：永續綠色邊框 */
.plan-card.plan-corporate {
  border: 2px solid var(--accent);
}
.plan-card.plan-corporate:hover {
  border-color: var(--primary);
}
.corp-pill {
  color: var(--primary);
  background: var(--accent-light);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
}

.plan-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.plan-target {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 14px;
  min-height: 36px;
}

.plan-fee {
  background-color: #fafbfc;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.fee-label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.fee-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-right: 4px;
}

.fee-period {
  font-size: 0.78rem;
  color: #64748b;
}

.plan-body {
  flex: 1;
  margin-bottom: 18px;
}

.benefits-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.plan-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-benefits li {
  font-size: 0.82rem;
  color: var(--dark);
  position: relative;
  padding-left: 18px;
  line-height: 1.4;
}

.plan-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ---------------------------------------------------
   3. 繳費與注意事項 (恢復並排顯示)
   --------------------------------------------------- */
.info-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.info-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.info-sub {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 12px;
}

.bank-details {
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bank-details li {
  font-size: 0.85rem;
  color: var(--dark);
}

.bank-details strong {
  color: var(--primary);
}

.bank-tip {
  font-size: 0.78rem;
  color: #b91c1c;
  margin-top: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list li {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--body-text);
}

/* 響應式調整：小於 992px 時自動改為上下堆疊避免擁擠 */
@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .process-grid {
    flex-direction: column;
    gap: 14px;
  }
  .step-divider {
    width: 2px;
    height: 16px;
    margin: 0;
  }
}