/* Solution Pages Specific Styles */

/* ===== ABOUT PAGE PINTEREST-STYLE CARDS ===== */
.pain-points-section .pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.pain-points-section .pain-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.pain-points-section .pain-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pain-points-section .pain-image-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.pain-points-section .pain-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pain-points-section .pain-card:hover .pain-image {
  transform: scale(1.05);
}

.pain-points-section .pain-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

.pain-points-section .pain-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
  line-height: 1.3;
  text-align: center;
}

.pain-points-section .pain-description {
  font-size: 0.9375rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* ===== SUCCESS STORIES SECTION ===== */
.success-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 400px));
  gap: 1.5rem;
  margin-top: 3rem;
  justify-content: center;
}

.success-story-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 500px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.success-story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Background image container */
.story-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.story-avatar {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  overflow: hidden;
}

.story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark gradient overlay for text readability */
.success-story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

/* Content container */
.story-meta,
.story-scenario,
.story-comparison,
.story-result,
.story-template {
  position: relative;
  z-index: 2;
  color: white;
}

/* Name and meta info at top */
.story-meta {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
}

.story-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.story-followers {
  font-size: 0.9rem;
  color: #00ff88;
  font-weight: 600;
  margin: 0.25rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.story-niche {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0.25rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Scenario in the middle */
.story-scenario {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  right: 1.5rem;
  transform: translateY(-50%);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

/* Before/After comparison at bottom */
.story-comparison {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}

.story-before,
.story-after {
  padding: 0.875rem 1rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: none;
  border-left: 3px solid;
}

.story-before {
  border-left-color: #ef4444;
}

.story-after {
  border-left-color: #10b981;
}

.comparison-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 0.5rem 0;
  color: white;
}

.story-before .comparison-label {
  color: #ef4444;
}

.story-after .comparison-label {
  color: #10b981;
}

.story-comparison p {
  font-size: 0.875rem;
  color: white;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Hide result and template sections in this design */
.story-result,
.story-template,
.feature-outcome,
.feature-use-case {
  display: none;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: #667eea;
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
  transform: translateY(-4px);
}

.pricing-card-featured {
  border-color: #667eea;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f0f0f0;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.pricing-price {
  margin: 1.5rem 0;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: #667eea;
}

.price-period {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.pricing-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-features li .iconify {
  margin-top: 0.25rem;
  flex-shrink: 0;
  font-size: 20px;
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-style: italic;
  margin: 1rem 0 1.5rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  line-height: 1.6;
}

.pricing-trust {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .success-stories-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .success-story-card {
    height: 450px;
  }

  .story-meta {
    top: 1rem;
    left: 1rem;
    right: 1rem;
  }

  .story-name {
    font-size: 1.25rem;
  }

  .story-scenario {
    left: 1rem;
    right: 1rem;
    font-size: 0.875rem;
    padding: 0.875rem;
  }

  .story-comparison {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    gap: 0.5rem;
  }

  .story-before,
  .story-after {
    padding: 0.75rem 0.875rem;
  }

  .story-comparison p {
    font-size: 0.8125rem;
  }

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

  .price-amount {
    font-size: 2.5rem;
  }
}
