/* Product Page Styles */

.product-page {
  padding-top: 80px;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Product Hero */
.product-hero {
  height: calc(100vh - 160px);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 2rem;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.product-hero-content {
  animation: fadeUp 0.8s ease;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 92, 191, 0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.product-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 0.8rem;
}

.product-hero h1 .line1 {
  display: block;
  background: linear-gradient(135deg, var(--accent), var(--purple2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-hero h1 .line2 {
  display: block;
  color: var(--text);
}

.product-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Price Box */
.product-price-box {
  background: rgba(13, 10, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  backdrop-filter: blur(10px);
}

.price-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.price-option {
  position: relative;
  padding: 0.8rem 0.6rem;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.price-option:hover {
  border-color: var(--purple2);
  transform: translateY(-2px);
}

.price-option.active {
  border-color: var(--purple);
  background: rgba(124, 92, 191, 0.15);
}

.price-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 10px;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.price-period {
  font-size: 0.85rem;
  color: var(--muted);
}

.btn-buy-product {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 8px 24px rgba(124, 92, 191, 0.4);
}

.btn-buy-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(124, 92, 191, 0.6);
}

/* Product Screenshots */
.product-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-screenshots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  max-width: 700px;
}

.screenshot-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  animation-delay: var(--delay);
  aspect-ratio: 16/10;
  position: relative;
  cursor: pointer;
}

.screenshot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 2rem;
  color: white;
}

.screenshot-item:hover {
  transform: scale(1.05) translateY(-5px);
  border-color: var(--purple2);
  box-shadow: 0 10px 30px rgba(124, 92, 191, 0.4);
}

.screenshot-item:hover .screenshot-overlay {
  opacity: 1;
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Specs Compact */
.product-specs-compact {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 10%);
  max-width: 1400px;
}

.specs-inline {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0.8rem 1.5rem;
  background: rgba(13, 10, 26, 0.8);
  border: 1px solid var(--border);
  border-radius: 50px;
  backdrop-filter: blur(20px);
}

.spec-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.spec-inline i {
  color: var(--purple2);
  font-size: 1.1rem;
}

/* Features Section */
.product-features {
  padding: 6rem 5%;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(13, 10, 26, 0.3);
}

.product-features h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 4rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: rgba(13, 10, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: var(--purple);
  transform: translateX(10px);
}

.feature-icon {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 92, 191, 0.15);
  border-radius: 16px;
  flex-shrink: 0;
}

.feature-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-content p {
  color: var(--muted);
  line-height: 1.7;
}

/* CTA Section */
.product-cta {
  padding: 8rem 5%;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.product-cta h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.product-cta p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.btn-cta {
  padding: 1.5rem 3rem;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 12px 40px rgba(124, 92, 191, 0.4);
}

.btn-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(124, 92, 191, 0.6);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: fadeIn 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(124, 92, 191, 0.2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(124, 92, 191, 0.4);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(124, 92, 191, 0.2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-nav:hover {
  background: rgba(124, 92, 191, 0.4);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Extended Features Section */
.product-features-extended {
  padding: 4rem 5%;
  background: rgba(7, 5, 15, 0.5);
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 3rem;
}

.features-header .section-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple2);
  font-weight: 600;
  margin-bottom: 1rem;
}

.features-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
}

.features-grid-extended {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-extended {
  background: rgba(13, 10, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-extended:hover {
  border-color: var(--purple2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(124, 92, 191, 0.3);
}

.feature-icon-large {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-extended h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-extended p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Detailed Info Section */
.product-info-detailed {
  padding: 5rem 5%;
  background: linear-gradient(180deg, rgba(7, 5, 15, 0.5) 0%, rgba(13, 10, 26, 0.8) 100%);
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
}

.info-container .section-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple2);
  font-weight: 600;
  margin-bottom: 1rem;
}

.info-container h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.info-block {
  background: rgba(13, 10, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.info-block:hover {
  border-color: var(--purple2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(124, 92, 191, 0.3);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-header i {
  font-size: 2rem;
  color: var(--purple);
}

.info-header h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 0.75rem 0;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list li i {
  color: var(--accent-green);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* FAQ Section */
.product-faq {
  padding: 5rem 5%;
  background: rgba(7, 5, 15, 0.3);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-container .section-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple2);
  font-weight: 600;
  margin-bottom: 1rem;
}

.faq-container h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(13, 10, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--purple2);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
  opacity: 1;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.faq-question i {
  color: var(--purple);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  padding: 0 1.5rem;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* CTA Section */
.product-cta-section {
  padding: 6rem 5%;
  background: linear-gradient(180deg, rgba(13, 10, 26, 0.8) 0%, rgba(7, 5, 15, 0.5) 100%);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--purple2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.btn-cta-large {
  padding: 1.5rem 3.5rem;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 12px 40px rgba(124, 92, 191, 0.5);
}

.btn-cta-large:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(124, 92, 191, 0.7);
}

.cta-social {
  display: flex;
  gap: 1rem;
}

.btn-social {
  padding: 0.75rem 1.5rem;
  background: rgba(13, 10, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-family: 'DM Sans', sans-serif;
}

.btn-social:hover {
  border-color: var(--purple);
  background: rgba(124, 92, 191, 0.1);
  transform: translateY(-2px);
}

.btn-social i {
  font-size: 1.2rem;
  color: var(--purple);
}

@media (max-width: 768px) {
  .cta-social {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-social {
    justify-content: center;
  }
}

.cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  padding: 1.5rem;
  background: rgba(13, 10, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Enhanced Lightbox */
.lightbox-overlay {
  backdrop-filter: blur(20px);
}

.lightbox-image {
  cursor: default;
  transition: transform 0.3s ease;
}

.lightbox-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  background: rgba(13, 10, 26, 0.9);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* Footer override for product page */
.product-page ~ footer {
  padding: 1.5rem 5%;
  min-height: auto;
}

/* Responsive */
@media (max-width: 968px) {
  .features-grid-extended {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-stats {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 968px) {
  .product-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-hero-image {
    order: -1;
  }

  .product-preview {
    width: 300px;
    height: 300px;
  }

  .product-preview i {
    font-size: 8rem;
  }

  .price-options {
    grid-template-columns: 1fr;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto;
  }
}
