/* ============================================================
   DAY SELLING — Join / Affiliate Recruitment Page Styles
   Clean White & Light Series (白底系列・大眾化・高對比・極致易讀)
   ============================================================ */

/* Clean Light Page Reset */
body.join-page,
body[data-theme-mode="light"] {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", sans-serif !important;
}

/* Container */
.join-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections Base */
.join-section {
  padding: 70px 0;
  position: relative;
  z-index: 2;
  background-color: #ffffff;
}

.join-section--alt {
  background-color: #f8fafc;
}

@media (max-width: 768px) {
  .join-section {
    padding: 45px 0;
  }
}

.join-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 46px;
}

.join-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.join-section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.join-section-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  color: #475569;
  line-height: 1.65;
}

/* Text Highlights */
.text-highlight {
  color: #ea580c;
  font-weight: 800;
}

.text-brand-gradient {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Header in White Theme */
.join-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
  max-width: 100vw !important;
  width: 100% !important;
  padding: var(--sat) max(1.25rem, var(--sar)) 0 max(1.25rem, var(--sal)) !important;
  overflow: hidden !important;
}

.join-header .header__logo-text {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.join-header .header__logo-badge {
  background: #ffedd5 !important;
  color: #c2410c !important;
  border: 1px solid #fed7aa !important;
}

.join-header .header__nav {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 1 !important;
  min-width: 0 !important;
}

.join-header .header__nav-link {
  color: #475569 !important;
  font-weight: 600 !important;
  padding: 6px 9px !important;
  font-size: 0.86rem !important;
  white-space: nowrap !important;
}

.join-header .header__nav-link:hover {
  color: #ea580c !important;
  background: #fff7ed !important;
}

.join-header .header__actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.join-header .header__btn-admin {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  white-space: nowrap !important;
}

.join-header .header__btn-admin:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.join-header .header__actions button,
.join-header .header__actions a {
  white-space: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0 !important;
}

/* 1260px ~ 1380px: 略縮導航間距，避免推擠右側按鈕 */
@media (max-width: 1380px) {
  .join-header .header__nav {
    gap: 6px !important;
  }
  .join-header .header__nav-link {
    padding: 5px 7px !important;
    font-size: 0.82rem !important;
  }
  .join-header .header__logo-text {
    font-size: 1.15rem !important;
    letter-spacing: 1px !important;
  }
}

@media (max-width: 1260px) {
  .join-header .header__logo-badge {
    display: none !important;
  }
  .join-header .header__nav {
    gap: 4px !important;
  }
  .join-header .header__nav-link {
    padding: 4px 6px !important;
    font-size: 0.8rem !important;
  }
}

/* 1180px 以下：導航欄收起，確保 Logo 與立即開店按鈕完整舒適呈現，永不裁切溢出 */
@media (max-width: 1180px) {
  .join-header .header__nav {
    display: none !important;
  }
}

/* ============================================================
   1. HERO SECTION (白底高對比・親民大眾化)
   ============================================================ */
.join-hero {
  padding: 120px 0 65px;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .join-hero {
    padding: 95px 0 45px;
  }
}

.join-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 9999px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.08);
}

.join-hero__title {
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 20px;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.5px;
  word-break: keep-all;
}

.join-hero__title-line {
  display: inline-block;
  white-space: nowrap !important;
  word-break: keep-all !important;
}

@media (max-width: 768px) {
  .join-hero__title-br {
    display: none;
  }
}

.join-hero__desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #334155;
  line-height: 1.8;
  max-width: 860px;
  margin: 0 auto 34px;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.join-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.btn--join-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff5722 0%, #ea580c 100%);
  color: #ffffff !important;
  font-size: 1.12rem;
  font-weight: 800;
  padding: 15px 34px;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
  transition: all 0.25s ease;
}

.btn--join-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(234, 88, 12, 0.45);
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.btn--join-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #06c755 0%, #05a847 100%);
  color: #ffffff !important;
  font-size: 1.12rem;
  font-weight: 800;
  padding: 15px 32px;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(6, 199, 85, 0.4);
  transition: all 0.25s ease;
}

