/* =========================================================
   i58D Partner Page Style (Single Column & Large Font)
   Brand palette: Logo Yellow × Black × White × Purple 
   ========================================================= */
.i58-partner-page {
  --i58-yellow: #ffc400;
  --i58-yellow-hover: #ffda45;
  --i58-green: #b8f34a;
  --i58-black: #171519;
  --i58-charcoal: #252329;
  --i58-purple: #65008b;
  --i58-white: #ffffff;
  --i58-paper: #f6f5f7;
  --i58-text: #242126;
  --i58-muted: #615c66;
  --i58-line: #d8d3de;
  overflow: hidden;
  color: var(--i58-text);
  background: var(--i58-paper);
}
.i58-container {
  width: calc(100% - 48px);
  max-width: 1000px;
  margin: 0 auto;
}
/* =========================================================
   01 | Partner Hero Section (Single Column Layout)
   ========================================================= */
.i58-partner-hero {
  position: relative;
  overflow: hidden;
  color: var(--i58-white);
  background: radial-gradient(ellipse at 50% 20%, rgba(101, 0, 139, 0.48), transparent 60%), linear-gradient(135deg, #171519 0%, #242128 62%, #171519 100%);
  padding: 80px 0 76px;
  text-align: center;
}
.i58-partner-hero__content {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.i58-partner-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #f0edf2;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
}
.i58-partner-hero__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--i58-yellow);
  box-shadow: 0 0 16px rgba(255, 196, 0, 0.5);
}
.i58-partner-hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
}
.i58-partner-hero__highlight {
  color: var(--i58-yellow);
  font-size: clamp(46px, 6.2vw, 72px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
}
.i58-partner-hero__slogan {
  color: var(--i58-white);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.4;
}
.i58-partner-hero__caption {
  margin: 28px 0 38px;
  color: #e0dce4;
  font-size: 22px;
  line-height: 1.8;
}
.i58-partner-hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}
/* 通用大按鈕 */
.i58-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 68px;
  padding: 18px 36px;
  border: 0;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.i58-btn--primary {
  color: #21152a;
  background: var(--i58-yellow);
  box-shadow: 0 8px 26px rgba(255, 196, 0, 0.2);
}
.i58-btn--primary:hover {
  background: var(--i58-yellow-hover);
  transform: translateY(-3px);
}
.i58-btn--outline {
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.i58-btn--outline:hover {
  border-color: var(--i58-yellow);
  color: var(--i58-yellow);
  background: rgba(255, 196, 0, 0.12);
}
/* =========================================================
   02 | Partner Advantages & Steps Section
   ========================================================= */
.i58-partner-section {
  padding: 84px 0 96px;
  background: linear-gradient(180deg, #fbfafc 0%, #f0ebf5 100%);
}
.i58-section-heading {
  margin-bottom: 48px;
  text-align: center;
}
.i58-section-heading__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--i58-purple);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
}
.i58-section-heading h2 {
  margin: 0 0 14px;
  color: var(--i58-black);
  font-size: clamp(36px, 4.2vw, 50px);
  font-weight: 900;
}
.i58-section-heading p {
  margin: 0;
  color: var(--i58-muted);
  font-size: 22px;
}
/* 三大優勢卡片網格 */
.i58-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}
.i58-partner-card {
  position: relative;
  padding: 36px 28px;
  border: 1px solid var(--i58-line);
  border-radius: 20px;
  background: var(--i58-white);
  box-shadow: 0 10px 32px rgba(28, 20, 35, 0.04);
}
.i58-partner-card--featured {
  border: 3px solid var(--i58-yellow);
  background: linear-gradient(145deg, #28242e 0%, #171519 100%);
  color: var(--i58-white);
}
.i58-partner-card--featured h3 {
  color: #ffffff !important;
}
.i58-partner-card--featured p {
  color: #ffffff !important;
}
.i58-partner-card__tag {
  position: absolute;
  top: -14px;
  right: 24px;
  padding: 4px 14px;
  border-radius: 20px;
  background: var(--i58-yellow);
  color: #21152a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
}
.i58-partner-card__icon {
  font-size: 48px;
  margin-bottom: 18px;
}
.i58-partner-card h3 {
  margin: 0 0 14px;
  color: var(--i58-black);
  font-size: 24px;
  font-weight: 800;
}
.i58-partner-card p {
  margin: 0;
  color: var(--i58-black);
  font-size: 19px;
  line-height: 1.8;
}
/* 三步驟流程樣式 */
.i58-partner-process {
  padding: 44px 36px;
  border-radius: 24px;
  background: var(--i58-white);
  border: 1px solid var(--i58-line);
  box-shadow: 0 12px 36px rgba(28, 20, 35, 0.05);
  margin-bottom: 56px;
}
.i58-partner-process__heading {
  text-align: center;
  margin-bottom: 36px;
}
.i58-partner-process__kicker {
  color: var(--i58-purple);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
}
.i58-partner-process__heading h3 {
  margin: 8px 0 0;
  font-size: 30px;
  color: var(--i58-black);
  font-weight: 900;
}
.i58-partner-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.i58-partner-step {
  padding: 24px;
  border-radius: 16px;
  background: #fcfbfd;
  border: 1px dashed var(--i58-line);
}
.i58-partner-step__num {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(101, 0, 139, 0.1);
  color: var(--i58-purple);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 12px;
}
.i58-partner-step h4 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--i58-black);
  font-weight: 800;
}
.i58-partner-step p {
  margin: 0;
  color: var(--i58-muted);
  font-size: 18px;
  line-height: 1.7;
}
/* 底部 CTA 招募框 */
.i58-partner-cta-box {
  padding: 52px 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, #242128 0%, #171519 100%);
  color: var(--i58-white);
  text-align: center;
}
.i58-partner-cta-box h3 {
  margin: 0 0 16px;
  font-size: 36px;
  color: var(--i58-yellow);
  font-weight: 900;
}
.i58-partner-cta-box p {
  margin: 0 0 32px;
  font-size: 22px;
  color: #e0dce4;
  line-height: 1.7;
}
.i58-partner-cta-actions {
  margin-bottom: 24px;
}
.i58-partner-email {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #c8c2cc;
  font-size: 18px;
}
.i58-partner-email a {
  color: var(--i58-yellow);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* =========================================================
   Responsive 響應式微調 (小於 750px)
   ========================================================= */
@media (max-width: 750px) {
  .i58-container {
    width: calc(100% - 2px);
  }
  .i58-partner-hero {
    padding: 56px 0 52px;
  }
  .i58-partner-hero__actions {
    flex-direction: column;
  }
  .i58-partner-hero__actions .i58-btn {
    width: 100%;
  }
  .i58-partner-grid,
  .i58-partner-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .i58-partner-process {
    padding: 28px 20px;
  }
  .i58-partner-cta-box {
    padding: 36px 20px;
  }
  .i58-partner-cta-box h3 {
    font-size: 28px;
  }
}
