/* ============================================================
   PARTNERSHIP PAGE STYLES — Zevivo
   Color scheme: #1a2830 / #222c30 dark, #FF4521 accent, #f7f9fa light
   ============================================================ */

/* ---- HERO ---- */
.partner-hero {
  background: linear-gradient(135deg, #1a2830 0%, #222c30 60%, #2c393e 100%);
  /* LAYOUT SYSTEM: padding-top = var(--hero-padding-top) from layout-system.css */
  /* TRANSITION: was 150px (magic number) — now token-driven */
  padding: var(--hero-padding-top, 175px) 0 70px;
  position: relative;
  overflow: hidden;
  min-height: 580px;
}
.partner-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,69,33,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.partner-tag {
  display: inline-block;
  background: rgba(255,69,33,0.15);
  border: 1px solid rgba(255,69,33,0.4);
  color: #FF4521;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.partner-hero-title {
  font-family: 'Catamaran', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
}
.partner-hero-title .text-accent { color: #FF4521; }

.partner-hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 520px;
}

.partner-hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.partner-hero-features li {
  color: rgba(255,255,255,0.82);
  font-size: 0.93rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.partner-hero-features li i { color: #FF4521; font-size: 0.9rem; flex-shrink: 0; }

.partner-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
/* .dark-outline-btn — defined in cta-system.css */

/* ---- HERO DASHBOARD VISUAL ---- */
.partner-hero-visual { display: flex; justify-content: center; align-items: center; padding: 20px 0; }

.partner-dashboard-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.partner-dash-header {
  background: rgba(255,255,255,0.06);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dash-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.dash-title { color: rgba(255,255,255,0.5); font-size: 0.78rem; letter-spacing: 0.04em; }

.partner-dash-body { padding: 20px 18px; }

.dash-stats-row { display: flex; gap: 12px; margin-bottom: 20px; }
.dash-stat {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
}
.dash-stat-label { font-size: 0.62rem; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; margin-bottom: 4px; }
.dash-stat-value {
  font-family: 'Catamaran', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
.dash-stat-value.accent { color: #FF4521; }

.dash-chart-label { font-size: 0.7rem; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-bottom: 14px;
}
.dash-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}
.dash-bar {
  width: 100%;
  background: rgba(255,69,33,0.35);
  border-radius: 3px 3px 0 0;
  transition: height 1s ease;
}
.dash-bar.active { background: #FF4521; }
.dash-bar-group span { font-size: 0.62rem; color: rgba(255,255,255,0.4); }

.dash-commission-row {
  display: flex;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 12px;
}
.dash-commission-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}
.dash-commission-item i { color: #FF4521; }

/* ---- STATS BAR ---- */
.market-stats-bar {
  background: #FF4521;
  padding: 28px 0;
}

/* ---- SECTION LABELS & TITLES ---- */
.partner-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #FF4521;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.partner-section-label.white { color: rgba(255,255,255,0.6); }
.partner-section-title {
  font-family: 'Catamaran', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a2830;
  line-height: 1.15;
  margin-bottom: 18px;
}
.partner-section-title.white { color: #fff; }
.partner-section-sub {
  color: #5a6a72;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* ---- PARTNERSHIP TYPES ---- */
.partner-types-section { padding: var(--space-xxl) 0; background: #fff; }

.partner-type-card {
  background: #f7f9fa;
  border: 2px solid #e8edf0;
  border-radius: 16px;
  padding: 36px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}
.partner-type-card:hover {
  border-color: #FF4521;
  box-shadow: 0 12px 40px rgba(255,69,33,0.12);
  transform: translateY(-4px);
}
.partner-type-card.featured {
  border-color: #FF4521;
  background: linear-gradient(180deg, #fff 0%, #fff9f8 100%);
  box-shadow: 0 12px 48px rgba(255,69,33,0.18);
  transform: translateY(-6px);
}
.partner-type-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF4521;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 5px 18px;
  border-radius: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}
.partner-type-icon {
  width: 56px; height: 56px;
  background: rgba(255,69,33,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF4521;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.partner-type-card.featured .partner-type-icon {
  background: #FF4521;
  color: #fff;
}
.partner-type-card h3 {
  font-family: 'Catamaran', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #1a2830;
  margin-bottom: 12px;
}
.partner-type-card p {
  color: #5a6a72;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.partner-type-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.partner-type-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #3a4a52;
  padding: 6px 0;
  border-bottom: 1px solid #f0f4f6;
}
.partner-type-features li:last-child { border-bottom: none; }
.partner-type-features li i { color: #28a745; font-size: 0.8rem; flex-shrink: 0; }

.partner-type-btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f0f4f6;
  color: #1a2830;
  border: 2px solid #e0e8ec;
  transition: all 0.25s ease;
  text-decoration: none;
}
.partner-type-btn:hover {
  background: #FF4521;
  color: #fff;
  border-color: #FF4521;
  text-decoration: none;
}
.partner-type-btn.featured-btn {
  background: #FF4521;
  color: #fff;
  border-color: #FF4521;
}
.partner-type-btn.featured-btn:hover { background: #e03a1a; border-color: #e03a1a; }

/* ---- HOW IT WORKS ---- */
.partner-how-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, #1a2830 0%, #222c30 100%);
}
.step-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
}
.step-card:hover {
  border-color: rgba(255,69,33,0.5);
  background: rgba(255,255,255,0.07);
}
.step-number {
  position: absolute;
  top: -16px;
  left: 24px;
  background: #FF4521;
  color: #fff;
  font-family: 'Catamaran', sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}
.step-icon {
  width: 56px; height: 56px;
  background: rgba(255,69,33,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF4521;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}
.step-card h4 {
  font-family: 'Catamaran', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin: 0;
}

/* ---- COMMISSION TABLE ---- */
.partner-commission-section { padding: var(--space-xxl) 0; background: #f7f9fa; }

.partner-commission-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid #e8edf0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.partner-commission-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.partner-commission-table thead th {
  background: #1a2830;
  color: #fff;
  font-family: 'Catamaran', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 16px;
  text-align: center;
  border: none;
}
.partner-commission-table thead th:first-child { text-align: left; border-radius: 10px 0 0 0; }
.partner-commission-table thead th:last-child { border-radius: 0 10px 0 0; }
.partner-commission-table thead th.featured-col { background: #FF4521; }
.popular-tag {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.partner-commission-table tbody tr:nth-child(even) { background: #f7f9fa; }
.partner-commission-table tbody td {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #3a4a52;
  border-bottom: 1px solid #e8edf0;
  text-align: center;
  vertical-align: middle;
}
.partner-commission-table tbody td:first-child { text-align: left; font-weight: 600; color: #1a2830; }
.partner-commission-table tbody td.featured-col {
  background: rgba(255,69,33,0.05);
  font-weight: 700;
  color: #1a2830;
}
.partner-commission-table .price-cell {
  font-family: 'Catamaran', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: #FF4521;
}
.text-accent { color: #FF4521; }
.partner-table-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: #7a8a92;
  text-align: center;
}
.partner-table-note i { color: #FF4521; margin-right: 6px; }

/* ---- BENEFITS ---- */
.partner-benefits-section { padding: var(--space-xxl) 0; background: #fff; }


/* ---- TESTIMONIALS ---- */
.partner-testimonials-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, #1a2830 0%, #222c30 100%);
}
.partner-testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px 24px;
  height: 100%;
  transition: all 0.25s ease;
}
.partner-testimonial-card:hover {
  border-color: rgba(255,69,33,0.4);
  background: rgba(255,255,255,0.07);
}
.testimonial-stars { margin-bottom: 14px; }
.testimonial-stars i { color: #FF4521; font-size: 0.85rem; margin-right: 2px; }
.testimonial-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 18px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  background: #FF4521;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ---- APPLICATION FORM ---- */
.partner-apply-section { padding: var(--space-xxl) 0; background: #f7f9fa; }

.partner-apply-desc {
  color: #5a6a72;
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.partner-apply-info { display: flex; flex-direction: column; gap: 16px; }
.apply-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.apply-info-item i {
  width: 38px; height: 38px;
  background: rgba(255,69,33,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF4521;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.apply-info-item strong { display: block; color: #1a2830; font-size: 0.95rem; font-weight: 700; }
.apply-info-item span { font-size: 0.85rem; color: #5a6a72; }

.partner-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid #e8edf0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.partner-input {
  background: #fff !important;
  border: 1.5px solid #dde4e8 !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 0.92rem !important;
  color: #1a2830 !important;
  transition: border-color 0.2s ease !important;
}
.partner-input:focus {
  border-color: #FF4521 !important;
  box-shadow: 0 0 0 3px rgba(255,69,33,0.1) !important;
  outline: none !important;
}
.form-group label { font-size: 0.88rem; font-weight: 600; color: #1a2830; margin-bottom: 6px; }
.required { color: #FF4521; }

.partner-check .form-check-label { font-size: 0.85rem; color: #5a6a72; }
.partner-check .form-check-label a { color: #FF4521; text-decoration: none; }
.partner-check .form-check-label a:hover { text-decoration: underline; }

.partner-submit-btn { min-width: 220px; padding: 14px 32px !important; font-size: 0.9rem !important; }

/* ---- FAQ ---- */
.partner-faq-section { padding: var(--space-xxl) 0; background: #fff; }
.partner-faq-list { display: flex; flex-direction: column; gap: 12px; }
.partner-faq-item {
  background: #f7f9fa;
  border-radius: 12px;
  border: 1px solid #e8edf0;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.partner-faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.partner-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Catamaran', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a2830;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.2s ease;
}
.partner-faq-question:hover { color: #FF4521; }
.partner-faq-question.active { color: #FF4521; }
.partner-faq-icon { font-size: 0.8rem; color: #FF4521; transition: transform 0.3s ease; flex-shrink: 0; }
.partner-faq-question.active .partner-faq-icon { transform: rotate(180deg); }
.partner-faq-answer { display: none; padding: 0 24px 20px; border-top: 1px solid #e8edf0; }
.partner-faq-answer p { font-size: 0.92rem; color: #4a5a62; line-height: 1.75; margin: 14px 0 0; }

/* ---- CTA ---- */
.partner-cta-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, #1a2830 0%, #222c30 100%);
  border-top: 3px solid #FF4521;
}
.partner-cta-title {
  font-family: 'Catamaran', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}
.partner-cta-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 32px;
}
.partner-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .partner-hero { padding: 80px 0 60px; min-height: auto; }
  .partner-hero-title { font-size: 2.4rem; }
  .partner-type-card.featured { transform: none; }
}
@media (max-width: 767px) {
  .partner-hero { padding: 70px 0 50px; }
  .partner-hero-title { font-size: 2rem; }
  .partner-hero-cta { flex-direction: column; }
  .partner-hero-cta .btn { width: 100%; text-align: center; }
  .partner-section-title { font-size: 1.8rem; }
  .partner-type-card.featured { transform: none; }
  .partner-form-card { padding: 24px 18px; }
  .partner-cta-title { font-size: 1.8rem; }
  .partner-cta-btns { flex-direction: column; align-items: center; }
  .partner-cta-btns .btn { width: 100%; max-width: 280px; text-align: center; }
  .partner-commission-card { padding: 20px 12px; overflow-x: auto; }
  .partner-commission-table { min-width: 500px; }
}

/* ============================================================
   INLINE STYLE REPLACEMENTS (v39 — Design System migration)
   ============================================================ */

/* Partner status body inner padding */
.partner-status-body-inner {
  padding: var(--space-xl);
  text-align: center;
}

/* Partner icon — large */
.icon-partner-xl {
  font-size: 80px;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-md);
}

/* Utility text colors */
.text-white { color: var(--color-text-inverse) !important; }
.text-white-70 { color: rgba(255, 255, 255, 0.7) !important; }
