/* Modern Feature Cards Redesign */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
  padding-top: var(--space-lg);
}

.feature-card {
  position: relative;
  padding: 32px;
  background: linear-gradient(145deg, #ffffff, #fafbff);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.05) 0%, 
    rgba(139, 92, 246, 0.05) 50%,
    rgba(236, 72, 153, 0.05) 100%);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}


/* Featured cards with gradient backgrounds */
.feature-card.featured {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  margin-top: 20px;
}

.feature-card.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  border-radius: 24px;
  pointer-events: none;
}

.feature-card.featured:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}


/* Popular badge redesign */
.popular-badge,
.feature-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  z-index: 10;
  animation: badge-pulse 2s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Feature icon with animation */
.feature-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.feature-icon svg {
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.2));
  transition: filter 0.3s ease;
}

.feature-card:hover .feature-icon svg {
  filter: drop-shadow(0 6px 20px rgba(99, 102, 241, 0.4));
}


/* Feature title */
.feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1f2937;
  background: linear-gradient(135deg, #1f2937 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


.feature-card.featured .feature-title {
  background: white;
  -webkit-text-fill-color: white;
  color: white;
}

/* Feature description */
.feature-description {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 20px;
}


.feature-card.featured .feature-description {
  color: rgba(255, 255, 255, 0.95);
}

/* Feature benefits redesign */
.feature-benefits {
  list-style: none;
  padding: 16px;
  margin: 20px 0;
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.05) 0%, 
    rgba(139, 92, 246, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}


.feature-card.featured .feature-benefits {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-benefits li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}

.feature-benefits li:last-child {
  margin-bottom: 0;
}


.feature-card.featured .feature-benefits li {
  color: rgba(255, 255, 255, 0.95);
}

.feature-benefits li::before {
  content: '→';
  position: absolute;
  left: 8px;
  top: 0;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card.featured .feature-benefits li::before {
  background: white;
  -webkit-text-fill-color: white;
  color: white;
}

/* Feature status indicator */
.feature-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  padding: 12px 16px;
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.08) 0%, 
    rgba(20, 184, 166, 0.08) 100%);
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #059669;
  font-weight: 500;
  margin-top: 20px;
}


.feature-card.featured .feature-status {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.feature-card.featured .status-indicator {
  background: white;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.feature-card.featured .feature-status span {
  color: white;
}

.zap-icon {
  color: #f59e0b;
  margin-left: auto;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.5));
  animation: zap-pulse 3s ease-in-out infinite;
}

.feature-card.featured .zap-icon {
  color: #fbbf24;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

@keyframes zap-pulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.8; 
    transform: scale(1.1);
  }
}

/* Specific card color themes */
.feature-card:nth-child(1) .feature-icon svg rect {
  fill: url(#gradient-whatsapp) !important;
}

.feature-card:nth-child(2) .feature-icon svg rect {
  fill: url(#gradient-sinpe) !important;
}

.feature-card:nth-child(3) .feature-icon svg rect {
  fill: url(#gradient-predictions) !important;
}

.feature-card:nth-child(4) .feature-icon svg rect {
  fill: url(#gradient-fiscal) !important;
}

.feature-card:nth-child(5) .feature-icon svg rect {
  fill: url(#gradient-reports) !important;
}

.feature-card:nth-child(6) .feature-icon svg rect {
  fill: url(#gradient-gmail) !important;
}