/* Partners/White-Label Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
  --red: #DA022A;
  --red-dark: #B71C1C;
  --red-light: #EF5350;
  --gray-dark: #1B1F23;
  --gray: #4A5568;
  --gray-light: #718096;
  --gray-lighter: #E5E7EB;
  --white: #FFFFFF;
  --bg-dark: #0A0E13;
  --bg-darker: #050709;
}

.partners-page {
  font-family: "Mulish", sans-serif;
  background: var(--bg-dark);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Header */
.partners-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 19, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(218, 2, 42, 0.1);
  padding: 20px 0;
}

.partners-header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.partners-header__logo img {
  height: 40px;
}

.partners-header__nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.partners-header__nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.partners-header__nav a:hover {
  color: var(--red);
}

/* Buttons */
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(218, 2, 42, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 12px 24px;
  border: 2px solid var(--red);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Hero Section */
.partners-hero {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #1A1F2E 100%);
  overflow: hidden;
}

.partners-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(218, 2, 42, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.partners-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.partners-hero__title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--white);
}

.partners-hero__title .highlight {
  color: var(--red);
}

.partners-hero__subtitle {
  font-size: 24px;
  color: var(--gray-light);
  margin-bottom: 48px;
  line-height: 1.5;
}

.partners-hero__features {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.partners-hero__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-light);
}

.partners-hero__feature svg {
  color: var(--red);
  flex-shrink: 0;
}

.partners-hero__buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Styles */
.section-title {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
  color: var(--white);
}

.section-title .highlight {
  color: var(--red);
}

