/* partner.css */

/* ============================================================
   LAYOUT
   ============================================================ */
.pp-main {
  padding-top: 70px;
  min-height: 100vh;
}

.pp-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.pp-section {
  padding: 5rem 0;
}

.pp-section--alt {
  background: rgba(255,255,255,0.015);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pp-section-header {
  margin-bottom: 3rem;
}

.pp-section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.25px;
  margin-bottom: 0.625rem;
  line-height: 1.25;
}

.pp-section-desc {
  font-size: 0.95rem;
  color: #777;
  line-height: 1.7;
  max-width: 600px;
}

.pp-criteria-note {
  margin-top: 0.875rem;
}

/* ============================================================
   HERO
   ============================================================ */
.pp-hero {
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 4rem;
  align-items: start;
}

.pp-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b41616;
  margin-bottom: 1rem;
}

.pp-hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.pp-hero-desc {
  font-size: 1rem;
  color: #888;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}

.pp-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pp-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}
.pp-learn-more:hover { color: #aaa; }
.pp-learn-more svg { transition: transform 0.2s; }
.pp-learn-more:hover svg { transform: translateY(2px); }

/* Partners sidebar */
.pp-hero-partners { padding-top: 0.5rem; }

.pp-hero-partners-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1rem;
}

.pp-hero-partners-note {
  font-size: 0.75rem;
  color: #555;
  margin-top: 0.875rem;
  line-height: 1.5;
}

.pp-current-partners {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pp-partner-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  text-decoration: none;
  color: #aaa;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.pp-partner-chip:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: #fff;
}
.pp-partner-chip-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ============================================================
   BENEFITS GRID
   ============================================================ */
.pp-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
}

.pp-benefit {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}

.pp-benefit:nth-child(odd) {
  border-right: 1px solid rgba(255,255,255,0.05);
}

.pp-benefit:nth-last-child(-n+2) { border-bottom: none; }
.pp-benefit:hover { background: rgba(255,255,255,0.02); }

.pp-benefit-icon {
  width: 36px;
  height: 36px;
  background: rgba(180,22,22,0.08);
  border: 1px solid rgba(180,22,22,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b41616;
  flex-shrink: 0;
  margin-top: 1px;
}

.pp-benefit-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: #e0e0e0;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.pp-benefit-desc {
  font-size: 0.825rem;
  color: #666;
  line-height: 1.65;
}

/* ============================================================
   WHO CAN APPLY
   ============================================================ */
.pp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.pp-criteria-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding-top: 0.25rem;
}

.pp-criterion {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #ccc;
  line-height: 1.5;
}
.pp-criterion svg { color: #34d399; flex-shrink: 0; margin-top: 2px; }
.pp-criterion--soft { color: #666; }
.pp-criterion--soft svg { color: #555; }

/* ============================================================
   WIZARD — STEP PROGRESS
   ============================================================ */
.pp-steps {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.pp-step {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.pp-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  flex-shrink: 0;
}

.pp-step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  transition: color 0.25s;
}

.pp-step-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0 0.75rem;
  transition: background 0.25s;
}

/* Active step */
.pp-step.active .pp-step-num {
  background: #b41616;
  border-color: #b41616;
  color: #fff;
}
.pp-step.active .pp-step-label { color: #fff; }

/* Completed step */
.pp-step.completed .pp-step-num {
  background: rgba(52,211,153,0.15);
  border-color: #34d399;
  color: #34d399;
}
.pp-step.completed .pp-step-label { color: #34d399; }
.pp-step.completed + .pp-step-line { background: rgba(52,211,153,0.25); }

/* ============================================================
   WIZARD — STEP PANELS
   ============================================================ */
.pp-step-panel {
  display: none;
}
.pp-step-panel.active {
  display: block;
}

.pp-step-panel-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pp-step-panel-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.pp-step-panel-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.65;
}

/* Wizard nav row */
.pp-wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  gap: 1rem;
}

.pp-wizard-nav--right {
  justify-content: flex-end;
}

.pp-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #888;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.pp-btn-back:hover { border-color: rgba(255,255,255,0.2); color: #ccc; }

.pp-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #e0e0e0;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.pp-btn-next:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.pp-btn-next svg { transition: transform 0.15s; }
.pp-btn-next:hover svg { transform: translateX(3px); }

.pp-submit-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.pp-form {
  max-width: 680px;
  display: flex;
  flex-direction: column;
}

.pp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pp-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.pp-form-group:last-child { margin-bottom: 0; }

.pp-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #bbb;
}

.pp-required { color: #b41616; margin-left: 2px; }

.pp-input,
.pp-select,
.pp-textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  padding: 0.625rem 0.875rem;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
}

.pp-input::placeholder,
.pp-textarea::placeholder { color: rgba(255,255,255,0.18); }

.pp-input:focus,
.pp-select:focus,
.pp-textarea:focus {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

.pp-input.invalid,
.pp-select.invalid,
.pp-textarea.invalid { border-color: rgba(180,22,22,0.5); }

.pp-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.25)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
}
.pp-select option { background: #1a1a1a; color: #fff; }

.pp-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.pp-field-hint {
  font-size: 0.75rem;
  color: #555;
  margin-top: 0.1rem;
}

.pp-char-count {
  font-size: 0.75rem;
  color: #444;
  text-align: right;
  margin-top: 0.2rem;
}

/* Radio group */
.pp-radio-group {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.pp-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #bbb;
  cursor: pointer;
  padding: 0.5rem 0.875rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 6px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  user-select: none;
}

.pp-radio-label:has(input:checked) {
  background: rgba(180,22,22,0.1);
  border-color: rgba(180,22,22,0.35);
  color: #fff;
}

.pp-radio-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Platform "Other" — hidden until selected */
.pp-platform-other {
  display: none;
  margin-top: 0.625rem;
}
.pp-platform-other.visible { display: block; }

/* Turnstile */
.pp-turnstile-wrapper {
  margin-bottom: 1.25rem;
}

/* Terms */
.pp-terms-group { margin-top: 0.25rem; }

.pp-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #888;
  line-height: 1.65;
  cursor: pointer;
}
.pp-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #b41616;
  cursor: pointer;
}

