/* PRODUCTS PAGE STYLES - All classes prefixed with 'products-' or 'product-' */
.products-main {
  padding-top: 70px;
  min-height: 100vh;
  background: var(--dark);
}

/* Header Section */
.products-header-section {
  text-align: center;
  padding: 80px 20px 40px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.products-header-title {
  font-size: clamp(42px, 7vw, 64px);
  margin-bottom: 20px;
  color: var(--text);
}

.products-header-title span {
  color: var(--orange);
  position: relative;
  display: inline-block;
}

.products-header-title span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255, 107, 53, 0.2);
  z-index: -1;
}

.products-header-subtitle {
  color: var(--light);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Featured Products */
.products-featured {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 20px;
}

.products-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-featured-card {
  background: var(--dark2);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.product-featured-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.product-featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--orange);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.product-featured-content {
  padding: 40px;
}

.product-featured-header {
  text-align: center;
  margin-bottom: 30px;
}

.product-featured-icon {
  font-size: 48px;
  width: 80px;
  height: 80px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid var(--orange);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--orange);
}

.product-featured-title {
  font-size: 32px;
  color: var(--text);
  margin-bottom: 10px;
}

.product-featured-subtitle {
  color: var(--light);
  font-size: 16px;
}

/* Interactive Demos */
.product-interactive-demo {
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.demo-container {
  background: rgba(22, 22, 22, 0.95);
  border-radius: 15px;
  padding: 15px;
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.demo-logo {
  color: var(--orange);
  font-weight: bold;
  font-size: 14px;
}

.demo-stats, .demo-cart {
  font-size: 14px;
  position: relative;
}

.demo-count {
  background: var(--orange);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 5px;
}

/* CRM Demo */
.demo-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.demo-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 8px;
  font-size: 12px;
}

.contact-avatar {
  font-size: 16px;
  width: 24px;
  text-align: center;
}

.contact-name {
  flex: 1;
  color: var(--text);
}

.contact-value {
  color: var(--orange);
  font-weight: 600;
}

/* E-Commerce Demo */
.demo-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}

.demo-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 8px;
  font-size: 11px;
}

.product-emoji {
  font-size: 20px;
}

.product-name {
  color: var(--text);
  font-weight: 500;
}

.product-price {
  color: var(--orange);
  font-weight: 600;
}

.demo-add {
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-add:hover {
  background: var(--orange);
  color: white;
}

.demo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.demo-total {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.demo-total-value {
  color: var(--orange);
}

.demo-action {
  background: var(--orange);
  color: white;
  border: none;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-action:hover:not(:disabled) {
  transform: scale(1.05);
}

.demo-action:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Features Grid */
.product-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.feature-block h4 {
  color: var(--orange);
  font-size: 16px;
  margin-bottom: 15px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  color: var(--light);
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

/* Pricing */
.product-pricing {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  padding: 25px;
}

.pricing-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.pricing-option {
  position: relative;
  text-align: center;
  padding: 15px;
  background: var(--dark);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 15px;
}

.pricing-option.popular {
  border: 2px solid var(--orange);
  background: rgba(255, 107, 53, 0.05);
}

.pricing-name {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 8px;
}

.pricing-price {
  display: block;
  color: var(--orange);
  font-size: 24px;
  font-weight: 700;
}

.pricing-period {
  color: var(--light);
  font-size: 11px;
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.product-actions {
  display: flex;
  gap: 15px;
}

.product-btn {
  flex: 1;
  padding: 12px;
  text-align: center;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.product-btn.primary {
  background: var(--orange);
  color: white;
}

.product-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.product-btn.secondary {
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
}

.product-btn.secondary:hover {
  background: var(--orange);
  color: white;
}

/* Mini Products Grid */
.products-grid-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.products-grid-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--text);
}

.products-grid-title span {
  color: var(--orange);
}

.products-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-mini-card {
  background: var(--dark2);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 20px;
  padding: 25px;
  transition: all 0.3s ease;
}

.product-mini-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
}

.mini-icon {
  font-size: 36px;
  margin-bottom: 15px;
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid var(--orange);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-title {
  color: var(--text);
  font-size: 20px;
  margin-bottom: 10px;
}

.mini-desc {
  color: var(--light);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.mini-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.mini-features span {
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 10px;
  color: var(--light);
}

.mini-link {
  color: var(--orange);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Comparison Table */
.products-comparison {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.comparison-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--text);
}

.comparison-title span {
  color: var(--orange);
}

.comparison-table {
  background: var(--dark2);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 20px;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  padding: 20px;
  text-align: left;
  color: var(--orange);
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.comparison-table td {
  padding: 15px 20px;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .check {
  color: #00cc88;
  font-weight: bold;
}

.comparison-table .dash {
  color: var(--light);
}

/* FAQ Section */
.products-faq {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.faq-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--text);
}

.faq-title span {
  color: var(--orange);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--dark2);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 15px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-question:hover {
  background: rgba(255, 107, 53, 0.05);
}

.faq-icon {
  color: var(--orange);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--light);
  line-height: 1.7;
  font-size: 14px;
}

.faq-item.active .faq-answer {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Final CTA */
.products-final-cta {
  background: linear-gradient(135deg, var(--orange), #ff8c5a);
  padding: 80px 20px;
  text-align: center;
}

.final-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.final-cta-title {
  color: white;
  font-size: 32px;
  margin-bottom: 15px;
}

.final-cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 30px;
}

.final-cta-btn {
  display: inline-block;
  padding: 15px 50px;
  background: white;
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.final-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
  .products-featured-grid {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .products-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .pricing-options {
    grid-template-columns: 1fr;
  }
  
  .product-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .products-header-title {
    font-size: 36px;
  }
  
  .products-mini-grid {
    grid-template-columns: 1fr;
  }
  
  .product-featured-content {
    padding: 25px;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .comparison-table {
    font-size: 12px;
  }
  
  .faq-question {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .product-featured-title {
    font-size: 24px;
  }
  
  .demo-products {
    grid-template-columns: 1fr;
  }
  
  .final-cta-title {
    font-size: 24px;
  }
}