/* Cleaned features CSS */
.feature-slider {
  position: relative;
  /* allow vertical overflow so hover/active lift isn't clipped; hide horizontal overflow */
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
padding: 56px 0 48px; /* increased bottom padding to accommodate lifted cards */
  margin: 18px 20px;
  cursor: grab;
}

.feature-section { margin: 24px 0 40px; }


.feature-header {
  text-align: center;
}

/* 🔥 Heading */
.feature-header h2 {
  font-size: 2rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 6px;

  background: linear-gradient(90deg, #00c6ff, #00ffcc);

  background-clip: text;              /* ✅ standard */
  -webkit-background-clip: text;      /* ✅ webkit */

  color: transparent;                 /* ✅ fallback */
  -webkit-text-fill-color: transparent;
}

/* 🔥 Underline */
.feature-header h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  background: var(--accent1);
  margin: 6px auto 0;
  border-radius: 2px;
}

/* 🔥 Sub text (balanced highlight) */
.feature-sub {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 500;

  background: linear-gradient(90deg, #00c6ff, #00ffcc);

  background-clip: text;              /* ✅ standard */
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;

  opacity: 0.85;   /* 🔥 subtle, not overpowering */
}

.feature-slides {
  display: flex;
  width: 400%; /* 4 slides x 100% */
  transition: transform 0.3s ease;
  cursor: grab;
  user-select: none;
 /* overflow: hidden; */
}


.feature-slides.grabbing { cursor: grabbing; }

.slide {
  width: 100%; /* each slide occupies full slider width */
  display: flex;
  gap: 18px;
  justify-content: center;
}


.feature-card h3 {
  font-size: 14px;
  font-weight: 600;
  background: #00c6ff15;
  color: #00c6ff;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}

.feature-card {
  background: var(--surface);
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 12px 30px rgba(9, 30, 66, 0.04);
  flex: 1;
  max-width: calc(33.333% - 12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  word-wrap: break-word;
}


.feature-slider {
  padding: 70px 0 48px; /* 🔥 top padding increase */
}

.feature-header {
  position: relative;
  z-index: 50; /* 🔥 above cards */
}.feature-card {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  z-index: 10; /* enough but not above header */
}


.feature-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(9, 30, 66, 0.1);
  border-color: var(--accent1);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.2em;
  line-height: 1.2;
  padding-top: 6px;
}

.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; flex-grow: 1; }

.feature-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.feature-list li::before { content: '\2022'; color: var(--accent1); font-weight: 700; display: inline-block; width: 14px; margin-left: -2px; }
.feature-card .tag { display: inline-block; background: var(--accent1); color: white; padding: 2px 8px; border-radius: 999px; font-size: 11px; margin-left: 8px; }

.indicators { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--muted); cursor: pointer; transition: background 0.3s ease; }
.indicators { margin-top: 18px; }
.dot.active { background: var(--accent1); }
.dot:hover { background: var(--accent1); opacity: 0.7; }

/* Mobile / tablet responsive behavior: show 2 cards per slide (16:9) */
@media (max-width: 900px) {
  .feature-card {
    flex: 0 0 calc((100% - 10px) / 2);
    max-width: calc((100% - 10px) / 2);
    padding: 6px;
    aspect-ratio: 16 / 9;
    box-sizing: border-box;
  }
  .feature-card h3 { font-size: 12px; }
  .feature-card p { font-size: 11px; }
}
.feature-card p {
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.4;
}

/* Very small screens fallback */
@media (max-width: 480px) {
  .feature-card {
    flex: 0 0 calc((100% - 8px) / 2);
    max-width: calc((100% - 8px) / 2);
    padding: 6px;
    aspect-ratio: 16/9;
  }
  .feature-card h3 { font-size: 12px; }
  .feature-card p, .feature-card li { font-size: 11px; }
}

/* Desktop: slightly larger card text for readability on PC */
@media (min-width: 901px) {
  .feature-card h3 { font-size: 1.35rem; }
  .feature-card p { font-size: 20px; }
  .feature-list li { font-size: 20px; }
}
