/* ==========================================================
   i58D 聯盟店招商頁 V1.0
   Black × Gold × Purple Design System
========================================================== */
/* ==========================================================
   共用
========================================================== */
.seller-page {
  background: #F8FAFC;
  padding: 20px 16px 60px;
}
.section-header {
  text-align: center;
  margin-bottom: 36px;
}
.section-header.center {
  text-align: center;
}
.section-header .section-icon {
  display: block;
  font-size: 34px;
  margin-bottom: 10px;
}
.section-header .section-subtitle {
  display: inline-block;
  background: #FFF7DA;
  color: #D4A017;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: 34px;
  font-weight: 900;
  color: #111111;
  margin-bottom: 14px;
  line-height: 1.35;
}
.section-header .section-desc {
  max-width: 680px;
  margin: auto;
  color: #262e38;
  font-size: 17px;
  line-height: 1.8;
}
/* ==========================================================
   Button
========================================================== */
.btn-primary,
.btn-purple,
.btn-dark,
.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.25s;
}
.btn-primary:hover,
.btn-purple:hover,
.btn-dark:hover,
.btn-green:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: #FFD54A;
  color: #111111;
}
.btn-purple {
  background: #5B21B6;
  color: #FFF;
}
.btn-dark {
  background: #27272A;
  color: #FFF;
}
.btn-green {
  background: #16A34A;
  color: #FFF;
}
/* ==========================================================
   Hero
========================================================== */
.seller-hero {
  background: linear-gradient(135deg, #111111 0%, #34115C 100%);
  color: #FFF;
  border-radius: 30px;
  padding: 55px 32px;
  text-align: center;
  margin-bottom: 50px;
}
.seller-hero .hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: #FFD54A;
  color: #111111;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 22px;
}
.seller-hero h1 {
  color: #FFD54A;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
}
.seller-hero .hero-desc {
  max-width: 760px;
  margin: auto;
  font-size: 19px;
  line-height: 1.9;
  color: #F3F4F6;
}
.seller-hero .hero-highlight {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 22px;
  background: rgba(255, 213, 74, 0.12);
  border: 1px solid rgba(255, 213, 74, 0.25);
  border-radius: 16px;
  color: #FFD54A;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 800;
}
.seller-hero .hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}
/* ==========================================================
   適合加入 i58D 的店家分類
========================================================== */
.shop-types {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px auto 48px;
  max-width: 900px;
}
.shop-types div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 14px 22px;
  background: linear-gradient(180deg, #FFFDF8, #FFF6D9);
  border: 1px solid rgba(255, 213, 74, 0.45);
  border-radius: 999px;
  color: #4C1D95;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(255, 213, 74, 0.12);
  transition: 0.25s;
}
.shop-types div:hover {
  background: #FFD54A;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(255, 213, 74, 0.25);
}
.shop-types-title {
  text-align: center;
  margin: 42px 0 18px;
  color: #64748B;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}
/* ==========================================================
立即好處
========================================================== */
.benefit-section {
  margin-bottom: 60px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.benefit-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  transition: 0.25s;
}
.benefit-card:hover {
  transform: translateY(-4px);
}
.benefit-card .icon {
  font-size: 38px;
  margin-bottom: 18px;
}
.benefit-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 10px;
}
.benefit-card p {
  font-size: 16px;
  color: #262e38;
  line-height: 1.8;
  margin: 0;
}
.benefit-highlight {
  margin-top: 28px;
  padding: 22px 24px;
  background: #FFF8DA;
  border-left: 5px solid #FFD54A;
  border-radius: 18px;
  text-align: center;
  color: #4C1D95;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.8;
}
/* ==========================================================
   生態流程
========================================================== */
.ecosystem-section {
  margin-bottom: 60px;
}
.ecosystem-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}
.flow-step {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.flow-step .flow-icon {
  font-size: 40px;
  margin-bottom: 14px;
}
.flow-step h4 {
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 15px;
  color: #262e38;
  line-height: 1.7;
  margin: 0;
}
.flow-arrow {
  display: none;
}
.ecosystem-highlight {
  margin-top: 28px;
  text-align: center;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFF8DA, #FFFDF4);
  color: #5B21B6;
  font-size: 22px;
  font-weight: 900;
}
/* ==========================================================
   Workflow
========================================================== */
.workflow-section {
  margin-bottom: 60px;
}
.workflow-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.workflow-item {
  display: flex;
  gap: 18px;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.workflow-item .step-no {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #5B21B6;
  color: #FFF;
  font-size: 20px;
  font-weight: 900;
}
.workflow-item h4 {
  font-size: 19px;
  color: #111111;
  margin-bottom: 8px;
}
.workflow-item p {
  font-size: 16px;
  color: #262e38;
  line-height: 1.8;
  margin: 0;
}
.demo-box {
  margin-top: 28px;
  background: linear-gradient(135deg, #2A0845, #111111);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.demo-box h3 {
  color: #FFD54A;
  font-size: 24px;
  margin-bottom: 8px;
}
.demo-box p {
  color: #E5E7EB;
  line-height: 1.8;
  margin: 0;
}
/* ==========================================================
   CTA
========================================================== */
.join-section {
  margin-bottom: 60px;
}
/* ==========================================================
   Founding Partner
========================================================== */
.founding-section {
  margin: 70px 0;
}
.founding-card {
  background: linear-gradient(135deg, #111111 0%, #34115C 100%);
  border: 1px solid rgba(255, 213, 74, 0.2);
  border-radius: 30px;
  padding: 42px 30px;
  color: #FFF;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.founding-badge {
  display: inline-block;
  padding: 8px 18px;
  margin-bottom: 20px;
  background: rgba(255, 213, 74, 0.12);
  border: 1px solid rgba(255, 213, 74, 0.35);
  border-radius: 999px;
  color: #FFD54A;
  font-size: 13px;
  font-weight: 800;
}
.founding-card h2 {
  color: #FFD54A;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
}
.founding-card h2 span {
  color: #FFFFFF;
}
.founding-desc {
  color: #E5E7EB;
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 28px;
}
.quota-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.quota-box > div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
}
.quota-box small {
  color: #D1D5DB;
  font-size: 13px;
}
.quota-number {
  margin-top: 6px;
  color: #FFD54A;
  font-size: 34px;
  font-weight: 900;
}
.quota-status {
  margin-top: 6px;
  color: #34D399;
  font-size: 22px;
  font-weight: 800;
}
.founding-benefits {
  display: grid;
  gap: 16px;
  margin-bottom: 30px;
}
.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 18px;
}
.benefit-item span {
  font-size: 28px;
  flex-shrink: 0;
}
.benefit-item strong {
  display: block;
  color: #FFF;
  font-size: 18px;
  margin-bottom: 4px;
}
.benefit-item p {
  margin: 0;
  color: #D1D5DB;
  font-size: 15px;
  line-height: 1.7;
}
.founding-warning {
  margin: 30px 0;
  padding: 18px 20px;
  background: rgba(255, 213, 74, 0.12);
  border-left: 4px solid #FFD54A;
  border-radius: 16px;
  color: #FFE082;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}
.founding-btn {
  width: 100%;
  font-size: 19px;
  padding: 18px;
}
/* ==========================================================
   Founding Partner 名額進度
========================================================== */
.quota-progress {
  margin: 28px 0 34px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 213, 74, 0.15);
  border-radius: 20px;
  text-align: center;
}
.quota-progress .quota-text {
  color: #FFD54A;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}
.quota-progress .progress-bar {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}
.quota-progress .progress-value {
  height: 100%;
  width: 18%;
  border-radius: 999px;
  background: linear-gradient(90deg, #FFD54A 0%, #F59E0B 100%);
  box-shadow: 0 0 16px rgba(255, 213, 74, 0.45);
  transition: width 0.4s ease;
}
.quota-progress small {
  display: block;
  color: #D1D5DB;
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 750px) {
  .founding-card {
    padding: 32px 22px;
  }
  .founding-card h2 {
    font-size: 30px;
  }
  .founding-desc {
    font-size: 16px;
  }
  .quota-box {
    grid-template-columns: 1fr;
  }
  .quota-number {
    font-size: 28px;
  }
  .quota-status {
    font-size: 20px;
  }
  .benefit-item {
    padding: 16px;
  }
  .founding-btn {
    font-size: 17px;
  }
}
/* ==========================================================
   FAQ
========================================================== */
.faq-section {
  margin-bottom: 30px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.faq-item h4 {
  font-size: 18px;
  color: #111111;
  margin-bottom: 10px;
  font-weight: 800;
}
.faq-item p {
  font-size: 16px;
  color: #262e38;
  line-height: 1.8;
  margin: 0;
}
/* ==========================================================
   Mobile
========================================================== */
@media (max-width: 750px) {
  .seller-page {
    padding: 16px 14px 50px;
  }
  .seller-hero {
    padding: 40px 22px;
  }
  .seller-hero h1 {
    font-size: 34px;
  }
  .seller-hero .hero-desc {
    font-size: 17px;
  }
  .seller-hero .hero-buttons {
    flex-direction: column;
  }
  .seller-hero .hero-buttons a {
    width: 100%;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .section-header .section-desc {
    font-size: 16px;
  }
  .shop-types {
    gap: 10px;
    margin: 28px auto 40px;
  }
  .shop-types div {
    flex: 1 1 calc(50% - 10px);
    min-width: 135px;
    padding: 13px 10px;
    font-size: 15px;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .ecosystem-flow {
    grid-template-columns: 1fr;
  }
  .flow-step {
    padding: 22px;
  }
  .workflow-item {
    gap: 14px;
  }
  .workflow-item .step-no {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  .workflow-item h4 {
    font-size: 18px;
  }
  .workflow-item p {
    font-size: 15px;
  }
  .demo-box {
    flex-direction: column;
    text-align: center;
  }
  .demo-box h3 {
    font-size: 21px;
  }
  .demo-box a {
    width: 100%;
  }
  .founding-card {
    padding: 32px 22px;
  }
  .founding-card h2 {
    font-size: 30px;
  }
  .founding-desc {
    font-size: 16px;
  }
  .quota-box {
    grid-template-columns: 1fr;
  }
  .quota-number {
    font-size: 28px;
  }
  .quota-status {
    font-size: 20px;
  }
  .benefit-item {
    padding: 16px;
  }
  .founding-btn {
    font-size: 17px;
  }
  .quota-progress {
    padding: 18px 16px;
  }
  .quota-progress .quota-text {
    font-size: 16px;
    line-height: 1.6;
  }
  .quota-progress .progress-bar {
    height: 12px;
  }
  .quota-progress small {
    font-size: 13px;
  }
}
