/* ===============================================
   Feature Pages Styles
   Modern, responsive design for feature detail pages
   =============================================== */

/* Hero Section */
.feature-hero {
  padding: 120px 0 80px;
  color: white;
  position: relative;
  overflow: hidden;
}

.feature-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.breadcrumb a:hover {
  opacity: 0.7;
}

.breadcrumb span {
  margin: 0 0.5rem;
}

.feature-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
}

.hero-feature-item i {
  font-size: 1.2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
  font-weight: 600;
}

.feature-icon-large {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.feature-icon-large i {
  font-size: 120px;
  opacity: 0.9;
}

/* Feature Sections */
.feature-section {
  padding: 80px 0;
}

.bg-light {
  background: #f8f9fa;
}

.section-header {
  margin-bottom: 60px;
}

.section-header.centered {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a202c;
}

.section-header p {
  font-size: 1.2rem;
  color: #4a5568;
  line-height: 1.6;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a202c;
}

.benefit-card p {
  color: #4a5568;
  line-height: 1.7;
}

/* Features Showcase */
.features-showcase {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.feature-showcase-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 50px;
  align-items: center;
}

.feature-showcase-item.reverse {
  grid-template-columns: 1fr 200px;
}

.feature-showcase-item.reverse .showcase-icon {
  order: 2;
}

.feature-showcase-item.reverse .showcase-content {
  order: 1;
}

.showcase-icon {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 80px;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.showcase-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a202c;
}

.showcase-content > p {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #2d3748;
  font-weight: 500;
}

.feature-list i {
  color: #48bb78;
  font-size: 1.1rem;
}

/* Steps Container */
.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #667eea;
}

.step-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a202c;
}

.step-card p {
  color: #4a5568;
  line-height: 1.6;
}

.step-arrow {
  font-size: 2rem;
  color: #cbd5e0;
}

/* Comparison Table */
.comparison-table {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.comparison-table th {
  padding: 20px;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
}

.comparison-table td {
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 1rem;
}

.comparison-table tbody tr:hover {
  background: #f7fafc;
}

.comparison-table .highlight {
  background: rgba(102, 126, 234, 0.05);
  font-weight: 600;
}

.comparison-table i {
  font-size: 1.3rem;
}

.text-success {
  color: #48bb78;
}

.text-danger {
  color: #f56565;
}

/* Use Cases Grid */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.use-case-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.use-case-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.use-case-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a202c;
}

.use-case-card p {
  color: #4a5568;
  line-height: 1.7;
}

/* FAQ Section */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a202c;
  margin: 0;
}

.faq-question i {
  color: #667eea;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px;
}

.faq-answer p {
  color: #4a5568;
  line-height: 1.7;
  font-size: 1rem;
}

/* CTA Section */
.feature-cta {
  padding: 100px 0;
  background: none;
  color: #1a202c;
  text-align: center;
  position: relative;
  margin-bottom: 0;
}

.cta-content {
  position: relative;
}

.feature-cta .container {
  position: relative;
}

.feature-cta h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a202c;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.feature-cta > .cta-content > p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #4a5568;
  font-weight: 400;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.feature-cta .cta-buttons .btn,
.feature-cta .cta-buttons .ecomtech-gradient-btn,
.feature-cta .cta-buttons .btn-secondary {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.feature-cta .cta-buttons .ecomtech-gradient-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

.feature-cta .cta-buttons .ecomtech-gradient-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.feature-cta .cta-buttons .btn-secondary {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.feature-cta .cta-buttons .btn-secondary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
}

.cta-note {
  font-size: 0.95rem;
  color: #718096;
  font-weight: 400;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-icon-large {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }

  .feature-icon-large i {
    font-size: 100px;
  }

  .feature-showcase-item,
  .feature-showcase-item.reverse {
    grid-template-columns: 150px 1fr;
    gap: 30px;
  }

  .showcase-icon {
    width: 150px;
    height: 150px;
    font-size: 60px;
  }

  .steps-container {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .feature-hero {
    padding: 80px 0 60px;
  }

  .feature-hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .section-header p {
    font-size: 1.1rem;
  }

  .feature-showcase-item,
  .feature-showcase-item.reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .showcase-icon {
    width: 120px;
    height: 120px;
    font-size: 50px;
    margin: 0 auto;
  }

  .feature-showcase-item.reverse .showcase-icon {
    order: 1;
  }

  .feature-showcase-item.reverse .showcase-content {
    order: 2;
  }

  .showcase-content h3 {
    font-size: 1.6rem;
    text-align: center;
  }

  .showcase-content > p {
    text-align: center;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table table {
    min-width: 600px;
  }

  .feature-cta h2 {
    font-size: 2.2rem;
    letter-spacing: -0.3px;
  }

  .feature-cta > .cta-content > p {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .feature-cta .cta-buttons .btn,
  .feature-cta .cta-buttons .ecomtech-gradient-btn,
  .feature-cta .cta-buttons .btn-secondary {
    width: 100%;
    padding: 14px 32px;
    font-size: 1rem;
  }

  .cta-note {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .feature-hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .feature-icon-large {
    width: 200px;
    height: 200px;
  }

  .feature-icon-large i {
    font-size: 80px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .benefit-card,
  .use-case-card {
    padding: 30px 20px;
  }

  .showcase-content h3 {
    font-size: 1.4rem;
  }

  .step-card {
    padding: 30px 20px;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-question h3 {
    font-size: 1.1rem;
  }

  .feature-cta h2 {
    font-size: 1.8rem;
    letter-spacing: -0.2px;
  }

  .feature-cta > .cta-content > p {
    font-size: 1rem;
  }

  .feature-cta .cta-buttons .btn,
  .feature-cta .cta-buttons .ecomtech-gradient-btn,
  .feature-cta .cta-buttons .btn-secondary {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .cta-note {
    font-size: 0.85rem;
  }
}

/* Feature Tabs */
.feature-tabs {
  margin-top: 40px;
}

.tabs-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 14px 28px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  border-color: #667eea;
  color: #667eea;
  transform: translateY(-2px);
}

.tab-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
}

.tabs-content {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 12px;
  background: #f7fafc;
  border-radius: 8px;
  font-weight: 500;
  color: #2d3748;
}

.feature-item i {
  color: #48bb78;
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
  border: 3px solid #667eea;
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.pricing-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a202c;
}

.pricing-price {
  margin-bottom: 2rem;
}

.pricing-price .currency {
  font-size: 1.5rem;
  color: #667eea;
  font-weight: 600;
}

.pricing-price .amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1a202c;
}

.pricing-price .period {
  font-size: 1.1rem;
  color: #4a5568;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #2d3748;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: #48bb78;
  font-size: 1.1rem;
}

.pricing-card .btn {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.quote-icon {
  color: #667eea;
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.testimonial-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2d3748;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 2px solid #e2e8f0;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 2rem;
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.95rem;
  color: #4a5568;
  margin: 0;
}

.cta-note-center {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.1rem;
  color: #4a5568;
}

.hero-note {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 1.5rem;
}
