/* ===== Product Detail Page Styles ===== */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* ===== Page Container ===== */
.product-detail-page {
  min-height: 100vh;
  background: transparent;
}

.product-detail-layout {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* .back-btn is now in design-system.css (global canonical style) */

/* ===== Product Hero Section ===== */
.product-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.dark-theme .product-hero {
  background: linear-gradient(135deg, rgba(159, 122, 234, 0.1) 0%, rgba(107, 70, 193, 0.1) 100%);
}

.service-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.service-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.service-icon i {
  font-size: 3rem;
  color: white;
}

.product-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark-theme .product-hero h1 {
  background: linear-gradient(135deg, #9f7aea 0%, #6b46c1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-hero p {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.dark-theme .product-hero p {
  color: #ccc;
}

.product-price {
  font-size: 2rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 50px;
  display: inline-block;
}

.dark-theme .product-price {
  color: #9f7aea;
  background: rgba(159, 122, 234, 0.1);
}

/* ===== Section Headers ===== */
h2 {
  font-size: 2rem;
  margin: 3rem 0 2rem;
  color: #333;
  position: relative;
  padding-bottom: 0.5rem;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 3px;
}

.dark-theme h2 {
  color: #fff;
}

h2:first-of-type {
  margin-top: 0;
}

/* ===== Offerings/Features Grid ===== */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.offering-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dark-theme .offering-card {
  background: #1a1a2e;
  border-color: rgba(255, 255, 255, 0.05);
}

.offering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.offering-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.dark-theme .offering-card h4 {
  color: #fff;
}

.offering-card h4 i {
  color: #667eea;
  font-size: 1.5rem;
}

.dark-theme .offering-card h4 i {
  color: #9f7aea;
}

.offering-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offering-card li {
  padding: 0.5rem 0;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dark-theme .offering-card li {
  color: #ccc;
}

.offering-card li:before {
  content: '✓';
  color: #667eea;
  font-weight: 700;
  margin-right: 0.5rem;
}

.dark-theme .offering-card li:before {
  color: #9f7aea;
}

/* ===== Product Screenshots Grid ===== */
.product-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.product-screenshot-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.product-screenshot-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-screenshot-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.product-screenshot-box:hover::before {
  opacity: 1;
}

.product-screenshot-box i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
  transition: transform 0.3s ease;
}

.product-screenshot-box:hover i {
  transform: scale(1.1);
}

.product-screenshot-box span {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
}

/* ===== Demo Request Section ===== */
.product-demo-gradient {
  margin-top: 4rem;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.product-demo-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    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;
}

.demo-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.product-demo-gradient p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.product-demo-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: white;
  color: #667eea;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-demo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #764ba2;
}

.product-demo-btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.product-demo-btn:hover i {
  transform: translateX(5px);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .offerings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-detail-layout {
    padding: 1rem;
  }
  
  .product-hero h1 {
    font-size: 2rem;
  }
  
  .product-hero p {
    font-size: 1rem;
  }
  
  .product-price {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .product-screenshots-grid {
    grid-template-columns: 1fr;
  }
  
  .product-screenshot-box {
    padding: 2rem;
  }
  
  .demo-title {
    font-size: 1.5rem;
  }
  
  .product-demo-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .service-icon {
    width: 80px;
    height: 80px;
  }
  
  .service-icon i {
    font-size: 2rem;
  }
  
  .product-hero h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .offering-card {
    padding: 1.5rem;
  }
  
  .offering-card h4 {
    font-size: 1.2rem;
  }
  
  .product-demo-gradient {
    padding: 3rem 1rem;
  }
  
}

/* ===== Accessibility ===== */
.offering-card:focus-visible,
.product-screenshot-box:focus-visible,
.product-demo-btn:focus-visible {
  outline: 3px solid #667eea;
  outline-offset: 2px;
}

/* ===== Print Styles ===== */
@media print {
  .product-demo-gradient,
  .product-demo-btn {
    display: none;
  }
  
  .offering-card,
  .product-screenshot-box {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}