/* =====================================================
   PREMIUM OVERVIEW METHODS SECTION - ENHANCED
   ===================================================== */

.overview-methods-section {
  padding: 8rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* Animated background elements */
.overview-methods-section::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: float-blob-1 8s ease-in-out infinite;
}

.overview-methods-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  animation: float-blob-2 10s ease-in-out infinite;
}

@keyframes float-blob-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

@keyframes float-blob-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 40px) scale(1.05); }
}

.overview-methods-section .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Enhanced Section Header */
.overview-methods-section .section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

/* Decorative element above title */
.overview-methods-section .section-header::before {
  content: '✦';
  display: block;
  font-size: 2rem;
  color: #0ea5e9;
  margin-bottom: 1rem;
  opacity: 0.6;
  animation: sparkle-rotate 3s ease-in-out infinite;
}

@keyframes sparkle-rotate {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.6; }
  50% { transform: rotate(180deg) scale(1.2); opacity: 1; }
}

/* Premium badge above title */
.overview-methods-section .section-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0ea5e9;
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.9) 0%, rgba(186, 230, 253, 0.9) 100%);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 2px solid rgba(14, 165, 233, 0.2);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.15);
  transition: all 0.3s ease;
}

.overview-methods-section .section-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.25);
}

/* Enhanced Title */
.overview-methods-section .section-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  animation: gradient-shift 5s ease infinite;
  background-size: 200% auto;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* Underline decoration */
.overview-methods-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #0ea5e9 50%, transparent 100%);
  border-radius: 2px;
  animation: underline-pulse 2s ease-in-out infinite;
}

@keyframes underline-pulse {
  0%, 100% { width: 100px; opacity: 0.5; }
  50% { width: 150px; opacity: 1; }
}

.overview-methods-section .section-description {
  font-size: 1.1875rem;
  color: #475569;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 400;
}

/* Premium Methods Grid */
.overview-methods-section .methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

/* Enhanced Method Cards */
.overview-methods-section .method-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(14, 165, 233, 0.08);
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 
    0 10px 30px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  overflow: hidden;
}

/* Top gradient border animation */
.overview-methods-section .method-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9 0%, #06b6d4 50%, #0ea5e9 100%);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.overview-methods-section .method-card:hover::before {
  transform: scaleX(1);
  animation: gradient-slide 2s ease infinite;
}

@keyframes gradient-slide {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Glow effect on hover */
.overview-methods-section .method-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(6, 182, 212, 0.15));
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.4s ease;
  z-index: -1;
}

.overview-methods-section .method-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: 
    0 30px 60px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 0 80px rgba(14, 165, 233, 0.15);
}

.overview-methods-section .method-card:hover::after {
  opacity: 1;
}

/* Premium Icon Design */
.overview-methods-section .method-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #0ea5e9;
  position: relative;
  box-shadow: 
    0 8px 20px rgba(14, 165, 233, 0.15),
    0 0 0 3px rgba(14, 165, 233, 0.08);
  animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.overview-methods-section .method-card:hover .method-icon {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: white;
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 
    0 15px 35px rgba(14, 165, 233, 0.35),
    0 0 0 5px rgba(14, 165, 233, 0.15),
    0 0 60px rgba(14, 165, 233, 0.2);
  animation: none;
}

.overview-methods-section .method-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  transition: all 0.4s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.overview-methods-section .method-card:hover .method-icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

/* Enhanced Title */
.overview-methods-section .method-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
}

.overview-methods-section .method-card:hover .method-title {
  color: #0ea5e9;
  transform: translateY(-2px);
}

.overview-methods-section .method-description {
  color: #64748b;
  line-height: 1.75;
  font-size: 1.0625rem;
  transition: color 0.3s ease;
}

.overview-methods-section .method-card:hover .method-description {
  color: #475569;
}

/* Staggered entrance animation */
@keyframes card-entrance {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.overview-methods-section .method-card {
  animation: card-entrance 0.6s ease-out backwards;
}

.overview-methods-section .method-card:nth-child(1) {
  animation-delay: 0.1s;
}

.overview-methods-section .method-card:nth-child(2) {
  animation-delay: 0.2s;
}

.overview-methods-section .method-card:nth-child(3) {
  animation-delay: 0.3s;
}

.overview-methods-section .method-card:nth-child(4) {
  animation-delay: 0.4s;
}

.overview-methods-section .method-card:nth-child(5) {
  animation-delay: 0.5s;
}

.overview-methods-section .method-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .overview-methods-section {
    padding: 5rem 0;
  }
  
  .overview-methods-section .section-header {
    margin-bottom: 3rem;
  }
  
  .overview-methods-section .section-title {
    font-size: 2rem;
  }
  
  .overview-methods-section .section-description {
    font-size: 1rem;
  }
  
  .overview-methods-section .methods-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .overview-methods-section .method-card {
    padding: 2.5rem 2rem;
  }
  
  .overview-methods-section .method-icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .overview-methods-section::before,
  .overview-methods-section::after,
  .overview-methods-section .section-header::before,
  .overview-methods-section .section-title,
  .overview-methods-section .section-title::after,
  .overview-methods-section .method-card,
  .overview-methods-section .method-icon {
    animation: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .overview-methods-section .methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .overview-methods-section .methods-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Accessibility */
.overview-methods-section .method-card:focus-within {
  outline: 3px solid rgba(14, 165, 233, 0.3);
  outline-offset: 5px;
}

@supports (content-visibility: auto) {
  @media (max-width: 991px) {
    .overview-methods-section {
      content-visibility: auto;
      contain-intrinsic-size: 1px 1300px;
    }
  }
}
