/* Product Pages Styles - Black Theme */

/* ==========================================================================
   Hero Section
   ========================================================================== */

.product-hero {
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.05),
    transparent 50%
  );
  opacity: 0.3;
  pointer-events: none;
}

.product-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Screenshot wrapper */
.screenshot-wrapper {
  position: relative;
  border-radius: 0.5rem;
  padding: 1px;
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .screenshot-wrapper {
    border-radius: 0.75rem;
  }
}

.screenshot-glow {
  position: absolute;
  inset: -60px;
  background: rgba(255, 255, 255, 0.02);
  filter: blur(48px);
  z-index: -1;
}

/* ==========================================================================
   Bento Capabilities Grid
   ========================================================================== */

.capabilities-grid {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.capability-card {
  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(to bottom right, #0f0f0f, #070707);
  border-radius: 1rem;
  overflow: hidden;
}

.capability-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.capability-content {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .capability-content {
    grid-template-columns: 1fr 1fr;
  }

  .capability-card:nth-child(even) .capability-text {
    order: 2;
  }

  .capability-card:nth-child(even) .capability-visual {
    order: 1;
  }
}

.capability-text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .capability-text {
    padding: 3rem;
  }
}

.capability-visual {
  background: linear-gradient(to bottom right, #1a1a1a, #0a0a0a);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

@media (min-width: 1024px) {
  .capability-visual {
    padding: 3rem;
    min-height: 600px;
  }
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-item {
  background: #0f0f0f;
  border: 1px solid #1a1a1a;
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.stat-item:hover {
  border-color: #2a2a2a;
}

.stat-item.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

/* ==========================================================================
   Customer Stories Horizontal Scroll
   ========================================================================== */

.stories-scroll-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.stories-scroll-container::-webkit-scrollbar {
  display: none;
}

.story-card-wrapper {
  flex-shrink: 0;
  width: 340px;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .story-card-wrapper {
    width: 380px;
  }
}

.story-card-inner {
  position: relative;
  background: #0f0f0f;
  border: 1px solid #1a1a1a;
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.story-card-wrapper:hover .story-card-inner {
  border-color: #2a2a2a;
}

/* ==========================================================================
   Logo Band
   ========================================================================== */

/* Standard inline animation */
.logo-scroll-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: scroll-logos 40s linear infinite;
}

.logo-scroll-track:hover {
  animation-play-state: paused;
}

@media (min-width: 640px) {
  .logo-scroll-track {
    gap: 5rem;
  }
}
@media (min-width: 768px) {
  .logo-scroll-track {
    gap: 6rem;
  }
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Mockup Utilities
   ========================================================================== */

/* Mockup Container */
.mockup-container {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  width: 100%;
  max-width: 32rem;
}

/* Mockup Header */
.mockup-header {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mockup-dots {
  display: flex;
  gap: 0.375rem;
}

.mockup-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: #d1d5db;
}

.mockup-address-bar {
  flex: 1;
  background: white;
  border-radius: 0.5rem;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  color: #9ca3af;
  border: 1px solid #e5e7eb;
}

/* Mockup Content Areas */
.mockup-content {
  padding: 2rem;
}

/* Skeleton Loading Elements */
.skel-block {
  background: #e5e7eb;
  border-radius: 0.25rem;
}
.skel-text {
  background: #f3f4f6;
  border-radius: 0.25rem;
}
.skel-dark {
  background: #111827;
  border-radius: 0.5rem;
}
.skel-gray {
  background: #e5e7eb;
  border-radius: 0.5rem;
}

/* Globe Visualization Dots */
.globe-dots {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.75rem;
  padding: 1.5rem;
}

.globe-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
}

/* Checkmarks */
.check-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: #22c55e;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.check-mark {
  width: 0.75rem;
  height: 0.375rem;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
  margin-top: -0.125rem;
}
