/* Modern Features Page Styling */

/* Hero Section */
.features-hero-modern {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
  padding: 120px 20px 100px;
}

.hero-background-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-background-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  background: white;
}

.hero-background-shapes .shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
}

.hero-background-shapes .shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  animation: float 15s ease-in-out infinite reverse;
}

.hero-background-shapes .shape-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  animation: float 25s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 30px); }
}

.features-hero-content-modern {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.features-hero-content-modern h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-hero-content-modern p {
  font-size: 20px;
  opacity: 0.95;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-primary {
  background: white;
  color: #667eea;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Main Features Section */
.features-main-section {
  padding: 80px 20px;
  background: white;
}

.features-main-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-modern-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 20px;
  padding: 32px 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(102, 126, 234, 0.08);
  position: relative;
  overflow: hidden;
}

.feature-modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

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

.feature-modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.2);
}



.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-modern {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
}

.feature-modern-card:hover .feature-icon-modern {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(102, 126, 234, 0.35);
}

.feature-icon-modern.ai-feature {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.25);
}

.feature-modern-card:hover .feature-icon-modern.ai-feature {
  box-shadow: 0 12px 28px rgba(251, 191, 36, 0.35);
}

.feature-icon-modern i {
  width: 32px;
  height: 32px;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-content {
  text-align: left;
  width: 100%;
}

.feature-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #e0e7ff;
  color: #4f46e5;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-tag.ai-tag {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
  color: #d97706;
}

.feature-tag.free-tag {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
  color: #059669;
  font-weight: 700;
}

.feature-tag.pro-tag {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(79, 70, 229, 0.15) 100%);
  color: #4f46e5;
  font-weight: 700;
}

.feature-tag.premium-tag {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
  color: #d97706;
  font-weight: 700;
}

/* Mini badges for additional features */
.mini-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mini-badge.free-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
  color: #059669;
}

.mini-badge.pro-badge {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(79, 70, 229, 0.15) 100%);
  color: #4f46e5;
}

.mini-badge.premium-badge {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
  color: #d97706;
}

.feature-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.feature-content p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-benefits {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.feature-benefits li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  margin-bottom: 8px;
  font-weight: 500;
  transition: all 0.2s;
}

.feature-modern-card:hover .feature-benefits li {
  color: #1f2937;
}

.feature-benefits i {
  width: 18px;
  height: 18px;
  color: #10b981;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.feature-benefits li:hover i {
  transform: scale(1.15);
}

/* Additional Features Section */
.features-additional-section {
  padding: 80px 20px;
  background: #f8f9fa;
}

.features-additional-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.features-additional-container h2 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 20px;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.additional-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.additional-feature-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: 1px solid rgba(102, 126, 234, 0.06);
  position: relative;
  overflow: hidden;
}

.additional-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.additional-feature-card:hover::before {
  transform: scaleX(1);
}

.additional-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.18);
  border-color: rgba(102, 126, 234, 0.15);
}

.additional-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.additional-feature-card:hover .additional-icon {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  transform: scale(1.08) rotate(-3deg);
}

.additional-icon i {
  width: 36px;
  height: 36px;
  color: #667eea;
  transition: all 0.3s;
}

.additional-feature-card:hover .additional-icon i {
  color: #5568d3;
}

.additional-feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.additional-feature-card p {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
}

/* Stats Section */
.stats-modern-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.stats-modern-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.stat-modern-item {
  text-align: center;
}

.stat-modern-number {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-modern-label {
  font-size: 18px;
  opacity: 0.95;
  font-weight: 500;
  line-height: 1.4;
}

/* CTA Section */
.features-cta-modern {
  padding: 100px 20px;
  background: white;
  text-align: center;
}

.cta-modern-content h2 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-modern-content p {
  font-size: 22px;
  color: #6b7280;
  margin-bottom: 36px;
  line-height: 1.5;
}

.cta-modern-content .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.cta-note {
  margin-top: 16px;
  font-size: 14px;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .features-main-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-main-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-modern-card {
    padding: 28px 24px;
  }
  
  .additional-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-modern-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-hero-content-modern h1 {
    font-size: 36px;
  }
  
  .features-hero-content-modern p {
    font-size: 16px;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .btn-large {
    width: 100%;
    justify-content: center;
  }
  
  .feature-modern-card {
    padding: 32px 24px;
  }
  
  .feature-icon-modern {
    width: 100px;
    height: 100px;
  }
  
  .feature-icon-modern i {
    width: 50px;
    height: 50px;
  }
  
  .feature-content h2 {
    font-size: 24px;
  }
  
  .feature-content p {
    font-size: 16px;
  }
  
  .additional-features-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-modern-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stat-modern-number {
    font-size: 48px;
  }
  
  .features-additional-container h2 {
    font-size: 32px;
  }
  
  .cta-modern-content h2 {
    font-size: 32px;
  }
}

/* Dark Mode Support */
[data-theme="dark"] .features-main-section {
  background: var(--bg-primary);
}

[data-theme="dark"] .feature-modern-card {
  background: var(--bg-secondary);
}

[data-theme="dark"] .feature-content h2 {
  color: var(--text-primary);
}

[data-theme="dark"] .feature-content p {
  color: var(--text-secondary);
}

[data-theme="dark"] .feature-benefits li {
  color: var(--text-secondary);
}

[data-theme="dark"] .features-additional-section {
  background: var(--bg-primary);
}

[data-theme="dark"] .additional-feature-card {
  background: var(--bg-secondary);
}

[data-theme="dark"] .additional-feature-card h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .additional-feature-card p {
  color: var(--text-secondary);
}

[data-theme="dark"] .features-cta-modern {
  background: var(--bg-primary);
}

[data-theme="dark"] .cta-modern-content h2 {
  color: var(--text-primary);
}

[data-theme="dark"] .cta-modern-content p {
  color: var(--text-secondary);
}

[data-theme="dark"] .features-additional-container h2 {
  color: var(--text-primary);
}
