/* --- Base Layout & Page-Specific BG --- */
.features-page-wrapper {
  background-color: var(--black);
  color: var(--light);
  overflow-x: hidden;
}

/* --- Features Hero --- */
.features-hero {
  position: relative;
  padding: 80px 0 110px;
  background:
    radial-gradient(circle at 15% 20%, rgba(215, 179, 65, 0.14), transparent 35%),
    radial-gradient(circle at 85% 75%, rgba(215, 179, 65, 0.08), transparent 35%),
    linear-gradient(180deg, #050505 0%, #0c0c0c 50%, #050505 100%);
  overflow: hidden;
}

.features-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.features-hero-content {
  position: relative;
  z-index: 5;
}

.features-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-hero-text h1 {
  margin-bottom: 24px;
}

.features-hero-text h1 .gold-text {
  color: var(--gold-light);
  display: block;
}

.features-hero-text .hero-subdesc {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 490px;
}

.features-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.features-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.features-hero-btn.primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #0d0d0d;
  box-shadow: 0 10px 30px rgba(215, 179, 65, 0.22);
  border: 1px solid transparent;
}

.features-hero-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(215, 179, 65, 0.35);
}

.features-hero-btn.outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold);
}

.features-hero-btn.outline:hover {
  background: linear-gradient(135deg, rgba(215, 179, 65, 0.12), rgba(215, 179, 65, 0.02));
  transform: translateY(-3px);
  border-color: var(--gold-light);
}

/* --- Hero Visual Mockup --- */
.features-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow-back {
  position: absolute;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(215, 179, 65, 0.15) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.features-hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-width: 580px;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
  transition: transform 0.5s ease;
}

.features-hero-image:hover {
  transform: scale(1.02) rotate(0.5deg);
}


/* --- Platform Features Grid --- */
.platform-features {
  padding: 100px 0;
  background-color: var(--black);
}

.platform-features .heading-underline {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 18px auto 0;
}

/* Grid Cards */
.feature-card {
  padding: 36px 32px;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
  transform: translateY(-5px);
}

.feature-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(215, 179, 65, 0.08);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: background 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(215, 179, 65, 0.16);
  color: var(--light);
}

.feature-icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  color: var(--gold-light);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.feature-card:hover h3 {
  color: var(--light);
}

.feature-card p {
  color: var(--gray);
  margin-bottom: 30px;
  flex-grow: 1;
}

/* --- Card Mockup Images --- */
.feature-card-img {
  width: 100%;
  max-width: 100%;
  height: 190px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #090909;
  padding: 6px;
  margin-top: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.feature-card:hover .feature-card-img {
  transform: scale(1.02) translateY(-2px);
  border-color: rgba(215, 179, 65, 0.35);
}

/* --- CTA Section --- */
.features-cta {
  padding: 80px 0 100px;
  background-color: var(--black);
}

.features-cta .cta-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 32px;
  border: 1px solid rgba(215, 179, 65, 0.3);
  background: #000;

  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 420px;

}

/* TYPO3 Backend Uploaded Image */
.cta-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;

  z-index: 0;
}

/* Dark Overlay on Image */
.features-cta .cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.86) 0%,
      rgba(0, 0, 0, 0.86) 45%,
      rgba(0, 0, 0, 0.35) 100%);
  z-index: 1;
}

/* Content */
.cta-box-content {
  position: relative;
  z-index: 2;
  padding: 68px clamp(28px, 6vw, 68px);
  max-width: 600px;
  text-align: left;
}

.cta-box-content h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  font-weight: 900;
}

.cta-box-content p {
  color: #d8d8d8;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.cta-box-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-box-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

/* Primary Button */
.cta-box-btn.primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #111;
  border: 0;
  box-shadow: 0 8px 24px rgba(215, 179, 65, 0.2);
}

.cta-box-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(215, 179, 65, 0.35);
  filter: brightness(1.06);
}

/* Outline Button */
.cta-box-btn.outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold);
}

.cta-box-btn.outline:hover {
  background: linear-gradient(135deg,
      rgba(215, 179, 65, 0.12),
      transparent);
  transform: translateY(-2px);
  border-color: var(--gold-light);
}

