/* Adaxes vendor page (partner/adaxes.php) */

:root {
  --ad-dark: #282C30;
  --ad-dark-hover: #3B4046;
  --ad-blue: #1a7fd9;
  --ad-ink: #181b1f;
  --ad-muted: #566069;
  --ad-light: #f3f5f8;
  --ad-radius: 18px;
  --ad-line: #e1e6ec;
}

body {
  overflow-x: hidden;
}

.adaxes-light {
  background: var(--ad-light);
}

.adaxes-section {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

.adaxes-h1 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.adaxes-h2 {
  margin-bottom: 0.9rem;
  color: var(--ad-ink);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.adaxes-h2-light {
  color: #fff;
}

.adaxes-h3 {
  margin-bottom: 0.5rem;
  color: var(--ad-ink);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.adaxes-page p {
  font-size: 1rem;
  line-height: 1.7;
}

/* hero */
.adaxes-hero {
  display: flex;
  align-items: center;
  min-height: 480px;
  padding: 4rem 0;
  background:
    linear-gradient(90deg, rgba(20, 22, 26, 0.9) 0%, rgba(20, 22, 26, 0.6) 60%, rgba(20, 22, 26, 0.35) 100%),
    url('/images/adaxes/jumbo.svg') center / cover no-repeat;
  color: #fff;
}

.adaxes-logo {
  display: block;
  max-height: 56px;
  width: auto;
  margin-bottom: 1.75rem;
}

.adaxes-page .adaxes-hero-text {
  max-width: 34rem;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

/* buttons */
.adaxes-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border: 2px solid var(--ad-dark);
  border-radius: 8px;
  background: var(--ad-dark);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.adaxes-btn:hover {
  border-color: var(--ad-blue);
  background: var(--ad-blue);
  color: #fff;
}

.adaxes-hero .adaxes-btn,
.adaxes-earth .adaxes-btn {
  border-color: #fff;
  background: #fff;
  color: var(--ad-dark);
}

.adaxes-hero .adaxes-btn:hover,
.adaxes-earth .adaxes-btn:hover {
  border-color: var(--ad-blue);
  background: var(--ad-blue);
  color: #fff;
}

.adaxes-btn:focus-visible {
  outline: 3px solid #9cc8f2;
  outline-offset: 3px;
}

/* automated provisioning */
.adaxes-provision {
  max-width: 50rem;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  border-left: 5px solid var(--ad-blue);
  border-radius: 0 var(--ad-radius) var(--ad-radius) 0;
  background: var(--ad-light);
}

.adaxes-page .adaxes-kicker {
  margin: 0 0 0.75rem;
  color: var(--ad-blue);
  font-size: 1.15rem;
  font-weight: 700;
}

.adaxes-page .adaxes-body {
  margin: 0 0 1.5rem;
  color: var(--ad-muted);
}

.adaxes-page .adaxes-provision .adaxes-body {
  margin-bottom: 0;
}

/* what is adaxes */
.adaxes-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid var(--ad-line);
  background: #fff;
}

.adaxes-art img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* architecture and benefits */
.adaxes-tech {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-radius);
  background: #fff;
  transition: border-color 0.25s;
}

.adaxes-tech:hover {
  border-color: var(--ad-blue);
}

.adaxes-tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1.1rem;
  border-radius: 18px;
  background: var(--ad-light);
}

.adaxes-tech-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.adaxes-page .adaxes-tech p {
  flex: 1;
  margin-bottom: 1.25rem;
  color: var(--ad-muted);
  font-size: 0.95rem;
}

/* features */
.adaxes-head {
  margin-bottom: 2.5rem;
}

.adaxes-head .adaxes-h2 {
  margin: 0;
}

.adaxes-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-radius);
  background: #fff;
  transition: border-color 0.25s;
}

.adaxes-card:hover {
  border-color: var(--ad-blue);
}

.adaxes-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid #edf0f4;
  background: var(--ad-light);
}

.adaxes-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.4s ease;
}

.adaxes-card:hover .adaxes-card-img img {
  transform: scale(1.04);
}

.adaxes-card-img-art img {
  width: auto;
  max-width: 55%;
  height: auto;
  max-height: 80%;
  object-fit: contain;
}

.adaxes-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
}

.adaxes-page .adaxes-card-body p {
  flex: 1;
  margin-bottom: 1.25rem;
  color: var(--ad-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* we are almost everywhere */
.adaxes-earth {
  display: flex;
  align-items: center;
  min-height: 460px;
  padding: 4rem 0;
  background:
    linear-gradient(90deg, rgba(20, 22, 26, 0.82) 0%, rgba(20, 22, 26, 0.35) 70%, rgba(20, 22, 26, 0.1) 100%),
    url('/images/adaxes/erth@1x.webp') bottom / cover no-repeat;
}

.adaxes-page .adaxes-earth-text {
  max-width: 32rem;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

@media (max-width: 767px) {
  .adaxes-section {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }

  .adaxes-hero {
    min-height: 0;
    padding: 3rem 0;
  }

  .adaxes-earth {
    min-height: 0;
  }

  .adaxes-provision {
    padding: 1.75rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .adaxes-btn,
  .adaxes-card,
  .adaxes-tech {
    transition: none;
  }
}
