/* =============================================
   PRODUCT PAGES - ADDITIONAL STYLES
   ============================================= */

/* Theme Colors */
.easyfac-theme { --product-color: #f59e0b; --product-glow: rgba(245, 158, 11, 0.3); }
.easystock-theme { --product-color: #10b981; --product-glow: rgba(16, 185, 129, 0.3); }
.easypos-theme { --product-color: #ec4899; --product-glow: rgba(236, 72, 153, 0.3); }
.easycompras-theme { --product-color: #0ea5e9; --product-glow: rgba(14, 165, 233, 0.3); }
.easycrm-theme { --product-color: #8b5cf6; --product-glow: rgba(139, 92, 246, 0.3); }
.easyso-theme { --product-color: #14b8a6; --product-glow: rgba(20, 184, 166, 0.3); }

.text-easyfac { color: #f59e0b; }
.text-easystock { color: #10b981; }
.text-easypos { color: #ec4899; }
.text-easycompras { color: #0ea5e9; }
.text-easycrm { color: #8b5cf6; }
.text-easyso { color: #14b8a6; }

/* Product Hero */
.product-hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.product-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.product-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--product-glow), transparent 60%);
}

.product-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.product-hero > .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--product-color);
}

.product-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon svg {
  width: 28px;
  height: 28px;
}

.product-icon.easyfac { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.product-icon.easystock { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.product-icon.easypos { background: rgba(236, 72, 153, 0.15); color: #ec4899; }
.product-icon.easycompras { background: rgba(14, 165, 233, 0.15); color: #0ea5e9; }
.product-icon.easycrm { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.product-icon.easyso { background: rgba(20, 184, 166, 0.15); color: #14b8a6; }

.badge-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--product-color);
}

.product-title {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.product-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 550px;
}

.product-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.btn-easyfac {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-easyfac:hover {
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.btn-easystock {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-easypos {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: white;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.btn-easycompras {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.btn-easycrm {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-easyso {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: white;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
}

.btn-easyso:hover {
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
}

.product-stats {
  display: flex;
  gap: 48px;
}

.pstat {
  text-align: left;
}

.pstat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pstat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Product Mockup */
.product-hero-visual {
  position: relative;
}

.product-mockup {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.product-mockup img {
  width: 100%;
  display: block;
}

/* Features Showcase */
.product-features {
  padding: 120px 0;
}

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

.feature-item {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.feature-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.feature-icon-lg {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-lg svg {
  width: 32px;
  height: 32px;
}

.feature-icon-lg.easyfac { background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1)); color: #f59e0b; }
.feature-icon-lg.easystock { background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1)); color: #10b981; }
.feature-icon-lg.easypos { background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.1)); color: #ec4899; }
.feature-icon-lg.easycompras { background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(14, 165, 233, 0.1)); color: #0ea5e9; }
.feature-icon-lg.easycrm { background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1)); color: #8b5cf6; }
.feature-icon-lg.easyso { background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(20, 184, 166, 0.1)); color: #14b8a6; }

.feature-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-text p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Document Types */
.product-docs {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.doc-card {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.doc-card:hover {
  border-color: var(--product-color);
  transform: translateY(-4px);
}

.doc-icon {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--product-color);
  margin-bottom: 16px;
}

.doc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.doc-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Product CTA */
.product-cta-section {
  padding: 120px 0;
}

.cta-box {
  text-align: center;
  padding: 80px;
  background: linear-gradient(135deg, var(--product-color), color-mix(in srgb, var(--product-color) 80%, black));
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0,0,0,0.1) 0%, transparent 50%);
}

.cta-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bg-primary);
  margin-bottom: 12px;
  position: relative;
}

.cta-box p {
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 32px;
  position: relative;
}

.cta-box .btn {
  position: relative;
}

/* Responsive */
@media (max-width: 1200px) {
  .product-hero > .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .product-subtitle {
    max-width: 100%;
  }
  
  .product-cta {
    justify-content: center;
  }
  
  .product-stats {
    justify-content: center;
  }
  
  .product-hero-visual {
    display: none;
  }
}

@media (max-width: 992px) {
  .product-title {
    font-size: 3.5rem;
  }
  
  .features-showcase {
    grid-template-columns: 1fr;
  }
  
  .docs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-title {
    font-size: 2.5rem;
  }
  
  .product-cta {
    flex-direction: column;
  }
  
  .product-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-box {
    padding: 48px 24px;
  }
  
  .cta-box h2 {
    font-size: 1.75rem;
  }
}
