/* E-COMMERCE SUITE PAGE STYLES - All classes prefixed with 'ecom-' */
.ecom-main {
  padding-top: 70px;
  min-height: 100vh;
  background: var(--dark);
}

/* Header Section */
.ecom-header-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
}

.ecom-header-content {
  flex: 1;
  padding: 0 5%;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.ecom-header-title {
  font-size: clamp(48px, 8vw, 72px);
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.2;
}

.ecom-header-title span {
  color: var(--orange);
  position: relative;
  display: inline-block;
}

.ecom-header-title span::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255,107,53,0.2);
  z-index: -1;
}

.ecom-header-subtitle {
  color: var(--light);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 600px;
}

.ecom-header-badges {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.ecom-header-badges .badge {
  padding: 8px 16px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 30px;
  color: var(--orange);
  font-size: 14px;
}

.ecom-header-visual {
  flex: 1;
  height: 80vh;
  position: relative;
}

#ecomCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Overview Section */
.ecom-overview-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.ecom-overview-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ecom-overview-title {
  font-size: 42px;
  margin-bottom: 25px;
  color: var(--text);
}

.ecom-overview-title span {
  color: var(--orange);
}

.ecom-overview-text {
  color: var(--light);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.ecom-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ecom-stat {
  text-align: center;
}

.ecom-stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 5px;
}

.ecom-stat-label {
  color: var(--light);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Store Preview */
.ecom-store-preview {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.store-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,107,53,0.2);
}

.store-logo {
  color: var(--orange);
  font-weight: 600;
  font-size: 18px;
}

.store-cart {
  position: relative;
  font-size: 24px;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--orange);
  color: white;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-product {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 10px;
}

.product-image {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

.product-details {
  flex: 1;
}

.product-name {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 3px;
}

.product-price {
  color: var(--orange);
  font-size: 16px;
  font-weight: 600;
}

/* Features Section */
.ecom-features-section {
  background: var(--dark2);
  padding: 80px 20px;
  border-top: 1px solid rgba(255,107,53,0.1);
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.ecom-features-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.ecom-features-title span {
  color: var(--orange);
}

.ecom-features-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.ecom-feature-card {
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
}

.ecom-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(255,107,53,0.2);
}

.ecom-feature-card .feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.ecom-feature-card .feature-name {
  color: var(--orange);
  font-size: 22px;
  margin-bottom: 15px;
}

.ecom-feature-card .feature-desc {
  color: var(--light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.ecom-feature-card .feature-list {
  list-style: none;
  padding: 0;
}

.ecom-feature-card .feature-list li {
  color: var(--text);
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

/* Interactive Demo */
.ecom-demo-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.ecom-demo-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--text);
}

.ecom-demo-title span {
  color: var(--orange);
}

.ecom-demo-subtitle {
  text-align: center;
  color: var(--light);
  font-size: 18px;
  margin-bottom: 40px;
}

.ecom-demo-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 30px;
}

.ecom-demo-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.demo-product-card {
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.demo-product-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 10px 20px rgba(255,107,53,0.2);
}

.demo-product-image {
  font-size: 48px;
  margin-bottom: 15px;
}

.demo-product-name {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 8px;
}

.demo-product-price {
  color: var(--orange);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.demo-add-to-cart {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--orange);
  border-radius: 8px;
  color: var(--orange);
  cursor: pointer;
  transition: all 0.3s ease;
}

.demo-add-to-cart:hover {
  background: var(--orange);
  color: white;
}

.ecom-demo-cart {
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 15px;
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.cart-title {
  color: var(--text);
  font-size: 18px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-count-badge {
  background: var(--orange);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
}

.cart-items {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.cart-empty {
  text-align: center;
  color: var(--light);
  padding: 20px;
  font-size: 14px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 8px;
  margin-bottom: 8px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  display: block;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 3px;
}

.cart-item-price {
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
}

.cart-item-remove {
  background: transparent;
  border: 1px solid #ff4444;
  color: #ff4444;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cart-item-remove:hover {
  background: #ff4444;
  color: white;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid rgba(255,107,53,0.2);
  border-bottom: 1px solid rgba(255,107,53,0.2);
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 600;
}

.total-amount {
  color: var(--orange);
  font-size: 20px;
}

.cart-checkout {
  width: 100%;
  padding: 12px;
  background: var(--orange);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.cart-checkout:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255,107,53,0.3);
}

.cart-checkout:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cart-clear {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--light);
  border-radius: 8px;
  color: var(--light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-clear:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Payment Gateways */
.ecom-payments-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.ecom-payments-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.ecom-payments-title span {
  color: var(--orange);
}

.ecom-payments-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px;
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.payment-item:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  background: rgba(255,107,53,0.05);
}

.payment-logo {
  font-size: 28px;
}

.payment-name {
  color: var(--text);
  font-size: 11px;
  text-align: center;
}

/* Shipping Integrations */
.ecom-shipping-section {
  background: var(--dark2);
  padding: 80px 20px;
  border-top: 1px solid rgba(255,107,53,0.1);
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.ecom-shipping-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.ecom-shipping-title span {
  color: var(--orange);
}

.ecom-shipping-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.shipping-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.shipping-item:hover {
  transform: translateX(5px);
  border-color: var(--orange);
  background: rgba(255,107,53,0.05);
}

.shipping-logo {
  font-size: 24px;
}

.shipping-name {
  color: var(--text);
  font-size: 13px;
}

/* Pricing */
.ecom-pricing-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.ecom-pricing-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--text);
}

.ecom-pricing-title span {
  color: var(--orange);
}

.ecom-pricing-subtitle {
  text-align: center;
  color: var(--light);
  font-size: 18px;
  margin-bottom: 50px;
}

.ecom-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.pricing-card {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(255,107,53,0.2);
}

.pricing-card.featured {
  border: 2px solid var(--orange);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  padding: 4px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,107,53,0.2);
}

.pricing-name {
  color: var(--orange);
  font-size: 24px;
  margin-bottom: 15px;
}

.pricing-price {
  margin-bottom: 10px;
}

.currency {
  color: var(--light);
  font-size: 18px;
  vertical-align: top;
}

.amount {
  color: var(--text);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.period {
  color: var(--light);
  font-size: 14px;
}

.pricing-desc {
  color: var(--light);
  font-size: 14px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.pricing-features li {
  color: var(--text);
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 12px;
  background: transparent;
  border: 2px solid var(--orange);
  border-radius: 10px;
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pricing-btn.primary {
  background: var(--orange);
  color: white;
}

.pricing-btn:hover {
  background: var(--orange);
  color: white;
}

.pricing-note {
  text-align: center;
  color: var(--light);
  font-size: 14px;
}

/* Case Studies */
.ecom-case-section {
  background: var(--dark2);
  padding: 80px 20px;
  border-top: 1px solid rgba(255,107,53,0.1);
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.ecom-case-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.ecom-case-title span {
  color: var(--orange);
}

.ecom-case-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.case-card {
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(255,107,53,0.2);
}

.case-image {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-icon {
  font-size: 48px;
}

.case-content {
  padding: 25px;
}

.case-name {
  color: var(--orange);
  font-size: 20px;
  margin-bottom: 10px;
}

.case-desc {
  color: var(--light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.case-metrics {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.metric {
  padding: 4px 12px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 20px;
  color: var(--orange);
  font-size: 11px;
}

/* Testimonials */
.ecom-testimonials-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.ecom-testimonials-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.ecom-testimonials-title span {
  color: var(--orange);
}

.ecom-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-card {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 25px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.testimonial-rating {
  color: #ffd700;
  font-size: 16px;
  margin-bottom: 15px;
}

.testimonial-text {
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--orange);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.author-info {
  flex: 1;
}

.author-name {
  display: block;
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
}

.author-title {
  color: var(--light);
  font-size: 11px;
}

/* FAQ */
.ecom-faq-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.ecom-faq-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.ecom-faq-title span {
  color: var(--orange);
}

.ecom-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ecom-faq-item {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 15px;
  overflow: hidden;
}

.ecom-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;
}

.ecom-faq-question:hover {
  background: rgba(255,107,53,0.05);
}

.ecom-faq-icon {
  color: var(--orange);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.ecom-faq-item.active .ecom-faq-icon {
  transform: rotate(45deg);
}

.ecom-faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--light);
  line-height: 1.7;
  font-size: 14px;
}

.ecom-faq-item.active .ecom-faq-answer {
  display: block;
  animation: slideDown 0.3s ease;
}

/* CTA */
.ecom-cta-section {
  background: linear-gradient(135deg, var(--orange), #ff8c5a);
  padding: 80px 20px;
  text-align: center;
}

.ecom-cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.ecom-cta-title {
  color: white;
  font-size: 42px;
  margin-bottom: 20px;
}

.ecom-cta-title span {
  color: rgba(255,255,255,0.9);
}

.ecom-cta-text {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  margin-bottom: 30px;
}

.ecom-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.ecom-cta-btn {
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.ecom-cta-btn.primary {
  background: white;
  color: var(--orange);
}

.ecom-cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ecom-cta-btn.secondary {
  border: 2px solid white;
  color: white;
}

.ecom-cta-btn.secondary:hover {
  background: white;
  color: var(--orange);
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .ecom-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ecom-payments-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .ecom-shipping-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .ecom-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ecom-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ecom-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ecom-pricing-card:last-child {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .ecom-demo-container {
    grid-template-columns: 1fr;
  }
  
  .ecom-demo-cart {
    position: static;
  }
}

@media (max-width: 992px) {
  .ecom-header-section {
    flex-direction: column;
    min-height: auto;
  }
  
  .ecom-header-content {
    padding: 60px 20px 40px;
    text-align: center;
  }
  
  .ecom-header-badges {
    justify-content: center;
  }
  
  .ecom-header-visual {
    width: 100%;
    height: 400px;
  }
  
  .ecom-overview-container {
    grid-template-columns: 1fr;
  }
  
  .ecom-demo-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ecom-features-grid {
    grid-template-columns: 1fr;
  }
  
  .ecom-payments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ecom-shipping-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ecom-case-grid {
    grid-template-columns: 1fr;
  }
  
  .ecom-testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .ecom-pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .ecom-pricing-card:last-child {
    grid-column: auto;
  }
  
  .ecom-cta-buttons {
    flex-direction: column;
  }
  
  .ecom-overview-stats {
    grid-template-columns: 1fr;
  }
  
  .ecom-demo-products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ecom-header-title {
    font-size: 36px;
  }
  
  .ecom-header-subtitle {
    font-size: 16px;
  }
  
  .ecom-header-badges .badge {
    font-size: 12px;
    padding: 5px 10px;
  }
  
  .ecom-overview-title {
    font-size: 32px;
  }
  
  .shipping-item {
    flex-direction: column;
    text-align: center;
  }
}