.btn--join-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6, 199, 85, 0.55);
  background: linear-gradient(135deg, #05b34c 0%, #04933d 100%);
}

.btn--join-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #1e293b !important;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.btn--join-google:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.btn--join-share-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(6, 199, 85, 0.12);
  color: #05963e !important;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1.5px solid #06c755;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--join-share-line:hover {
  background: #06c755;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.35);
}

.btn--join-share-threads {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #000000;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1.5px solid #27272a;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--join-share-threads:hover {
  background: #18181b;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.btn--join-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.btn--join-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-2px);
}

/* Trust Metrics Bar (White Cards) */
.trust-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .trust-metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 480px) {
  .trust-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.trust-metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  border-color: #cbd5e1;
}

.trust-metric-card__value {
  font-size: 2rem;
  font-weight: 900;
  color: #ea580c;
  line-height: 1.1;
  margin-bottom: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.trust-metric-card__label {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.trust-metric-card__sub {
  font-size: 0.78rem;
  color: #64748b;
}

/* ============================================================
   2. CORE PILLARS (三大核心承諾・白底清爽卡片)
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff5722, #ea580c);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.pillar-card__icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.pillar-card__tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pillar-card__title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.35;
}

.pillar-card__desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.68;
  margin-bottom: 22px;
  flex-grow: 1;
}

.pillar-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.pillar-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #1e293b;
  margin-bottom: 10px;
  line-height: 1.45;
}

.pillar-card__features li span.check {
  color: #16a34a;
  font-weight: 900;
  flex-shrink: 0;
}

/* ============================================================
   3. 4-STEP INTERACTIVE WORKFLOW
   ============================================================ */
.workflow-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 38px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .workflow-box {
    padding: 22px 16px;
  }
}

.workflow-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 34px;
}

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

.workflow-tab-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 15px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #64748b;
}

.workflow-tab-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.workflow-tab-btn.active {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.workflow-tab-btn__num {
  font-size: 0.75rem;
  font-weight: 800;
  color: #3b82f6;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.workflow-tab-btn.active .workflow-tab-btn__num {
  color: #1d4ed8;
}

.workflow-tab-btn__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: inherit;
}

/* Workflow Stage View */
.workflow-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 900px) {
  .workflow-stage {
    grid-template-columns: 1fr;
  }
}

.workflow-content__step-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.workflow-content__title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 14px;
}

.workflow-content__desc {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.72;
  margin-bottom: 22px;
}

.workflow-content__points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.workflow-content__points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #1e293b;
  margin-bottom: 12px;
  line-height: 1.5;
}

.workflow-content__points li span.icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* Visual Interactive Mockups */
.workflow-preview-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

/* LINE Bubble Simulation */
.line-chat-sim {
  background: #849ebf;
  border-radius: 16px;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.line-chat-bubble {
  background: #ffffff;
  color: #111111;
  border-radius: 14px;
  border-top-left-radius: 4px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 320px;
}

.line-chat-bubble__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.line-chat-bubble__badge {
  background: #06c755;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.line-chat-bubble__title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #111;
  margin-bottom: 6px;
}

.line-chat-bubble__link-card {
  background: #f7f9fa;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  padding: 10px;
  margin-top: 10px;
}

.line-chat-bubble__link-btn {
  display: block;
  background: #06c755;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 8px;
}



/* ============================================================
   5. PROFIT CALCULATOR (收益試算工具・白底清新)
   ============================================================ */
.calc-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .calc-wrapper {
    padding: 22px 16px;
  }
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-control-group {
  margin-bottom: 24px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.calc-badge-val {
  background: #ffedd5;
  color: #c2410c;
  font-weight: 800;
  font-size: 1rem;
  padding: 3px 10px;
  border-radius: 6px;
}

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff5722;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(255, 87, 34, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Result Box */
.calc-result-box {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.08);
}

.calc-result__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #7c2d12;
  margin-bottom: 8px;
}

.calc-result__amount {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: #c2410c;
  line-height: 1.1;
  margin-bottom: 12px;
}

.calc-result__tip {
  font-size: 0.88rem;
  color: #9a3412;
  line-height: 1.55;
  margin-bottom: 20px;
}

/* ============================================================
   6. USER STORIES (真實情境案例)
   ============================================================ */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
}

