/* =========================
   Tenant Home (page-only)
   ========================= */

/* Light section variant */
.section.alt {
  background: var(--light);
}

/* Tenant home hero is centred (no split grid) */
.tenant-home .hero {
  text-align: center;
}

/* Centred section title modifier */
.tenant-home .section-title.centered {
  text-align: center;
}

.tenant-home .section-title.centered h2 {
  font-size: 36px;
}

.tenant-home .section-title.centered p {
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   Info strip (logged-out hero)
   ========================= */

.tenant-home .info-strip {
  max-width: 1050px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tenant-home .info-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px;
  text-align: left;
}

.tenant-home .info-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.tenant-home .info-item span {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  opacity: 0.92;
}

/* =========================
   Rotating Values Carousel
   ========================= */

.values-carousel {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark, #6A1CB0) 100%);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Decorative radial blobs */
.values-carousel::before,
.values-carousel::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.values-carousel::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.30) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.values-carousel::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 206, 209, 0.15) 0%, transparent 65%);
  bottom: -150px;
  left: -80px;
}

/* Accent line at base */
.values-carousel .vc-track-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent, #00CED1), var(--primary));
}

.vc-track-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.vc-track {
  position: relative;
}

/* Each slide: hidden by default, visible when .active */
.vc-slide {
  display: none;
  padding: 72px 0 96px;
  animation: vcFadeIn 0.5s ease;
}

.vc-slide.active {
  display: block;
}

@keyframes vcFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Two-column layout when mosaic present ── */
.vc-content {
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
}

.vc-content.vc-has-mosaic {
  grid-template-columns: 1fr 1fr;
}

/* ── Left: text column ── */
.vc-text {
  max-width: 600px;
}

.vc-eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.72;
  margin: 0 0 16px;
}

.vc-ends {
  opacity: 0.9;
  font-weight: 700;
}

.vc-title {
  font-size: 38px;
  font-weight: 950;
  line-height: 1.12;
  margin: 0 0 14px;
  color: #fff;
}

.vc-sub {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.85;
  margin: 0 0 26px;
  line-height: 1.55;
}

/* Brand chips (small pill list below subtitle) */
.vc-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.vc-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 5px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(6px);
}

.vc-brand-chip:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-2px);
}

.vc-brand-chip img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.vc-brand-initials {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vc-brand-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.vc-cta {
  display: inline-block;
}

/* ── Right: brand logo mosaic ── */
.vc-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-left: 20px;
}

.vc-mosaic-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  aspect-ratio: 1;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s, background 0.25s, border-color 0.25s;
  backdrop-filter: blur(8px);
}

.vc-mosaic-tile:hover {
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px) scale(1.03);
}

/* Stagger the second column tiles slightly down for visual rhythm */
.vc-mosaic-tile-1,
.vc-mosaic-tile-3 {
  margin-top: 20px;
}

.vc-mosaic-tile img {
  width: 65%;
  height: 65%;
  object-fit: contain;
  border-radius: 10px;
}

.vc-mosaic-initials {
  font-size: 28px;
  font-weight: 950;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -1px;
}

/* ── Prev / Next arrows ── */
.vc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}

.vc-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
  transform: translateY(-50%) scale(1.08);
}

.vc-prev { left: 20px; }
.vc-next { right: 20px; }

/* ── Dot indicators ── */
.vc-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.vc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s, width 0.3s;
}

.vc-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* =========================
   Section titles
   ========================= */

.section-title {
  text-align: left;
  margin-bottom: 24px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.section-title p {
  color: var(--gray);
  font-weight: 650;
  max-width: 780px;
}

/* =========================
   Values category grid
   ========================= */

.tenant-home .values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.tenant-home .value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border-radius: 16px;
  padding: 28px 14px 22px;
  text-align: center;
  border: 2px solid transparent;
  border-top: 3px solid var(--vc-color, var(--primary));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  gap: 12px;
}

.tenant-home .value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
  border-color: var(--vc-color, var(--primary));
}

/* Coloured icon circle */
.tenant-home .value-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--vc-color, var(--primary)) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s;
}

.tenant-home .value-card:hover .value-icon-wrap {
  background: color-mix(in srgb, var(--vc-color, var(--primary)) 20%, transparent);
}

.tenant-home .value-icon {
  font-size: 26px;
  display: block;
  line-height: 1;
}

.tenant-home .value-card h3 {
  font-size: 14px;
  font-weight: 850;
  color: var(--dark);
  line-height: 1.3;
}

/* =========================
   Featured / Top Picks brand grid
   ========================= */

.featured-brands-section,
.top-picks-section {
  background: #fff;
}

.brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.brand-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px;
  background: #f8fafc;
  border-radius: 16px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.brand-logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.10), 0 12px 28px rgba(0, 0, 0, 0.08);
}

.brand-logo-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
}

.brand-initials {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark, #6A1CB0));
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  line-height: 1.3;
}

/* =========================
   How It Works (logged-out)
   ========================= */

.how-it-works {
  background: #fff;
}

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

/* Connector line between step circles */
.hiw-steps::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(16.67% + 26px);
  right: calc(16.67% + 26px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent, #00CED1));
  opacity: 0.25;
  pointer-events: none;
}

.hiw-step {
  text-align: center;
  padding: 36px 24px 28px;
  background: var(--light, #F8F5FF);
  border-radius: 20px;
  border: 1px solid rgba(138, 43, 226, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hiw-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.hiw-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark, #6A1CB0));
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 22px rgba(138, 43, 226, 0.32);
  position: relative;
  z-index: 1;
}

.hiw-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.hiw-step p {
  font-size: 14px;
  color: var(--gray);
  font-weight: 600;
  line-height: 1.6;
}

/* =========================
   Footer CTA Band (logged-out)
   ========================= */

.footer-cta-band {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark, #6A1CB0) 100%);
  padding: 72px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Decorative orb */
.footer-cta-band::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -220px;
  right: -80px;
  pointer-events: none;
}

.footer-cta-band::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(0, 206, 209, 0.08);
  bottom: -120px;
  left: 60px;
  pointer-events: none;
}

.footer-cta-band .container {
  position: relative;
  z-index: 1;
}

.footer-cta-band h2 {
  font-size: 34px;
  font-weight: 950;
  margin-bottom: 12px;
  color: #fff;
}

.footer-cta-band p {
  font-size: 17px;
  font-weight: 600;
  opacity: 0.84;
  margin-bottom: 30px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 992px) {
  .tenant-home .info-strip {
    grid-template-columns: 1fr 1fr;
  }

  .vc-content.vc-has-mosaic {
    grid-template-columns: 1fr;
  }

  .vc-mosaic {
    display: none;
  }

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

  .vc-arrow {
    display: none;
  }

  .hiw-steps {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .hiw-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .tenant-home .info-strip {
    grid-template-columns: 1fr;
  }

  .brand-logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  .vc-slide {
    padding: 52px 0 80px;
  }

  .vc-title {
    font-size: 24px;
  }

  .tenant-home .values-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}