.section-subtitle {
  font-size: 20px;
  color: var(--gray-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
  line-height: 1.6;
}

/* Products Section */
.partners-products {
  padding: 100px 0;
  background: var(--bg-darker);
}

.partners-products__header {
  margin-bottom: 80px;
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(218, 2, 42, 0.2);
  border-radius: 16px;
  padding: 48px;
  margin-bottom: 48px;
  transition: all 0.3s;
}

.product-card:hover {
  border-color: var(--red);
  background: rgba(218, 2, 42, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(218, 2, 42, 0.1);
}

.product-card__header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(218, 2, 42, 0.2);
}

.product-card__icon {
  color: var(--red);
  flex-shrink: 0;
}

.product-card__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.product-card__subtitle {
  font-size: 18px;
  color: var(--gray-light);
  margin-top: 8px;
}

.product-card__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.product-feature {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(218, 2, 42, 0.1);
}

.product-feature__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.product-feature__text {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

.partners-products__footer {
  text-align: center;
  margin-top: 64px;
  padding: 32px;
  background: rgba(218, 2, 42, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(218, 2, 42, 0.3);
}

.partners-products__footer-text {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

/* White-Label Section */
.partners-white-label {
  padding: 100px 0;
  background: var(--bg-dark);
}

.partners-white-label__content {
  max-width: 1000px;
  margin: 0 auto;
}

.white-label-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.white-label-feature {
  text-align: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(218, 2, 42, 0.2);
}

.white-label-feature__icon {
  color: var(--red);
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.white-label-feature__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.white-label-feature__text {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

.partners-white-label__philosophy {
  margin-top: 48px;
  padding: 32px;
  background: rgba(218, 2, 42, 0.1);
  border-radius: 12px;
  border-left: 4px solid var(--red);
}

.philosophy-text {
  font-size: 18px;
  color: var(--white);
  line-height: 1.8;
  margin: 0;
}

.philosophy-text strong {
  color: var(--red);
}

/* Integration Section */
.partners-integration {
  padding: 100px 0;
  background: var(--bg-darker);
}

.integration-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.integration-feature {
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(218, 2, 42, 0.2);
  text-align: center;
}

.integration-feature__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.integration-feature__text {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

.integration-footer {
  text-align: center;
  font-size: 20px;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 64px;
}

.integration-userbase {
  margin-top: 80px;
  padding: 48px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(218, 2, 42, 0.2);
}

.integration-userbase__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 16px;
}

.integration-userbase__subtitle {
  font-size: 18px;
  color: var(--gray-light);
  text-align: center;
  margin-bottom: 48px;
}

.integration-userbase__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.integration-userbase-feature {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
}

.integration-userbase-feature__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.integration-userbase-feature__text {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

/* Licensing Section */
.partners-licensing {
  padding: 100px 0;
  background: var(--bg-dark);
}

.licensing-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(218, 2, 42, 0.2);
}

.licensing-card__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-align: center;
}

.licensing-card__text {
  font-size: 18px;
  color: var(--gray-light);
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.6;
}

.licensing-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.licensing-benefit {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(218, 2, 42, 0.1);
  text-align: center;
}

.licensing-benefit__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 12px;
}

.licensing-benefit__text {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

.licensing-footer {
  text-align: center;
  font-size: 18px;
  color: var(--white);
  font-weight: 600;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(218, 2, 42, 0.2);
}

/* Who Section */
.partners-who {
  padding: 100px 0;
  background: var(--bg-darker);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.who-item {
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(218, 2, 42, 0.2);
  border-radius: 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  transition: all 0.3s;
}

.who-item:hover {
  border-color: var(--red);
  background: rgba(218, 2, 42, 0.1);
  transform: translateY(-4px);
}

.who-footer {
  text-align: center;
  font-size: 20px;
  color: var(--white);
  font-weight: 600;
  margin-top: 48px;
}

/* Why Not Section */
.partners-why-not {
  padding: 100px 0;
  background: var(--bg-dark);
}

.why-not-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.why-not-item {
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(218, 2, 42, 0.2);
  border-radius: 12px;
}

.why-not-item__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 12px;
}

.why-not-item__text {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

.why-not-footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
  background: rgba(218, 2, 42, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(218, 2, 42, 0.3);
}

.why-not-footer__text {
  font-size: 18px;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 24px;
}

.why-not-footer__text strong {
  color: var(--red);
}

.why-not-footer__conclusion {
  font-size: 18px;
  color: var(--white);
  line-height: 1.8;
  margin: 0;
  font-weight: 600;
}

/* Security Section */
.partners-security {
  padding: 100px 0;
  background: var(--bg-darker);
}

.security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.security-feature {
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(218, 2, 42, 0.2);
  border-radius: 12px;
  text-align: center;
}

.security-feature__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 12px;
}

.security-feature__text {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

.security-footer {
  text-align: center;
  font-size: 18px;
  color: var(--white);
  font-weight: 600;
  margin-top: 48px;
  padding: 24px;
  background: rgba(218, 2, 42, 0.1);
  border-radius: 12px;
}

/* How to Start Section */
.partners-how-to-start {
  padding: 100px 0;
  background: var(--bg-dark);
}

.how-to-start-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.how-to-start-step {
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(218, 2, 42, 0.2);
  border-radius: 12px;
  position: relative;
}

.how-to-start-step__number {
  position: absolute;
  top: -20px;
  left: 32px;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.how-to-start-step__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  margin-top: 12px;
}

.how-to-start-step__text {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

.how-to-start-cta {
  text-align: center;
  padding: 64px 48px;
  background: rgba(218, 2, 42, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(218, 2, 42, 0.3);
}

.how-to-start-cta__text {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 32px;
}

.how-to-start-cta__buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.partners-footer {
  padding: 48px 0;
  background: var(--bg-darker);
  border-top: 1px solid rgba(218, 2, 42, 0.2);
  text-align: center;
}

.partners-footer__content {
  color: var(--gray-light);
  font-size: 16px;
}

/* Contact Modal */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.contact-modal--active {
  opacity: 1;
  visibility: visible;
}

.contact-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.contact-modal__content {
  position: relative;
  background: var(--bg-dark);
  border: 1px solid rgba(218, 2, 42, 0.3);
  border-radius: 16px;
  padding: 48px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.contact-modal--active .contact-modal__content {
  transform: scale(1);
}

.contact-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--gray-light);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s;
}

.contact-modal__close:hover {
  background: rgba(218, 2, 42, 0.1);
  color: var(--white);
}

.contact-modal__body {
  text-align: center;
}

.contact-modal__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.contact-modal__text {
  font-size: 18px;
  color: var(--gray-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-modal__email {
  margin-bottom: 24px;
}

.contact-modal__email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: rgba(218, 2, 42, 0.1);
  border: 2px solid var(--red);
  border-radius: 12px;
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.contact-modal__email-link:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(218, 2, 42, 0.3);
}

.contact-modal__email-link svg {
  flex-shrink: 0;
  color: var(--red);
  transition: color 0.3s;
}

.contact-modal__email-link:hover svg {
  color: var(--white);
}

.contact-modal__subtext {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .partners-hero__title {
    font-size: 48px;
  }

  .section-title {
    font-size: 36px;
  }

  .product-card {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .partners-header__nav {
    gap: 16px;
    font-size: 14px;
  }

  .partners-hero {
    padding: 80px 0 60px;
  }

  .partners-hero__title {
    font-size: 36px;
  }

  .partners-hero__subtitle {
    font-size: 18px;
  }

  .partners-hero__features {
    flex-direction: column;
    gap: 16px;
  }

  .partners-hero__buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .product-card {
    padding: 24px;
  }

  .product-card__features {
    grid-template-columns: 1fr;
  }

  .white-label-features {
    grid-template-columns: 1fr;
  }

  .integration-features {
    grid-template-columns: 1fr;
  }

  .how-to-start-steps {
    grid-template-columns: 1fr;
  }

  .how-to-start-cta__buttons {
    flex-direction: column;
  }

  .contact-modal__content {
    padding: 32px 24px;
  }

  .contact-modal__title {
    font-size: 24px;
  }

  .contact-modal__text {
    font-size: 16px;
  }

  .contact-modal__email-link {
    font-size: 18px;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  .partners-header__nav a:not(.btn-primary) {
    display: none;
  }

  .partners-hero__title {
    font-size: 28px;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 16px;
  }
}
