/* Features page — additional styles on top of landing.css */

.features-hero {
  padding: 7rem 0 4rem;
  background: linear-gradient(180deg, #0c0f1a 0%, #12172a 100%);
  color: #fff;
  text-align: center;
}
.features-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #fff 0%, #8dd9cd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.features-hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.features-hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Slideshow */
.slideshow {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.slide-viewport {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0c0f1a;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(20, 184, 166, 0.15);
}
.slides {
  position: relative;
  min-height: 560px;
}
.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide-caption {
  padding: 2.5rem 2rem;
  background: linear-gradient(180deg, #12172a 0%, #0c0f1a 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide-number {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #14b8a6;
  margin-bottom: 0.5rem;
}
.slide-caption h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
}
.slide-caption p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  font-size: 0.95rem;
  margin: 0;
}
.slide-image {
  background: #f4f5f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
}
.slide-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: #0c0f1a;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.slide-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}
.slide-prev { left: 0.75rem; }
.slide-next { right: 0.75rem; }

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 184, 166, 0.25);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s;
}
.slide-dot.active {
  background: #14b8a6;
  width: 26px;
  border-radius: 6px;
}

/* Mobile stack slides */
@media (max-width: 820px) {
  .slide {
    grid-template-columns: 1fr;
  }
  .slides {
    min-height: auto;
  }
  .slide {
    position: relative;
    display: none;
  }
  .slide.active {
    display: grid;
  }
  .slide-caption {
    padding: 1.5rem 1.25rem 1rem;
  }
  .slide-caption h3 {
    font-size: 1.3rem;
  }
  .slide-image {
    padding: 0.75rem;
  }
  .slide-nav {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* Feature grid full */
.feature-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.feature-card-full {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.3s, border-color 0.3s;
}
.feature-card-full:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.35);
}
.feature-card-full .feature-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
.feature-card-full h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
}
.feature-card-full p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 0.92rem;
  margin: 0 0 1rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
}
.feature-list li {
  padding: 0.25rem 0 0.25rem 1.3rem;
  position: relative;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #14b8a6;
  font-weight: 700;
}
