/* =====================
   Project Detail Page Styles
   ===================== */

/* Back Navigation */
.back-nav {
  padding: 1.5rem 0;
  background: transparent;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.back-link:hover {
  color: var(--accent);
  background: rgba(var(--accent-rgb, 244, 182, 37), 0.1);
  border-color: rgba(var(--accent-rgb, 244, 182, 37), 0.2);
  transform: translateX(-2px);
}

.back-link svg {
  transition: transform 0.3s ease;
}

.back-link:hover svg {
  transform: translateX(-2px);
}

/* Product Hero */
.product-hero {
  padding: 4rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--grad-soft);
  opacity: 0.3;
  z-index: -1;
}

.product-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.product-hero-content {
  max-width: 100%;
}

.product-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.project-category {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-status {
  margin-left: auto;
}

.status-badge {
  background: rgba(var(--accent-rgb, 244, 182, 37), 0.1);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(var(--accent-rgb, 244, 182, 37), 0.2);
}

.project-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.project-subtitle {
  font-size: 1.2rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.project-tech-stack {
  margin-bottom: 2rem;
}

.project-tech-stack h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-item {
  background: rgba(var(--accent-rgb, 244, 182, 37), 0.1);
  color: var(--accent);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(var(--accent-rgb, 244, 182, 37), 0.2);
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: var(--accent);
  color: var(--text-inv);
  transform: translateY(-1px);
}

.project-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Project Hero Visual */
.project-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-mockup {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.mockup-screen {
  width: 100%;
  height: 300px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.mockup-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb, 244, 182, 37), 0.2), transparent 70%);
  border-radius: calc(var(--radius) + 20px);
  z-index: -1;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.02); }
}

/* Project Content Sections */
.project-content {
  padding: 4rem 0;
}

.project-section {
  margin-bottom: 6rem;
  position: relative;
}

.project-section.alternate {
  background: var(--surface-alt);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 4rem 0;
}

.project-section.alternate .section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-content {
  max-width: 100%;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* Overview Grid */
.overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.overview-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dim);
}

.project-highlights {
  margin-top: 2rem;
}

.project-highlights h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.project-highlights ul {
  list-style: none;
  padding: 0;
}

.project-highlights li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dim);
}

.project-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.project-stats {
  display: grid;
  gap: 1.5rem;
}

.stat-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--accent-rgb, 244, 182, 37), 0.3);
}

.stat-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0;
}

/* Challenge & Solution Cards */
.challenge-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.challenge-card,
.solution-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.4s ease;
}

.challenge-card:hover,
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.challenge-icon {
  background: rgba(255, 87, 87, 0.1);
  color: #ff5757;
}

.solution-icon {
  background: rgba(46, 213, 115, 0.1);
  color: #2ed573;
}

.card-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

/* Development Process Timeline */
.process-timeline {
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.process-step {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft 0.6s ease-out forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

.process-step::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 3px var(--border);
}

.process-step h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.process-step p {
  color: var(--text-dim);
  line-height: 1.6;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  transition: all 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: white;
  font-weight: 500;
}

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.results-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.metric-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--accent-rgb, 244, 182, 37), 0.3);
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

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

.testimonial-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: "\"";
  position: absolute;
  top: -10px;
  left: 1rem;
  font-size: 4rem;
  color: var(--accent);
  font-family: serif;
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-dim);
}

.testimonial-author {
  font-weight: 600;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Related Projects */
.related-projects {
  padding: 4rem 0;
  background: var(--surface-alt);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.related-project-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
  color: inherit;
}

.related-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.15);
  border-color: rgba(var(--accent-rgb, 244, 182, 37), 0.3);
}

.related-project-image {
  height: 200px;
  background: var(--surface-alt);
  position: relative;
  overflow: hidden;
}

.related-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-project-card:hover .related-project-image img {
  transform: scale(1.05);
}

.related-project-content {
  padding: 1.5rem;
}

.related-project-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.related-project-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
}

.projects-cta {
  text-align: center;
}