/****************************************************** Why Join ******************************************************/
.why-section.icon {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

.icon .benefit-card {
  padding: 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  height: 100%;
  transition: all 0.3s ease;
}

.icon .benefit-card:hover {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(215, 179, 65, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/************* Five Column Centered *************/
.why-section.five-column-centered .benefit-card {
  background: var(--black-soft);
  border: 1px solid var(--border) !important;
  transition: all 0.3s ease;
  border-color: var(--border) !important;
  text-align: center;
}

.why-section.five-column-centered .benefit-card:hover {
  background: rgba(215, 179, 65, 0.02);
  border-color: rgba(215, 179, 65, 0.3) !important;
  transform: translateY(-3px);
}

.why-section.five-column-centered .benefit-card .why-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(215, 179, 65, 0.06);
  border: 1px solid rgba(215, 179, 65, 0.12);
  color: var(--gold-light);
  margin: 0 auto 1rem;
}

/************* Four Column Centered with background *************/
.why-section.four-column-centered-bg {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px 36px;
  background: rgba(255, 255, 255, 0.015);
}

.why-section.four-column-centered-bg .benefit-card {
  text-align: center;
  padding: 0 24px;
  border: none;
  border-radius: 0;
  border-right: 1px solid var(--border);
  background: transparent;
}

.why-section.four-column-centered-bg .benefit-grid>article:last-child .benefit-card {
  border-right: none;
}

.why-section.four-column-centered-bg .benefit-card .why-icon {
  margin: 10px auto 14px;
  color: var(--gold-light);
  width: 52px;
  height: 52px;
}

.why-section.four-column-centered-bg .benefit-card .why-icon svg,
.why-section.four-column-centered-bg .benefit-card .why-icon img {
  opacity: 0.85;
  width: 40px;
  height: 40px;
}

/************* Five Column with Left Alignment and white text *************/
.why-section.five-column-left-aligned .benefit-card {
  background: rgba(25, 25, 25, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: left;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.why-section.five-column-left-aligned .benefit-card strong {
  color: #ffffff
}

.why-section.five-column-left-aligned .benefit-card .why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--gold-light);
  transition: background 0.3s ease, color 0.3s ease;
}

.why-section.five-column-left-aligned .benefit-card:hover {
  border-color: rgba(215, 179, 65, 0.4);
  background: rgba(215, 179, 65, 0.02);
  transform: translateY(-4px);
}

/************* Five Column Centered with Numbered Steps *************/
.why-section.five-column-centered-steps .benefit-card {
  background: var(--black-soft);
  border: 1px solid var(--border) !important;
  transition: all 0.3s ease;
  border-color: var(--border) !important;
  text-align: center;
  position: relative;
}

.why-section.five-column-centered-steps .benefit-card:hover {
  background: rgba(215, 179, 65, 0.02);
  border-color: rgba(215, 179, 65, 0.3) !important;
  transform: translateY(-3px);
}

.why-section.five-column-centered-steps .benefit-card .why-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid rgba(215, 179, 65, 0.32);
  color: var(--gold-light);
  margin: 0 auto 1rem;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.why-section.five-column-centered-steps .benefit-card .step-number {
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(215, 179, 65, 0.32);
  color: var(--gold-light);
  margin: 20px auto 1rem;
  display: flex;
  justify-content: center;
  background: var(--black)
}

.why-section.five-column-centered-steps .benefit-card .why-icon img {
  width: 40px;
  height: 40px;
}

.benefit-card ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 10px 0 0;
}

.benefit-card ul li {
  list-style: none !important;
  position: relative;
  padding-left: 32px !important;
  margin-bottom: 10px;
  display: block;
  color: var(--gray);
}

.benefit-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #f3c155;
  background-image: url('../../Images/right-icon.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 19px;
  box-sizing: border-box;
}

.why-section.quick-links-with-icon .quick-item {
  width: 148px;
}

.why-section.quick-links-with-icon .quick-item .benefit-card {
  padding: 16px;
  text-align: center;
  border-radius: 10px;
  background: transparent;
}

.why-section.quick-links-with-icon .quick-item .benefit-card .why-icon img {
  width: 35px;
  height: auto;
}

.why-section.quick-links-with-icon .quick-item .benefit-card strong {
  font-size: 11px;
  word-break: break-all;
  color: #ffffff;
  margin-bottom: 5px;
}

.why-section.quick-links-with-icon .quick-item .benefit-card .why-icon {
  margin: 0 auto 0.3rem;
}

.why-section.quick-links-with-icon .quick-item .benefit-card a {
  text-decoration: none;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (min-width: 1024px) {

  .why-section.five-column-centered .col-xl-3,
  .why-section.five-column-left-aligned .col-xl-3,
  .why-section.five-column-centered-steps .col-xl-3 {
    width: 20% !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {

  .why-section.five-column-centered .col-xl-3,
  .why-section.five-column-left-aligned .col-xl-3,
  .why-section.five-column-centered-steps .col-xl-3 {
    width: 33.33% !important;
  }
}

@media (max-width: 991px) {
  .features-hero {
    padding: 60px 0 80px;
    text-align: center;
  }

  .features-hero-text {
    align-items: center;
    margin-bottom: 0;
  }

  .features-hero-text h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .features-hero-text .hero-desc,
  .features-hero-text .hero-subdesc {
    margin-left: auto;
    margin-right: auto;
  }

  .features-hero-actions {
    justify-content: center;
  }

  .features-cta .cta-box {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.76) 100%),
      url("https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
  }

  .cta-box-content {
    max-width: 100%;
    text-align: center;
    padding: 50px 24px;
  }

  .cta-box-actions {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .features-cta {
    padding: 45px 0 90px;
  }

  .features-hero {
    padding: 40px 0 50px;
  }

  .platform-features {
    padding: 60px 0;
  }

  .why-works {
    padding: 60px 0;
  }

  .who-its-for {
    padding: 60px 0;
  }

  .features-stats {
    padding: 60px 0;
  }

  .industries-wrap {
    gap: 12px;
  }

  .industry-item {
    flex: 0 0 90px;
  }

  .industry-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 14px;
  }

  .industry-icon-box svg {
    width: 26px;
    height: 26px;
  }

  .why-section.icon {
    padding-top: 45px !important;
    padding-bottom: 40px !important;
  }

  .why-section.four-column-centered-bg .benefit-card {
    border-bottom: 1px solid var(--border);
    border-right: unset;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .features-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .features-hero-btn {
    width: 100%;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .cta-box-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-box-btn {
    width: 100%;
  }
}

.channel-link {
  color: var(--gold-light);
}

.channel-link:hover {
  color: var(--light);
  text-decoration: underline;
}