:root{
  --flow-bg: var(--ui-bg, #fff);
  --flow-soft: var(--ui-bg-soft, #f8fafc);
  --flow-text: var(--ui-text, #0f172a);
  --flow-muted: var(--ui-muted, #64748b);
  --flow-border: var(--ui-border, #e5e7eb);
  --flow-shadow: 0 12px 28px -12px rgba(2,6,23,.18);
  --flow-accent: var(--accent, #0fa084);
  --flow-accent-ink: var(--accent-ink, #0b735f);
}

.onboarding-flow{
  background-color: #f9fafb;
  margin: auto;
  padding: 24px 0;
}
.onboarding-wrap {
      max-width: 1200px;
      padding: 24px;
      min-height: 100svh;
      display: block;
      margin: auto;
}
.flow-heading{
  margin: 0 0 24px;
  color: var(--flow-text);
  text-align: left;
  font-size: 28px;
  font-weight: 700;
}
.flow-nav{
  /* margin-top: 10px; */
  /* display: flex; */
  /* gap: 10px; */
  /* flex-wrap: wrap; */
  justify-content: center;
  /* margin-top: 12px; */
  /* background-color: #ffffff; */
  /* padding: 10px; */
  /* border: 1px solid; */
  /* margin-top: 40px; */
  /* padding-top: 8px; */
  /* margin-bottom: 34px; */
  /* background-color: beige; */
  border: 1px solid #b7b7b7;
  border-radius: 99px;
  display: flex;
  align-items: center;
  padding: 3px;
  background-color: #ffffff5e;
}
.flow-tab{
  appearance: none;
  background: transparent;
  border: 0;
  color: #0f172a; /* æœªé€‰ä¸­ï¼šé»‘è‰²æ–‡å­—ï¼Œæ— èƒŒæ™¯ */
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  position: relative;
}
.flow-tab:hover{ color:#111827; }
.flow-tab.is-active{
  background: #f99c52; /* é€‰ä¸­ï¼šé»‘åº•ç™½å­— */
  color: #000000;
  border-radius: 999px;
  font-weight: 600;
}

.flow-grid{ 
  display:grid; 
  grid-template-columns: 1fr; 
  gap: 12px; 
  width: 100%;
}

/* é£Žé™©é¡»çŸ¥å®¹å™¨ï¼ˆå±•ç¤ºåœ¨é¢æ¿é¡¶éƒ¨ï¼‰ */
.risk-box{
  background: var(--flow-soft);
  border: 1px solid var(--flow-border);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 2px 3px rgba(0,0,0,.1);
}
.risk-head{ display:flex; align-items:center; gap:8px; margin-bottom: 6px; }
.risk-title{ font-weight: 700; color: var(--flow-text); }
.risk-body{ color: var(--flow-muted); font-size: 14px; }
.risk-body p{ margin: 6px 0; }
.risk-body ul{ margin: 6px 0 6px 18px; }

.flow-step{
  position: relative;
  background: #ffffff;
  /* border: 1px solid #b0b0b0; */
  border-radius: 14px;
  padding: 14px 14px 12px 14px;
  /* box-shadow: 0 2px 3px rgba(0,0,0,.1); */
  transition: transform .12s ease, box-shadow .18s ease, border-color .12s ease;
  height: auto;
}
.flow-step:hover{ 
  transform: translateY(-2px); 
  box-shadow: 0 2px 3px rgba(0,0,0,.1);
  border-color: color-mix(in srgb, var(--flow-border) 30%, var(--flow-accent) 70%);
}

.step-top{
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 13px;
    }
.step-index{ 
      width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    /* box-shadow: 0 2px 3px rgba(0,0,0,.1); */
    background-color: #000000;
}
.step-icon{ 
      width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 10px; */
    /* background: var(--flow-soft); */
    /* border: 1px solid var(--flow-border); */
    /* box-shadow: 0 2px 3px rgba(0,0,0,.1); */
    overflow: hidden;
}
.step-icon img{     width: 25px;
    height: 25px;
    display: block; }
.step-icon svg{ width: 25px; height: 25px; color: var(--flow-accent); }
.step-title{
  margin: 8px 0 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--flow-text);
}
/* æ’¤å›žï¼šæ ‡é¢˜ä»åœ¨ä¸‹ä¸€è¡Œæ˜¾ç¤º */
.step-desc{ 
  margin: 0; 
  color: var(--flow-muted); 
  font-size: 13px; line-height: 1.5; 
}
.step-link{ 
  display:inline-block; margin-top: 8px; 
  font-size: 13px; text-decoration: none; 
  color: var(--flow-accent); 
}
.step-link:hover{ text-decoration: underline; }

/* Flow åŒºåŸŸï¼šå½“æ­¥éª¤æè¿°é‡ŒåŒ…å« <ul><li>â€¦</li></ul> æ—¶ï¼Œç”¨å¸¦ xmlns çš„ SVG å‹¾å·æ›¿æ¢é»˜è®¤åœ†ç‚¹ */
/* æ¢å¤ï¼šä¸å¹²é¢„ flow åŒºåŸŸåˆ—è¡¨çš„é»˜è®¤æ ·å¼ï¼ˆæ’¤å›žæ­¤å‰è¯¯åŠ çš„å‹¾å·ï¼‰ */

@media (min-width: 640px){
  .flow-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px){
  
  .flow-grid{ grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .flow-nav{
    margin-top: 0;
    /* padding-top: 8px; */
    margin-bottom: 34px;
    /* background-color: beige; */
    border: 1px solid #eaeaea;
    border-radius: 99px;
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #ffffffa1;}
  /* è®©é¢æ¿ï¼ˆæ ‡é¢˜+æ­¥éª¤ï¼‰åœ¨ç¬¬ä¸€è¡Œåž‚ç›´/æ°´å¹³å±…ä¸­ï¼Œnav ä¿æŒè´´åº• */
  .flow-panel{
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 100%;
    row-gap: 12px;
  }
}

/* å°å±ï¼šå½“å†…å®¹è¶…å‡ºè§†å£æ—¶ï¼Œé¡¶éƒ¨å¯¹é½ï¼Œé¿å…å±…ä¸­é€ æˆæŒ¤åŽ‹ */
@media (max-width: 560px){
  .onboarding-flow{ align-content: start; }
  .why .why-title{font-size: 26px;font-weight: 500;}
  .flow-heading{font-size: 26px;font-weight: 400;}
}

/* ========== ChatGPT 充值页面样式 ========== */
/* 进度指示器 - 水平显示 */
.progress-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 32px 0;
  padding: 0;
  gap: 0;
  flex-wrap: wrap;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 150px;
  padding: 16px 8px;
}

.progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #e5e7eb;
  z-index: -1;
}

.progress-step.is-completed:not(:last-child)::after {
  background: #3b82f6;
}

.progress-step__circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.progress-step.is-active .progress-step__circle {
  background: #3b82f6;
  color: white;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.progress-step.is-completed .progress-step__circle {
  background: #3b82f6;
  color: white;
}

.progress-step__label {
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  font-weight: 500;
  line-height: 1.3;
}

.progress-step.is-active .progress-step__label {
  color: #111827;
  font-weight: 600;
}

.progress-step.is-completed .progress-step__label {
  color: #374151;
}
.progress-step.is-active .progress-step__label {color: var(--flow-text);font-weight: 600;}
.flow-panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  min-height: 400px;
}
.step-content {
  max-width: 100%;
  margin: 0;
  display: flex;              /* 纵向布局 */
  flex-direction: column;
  min-height: 70vh;           /* 保持足够高度 */
  padding-bottom: 120px;      /* 预留底部空间给固定 CTA */
}
.step-header {text-align: center;margin-bottom: 32px;}
.step-header-row {display: grid;grid-template-columns: 1fr 1fr;gap: 24px;margin-bottom: 32px;}
.step-number {color: var(--flow-accent);font-weight: 600;font-size: 14px;margin-bottom: 8px;}
.step-title {font-size: 24px;font-weight: 600;color: var(--flow-text);}
.step-visual {margin-bottom: 32px;display: flex;justify-content: center;}
.step-visual-row {display: grid;grid-template-columns: 1fr 1fr;gap: 24px;margin-bottom: 32px;}
.login-reminder {display: flex;flex-direction: column;align-items: center;gap: 16px;padding: 32px;background: var(--flow-soft);border-radius: 12px;border: 2px dashed var(--flow-border);}
.login-reminder svg {color: #9d9d9d;}
.login-reminder p {text-align: center;color: var(--flow-text);margin: 0;}
.external-link {display: inline-block;padding: 10px 24px;background: #a9a9a9;color: white;text-decoration: none;border-radius: 8px;font-weight: 600;transition: background 0.2s;}
.external-link:hover {background: var(--flow-accent-ink);}
.api-link-box {display: flex;flex-direction: column;align-items: center;gap: 12px;padding: 24px;background: #EBF4FF;border: 2px solid #BCD4F2;border-radius: 16px;}
.session-link {color: #3189EF;font-weight: 600;text-decoration: none;word-break: break-all;}
.session-link:hover {text-decoration: underline;}
.copy-instruction {display: flex;flex-direction: column;align-items: center;gap: 12px;padding: 24px;background: var(--flow-soft);border-radius: 12px;}
.instruction-icon {color: var(--flow-accent);}
.instruction-text {text-align: center;margin: 0;color: var(--flow-text);}
kbd {display: inline-block;padding: 3px 8px;background: white;border: 1px solid var(--flow-border);border-radius: 4px;font-family: monospace;font-size: 13px;}
.json-input-wrap {margin-bottom: 24px;}
.form-label {display: block;margin-bottom: 8px;font-weight: 600;color: var(--flow-text);}
#session-json {width: 100%;padding: 12px;border: 1px solid var(--flow-border);border-radius: 8px;font-family: monospace;font-size: 13px;resize: vertical;}
.json-actions {margin-top: 12px;display: flex;justify-content: center;}
.parsed-result {margin-top: 24px;padding: 24px;background: var(--flow-soft);border-radius: 12px;border: 1px solid var(--flow-border);}
.parsed-result__title {font-size: 18px;font-weight: 600;margin-bottom: 16px;color: var(--flow-text);}
.parsed-grid {display: grid;grid-template-columns: repeat(2, 1fr);gap: 16px;}
.parsed-item {display: flex;flex-direction: column;gap: 4px;}
.parsed-item__label {font-size: 12px;color: var(--flow-muted);font-weight: 600;}
.parsed-item__value {color: var(--flow-text);word-break: break-all;}
.parsed-warn {margin-top: 16px;padding: 12px;background: #FEF2F2;border: 1px solid #FCA5A5;border-radius: 8px;color: #991B1B;display: flex;align-items: center;gap: 8px;}
.order-summary {background: var(--flow-soft);border-radius: 12px;padding: 24px;margin-bottom: 24px;}
.order-summary__section {margin-bottom: 24px;}
.order-summary__section:last-child {margin-bottom: 0;}
.order-summary__subtitle {font-size: 16px;font-weight: 600;margin-bottom: 12px;color: var(--flow-text);}
.order-item {display: flex;justify-content: space-between;padding: 12px 0;border-bottom: 1px solid var(--flow-border);}
.order-item:last-child {border-bottom: none;}
.order-item__label {color: var(--flow-muted);}
.order-item__value {color: var(--flow-text);font-weight: 600;}
.order-item__price {color: var(--flow-accent);}
.order-total {display: flex;justify-content: space-between;padding: 16px;background: white;border-radius: 8px;margin-top: 16px;}
.order-total__label {font-size: 18px;font-weight: 600;color: var(--flow-text);}
.order-total__amount {font-size: 24px;font-weight: 700;color: var(--flow-accent);}
.activation-progress {display: flex;flex-direction: column;align-items: center;gap: 32px;padding: 32px;}
.activation-spinner {width: 80px;height: 80px;}
.spinner {animation: rotate 2s linear infinite;}
.spinner-path {stroke: var(--flow-accent);stroke-linecap: round;animation: dash 1.5s ease-in-out infinite;}
@keyframes rotate {100% { transform: rotate(360deg); }}
@keyframes dash {0% {stroke-dasharray: 1, 150;stroke-dashoffset: 0;}50% {stroke-dasharray: 90, 150;stroke-dashoffset: -35;}100% {stroke-dasharray: 90, 150;stroke-dashoffset: -124;}}
.activation-status {display: flex;flex-direction: column;gap: 16px;width: 100%;max-width: 400px;}
.activation-step {display: flex;align-items: center;gap: 12px;padding: 12px;background: var(--flow-soft);border-radius: 8px;opacity: 0.5;transition: all 0.3s ease;}
.activation-step.is-completed {opacity: 1;background: #ECFDF5;}
.activation-step__icon {width: 24px;height: 24px;border-radius: 50%;background: #e5e7eb;color: white;display: flex;align-items: center;justify-content: center;flex-shrink: 0;}
.activation-step.is-completed .activation-step__icon {background: #10B981;}
.activation-step__text {color: var(--flow-text);font-weight: 500;}
.activation-message {text-align: center;color: var(--flow-muted);font-size: 14px;}
.activation-result {display: flex;justify-content: center;align-items: center;padding: 48px 24px;}
.activation-success {display: flex;flex-direction: column;align-items: center;gap: 16px;text-align: center;}
.activation-success svg {color: #10B981;}
.activation-success h3 {font-size: 24px;font-weight: 600;color: var(--flow-text);margin: 0;}
.activation-success p {color: var(--flow-muted);margin: 0;}
.flow-cta {
  /* position: absolute; */         /* 相对 step-container 底部 */
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 0;
  margin: 0;
}
.btn {padding: 12px 32px;border-radius: 8px;font-weight: 600;font-size: 16px;border: none;cursor: pointer;transition: all 0.2s;}
.btn:disabled {opacity: 0.5;cursor: not-allowed;}
.btn-primary {background: var(--flow-accent);color: white;}
.btn-primary:hover:not(:disabled) {background: var(--flow-accent-ink);transform: translateY(-1px);box-shadow: 0 4px 8px rgba(15, 160, 132, 0.3);}
.btn-secondary {background: white;color: var(--flow-text);border: 1px solid var(--flow-border);}
.btn-secondary:hover:not(:disabled) {background: var(--flow-soft);}
.btn-large {padding: 16px 48px;font-size: 18px;}
@media (max-width: 768px) {
  /* 移动端改为垂直布局 */
  .recharge-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .progress-sidebar {
    position: static;
  }

  /* 移动端进度指示器改为水平显示 */
  .progress-indicator {
    flex-direction: row;
    overflow-x: auto;
    padding: 0 8px;
    gap: 0;
  }

  .progress-step {
    flex-direction: column;
    flex: 1;
    min-width: 80px;
    padding: 0;
  }

  .progress-step:not(:last-child)::after {
    top: 16px;
    left: 50%;
    right: -50%;
    width: auto;
    height: 2px;
    z-index: -1;
  }

  .progress-step__label {
    font-size: 10px;
    text-align: center;
    white-space: normal;
  }

  .progress-step__circle {
    width: 28px;
    height: 28px;
    font-size: 12px;
    margin-bottom: 8px;
  }

  .step-header-row, .step-visual-row {grid-template-columns: 1fr;}
  .parsed-grid {grid-template-columns: 1fr;}
  .flow-panel {padding: 20px;}
  .flow-cta {flex-direction: column;}
  .btn {width: 100%;}
}

/* ========== �ײ����񲼾� ========== */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  /* margin-bottom: 32px; */
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* �ײͿ�Ƭ */
.plan-card {
  background: white;
  border: 2px solid var(--flow-border);
  border-radius: 12px;
  /* padding: 24px; */
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.plan-card:hover {
  border-color: var(--flow-accent);
  box-shadow: 0 4px 12px rgba(15, 160, 132, 0.15);
  transform: translateY(-2px);
}

.plan-card--selected {
  border-color: var(--flow-accent);
  background: linear-gradient(to bottom, rgba(15, 160, 132, 0.05), white);
  box-shadow: 0 4px 12px rgba(15, 160, 132, 0.2);
}

.plan-card--selected::before {
  content: '?';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: var(--flow-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.plan-card__header {
  margin-bottom: 16px;
}

.plan-card__title {
  display: flex;
  align-items: center;
  /* gap: 8px; */
  margin-bottom: 12px;
}

.plan-card__title h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--flow-text);
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-card__amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--flow-accent);
  line-height: 1;
}

.plan-card__duration {
  font-size: 14px;
  color: var(--flow-muted);
}

.plan-card__body {
  flex: 1;
  color: var(--flow-text);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.plan-card__body p {
  margin: 0 0 8px 0;
}

.plan-card__body ul {
  margin: 0;
  padding-left: 20px;
}

.plan-card__body li {
  margin-bottom: 4px;
}

.plan-card__faq {
  background: var(--flow-soft);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.plan-card__faq-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--flow-text);
  margin-bottom: 8px;
}

.plan-card__faq-content {
  font-size: 13px;
  color: var(--flow-muted);
  line-height: 1.5;
}

.plan-card__faq-content p {
  margin: 0 0 8px 0;
}

.plan-card__faq-content p:last-child {
  margin-bottom: 0;
}

.plan-card__footer {
  margin-top: auto;
}

.plan-select-btn {
  width: 100%;
  transition: all 0.2s;
}

.plan-card--selected .plan-select-btn {
  background: var(--flow-accent-ink);
}

/* ========== �ײͿ�Ƭ��ʽ��д ========== */
.plans-grid {
  grid-template-columns: 1fr;
  gap: 24px;
  display: flex;
  justify-content: center;     /* 每行居中 */
  flex-wrap: wrap;             /* 多行折行且居中 */
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.plan-card {
  background: white;
  border: 2px solid #e8eaed;
  border-radius: 16px;
  /* padding: 24px; */
  transition: all 0.25s ease;
  cursor: pointer;
  overflow: hidden;
  /* min-height: 450px; */
  display: flex;
  flex-direction: column;
  /* max-width: 400px; */
  min-width: 300px;
}

.plan-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}

.plan-card--selected {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
  background: #fafbff;
  /* max-width: 400px; */
}

.plan-card--selected::before {
  display: none;
}

.plan-card__icon {
  font-size: 48px;
  margin-bottom: 0;
  padding: 10px;
  display: block;
  text-align: center;
}

.plan-card__icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: inline-block;
}

.plan-card__header {
  margin-bottom: 0;
  text-align: center;
  /* padding: 0 28px 24px; */
}

.plan-card__title {
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px;
}

.plan-card__title h3 {
  font-size: 19px;
  font-weight: normal;
  color: #1f2937;
  line-height: 1.4;
  margin-bottom: 10px;
}

.plan-card__badge {
  display: inline-block;
  padding: 6px 14px;
  /* background: #10b981; */
  color: #d07eff;
  border-radius: 14px;
  font-size: 13px;
  /* font-weight: 600; */
}

.plan-card__duration-label {
  font-size: 15px;
  color: #374151;
  margin: 10px;
  display: block;
  text-align: center;
  font-weight: 500;
}

.plan-card__price {
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.plan-card__currency {
  font-size: 16px;
  color: #5d5d5d;
  /* font-weight: 700; */
}

.plan-card__amount {
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

.plan-card__price-note {
  font-size: 13px;
  color: #10b981;
  font-weight: 600;
  text-align: center;
  margin-bottom: 4px;
  display: block;
}

.plan-card__original-price {
  font-size: 15px;
  color: #9ca3af;
  text-decoration: line-through;
  text-align: center;
  display: block;
  margin-bottom: 20px;
}

.plan-card__body {
  color: #4b5563;
  padding: 0 28px 24px;
  margin: 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
}

/* FAQ�۵����� */
.plan-card__faq-list {
  margin: 0;
  padding: 0 28px 28px;
  border-top: 1px solid #e5e7eb;
}

.plan-card__faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.plan-card__faq-item:last-child {
  border-bottom: none;
}

.plan-card__faq-question {
  width: 100%;
  /* text-align: left; */
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 20px;
  /* color: #374151; */
  /* font-weight: 500; */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.2s;
}

.plan-card__faq-question:hover {
  color: #111827;
}

.plan-card__faq-icon {
  flex-shrink: 0;
  transition: transform 0.2s;
  width: 16px;
  height: 16px;
}

.plan-card__faq-item.is-open .plan-card__faq-icon {
  transform: rotate(180deg);
}

.plan-card__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.plan-card__faq-item.is-open .plan-card__faq-answer {
  max-height: 500px;
}

.plan-card__faq-answer-content {
  padding-bottom: 16px;
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
}

.plan-select-btn {
  background: #111827;
  color: white;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
}

.plan-select-btn:hover {
  background: #000;
  transform: none;
  box-shadow: none;
}

.plan-card--selected .plan-select-btn {
  background: #3b82f6;
}

.plan-card--selected .plan-select-btn:hover {
  background: #2563eb;
}

/* ��һ����ť��ʽ */
.btn-large {
  background: #111827;
  color: white;
}

.btn-large:hover:not(:disabled) {
  background: #000;
}

/* ========== �Ż����������� ========== */
/* 底部区域左右布局 */
.bottom-section {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 32px;
  /* margin: 32px 0; */
  align-items: start;
}

.invite-code-section {
  text-align: left;
}

.invite-code-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 12px;
}

.invite-code-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.invite-code-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  color: #111827;
  transition: border-color 0.2s;
}

.invite-code-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.invite-code-input::placeholder {
  color: #9ca3af;
}

.invite-code-btn {
  padding: 12px 32px;
  white-space: nowrap;
  width: 100%;
}

/* ========== ȫ��FAQ���� ========== */
.global-faq-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 200px;
}

/* 当只剩 FAQ 一个子元素时，让其横跨两列以占满一行 */
.bottom-section > .global-faq-section:only-child {
  grid-column: 1 / -1;
}

.global-faq-item {
  margin: 0;
}

.global-faq-question {
  width: 100%;
  text-align: center;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 15px;
  color: #6b7280;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.global-faq-question:hover {
  background: #f9fafb;
  color: #374151;
  border-color: #d1d5db;
}

.global-faq-icon {
  flex-shrink: 0;
  color: #9ca3af;
}

/* 右侧全局FAQ采用卡片FAQ的折叠样式，但更轻量 */
.global-faq-section .plan-card__faq-list {
  border-top: none;
  padding: 0;
}

.global-faq-section .plan-card__faq-item {
  border-bottom: none; /* 去掉底部下划线 */
  display: flex;
  flex-direction: column; /* 默认向下展开：问题在上，答案在下 */
}


.global-faq-section .plan-card__faq-question:hover {
  color: #64748b;
}

.global-faq-section .plan-card__faq-answer-content {
  color: #6b7280;
  text-align: end;
}

.global-faq-section .plan-card__faq-item.is-open .plan-card__faq-answer {
  max-height: 1000px; /* 右侧区域允许更长内容完全展开 */
}

/* 文本省略与靠右布局友好性 */
.global-faq-section .plan-card__faq-question span {
  /* max-width: 85%; */
  /* overflow: hidden; */
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 长内容：向上展开（答案在上、问题在下） */
.global-faq-section .plan-card__faq-item.faq-up {
  flex-direction: column-reverse;
}

.global-faq-section .plan-card__faq-item.faq-up .plan-card__faq-answer-content {
  padding-top: 12px;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .bottom-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


div#step-container {
    width: 100%;
    display: flex;            /* 让子级 step-content 可占满高度 */
    justify-content: center;  /* 子内容水平居中 */
    position: relative;       /* 作为 .flow-cta 定位参照 */
}
