/* ==========================================
   ZELZONI FEATURE PAGES STYLING
   ========================================== */
.feature-page-hero {
  padding: 180px 0 80px 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Soft gradient blobs — same technique as homepage hero */
.feature-page-hero::before {
  content: "";
  position: absolute;
  top: 30%;
  left: -15%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(
    circle,
    rgba(111, 92, 255, 0.18) 0%,
    rgba(111, 92, 255, 0.04) 55%,
    transparent 100%
  );
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.feature-page-hero::after {
  content: "";
  position: absolute;
  top: 30%;
  right: -15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(
    circle,
    rgba(209, 41, 132, 0.14) 0%,
    rgba(255, 126, 182, 0.06) 55%,
    transparent 100%
  );
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

/* Ensure hero content sits above blobs */
.feature-page-hero .container {
  position: relative;
  z-index: 1;
}

.feature-hero-content {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.feature-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 850;
  color: #17153a;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  line-height: 1.15;
}

.feature-hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: #555273;
  line-height: 1.65;
  margin-bottom: 36px;
}

.feature-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.feature-body-section {
  padding: 80px 0 100px;
  background-color: transparent;
  position: relative;
  /* No border — blends with hero above via shared page background */
}

.feature-body-container {
  max-width: 800px;
  margin: 0 auto;
}

.feature-body-container p {
  font-size: 1.08rem;
  color: #555273;
  line-height: 1.8;
  margin-bottom: 24px;
}

.feature-body-container p:last-child {
  margin-bottom: 0;
}

.feature-capabilities-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.capability-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(23, 21, 58, 0.06);
  border-radius: 16px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.capability-item:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 92, 255, 0.2);
  box-shadow: 0 10px 30px rgba(111, 92, 255, 0.04);
}

.capability-icon {
  color: #6f5cff;
  font-size: 1.2rem;
  margin-top: 2px;
}

.capability-text h4 {
  font-size: 1.05rem;
  font-weight: 750;
  color: #17153a;
  margin-bottom: 8px;
}

.capability-text p {
  font-size: 0.92rem;
  color: #555273;
  line-height: 1.6;
  margin: 0;
}

.feature-use-cases-section {
  padding: 100px 0;
  background-color: #faf9ff;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.use-case-card {
  background: #ffffff;
  border: 1px solid rgba(23, 21, 58, 0.05);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.005);
}

.use-case-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #17153a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.use-case-card h4 i {
  color: #d12984;
}

.use-case-card p {
  font-size: 0.95rem;
  color: #555273;
  line-height: 1.7;
  margin: 0;
}

.feature-impact-section {
  padding: 100px 0;
  background-color: #ffffff;
  text-align: center;
}

.feature-impact-container {
  max-width: 800px;
  margin: 0 auto;
}

.feature-impact-container p {
  font-size: 1.15rem;
  color: #17153a;
  line-height: 1.75;
  font-weight: 600;
  margin-top: 20px;
}

.related-features-section {
  padding: 80px 0;
  /* background-color: #faf9ff; */
  border-top: 1px solid rgba(23, 21, 58, 0.04);
}

.related-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .related-features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.related-card {
  background: #ffffff;
  border: 1px solid rgba(23, 21, 58, 0.06);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 92, 255, 0.2);
  box-shadow: 0 12px 30px rgba(111, 92, 255, 0.06);
}

.related-card h4 {
  font-size: 1rem;
  font-weight: 750;
  color: #17153a;
  margin-bottom: 8px;
}

.related-card p {
  font-size: 0.85rem;
  color: #555273;
  line-height: 1.5;
  margin: 0;
}

/* ---- Responsive Overrides ---- */
@media (max-width: 768px) {
  .feature-hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 12px;
    padding: 0 16px;
  }

  .feature-hero-actions .btn {
    width: 100% !important;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
    padding: 14px 24px !important;
    font-size: 0.95rem !important;
  }
}

/* ---- Alternating Showcase Rows (Desktop only) ---- */
@media (min-width: 993px) {
  .capability-showcase-row:nth-child(even) {
    flex-direction: row-reverse;
  }
}