.story-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.story-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.story-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.story-card__name {
  font-weight: 800;
  font-size: 1.02rem;
  color: #0f172a;
}

.story-card__role {
  font-size: 0.78rem;
  color: #ea580c;
  font-weight: 700;
}

.story-card__quote {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.68;
  position: relative;
  flex-grow: 1;
}

.story-card__stats {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.85rem;
  color: #16a34a;
  font-weight: 800;
}

/* ============================================================
   7. FAQ (常見問答・白底折疊)
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

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

.faq-question:hover {
  color: #ea580c;
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.25s ease;
  color: #94a3b8;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #ea580c;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* ============================================================
   8. FINAL HERO CTA
   ============================================================ */
.final-cta-card {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 50%, #fed7aa 100%);
  border: 2px solid #fdba74;
  border-radius: 24px;
  padding: 55px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(234, 88, 12, 0.12);
}

.final-cta-card__title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 900;
  color: #7c2d12;
  margin-bottom: 14px;
  line-height: 1.28;
}

.final-cta-card__desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #9a3412;
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.68;
}

.final-cta-card__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   9. MOBILE & IN-APP BROWSER (THREADS/IG/FB) SILKY UX ENGINE
   ============================================================ */

/* Button Loading Spinner */
.line-btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: lineSpinnerRotate 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink: 0;
}

@keyframes lineSpinnerRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn-trigger-line-signup.is-loading {
  opacity: 0.88;
  cursor: wait !important;
  pointer-events: none !important;
}

/* In-App Browser Helper Top Banner */
.iab-helper-banner {
  background: linear-gradient(90deg, #eff6ff 0%, #f0fdf4 100%);
  border-bottom: 1px solid #bfdbfe;
  padding: 8px 16px;
  position: relative;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.iab-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: #1e3a8a;
  line-height: 1.45;
}

.iab-banner-close {
  background: none;
  border: none;
  font-size: 1rem;
  color: #64748b;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.iab-banner-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #0f172a;
}

/* Mobile Sticky Floating CTA Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.1);
}

.mobile-sticky-bar.is-active {
  transform: translateY(0);
}

.mobile-sticky-bar__inner {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.mobile-sticky-bar__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mobile-sticky-bar__badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ea580c;
  white-space: nowrap;
}

.mobile-sticky-bar__sub {
  font-size: 0.7rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-sticky-bar__btn {
  flex-shrink: 0;
  padding: 11px 18px !important;
  font-size: 0.92rem !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.45) !important;
  animation: subtlePulse 2.8s infinite ease-in-out;
}

@keyframes subtlePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 14px rgba(6, 199, 85, 0.45);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.65);
  }
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: block;
  }
  /* Add padding to page bottom to prevent sticky bar overlapping footer content */
  body.join-page {
    padding-bottom: 70px;
  }
}

/* Mobile Screen Width Optimizations (< 480px, < 375px) */
@media (max-width: 480px) {
  .btn--join-line,
  .btn--join-google,
  .btn--join-share-line,
  .btn--join-share-threads {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 13px 18px;
    font-size: 0.98rem;
    text-align: center;
  }

  .mobile-sticky-bar__info {
    display: none;
  }

  .mobile-sticky-bar__btn {
    width: 100%;
    justify-content: center;
  }
}

/* OAuth Redirect & Fast Provisioning Smooth Loading Overlay */
.line-redirect-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: lineFadeIn 0.25s ease forwards;
}

.line-redirect-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  animation: lineSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.line-redirect-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f1f5f9;
  border-radius: 50%;
  border-top-color: #06c755;
  animation: lineSpinnerRotate 0.8s linear infinite;
  margin: 0 auto 18px;
}

.line-redirect-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.line-redirect-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 12px;
}

.line-redirect-sub {
  font-size: 0.8rem;
  color: #16a34a;
  font-weight: 700;
}