/* CTA Section */
.project-cta-section {
  padding: 4rem 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .project-detail-hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .challenge-solution-grid {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .project-detail-hero {
    padding: 2rem 0 4rem;
  }

  .project-title {
    font-size: 2rem;
  }

  .project-subtitle {
    font-size: 1rem;
  }

  .project-actions {
    justify-content: center;
  }

  .project-section {
    margin-bottom: 4rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .project-stats {
    grid-template-columns: 1fr;
  }

  .process-timeline::before {
    left: 15px;
  }

  .process-step {
    padding-left: 3rem;
  }

  .process-step::before {
    left: -23px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark mode adjustments */
html.dark .back-nav {
  background: var(--surface-elev);
  border-color: var(--border-alt);
}

html.dark .stat-card,
html.dark .challenge-card,
html.dark .solution-card,
html.dark .testimonial-card,
html.dark .related-project-card,
html.dark .metric-card {
  background: var(--surface-elev);
  border-color: var(--border-alt);
}

html.dark .mockup-screen {
  background: var(--surface-elev);
  border-color: var(--border-alt);
}

html.dark .features-icon {
  color: white;
}

/* Animation Styles */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-animate="fade-down"] {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-animate="fade-in"] {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-animate="scale-in"] {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-animate="rise"] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Animate in classes */
.animate-in[data-animate="fade-up"],
.animate-in[data-animate="fade-down"],
.animate-in[data-animate="fade-in"],
.animate-in[data-animate="scale-in"],
.animate-in[data-animate="rise"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Enhanced hover effects */
.project-actions .btn {
  position: relative;
  overflow: hidden;
}

.project-actions .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.project-actions .btn:hover::before {
  left: 100%;
}

/* Stagger animations for related projects */
.related-project-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.related-project-card:nth-child(1) { animation-delay: 0.1s; }
.related-project-card:nth-child(2) { animation-delay: 0.2s; }
.related-project-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced gallery hover effects */
.gallery-item {
  transform-origin: center;
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(var(--accent-rgb), 0.1), rgba(var(--brand-rgb), 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius);
}

.gallery-item:hover::before {
  opacity: 1;
}

/* Smooth scrolling enhancement */
html {
  scroll-behavior: smooth;
}

/* Loading animation for dynamic content */
.content-loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.content-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =====================
   Product-Focused Styles
   ===================== */

/* Product Hero Specific */
.product-hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.product-category {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-name {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin: 0;
}

.product-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
  line-height: 1.3;
}

.product-description {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

.product-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  background: rgba(var(--accent-rgb), 0.05);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  transition: all 0.3s ease;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-item:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.2);
  background: rgba(var(--accent-rgb), 0.08);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

/* Product Features Section */
.product-section {
  padding: 6rem 0;
  background: var(--bg-secondary, #1a1a1a);
  position: relative;
}

.product-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: -1;
}

.product-features {
  padding: 6rem 0;
  background: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
}

/* Dark section overrides */
.product-section .section-title {
  color: white;
}

.product-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.product-section .benefits-section h3 {
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Dark section feature cards */
.product-section .feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.product-section .feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.product-section .feature-card h3 {
  color: white;
}

.product-section .feature-card p {
  color: rgba(255, 255, 255, 0.8);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

.benefits-section {
  margin-top: 4rem;
}

.benefits-section h3 {
  text-align: center;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.benefit-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.benefit-item span {
  color: var(--text);
  font-weight: 500;
}

/* Dark section benefits */
.product-section .benefit-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-section .benefit-item span {
  color: rgba(255, 255, 255, 0.9);
}

/* Dark section pricing styles - Force white/gray text regardless of theme */
.product-section .toggle-label {
  color: rgba(255, 255, 255, 0.9) !important;
}

.product-section .section-title {
  color: white !important;
}

.product-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8) !important;
}

.product-section .features-text h3 {
  color: white !important;
}

.product-section .features-text p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.product-section .features-icon {
  color: white !important;
}

.product-section .features-icon svg {
  color: white !important;
}

.product-section .slider {
  background-color: rgba(255, 255, 255, 0.2);
}

.product-section .slider:before {
  background-color: white;
}

.product-section input:checked + .slider {
  background-color: var(--accent);
}

.product-section .discount-badge {
  background: var(--accent);
  color: white;
}

.product-section .pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.product-section .pricing-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.product-section .pricing-card.popular {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.product-section .pricing-card h3 {
  color: white;
}

.product-section .plan-description {
  color: rgba(255, 255, 255, 0.7);
}

.product-section .price {
  color: var(--accent);
}

.product-section .price-period {
  color: rgba(255, 255, 255, 0.6);
}

.product-section .pricing-features li {
  color: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.product-section .pricing-features li::before {
  color: var(--accent);
}

.product-section .pricing-features-modern {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-section .pricing-features-modern::before {
  background: linear-gradient(90deg, var(--accent) 0%, rgba(var(--accent-rgb), 0.5) 100%);
}

.product-section .features-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.product-section .included-feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-section .included-feature:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(var(--accent-rgb), 0.2);
}

.product-section .included-feature span {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Additional forced text colors for pricing section */
.product-section .pricing-card h3 {
  color: white !important;
}

.product-section .plan-description {
  color: rgba(255, 255, 255, 0.7) !important;
}

.product-section .price {
  color: var(--accent) !important;
}

.product-section .price-period {
  color: rgba(255, 255, 255, 0.6) !important;
}

.product-section .pricing-features li {
  color: rgba(255, 255, 255, 0.8) !important;
}

.product-section .pricing-features li::before {
  color: var(--accent) !important;
}

/* White cursor for dark section */
.custom-cursor.dark-section .cursor-dot {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  mix-blend-mode: difference;
}

.custom-cursor.dark-section .cursor-outline {
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  mix-blend-mode: difference;
}

.custom-cursor.dark-section.hover .cursor-dot {
  background: rgba(255, 255, 255, 1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.custom-cursor.dark-section.hover .cursor-outline {
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* White cursor for pricing section */
.custom-cursor.pricing-section .cursor-dot {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  mix-blend-mode: difference;
}

.custom-cursor.pricing-section .cursor-outline {
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  mix-blend-mode: difference;
}

.custom-cursor.pricing-section.hover .cursor-dot {
  background: rgba(255, 255, 255, 1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.custom-cursor.pricing-section.hover .cursor-outline {
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Pricing Section */
.pricing-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(var(--accent-rgb), 0.05) 100%);
}

/* Override pricing section to match dark product section */
.pricing-section.product-section {
  padding: 6rem 0;
  background: var(--bg-secondary, #1a1a1a) !important;
  position: relative;
}

.pricing-section.product-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: -1;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.toggle-label {
  font-weight: 500;
  color: var(--text);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  transition: 0.3s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent);
}

input:checked + .slider:before {
  transform: translateX(30px);
}

.discount-badge {
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.pricing-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.popular {
  border-color: var(--accent);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.plan-description {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.price-display {
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-dim);
  margin-left: 0.25rem;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}

.pricing-action {
  margin-top: 2rem;
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

.pricing-features {
  margin-top: 2rem;
}

/* Modern Pricing Features Section */
.pricing-features-modern {
  margin-top: 4rem;
  background: linear-gradient(135deg, var(--card) 0%, rgba(var(--accent-rgb), 0.05) 100%);
  border-radius: var(--radius-xl, 24px);
  padding: 3rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.pricing-features-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(var(--accent-rgb), 0.5) 100%);
}

.features-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.features-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(var(--accent-rgb), 0.8) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.3);
  flex-shrink: 0;
}

.features-text h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.features-text p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.included-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.included-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.included-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(var(--accent-rgb), 0.2);
  background: rgba(255, 255, 255, 0.8);
}

.included-feature svg {
  color: var(--accent);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.included-feature span {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Legacy support */
.included-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background: var(--surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
}

/* =====================
   Screenshots Gallery Section
   ===================== */

.screenshots-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(var(--accent-rgb), 0.02) 100%);
  position: relative;
  overflow: hidden;
}

.screenshots-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(var(--accent-rgb), 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(var(--accent-rgb), 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.screenshot-item {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.screenshot-item.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.screenshot-card {
  background: var(--card);
  border-radius: var(--radius-xl, 24px);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.screenshot-card:hover {
  transform: translateY(-12px) rotate(1deg);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(var(--accent-rgb), 0.1);
  border-color: rgba(var(--accent-rgb), 0.2);
}

.screenshot-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.screenshot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.screenshot-card:hover .screenshot-image img {
  transform: scale(1.05);
}

.screenshot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.screenshot-card:hover .screenshot-overlay {
  opacity: 1;
}

.expand-btn {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: var(--radius-lg);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.expand-btn:hover {
  background: white;
  transform: scale(1.1);
  color: var(--accent);
}

.expand-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.expand-btn:hover svg {
  transform: rotate(45deg);
}

.screenshot-info {
  padding: 2rem;
}

.screenshot-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.screenshot-info p {
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.screenshot-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-tag {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--accent-rgb), 0.05) 100%);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.feature-tag:hover {
  background: var(--accent);
  color: var(--text-inv);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

.feature-tag:hover::before {
  left: 100%;
}

/* Screenshot Modal */
.screenshot-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.screenshot-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: var(--card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.screenshot-modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  border-radius: var(--radius-lg);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: rotate(90deg);
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: 70vh;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 2rem;
  background: var(--card);
}

.modal-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.modal-info p {
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

/* Alternative Layout - Masonry Style */
.screenshots-grid.masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-auto-rows: auto;
  gap: 2rem;
}

.screenshots-grid.masonry .screenshot-item:nth-child(2n) {
  margin-top: 3rem;
}

.screenshots-grid.masonry .screenshot-item:nth-child(4n) {
  margin-top: -1.5rem;
}

/* Parallax Effect for Screenshots */
.screenshot-card {
  transform-style: preserve-3d;
}

.screenshot-card:hover .screenshot-image {
  transform: translateZ(20px);
}

.screenshot-card:hover .screenshot-info {
  transform: translateZ(10px);
}

/* Stagger Animation */
.screenshot-item:nth-child(1) { transition-delay: 0.1s; }
.screenshot-item:nth-child(2) { transition-delay: 0.2s; }
.screenshot-item:nth-child(3) { transition-delay: 0.3s; }
.screenshot-item:nth-child(4) { transition-delay: 0.4s; }
.screenshot-item:nth-child(5) { transition-delay: 0.5s; }
.screenshot-item:nth-child(6) { transition-delay: 0.6s; }

/* Loading State */
.screenshot-loading {
  background: linear-gradient(
    90deg,
    var(--surface) 25%,
    rgba(var(--accent-rgb), 0.05) 50%,
    var(--surface) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Enhanced Hover States */
.screenshot-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    rgba(var(--accent-rgb), 0.1),
    rgba(var(--accent-rgb), 0.05),
    rgba(var(--accent-rgb), 0.1)
  );
  border-radius: calc(var(--radius-xl) + 2px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.screenshot-card:hover::before {
  opacity: 1;
}

/* Dark Mode Enhancements */
html.dark .screenshot-card {
  background: var(--surface-elev);
  border-color: var(--border-alt);
}

html.dark .screenshot-modal .modal-content {
  background: var(--surface-elev);
  border-color: var(--border-alt);
}

html.dark .expand-btn {
  background: rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

html.dark .expand-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  color: var(--accent);
}

html.dark .feature-tag {
  background: rgba(var(--accent-rgb), 0.15);
  border-color: rgba(var(--accent-rgb), 0.25);
}

/* Mobile-First Responsive Design */
@media (max-width: 480px) {
  .screenshots-section {
    padding: 3rem 0;
  }
  
  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .screenshot-info {
    padding: 1.5rem;
  }
  
  .screenshot-info h3 {
    font-size: 1.2rem;
  }
  
  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }
  
  .modal-info {
    padding: 1.5rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-hero-visual {
    order: -1;
  }
  
  .product-stats {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-features-modern {
    padding: 2rem 1.5rem;
    margin-top: 3rem;
  }
  
  .features-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .features-icon {
    width: 48px;
    height: 48px;
  }
  
  .included-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .included-feature {
    padding: 1rem;
  }
  
  /* Screenshots Section Mobile */
  .screenshots-section {
    padding: 4rem 0;
  }
  
  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .screenshot-card:hover {
    transform: translateY(-6px) rotate(0deg);
  }
  
  .screenshot-info h3 {
    font-size: 1.25rem;
  }
  
  .screenshot-features {
    gap: 0.5rem;
  }
  
  .feature-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

/* =====================
   Product Detail Luxury Cascade
   ===================== */
.back-nav {
  padding: 8rem 0 0;
}

.back-link {
  background: rgba(255, 250, 240, 0.58);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-dim);
  font-weight: 800;
}

.back-link:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--text-inv);
}

.product-hero {
  min-height: 78dvh;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(5rem, 8vw, 8rem);
}

.product-hero::before {
  background: var(--grad-soft);
  opacity: 1;
}

.product-hero .container {
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.product-meta,
.project-meta {
  align-items: center;
  flex-wrap: wrap;
}

.product-category,
.status-badge {
  background: rgba(255, 250, 240, 0.62);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--accent);
  padding: 0.45rem 0.85rem;
}

.product-name {
  max-width: min(900px, 100%);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.product-tagline {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
}

.product-description {
  color: var(--text-dim);
  max-width: 680px;
}

.product-mockup {
  border-radius: var(--radius-xl);
  padding: 0.7rem;
  transform: rotate(1.5deg);
}

.mockup-screen {
  min-height: clamp(260px, 34vw, 460px);
  border-radius: calc(var(--radius-xl) - 0.7rem);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(45, 75, 67, 0.18)),
    url("https://picsum.photos/seed/amindu-product-detail/1400/900");
  background-size: cover;
  background-position: center;
}

.mockup-glow {
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.22), transparent 70%);
}

.product-section,
.screenshots-section,
.pricing-section,
.project-cta-section {
  background: transparent;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-header {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-title {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.section-title::after {
  display: none;
}

.section-subtitle {
  color: var(--text-dim);
  max-width: 700px;
  margin-inline: auto;
}

.features-grid,
.benefits-grid,
.screenshots-grid,
.pricing-grid,
.included-features-grid,
.testimonials-grid {
  grid-auto-flow: dense;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.feature-card,
.benefit-card,
.screenshot-card,
.pricing-card,
.included-feature,
.testimonial-card,
.pricing-features-modern {
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 252, 246, 0.72), rgba(238, 228, 212, 0.58));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

html.dark .feature-card,
html.dark .benefit-card,
html.dark .screenshot-card,
html.dark .pricing-card,
html.dark .included-feature,
html.dark .testimonial-card,
html.dark .pricing-features-modern {
  background: linear-gradient(145deg, rgba(39, 30, 23, 0.82), rgba(25, 19, 15, 0.72));
  border-color: var(--border);
}

.screenshot-card:hover,
.feature-card:hover,
.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb), 0.34);
  box-shadow: var(--shadow);
}

.screenshot-image {
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(45, 75, 67, 0.18)),
    url("https://picsum.photos/seed/amindu-interface-gallery/1200/800");
  background-size: cover;
  background-position: center;
}

.screenshot-info h3,
.features-text h3,
.benefits-section h3,
.pricing-card h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.feature-tag,
.tech-item,
.pricing-toggle,
.discount-badge {
  background: rgba(255, 250, 240, 0.62);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text);
  box-shadow: none;
}

.cta-panel {
  border-radius: clamp(2rem, 5vw, 4.5rem);
}

@media (max-width: 768px) {
  .back-nav {
    padding-top: 7rem;
  }

  .product-hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .product-hero .container {
    grid-template-columns: 1fr;
  }

  .product-hero-visual {
    order: 0;
  }

  .product-name {
    font-size: clamp(3.6rem, 17vw, 5.6rem);
  }

  .product-mockup {
    transform: none;
  }
}
