/* Cloudian vendor page (partner/cloudian.php) */

:root {
  --cld-lime: #c4d600;
  --cld-lime-dark: #aebb00;
  --cld-slate: #333F48;
  --cld-slate-dark: #1c2427;
  --cld-ink: #1c2427;
  --cld-muted: #5b6670;
  --cld-radius: 16px;
}

body {
  overflow-x: hidden;
}

.cld-accent {
  color: var(--cld-lime);
}

.cld-dark {
  background: var(--cld-slate);
}

.cld-darker {
  background: var(--cld-slate-dark);
}

.cld-light {
  background: #f3f5f7;
}

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

.cld-h1 {
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cld-h2 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.cld-h2-ink {
  color: var(--cld-ink);
}

.cld-h3 {
  margin-bottom: 0.5rem;
  color: var(--cld-lime);
  font-size: 1.2rem;
  font-weight: 700;
}

.cld-h3-ink {
  color: var(--cld-ink);
}

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

.cld-lead {
  max-width: 44rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.cld-eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--cld-lime);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* hero */
.cld-hero {
  padding: 4.5rem 0;
  background: #000;
  color: #fff;
}

.cloudian-page .cld-hero p {
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
}

.cld-hero-art {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--cld-radius);
}

/* buttons */
.cld-btn,
.cld-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cld-btn {
  border: 2px solid var(--cld-lime);
  background: var(--cld-lime);
  color: var(--cld-ink);
}

.cld-btn:hover {
  border-color: var(--cld-lime-dark);
  background: var(--cld-lime-dark);
  color: var(--cld-ink);
}

.cld-btn i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.cld-btn:hover i {
  transform: translateX(4px);
}

.cld-btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.cld-btn-ghost:hover {
  border-color: #fff;
  background: #fff;
  color: var(--cld-ink);
}

.cld-btn-ink {
  border-color: var(--cld-ink);
  background: var(--cld-ink);
  color: #fff;
}

.cld-btn-ink:hover {
  border-color: var(--cld-slate);
  background: var(--cld-slate);
  color: #fff;
}

.cld-btn:focus-visible,
.cld-btn-ghost:focus-visible {
  outline: 3px solid #e2ee66;
  outline-offset: 3px;
}

/* feature cards */
.cld-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: var(--cld-radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s, box-shadow 0.25s;
}

.cld-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(196, 214, 0, 0.22);
}

.cld-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.1rem;
  border-radius: 16px;
  background: #324458;
}

.cld-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.cld-feature .cld-h3 {
  color: var(--cld-slate);
}

.cloudian-page .cld-feature p {
  flex: 1;
  margin-bottom: 1.25rem;
  color: var(--cld-muted);
  font-size: 0.95rem;
}

/* why cloudian */
.cld-why {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(196, 214, 0, 0.2);
  border-radius: var(--cld-radius);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.cld-why:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 214, 0, 0.55);
}

.cld-why-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 1rem;
  background: linear-gradient(160deg, #3b4a56 0%, #1c2427 100%);
}

.cld-why-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cld-why-body {
  flex: 1;
  padding: 1.5rem 1.5rem 1.75rem;
}

.cloudian-page .cld-why p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* guided tour */
.cld-tour {
  display: block;
  width: 100%;
  height: auto;
}

/* technology vendors */
.cld-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 3rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.cld-logos img {
  display: block;
  width: auto;
  max-width: 150px;
  height: 36px;
  object-fit: contain;
}

/* get started */
.cld-start {
  height: 100%;
  padding: 2rem 1.75rem;
  border-radius: var(--cld-radius);
  background: #f3f5f7;
  text-align: center;
}

.cld-start img {
  display: block;
  height: 64px;
  width: auto;
  margin: 0 auto 1.1rem;
  padding: 0.6rem;
  border-radius: 14px;
  background: var(--cld-slate);
  box-sizing: content-box;
}

.cloudian-page .cld-start p {
  margin-bottom: 1.25rem;
  color: var(--cld-muted);
}

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

  .cld-hero {
    padding: 3rem 0;
  }
}

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

  .cld-btn,
  .cld-btn i,
  .cld-btn-ghost,
  .cld-feature,
  .cld-why {
    transition: none;
  }

  .cld-feature:hover,
  .cld-why:hover,
  .cld-btn:hover i {
    transform: none;
  }
}

/* sections on the light background */
.cld-light .cld-h2 {
  color: var(--cld-ink);
}

.cld-light .cld-lead {
  color: var(--cld-muted);
}

.cld-light .cld-why {
  border-color: #e3e7ec;
  background: #fff;
  box-shadow: 0 8px 28px rgba(28, 36, 39, 0.08);
}

.cld-light .cld-why:hover {
  border-color: var(--cld-lime);
  box-shadow: 0 18px 44px rgba(28, 36, 39, 0.16);
}

.cld-light .cld-why .cld-h3 {
  color: var(--cld-slate);
}

.cloudian-page .cld-light .cld-why p {
  color: var(--cld-muted);
}
