/* ============================================================
   Complyn — partners.css
   Partner referral program page styles
   ============================================================ */

/* ===== HERO ===== */
.partners-hero {
  position: relative;
  overflow: hidden;
}

.partners-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .partners-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.partners-stat-card {
  background: linear-gradient(180deg, rgba(79, 240, 194, 0.04) 0%, rgba(79, 240, 194, 0.01) 100%);
  border: 1px solid rgba(79, 240, 194, 0.15);
  border-radius: 16px;
  padding: 40px;
  position: relative;
}

.partners-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(79, 240, 194, 0.08) 0%, transparent 60%);
  border-radius: 16px;
  pointer-events: none;
}

.partners-stat-big {
  font-family: 'Fraunces', serif;
  font-size: clamp(64px, 9vw, 96px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #4ff0c2;
  margin-bottom: 8px;
}

.partners-stat-big em {
  font-style: italic;
  font-weight: 400;
  color: #e8eaf0;
}

.partners-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4ff0c2;
  margin-bottom: 24px;
}

.partners-stat-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.partners-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.partners-stat-row-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a6478;
}

.partners-stat-row-val {
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #e8eaf0;
}

/* ===== HOW IT WORKS ===== */
.partners-how {
  background: #0a0d14;
  padding: 100px 0;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}

@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.how-step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.how-step:hover {
  border-color: rgba(79, 240, 194, 0.2);
  transform: translateY(-2px);
}

.how-step-num {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  color: rgba(79, 240, 194, 0.25);
  margin-bottom: 16px;
}

.how-step h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: #e8eaf0;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.how-step p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #9ba2b3;
}

.how-step-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4ff0c2;
  margin-top: 16px;
  padding: 6px 10px;
  background: rgba(79, 240, 194, 0.06);
  border: 1px solid rgba(79, 240, 194, 0.15);
  border-radius: 4px;
}

/* ===== COMMISSION CALCULATOR ===== */
.partners-calc {
  padding: 100px 0;
  background: linear-gradient(180deg, #0a0d14 0%, #0f1218 100%);
}

.calc-card {
  max-width: 880px;
  margin: 56px auto 0;
  background: linear-gradient(180deg, rgba(79, 240, 194, 0.04) 0%, rgba(79, 240, 194, 0.01) 100%);
  border: 1px solid rgba(79, 240, 194, 0.15);
  border-radius: 16px;
  padding: 48px;
}

@media (max-width: 700px) {
  .calc-card {
    padding: 32px 24px;
  }
}

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

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

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4ff0c2;
  margin-bottom: 12px;
}

.calc-slider-wrap {
  position: relative;
}

.calc-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4ff0c2;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(79, 240, 194, 0.15);
  transition: box-shadow 0.2s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 8px rgba(79, 240, 194, 0.2);
}

.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4ff0c2;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 4px rgba(79, 240, 194, 0.15);
}

.calc-value {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 500;
  color: #e8eaf0;
  margin-top: 12px;
  letter-spacing: -0.02em;
}

.calc-value span {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #9ba2b3;
  margin-left: 8px;
}

.calc-output {
  text-align: center;
  padding: 32px 24px;
  background: rgba(79, 240, 194, 0.04);
  border: 1px solid rgba(79, 240, 194, 0.2);
  border-radius: 12px;
}

.calc-output-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4ff0c2;
  margin-bottom: 12px;
}

.calc-output-value {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 500;
  line-height: 1;
  color: #4ff0c2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.calc-output-sub {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  color: #9ba2b3;
}

.calc-output-period {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  color: #e8eaf0;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-output-period strong {
  color: #4ff0c2;
  font-weight: 500;
}

.calc-disclaimer {
  text-align: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  color: #5a6478;
  margin-top: 24px;
  font-style: italic;
}

/* ===== WHO PROGRAM IS FOR ===== */
.partners-who {
  padding: 100px 0;
  background: #0a0d14;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

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

.who-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s ease;
}

.who-card:hover {
  border-color: rgba(79, 240, 194, 0.2);
}

.who-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: #4ff0c2;
}

.who-icon svg {
  width: 100%;
  height: 100%;
}

.who-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: #e8eaf0;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.who-card p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #9ba2b3;
}

/* ===== TERMS / TRUST ===== */
.partners-terms {
  padding: 100px 0;
  background: linear-gradient(180deg, #0a0d14 0%, #0f1218 100%);
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
  max-width: 880px;
}

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

.terms-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.terms-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(79, 240, 194, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ff0c2;
  font-weight: 600;
}

.terms-item-content h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #e8eaf0;
  margin-bottom: 4px;
}

.terms-item-content p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #9ba2b3;
}

/* ===== APPLY FORM ===== */
.partners-apply {
  padding: 100px 0;
  background: #0a0d14;
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

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

.apply-form-wrap {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid rgba(79, 240, 194, 0.15);
  border-radius: 12px;
  padding: 40px;
}

@media (max-width: 600px) {
  .apply-form-wrap {
    padding: 28px 24px;
  }
}

.apply-form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apply-form-head .form-head-label {
  color: #5a6478;
}

.apply-form-head .form-head-status {
  color: #4ff0c2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.apply-form-head .form-head-status .dot {
  width: 6px;
  height: 6px;
  background: #4ff0c2;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(79, 240, 194, 0.6);
}

.apply-success {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.apply-success.is-visible {
  display: block;
}

.apply-success h4 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  color: #e8eaf0;
  margin: 24px 0 12px;
}

.apply-success p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #9ba2b3;
  max-width: 440px;
  margin: 0 auto;
}
