/* ═══════════════════════════════════════════════════
   Features Page — Additional Styles
   ═══════════════════════════════════════════════════ */

/* Hero */
.features-hero {
  position: relative;
  padding: 0 0 60px 0;
  text-align: center;
  overflow: hidden;
}

.features-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.features-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.active-link {
  color: var(--accent) !important;
}

/* Feature Showcase Sections */
.feature-showcase {
  padding: 80px 0;
  position: relative;
}

.feature-showcase.alt {
  background: rgba(255, 255, 255, 0.015);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.showcase-grid.reverse {
  grid-template-columns: 1.2fr 1fr;
  direction: rtl;
}

.showcase-grid.reverse > * {
  direction: ltr;
}

.showcase-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.showcase-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.feature-list li:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 219, 255, 0.2);
  transform: translateX(4px);
}

/* Tier Badges */
.feature-tier-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.feature-tier-badge.free {
  background: rgba(0, 219, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 219, 255, 0.3);
}

.feature-tier-badge.pro {
  background: rgba(108, 92, 231, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(108, 92, 231, 0.35);
}

.feature-tier-badge.team {
  background: rgba(255, 107, 107, 0.12);
  color: #ff9b9b;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Screenshot Images */
.showcase-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 219, 255, 0.08);
  transition: all 0.4s ease;
}

.showcase-image:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(0, 219, 255, 0.2),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 219, 255, 0.12);
}

.showcase-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* More Features Grid */
.more-features {
  padding: 100px 0;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.more-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
}

.more-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 219, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.more-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}

.more-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.more-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.more-card .feature-tier-badge {
  font-size: 0.65rem;
  padding: 2px 10px;
}

/* Scroll reveal animation */
.feature-showcase,
.more-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-showcase.visible,
.more-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
  .showcase-grid,
  .showcase-grid.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .more-grid {
    grid-template-columns: 1fr;
  }

  .feature-showcase {
    padding: 48px 0;
  }
}
