/* === GROUNDING TECHNIQUE PAGE === */

/* Progress bar */
.progress-bar-wrap {
  background: var(--border);
  border-radius: 100px;
  height: 6px;
  margin-bottom: 48px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--green-dark);
  border-radius: 100px;
  transition: width 0.5s ease;
}

/* Step indicators */
.step-indicators {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.step-ind {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s;
  background: var(--surface);
}

.step-ind.active {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: white;
}

.step-ind.done {
  border-color: var(--green-mid);
  background: var(--green-light);
  color: var(--green-dark);
}

/* Slides */
.slide-container {
  position: relative;
  min-height: 400px;
}

.slide { display: none; animation: fadeIn 0.4s ease; }
.slide.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Intro card */
.intro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
}

.intro-icon {
  width: 72px;
  height: 72px;
  background: var(--green-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.intro-icon svg { width: 36px; height: 36px; color: var(--green-dark); }

.intro-card h1 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}

.intro-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 28px;
}

/* Step card */
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.sense-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sense-badge svg { width: 26px; height: 26px; color: var(--green-dark); }

.step-count-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

.step-prompt {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Checklist */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}

.check-item:hover { border-color: var(--green-mid); background: var(--green-light); }

.check-item.checked {
  border-color: var(--green-dark);
  background: var(--green-light);
}

.check-box {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.check-item.checked .check-box {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.check-box svg { width: 13px; height: 13px; color: white; opacity: 0; transition: opacity 0.2s; }
.check-item.checked .check-box svg { opacity: 1; }

.check-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.check-item.checked .check-label {
  color: var(--text);
  text-decoration: line-through;
  text-decoration-color: var(--green-mid);
}

.progress-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: center;
}

/* Complete card */
.complete-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
}

.complete-icon {
  width: 80px;
  height: 80px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.complete-icon svg { width: 40px; height: 40px; color: var(--green-dark); }

.complete-card h2 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.complete-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 28px;
}

/* Button overrides */
.btn { padding: 14px 36px; }


.btn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Info section */
.info-section { margin-top: 48px; }

.info-section h2 { font-size: 1.2rem; }

@media (max-width: 480px) {
  .step-card { padding: 24px 20px; }
  .intro-card { padding: 32px 24px; }
  .btn-row { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-row .btn { justify-content: center; }
}
