/* =====================================
   BodyMind Custom SVG Icons
   Green #10B981 + Black Design System
   ===================================== */

/* === Icon Container === */
.icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
  border: 3px solid #10B981;
  transition: all 0.3s ease;
  position: relative;
}

.icon-container:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.2);
  border-color: #059669;
}

.icon-container.large {
  width: 120px;
  height: 120px;
}

.icon-container.medium {
  width: 80px;
  height: 80px;
}

.icon-container.small {
  width: 60px;
  height: 60px;
}

/* === Brain Icon (Conscious Mind) === */
.icon-brain {
  width: 48px;
  height: 48px;
}

.icon-brain path {
  fill: none;
  stroke: #10B981;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* === Heart Icon (Subconscious Mind) === */
.icon-heart {
  width: 48px;
  height: 48px;
}

.icon-heart path {
  fill: #10B981;
  stroke: none;
}

.icon-heart.outline path {
  fill: none;
  stroke: #10B981;
  stroke-width: 2;
}

/* === Body Icon (Unconscious) === */
.icon-body {
  width: 48px;
  height: 48px;
}

.icon-body path,
.icon-body circle {
  fill: none;
  stroke: #10B981;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* === Progress Icon === */
.icon-progress {
  width: 48px;
  height: 48px;
}

.icon-progress circle {
  fill: none;
  stroke: #E5E7EB;
  stroke-width: 3;
}

.icon-progress .progress-fill {
  fill: none;
  stroke: #10B981;
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s ease;
}

/* === Target Icon === */
.icon-target {
  width: 48px;
  height: 48px;
}

.icon-target circle {
  fill: none;
  stroke: #10B981;
  stroke-width: 2;
}

/* === Check Icon === */
.icon-check {
  width: 32px;
  height: 32px;
}

.icon-check path {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* === Arrow Icons === */
.icon-arrow {
  width: 32px;
  height: 32px;
}

.icon-arrow path {
  fill: none;
  stroke: #10B981;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* === Animation === */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.icon-container.animated {
  animation: pulse 2s ease-in-out infinite;
}

/* === Progress Indicator === */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.progress-step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.progress-step.active .progress-step-icon {
  border-color: #10B981;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.progress-step.completed .progress-step-icon {
  border-color: #10B981;
  background: #10B981;
}

.progress-step-label {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6B7280;
  text-align: center;
}

.progress-step.active .progress-step-label {
  color: #10B981;
}

.progress-step.completed .progress-step-label {
  color: #111827;
}

.progress-step-line {
  position: absolute;
  top: 30px;
  left: 50%;
  right: -50%;
  height: 3px;
  background: #E5E7EB;
  z-index: 1;
}

.progress-step.completed .progress-step-line {
  background: #10B981;
}

.progress-step:last-child .progress-step-line {
  display: none;
}

/* === Interactive Cards === */
.interactive-card {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.interactive-card:hover {
  transform: translateY(-8px);
}

.interactive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.interactive-card:hover::before {
  border-color: #10B981;
}

.interactive-card.active::before {
  border-color: #10B981;
}

/* === Tooltip === */
.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #111827;
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111827;
}

.icon-container:hover .tooltip,
.progress-step:hover .tooltip {
  opacity: 1;
}

/* === Number Badge === */
.number-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* === Responsive === */
@media (max-width: 768px) {
  .progress-steps {
    flex-direction: column;
    gap: 2rem;
  }
  
  .progress-step-line {
    display: none !important;
  }
  
  .icon-container.large {
    width: 100px;
    height: 100px;
  }
}
