/* ================================
   STATS SECTION V2 - REDESIGNED (LIGHT MODE)
   ================================ */

/* Stats Section Container */
.ncac-stats-v2 {
  position: relative;
  padding: 140px 0;
  background-color: #f8fafc;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  color: #0f172a;
}

/* Light Overlay for Background Image */
.ncac-stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.95) 0%,
    rgba(241, 245, 249, 0.92) 50%,
    rgba(248, 250, 252, 0.95) 100%
  );
  z-index: 1;
}

/* Animated Background Pattern */
.ncac-stats-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 50px,
      rgba(0, 0, 0, 0.01) 50px,
      rgba(0, 0, 0, 0.01) 100px
    );
  z-index: 2;
  pointer-events: none;
}

/* Container Positioning */
.ncac-stats-v2 .ncac-container {
  position: relative;
  z-index: 3;
}

/* Stats Header */
.ncac-stats-header {
  text-align: center;
  margin-bottom: 80px;
}

.ncac-stats-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 26, 35, 0.1), rgba(217, 0, 10, 0.05));
  color: #ff1a23;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 26, 35, 0.2);
}

.ncac-stats-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 20px 0;
  line-height: 1.1;
}

.ncac-stats-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Stats Grid - 4 Column Layout */
.ncac-stats-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}

/* Individual Stat Card */
.ncac-stat-card-v2 {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

/* Card Background */
.ncac-stat-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Gradient Accent at Bottom */
.ncac-stat-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #64748b, #94a3b8);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Color-coded Gradients for Each Stat */
.ncac-stat-card-v2[data-stat="churches"] .ncac-stat-gradient {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.ncac-stat-card-v2[data-stat="states"] .ncac-stat-gradient {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.ncac-stat-card-v2[data-stat="years"] .ncac-stat-gradient {
  background: linear-gradient(90deg, #10b981, #059669);
}

.ncac-stat-card-v2[data-stat="members"] .ncac-stat-gradient {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* Hover State - Dramatic Lift & Glow */
.ncac-stat-card-v2:hover {
  transform: translateY(-16px) scale(1.05);
}

.ncac-stat-card-v2:hover .ncac-stat-card-bg {
  background: white;
  border-color: rgba(255, 26, 35, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12),
              0 0 40px rgba(255, 26, 35, 0.15);
}

.ncac-stat-card-v2:hover .ncac-stat-gradient {
  height: 8px;
  box-shadow: 0 0 30px currentColor;
}

/* Icon Container */
.ncac-stat-icon-v2 {
  position: relative;
  z-index: 2;
  padding: 40px 30px 20px;
  display: flex;
  justify-content: center;
  color: #64748b;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ncac-stat-card-v2:hover .ncac-stat-icon-v2 {
  transform: scale(1.15) rotate(-5deg);
  color: #ff1a23;
  filter: drop-shadow(0 8px 16px rgba(255, 26, 35, 0.3));
}

.ncac-stat-icon-v2 svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Content Area */
.ncac-stat-content-v2 {
  position: relative;
  z-index: 2;
  padding: 0 30px 40px;
  text-align: center;
}

/* Number Display - Large & Bold */
.ncac-stat-number-v2 {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.ncac-stat-card-v2:hover .ncac-stat-number-v2 {
  transform: scale(1.1);
  color: #ff1a23;
}

/* Label - Medium Weight */
.ncac-stat-label-v2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Description - Subtle */
.ncac-stat-desc-v2 {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Pulse Animation on Hover */
@keyframes statPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.ncac-stat-card-v2:hover .ncac-stat-number-v2 {
  animation: statPulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .ncac-stats-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .ncac-stats-v2 {
    padding: 100px 0;
  }
}

@media (max-width: 768px) {
  .ncac-stats-grid-v2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .ncac-stats-v2 {
    padding: 80px 0;
  }
  
  .ncac-stats-header {
    margin-bottom: 50px;
  }
  
  .ncac-stat-icon-v2 {
    padding: 30px 20px 15px;
  }
  
  .ncac-stat-content-v2 {
    padding: 0 20px 30px;
  }
  
  .ncac-stat-number-v2 {
    font-size: 2.5rem;
  }
}