.pp-inline-link {
  color: #aaa;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.pp-inline-link:hover { color: #fff; }

/* Error banner */
.pp-form-error {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(180,22,22,0.07);
  border: 1px solid rgba(180,22,22,0.2);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  font-size: 0.82rem;
  color: #f87171;
  margin-bottom: 1.25rem;
}
.pp-form-error[hidden] { display: none; }
.pp-form-error svg { flex-shrink: 0; margin-top: 1px; }

/* Submit button */
.pp-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #b41616;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.pp-submit-btn:hover { background: #c91c1c; }
.pp-submit-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pp-submit-btn svg { transition: transform 0.15s; }
.pp-submit-btn:not(:disabled):hover svg { transform: translateX(3px); }

.pp-submit-note {
  font-size: 0.75rem;
  color: #555;
  line-height: 1.5;
}

/* Success state */
.pp-form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 2.5rem;
  background: rgba(52,211,153,0.05);
  border: 1px solid rgba(52,211,153,0.15);
  border-radius: 12px;
  max-width: 680px;
}
.pp-form-success[hidden] { display: none; }
.pp-form-success svg { color: #34d399; }
.pp-form-success h3 { font-size: 1.05rem; font-weight: 700; color: #fff; }
.pp-form-success p { font-size: 0.875rem; color: #888; line-height: 1.7; }

/* ============================================================
   FAQ — matches support.css / gethelp.html exactly
   ============================================================ */
.pp-faq-title {
  margin-bottom: 2rem;
}

/* Reuse global faq-grid / faq-item / faq-question / faq-answer from support.css.
   Those classes are already defined there and loaded via global.css chain.
   We only need to scope the grid here if support.css isn't loaded. */
.pp-section .faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.pp-section .faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.75rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.pp-section .faq-item:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.1);
}

.pp-section .faq-question {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.625rem;
  line-height: 1.4;
}

.pp-section .faq-answer {
  font-size: 0.925rem;
  color: #999;
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .pp-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pp-hero-partners {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
  }

  .pp-current-partners { flex-direction: row; flex-wrap: wrap; }

  .pp-benefits-grid { grid-template-columns: 1fr; }

  .pp-benefit:nth-child(odd) { border-right: none; }
  .pp-benefit:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .pp-benefit:last-child { border-bottom: none; }

  .pp-two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .pp-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pp-section { padding: 3.5rem 0; }
  .pp-hero { padding: 3rem 0; }
  .pp-hero-title { font-size: 2rem; }
  .pp-section-title { font-size: 1.5rem; }

  .pp-steps { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.5rem; }
  .pp-step-label { display: none; }
  .pp-step-line { min-width: 2rem; }

  .pp-wizard-nav { flex-direction: column; align-items: stretch; }
  .pp-wizard-nav--right { align-items: flex-end; flex-direction: row; }
  .pp-btn-next,
  .pp-btn-back { justify-content: center; }

  .pp-submit-group { flex-direction: column; width: 100%; }
  .pp-submit-btn { width: 100%; justify-content: center; }
}
