/* ===================================== */
/* FEATURES SECTION STYLES */
/* ===================================== */

.features-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--primary-subtle) 100%) !important;
}

.features-zen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 1000px;
  margin: 0 auto;
}

.feature-zen-card {
  padding: var(--space-lg);
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-paper-md);
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Paper texture */
.feature-zen-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)'/%3E%3C/svg%3E");
  opacity: 0.02;
  border-radius: var(--radius-xl);
  pointer-events: none;
}

/* Subtle gradient accent on hover */
.feature-zen-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity 300ms ease;
}

.feature-zen-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-paper-xl);
  border-color: var(--primary-light);
}

.feature-zen-card:hover::after {
  opacity: 1;
}

/* Highlight cards for core features */
.feature-zen-card.feature-highlight {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary-subtle) 0%, var(--card-bg) 100%);
}

.feature-zen-card.feature-highlight:hover {
  border-color: var(--primary-dark);
  box-shadow: 0 12px 32px rgba(95, 158, 160, 0.2), 0 6px 12px rgba(95, 158, 160, 0.1);
}

.feature-zen-icon {
  font-size: 2rem;
  margin: 0 auto var(--space-sm);
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-zen-card:hover .feature-zen-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-zen-title {
  font-size: var(--font-base);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-xs) 0;
  font-family: var(--font-display);
  position: relative;
  z-index: 1;
}

.feature-zen-description {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* RESPONSIVE - TABLET */
@media (min-width: 768px) {
  .features-zen-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* RESPONSIVE - DESKTOP */
@media (min-width: 1024px) {
  .features-zen-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
  }
}
