/* ─── Features Page ─── */

/* Hero */
.fp-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fp-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.fp-hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 800px;
}

.fp-hero-subtitle {
  font-size: 20px;
  color: var(--muted-foreground);
  max-width: 640px;
  line-height: 1.65;
}

/* Feature rows */
.fp-features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px 120px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fp-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.fp-row:last-child { border-bottom: none; }

.fp-row-reverse {
  grid-template-columns: 1.2fr 1fr;
}

.fp-row-full {
  grid-template-columns: 1fr;
  max-width: 680px;
}

.fp-row-reverse .fp-content { order: 2; }
.fp-row-reverse .fp-visual  { order: 1; }

.fp-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fp-title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.fp-desc {
  font-size: 17px;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.fp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.fp-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}

.fp-check {
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

.fp-visual {
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1.5px solid rgba(167,92,255,0.9);
  padding: 8px;
  box-shadow:
    0 0 0 1.5px rgba(167,92,255,0.9),
    0 0 8px 2px rgba(167,92,255,0.6),
    0 0 20px 6px rgba(124,58,237,0.3),
    0 0 40px 12px rgba(124,58,237,0.12),
    0 32px 64px -16px rgba(124,58,237,0.15);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.fp-visual:hover {
  box-shadow:
    0 0 0 1.5px rgba(167,92,255,1),
    0 0 10px 3px rgba(167,92,255,0.7),
    0 0 28px 8px rgba(124,58,237,0.4),
    0 0 55px 16px rgba(124,58,237,0.18),
    0 40px 80px -16px rgba(124,58,237,0.25);
  transform: translateY(-4px);
}

.fp-visual img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* CTA */
.fp-cta {
  background: rgba(255,255,255,0.015);
  border-top: 1px solid var(--border);
  padding: 120px 0;
}

.fp-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.fp-cta-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.fp-cta-desc {
  font-size: 18px;
  color: var(--muted-foreground);
  max-width: 540px;
  line-height: 1.6;
}

.fp-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

/* Active nav link */
.nav-link.active {
  color: var(--foreground);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .fp-hero-title { font-size: 44px; }
  .fp-row,
  .fp-row-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fp-row-reverse .fp-content { order: 0; }
  .fp-row-reverse .fp-visual  { order: 0; }
  .fp-title { font-size: 30px; }
  .fp-features { padding: 40px 20px 80px; }
}

@media (max-width: 680px) {
  .fp-hero-title { font-size: 36px; }
  .fp-cta-title { font-size: 30px; }
  .fp-cta-actions { flex-direction: column; align-items: stretch; }
}
