/* Before/After slider & UI components */
.before-after-slider { border-radius: var(--radius); overflow: hidden; }
.ba-images {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-elevated);
}
.ba-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 2;
  margin: 0;
}
.ba-labels {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.search-form {
  display: flex;
  gap: 0.5rem;
}
.search-form input {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.pagination .page-numbers {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.pagination .current {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.entry-content { color: var(--text-muted); }
.entry-content h2, .entry-content h3 { color: var(--text); margin-top: 1.5rem; }
.single-post { padding: 2rem; }
.entry-meta { font-size: 0.9rem; }
.entry-tags { margin-top: 1.5rem; font-size: 0.85rem; }
.entry-tags a {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  margin: 0.25rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-2);
}

.comments-area { padding: 2rem; margin-top: 2rem; }
.comment-list { list-style: none; padding: 0; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content, .hero-demo, .feature-card, .pricing-card {
  animation: fadeUp 0.6s ease backwards;
}
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.15s; }
.feature-card:nth-child(4) { animation-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
