/* Partner / reseller landing page styles */

/* The nav sits transparent over the hero until the page scrolls (theme adds
   .nav-bg then). Dark nav text on the dark hero is unreadable, so lighten it
   while it's over the hero. Below 992px the theme gives the nav a white bar. */
@media (min-width: 992px) {
  .main-nav:not(.nav-bg) .navbar-nav .nav-item .nav-link,
  .main-nav:not(.nav-bg) .navbar-brand .brand-name {
    color: rgba(255, 255, 255, 0.92);
  }

  .main-nav:not(.nav-bg) .navbar-nav .nav-item .nav-link:hover {
    color: white;
  }
}

/* Hero */
.partner-hero {
  padding: 140px 0 90px;
  background: linear-gradient(135deg, #1f2544 0%, #4a3f8f 55%, #5E50EE 100%);
  color: white;
}

.partner-hero__eyebrow {
  display: block;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.partner-hero__title {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: white;
}

.partner-hero__description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.92);
}

.partner-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.partner-btn {
  font-size: 1.05rem;
  padding: 14px 34px;
  border-radius: 8px;
  background: white;
  color: #4a3f8f;
  border: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  max-width: 100%;
  white-space: normal;
  display: inline-block;
  box-sizing: border-box;
}

.partner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: #1f2544;
  text-decoration: none;
}

.partner-btn--ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 12px 32px;
}

.partner-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: white;
}

.partner-btn--solid {
  background: #5E50EE;
  color: white;
}

.partner-btn--solid:hover {
  background: #4a3f8f;
  color: white;
}

.partner-hero__aside {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 30px;
}

.partner-hero__aside h3 {
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.85;
  margin-bottom: 1.25rem;
}

.partner-hero__aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.partner-hero__aside li {
  position: relative;
  padding: 9px 0 9px 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
}

.partner-hero__aside li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #a8edea;
}

/* Sections */
.partner-section {
  padding: 80px 0;
}

.partner-section--alt {
  background-color: #f8f9fa;
}

.partner-section--dark {
  background: #1f2544;
  color: white;
}

.partner-section--dark h2,
.partner-section--dark h3,
.partner-section--dark h4 {
  color: white;
}

.partner-section--dark .partner-lead {
  color: rgba(255, 255, 255, 0.8);
}

.partner-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.partner-lead {
  color: #6c757d;
  font-size: 1.15rem;
  line-height: 1.65;
}

/* Pain list */
.partner-pain {
  background: #fff5f5;
  border-left: 4px solid #e53e3e;
  border-radius: 8px;
  padding: 32px 34px;
}

.partner-pain ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.partner-pain li {
  padding: 8px 0;
  font-size: 1.02rem;
  color: #4a5568;
}

.partner-pain__x {
  color: #e53e3e;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 10px;
}

.partner-pain__tagline {
  font-weight: 600;
  color: #4a3f8f;
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* Route cards (bundle / white label / SDK) */
.partner-route {
  background: white;
  border-radius: 14px;
  padding: 34px 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 4px solid #5E50EE;
}

.partner-route__icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4a3f8f 0%, #5E50EE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.partner-route__icon i {
  font-size: 1.45rem;
  color: white;
}

.partner-route h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.partner-route p {
  color: #6c757d;
  margin-bottom: 1rem;
}

.partner-route__detail {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.partner-route__detail li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 0.94rem;
  color: #4a5568;
}

.partner-route__detail li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: #5E50EE;
  font-weight: 700;
}

.partner-route__best {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  font-size: 0.9rem;
  color: #4a3f8f;
  font-weight: 600;
}

/* Feature cards */
.partner-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.partner-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}

.partner-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #eeedff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-card__icon i {
  font-size: 1.4rem;
  color: #5E50EE;
}

.partner-card h4 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0;
}

.partner-card p {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 0.96rem;
}

.partner-section--dark .partner-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.partner-section--dark .partner-card p {
  color: rgba(255, 255, 255, 0.82);
}

.partner-section--dark .partner-card__icon {
  background: rgba(255, 255, 255, 0.14);
}

.partner-section--dark .partner-card__icon i {
  color: white;
}

/* Numbered process */
.partner-step {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.partner-step__number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a3f8f 0%, #5E50EE 100%);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.partner-step h4 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.partner-step p {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 0.96rem;
}

/* Neutrality promise */
.partner-promise {
  background: white;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 34px;
  height: 100%;
}

.partner-promise h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: #1f2544;
}

.partner-promise p {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 0.97rem;
}

/* FAQ */
.partner-qa {
  border-bottom: 1px solid #e9ecef;
  padding: 26px 0;
}

.partner-qa:last-child {
  border-bottom: none;
}

.partner-qa h4 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #1f2544;
}

.partner-qa p {
  color: #6c757d;
  margin-bottom: 0;
}

.partner-qa p + p {
  margin-top: 0.75rem;
}

/* Closing CTA */
.partner-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, #1f2544 0%, #4a3f8f 55%, #5E50EE 100%);
  color: white;
  text-align: center;
}

.partner-cta h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.partner-cta .partner-lead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* Disclaimer */
.partner-disclaimer {
  font-size: 0.85rem;
  color: #6c757d;
  font-style: italic;
  text-align: center;
  margin: 0;
  padding: 16px 20px;
  background: #f8f9fa;
  border-left: 3px solid #5E50EE;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 991px) {
  .partner-hero__aside {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .partner-hero {
    padding: 100px 0 60px;
  }

  .partner-hero__title {
    font-size: 2rem;
  }

  .partner-hero__description {
    font-size: 1.08rem;
  }

  .partner-section {
    padding: 60px 0;
  }

  .partner-cta {
    padding: 60px 0;
  }

  .partner-btn {
    font-size: 1rem;
    padding: 12px 24px;
  }

  .partner-hero__actions {
    gap: 12px;
  }
}
