/**
 * VIP How It Works V2 - Critical Fixes (Standalone)
 * This file prevents autofix from removing changes
 * 
 * @package VIP_Theme
 */

/* ========================================
   REMOVE PROGRESS LINE
   ======================================== */

.vip-hiw-progress-line {
  display: none !important;
}

/* ========================================
   EQUAL CARD WIDTH & HEIGHT
   ======================================== */

.vip-hiw-layout--timeline .vip-hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem;
}

.vip-hiw-step {
  width: 100% !important;
  max-width: 100% !important;
}

.vip-hiw-card {
  min-height: 420px;
  height: 100% !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* ========================================
   SVG ICONS - DIRECT RENDERING
   ======================================== */

.vip-hiw-icon-wrapper {
  position: relative !important;
  width: 100px !important;
  height: 100px !important;
  margin: 0 auto 2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.vip-hiw-icon {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #D6B77B !important;
  z-index: 10 !important;
  line-height: 1 !important;
}

.vip-hiw-icon svg {
  width: 40px !important;
  height: 40px !important;
  color: #D6B77B !important;
  stroke: currentColor !important;
  transition: all 0.4s ease !important;
}

.vip-hiw-card:hover .vip-hiw-icon svg {
  color: #F2E6C9 !important;
  transform: scale(1.15) !important;
}

/* ========================================
   CARD BUTTON - IN EACH CARD
   ======================================== */

.vip-hiw-card-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.75rem 1.5rem !important;
  margin-top: 1.5rem !important;
  background: linear-gradient(180deg, #D6B77B 0%, #F2E6C9 100%) !important;
  color: #0B0B0C !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(214, 183, 123, 0.3) !important;
  text-decoration: none !important;
  width: 100% !important;
}

.vip-hiw-card-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(214, 183, 123, 0.5) !important;
  background: linear-gradient(180deg, #E5C894 0%, #D6B77B 100%) !important;
  color: #0B0B0C !important;
  text-decoration: none !important;
}

.vip-hiw-card-button .button-icon {
  width: 20px !important;
  height: 20px !important;
  transition: transform 0.3s ease !important;
}

.vip-hiw-card-button:hover .button-icon {
  transform: translateX(4px) !important;
}

/* ========================================
   NO CONNECTORS - REMOVED
   ======================================== */

.vip-hiw-connector {
  display: none !important;
}

/* ========================================
   ANIMATION ORDER - LEFT TO RIGHT
   ======================================== */

.vip-hiw-animated .vip-hiw-step:nth-child(1) { 
  animation-delay: 0s !important; /* Card 1 (LEFT) first */
}

.vip-hiw-animated .vip-hiw-step:nth-child(2) { 
  animation-delay: 0.3s !important; /* Card 2 (CENTER) second */
}

.vip-hiw-animated .vip-hiw-step:nth-child(3) { 
  animation-delay: 0.6s !important; /* Card 3 (RIGHT) third */
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .vip-hiw-layout--timeline .vip-hiw-steps {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .vip-hiw-cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* ========================================
   CUSTOM SPACING & LAYOUT ADJUSTMENTS
   ======================================== */

.vip-how-it-works-v2 {
  position: relative !important;
  padding: 0rem 0rem !important;
  overflow: hidden !important;
}

.vip-hiw-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #D6B77B 0%, #F2E6C9 50%, #D6B77B 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  margin-bottom: -0.5rem !important;
  letter-spacing: -0.02em !important;
  animation: shimmer 3s ease-in-out infinite !important;
}

.vip-hiw-layout--timeline .vip-hiw-steps {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
  padding-bottom: 0rem !important;
}

/* ========================================
   PARTNERS CAROUSEL ADJUSTMENTS
   ======================================== */

.vip-partners-carousel {
  position: relative !important;
  padding: 1rem 0 !important;
  overflow: hidden !important;
  width: 100% !important;
}

.vip-partner-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem 1rem !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(214, 183, 123, 0.2) !important;
  border-radius: 16px !important;
  transition: all 0.3s ease !important;
  min-width: 180px !important;
  height: 100px !important;
}
