*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
}

:root {
  --pastel-lavender: #E8DCF0;
  --pastel-mint: #D4EDDA;
  --pastel-peach: #FDDCCC;
  --pastel-sky: #D6EAF8;
  --pastel-rose: #F5D5D5;
  --pastel-butter: #FFF8DC;
  --deep-plum: #4A3259;
  --soft-plum: #6B4D7B;
  --warm-grey: #5C5470;
  --light-bg: #FAF7FC;
  --card-shadow: 0 8px 32px rgba(74, 50, 89, 0.08);
  --card-shadow-hover: 0 12px 40px rgba(74, 50, 89, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Heebo', sans-serif;
  background: var(--light-bg);
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 56px;
}

/* === FIXED SITE HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  z-index: 200;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 180, 220, 0.2);
  box-shadow: 0 2px 16px rgba(74, 50, 89, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 8px;
}

.site-header-logo {
  font-family: 'Secular One', 'Heebo', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--deep-plum);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease;
}

.site-header-logo:hover { opacity: 0.72; }

.site-header-logo .logo-leaf {
  font-size: 1rem;
  opacity: 0.85;
}

.site-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Language selector — globe dropdown */
#headerLangSelector {
  position: relative;
  display: flex;
  align-items: center;
}

/* Trigger button */
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(232, 220, 240, 0.18);
  border: 1px solid rgba(200, 180, 220, 0.3);
  border-radius: 20px;
  padding: 5px 10px 5px 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--warm-grey);
  transition: background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  min-height: 32px;
}

.lang-trigger:hover,
.lang-trigger.active {
  background: rgba(232, 220, 240, 0.42);
  border-color: rgba(200, 180, 220, 0.55);
  color: var(--deep-plum);
}

.lang-trigger:focus-visible {
  outline: 2px solid #6B4D7B;
  outline-offset: 2px;
}

.lang-globe { font-size: 0.82rem; line-height: 1; }

.lang-trigger-label {
  font-weight: 600;
  color: var(--deep-plum);
  min-width: 1.6ch;
  text-align: center;
}

.lang-chevron {
  display: flex;
  align-items: center;
  color: var(--warm-grey);
  transition: transform 0.18s ease;
}

.lang-trigger.active .lang-chevron {
  transform: rotate(180deg);
}

/* Dropdown list */
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
   inset-inline-end: 0;  min-width: 148px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(200, 180, 220, 0.35);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(74, 50, 89, 0.13);
  padding: 5px;
  list-style: none;
  z-index: 300;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lang-dropdown.open {
  display: block;
  animation: langFadeIn 0.15s ease;
}

@keyframes langFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Individual option */
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.84rem;
  font-family: inherit;
  color: var(--warm-grey);
  transition: background 0.13s ease, color 0.13s ease;
  user-select: none;
}

.lang-option:hover,
.lang-option:focus {
  background: rgba(232, 220, 240, 0.45);
  color: var(--deep-plum);
  outline: none;
}

.lang-option.selected {
  color: var(--deep-plum);
  font-weight: 600;
}

/* Checkmark — hidden unless selected */
.lang-check {
  display: flex;
  align-items: center;
  width: 14px;
  flex-shrink: 0;
  color: var(--soft-plum);
  opacity: 0;
}

.lang-option.selected .lang-check { opacity: 1; }

.lang-option-name { flex: 1; }

.lang-option-tag {
  font-size: 0.72rem;
  color: #B0A0C0;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.lang-option.selected .lang-option-tag {
  color: var(--soft-plum);
}

@media (max-width: 400px) {
  .lang-trigger { padding: 5px 8px 5px 7px; }
  .lang-trigger-label { display: none; }
  .lang-dropdown { inset-inline-end: -4px; }
}

/* Donate button */
.btn-donate {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #FFD966, #F4B942);
  color: #4a3000;
  border: none;
  padding: 5px 13px;
  font-size: 0.78rem;
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(180, 130, 0, 0.22);
}

.btn-donate:hover {
  background: linear-gradient(135deg, #FFE57A, #F5C355);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(180, 130, 0, 0.32);
}

.btn-donate:active {
  transform: translateY(0);
}

.btn-about {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--soft-plum, #7c5cbf);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--soft-plum, #7c5cbf);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  line-height: 1.4;
  font-family: 'Heebo', sans-serif;
}
.btn-about:hover {
  background: var(--soft-plum, #7c5cbf);
  color: #fff;
}

.btn-donate .donate-icon {
  font-size: 0.88rem;
}

@media (max-width: 400px) {
  .btn-donate .donate-label { display: none; }
  .btn-donate { padding: 5px 9px; }
}

/* === BACKGROUND DECORATION === */
body::before {
  content: '';
  position: fixed;
  top: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,220,240,0.5) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(212,237,218,0.4) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* === WELCOME SCREEN === */
.welcome-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.welcome-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--pastel-lavender), var(--pastel-sky));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 6px 24px rgba(74, 50, 89, 0.1);
  animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

.welcome-screen h1 {
  font-family: 'Secular One', 'Heebo', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--deep-plum);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.welcome-screen .subtitle {
  font-size: 1rem;
  color: var(--warm-grey);
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.welcome-screen .credit {
  font-size: 0.82rem;
  color: #9A8DA8;
  margin-bottom: 2.5rem;
}

.welcome-desc {
  max-width: 440px;
  color: var(--warm-grey);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  background: white;
  padding: 1.5rem 1.8rem;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  text-align: start;
}

.welcome-desc strong {
  color: var(--deep-plum);
  font-weight: 600;
}

/* === PRIVACY NOTICE === */
.privacy-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 440px;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(214, 234, 248, 0.55) 0%, rgba(232, 220, 240, 0.45) 100%);
  border-radius: 14px;
  border: 1px solid rgba(107, 77, 123, 0.22);
  box-shadow: 0 2px 12px rgba(74, 50, 89, 0.08);
  font-size: 0.79rem;
  line-height: 1.7;
  color: #5C5470;
  text-align: start;
}

.privacy-notice strong {
  color: var(--deep-plum);
  font-weight: 700;
}

.privacy-icon {
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 1px;
  filter: drop-shadow(0 1px 2px rgba(74,50,89,0.15));
}

/* === SUPPORT / DONATE SECTION === */
.support-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  max-width: 440px;
  width: 100%;
  margin-top: 1.1rem;
  padding: 1.1rem 1.4rem;
  background: linear-gradient(135deg, rgba(255, 236, 153, 0.22) 0%, rgba(255, 214, 102, 0.14) 100%);
  border-radius: 16px;
  border: 1px solid rgba(218, 165, 32, 0.28);
  box-shadow: 0 2px 14px rgba(180, 130, 0, 0.07);
  text-align: center;
}

.support-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #7a6010;
}

.support-text strong {
  color: #5c4500;
  font-weight: 700;
}

.btn-coffee {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #FFD966, #F4B942);
  color: #4a3000;
  border: none;
  padding: 0.6rem 1.6rem;
  font-size: 0.9rem;
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 3px 12px rgba(180, 130, 0, 0.22);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-coffee:hover {
  background: linear-gradient(135deg, #FFE57A, #F5C355);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 130, 0, 0.30);
}

.btn-coffee:active {
  transform: translateY(0);
}

.btn-coffee .coffee-icon {
  font-size: 1rem;
}

/* === COMPLETION DONATE BLOCK === */
.completion-donate {
  margin-top: 1.8rem;
  padding: 1.4rem 1.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(232, 220, 240, 0.45) 0%, rgba(214, 234, 248, 0.4) 100%);
  border: 1px solid rgba(200, 180, 220, 0.3);
  border-radius: 18px;
  text-align: center;
}

.completion-donate-title {
  font-family: 'Secular One', 'Heebo', sans-serif;
  font-size: 1.05rem;
  color: var(--deep-plum);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.completion-donate-text {
  font-size: 0.88rem;
  color: var(--warm-grey);
  line-height: 1.6;
  margin-bottom: 0.25rem;
}

.completion-donate-footer {
  font-size: 0.8rem;
  color: #9A8DA8;
  margin-bottom: 1rem;
}

.btn-completion-donate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #FFD95A, #F5C430);
  color: #5c4500;
  border: none;
  border-radius: 24px;
  padding: 0.6rem 1.6rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(180, 130, 0, 0.22);
  white-space: nowrap;
}

.btn-completion-donate:hover {
  background: linear-gradient(135deg, #FFE57A, #F5C355);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 130, 0, 0.30);
}

.btn-completion-donate:active {
  transform: translateY(0);
}

/* === BUTTONS === */
.btn-primary {
  background: linear-gradient(135deg, var(--soft-plum), var(--deep-plum));
  color: white;
  border: none;
  padding: 0.9rem 2.8rem;
  font-size: 1.1rem;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(74, 50, 89, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(74, 50, 89, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: white;
  color: var(--soft-plum);
  border: 2px solid var(--pastel-lavender);
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: var(--pastel-lavender);
  border-color: var(--soft-plum);
}

/* === EXERCISE CONTAINER === */
.exercise-container {
  display: none;
  max-width: 580px;
  margin: 0 auto;
  padding: 1.5rem 1.2rem 6rem;
  position: relative;
  z-index: 1;
}

/* === PROGRESS BAR === */
.progress-wrapper {
  position: sticky;
  top: 0;
  background: rgba(250, 247, 252, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1rem 0.8rem;
  margin: 0 -1.2rem;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  z-index: 10;
  border-bottom: 1px solid rgba(200, 180, 220, 0.15);
  box-shadow: 0 2px 12px rgba(120, 90, 150, 0.06);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.55rem;
}

.progress-label {
  font-size: 0.8rem;
  color: var(--warm-grey);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.progress-step {
  font-size: 0.8rem;
  color: var(--soft-plum);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(200, 180, 220, 0.25);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--soft-plum), #9B72B0);
  border-radius: 5px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === STEP DOTS === */
.step-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0.65rem;
  padding-top: 0.15rem;
}

.step-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(200, 180, 220, 0.35);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.step-dot.active {
  background: var(--soft-plum);
  transform: scale(1.25);
  box-shadow: 0 0 6px rgba(120, 90, 150, 0.3);
}
.step-dot.completed {
  background: var(--pastel-mint);
  border-color: #8BC49E;
}

/* === STEP CARD === */
.step-card {
  display: none;
  background: white;
  border-radius: 24px;
  padding: 2rem 1.8rem;
  margin-top: 1.2rem;
  box-shadow: var(--card-shadow);
  animation: slideIn 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.step-card.active { display: block; }

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

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

.step-card.active .step-number {
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 0.05s;
}
.step-card.active .step-title {
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 0.15s;
}
.step-card.active .step-subtitle {
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 0.25s;
}
.step-card.active .step-body {
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 0.35s;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
}

.step-card[data-color="lavender"]::before { background: linear-gradient(90deg, #D4B8E0, #E8DCF0); }
.step-card[data-color="sky"]::before { background: linear-gradient(90deg, #A8D4F0, #D6EAF8); }
.step-card[data-color="peach"]::before { background: linear-gradient(90deg, #F0B8A0, #FDDCCC); }
.step-card[data-color="mint"]::before { background: linear-gradient(90deg, #8BC49E, #D4EDDA); }
.step-card[data-color="rose"]::before { background: linear-gradient(90deg, #E0A0A0, #F5D5D5); }
.step-card[data-color="butter"]::before { background: linear-gradient(90deg, #E8D88C, #FFF8DC); }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.step-card[data-color="lavender"] .step-number { background: var(--pastel-lavender); color: var(--deep-plum); }
.step-card[data-color="sky"] .step-number { background: var(--pastel-sky); color: #2C5F8A; }
.step-card[data-color="peach"] .step-number { background: var(--pastel-peach); color: #8A4A2C; }
.step-card[data-color="mint"] .step-number { background: var(--pastel-mint); color: #2C6B3F; }
.step-card[data-color="rose"] .step-number { background: var(--pastel-rose); color: #7A3040; }
.step-card[data-color="butter"] .step-number { background: var(--pastel-butter); color: #6B5A20; }

.step-title {
  font-family: 'Secular One', 'Heebo', sans-serif;
  font-size: 1.45rem;
  color: var(--deep-plum);
  margin-bottom: 0.4rem;
}

.step-subtitle {
  font-size: 0.88rem;
  color: #9A8DA8;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.step-body {
  color: var(--warm-grey);
  font-size: 0.95rem;
  line-height: 1.85;
}

.step-body p { margin-bottom: 1rem; }

.instruction-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.7rem;
  padding: 0.5rem 0.7rem;
  background: rgba(250, 247, 252, 0.6);
  border-radius: 10px;
}

.instruction-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 2px;
}

/* === CHECKBOXES === */
.checkbox-group {
  margin: 1.2rem 0;
}

.checkbox-item {
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.5rem;
  background: var(--light-bg);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}
.checkbox-item:hover { border-color: var(--pastel-lavender); background: #F5F0FA; }
.checkbox-item.checked {
  background: linear-gradient(135deg, #E8DCF0, #DDD0F0);
  border-color: var(--soft-plum);
  box-shadow: 0 2px 8px rgba(107, 77, 123, 0.15);
}
.checkbox-item.checked .checkbox-label {
  color: var(--deep-plum);
  font-weight: 500;
}

.checkbox-item input[type="checkbox"] { display: none; }

.custom-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #C4B8D0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
  background: white;
}
.checkbox-item.checked .custom-check {
  background: var(--soft-plum);
  border-color: var(--soft-plum);
}
.custom-check svg {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.checkbox-item.checked .custom-check svg { opacity: 1; }

.checkbox-label {
  font-size: 0.95rem;
  color: var(--warm-grey);
}

/* === TEXT INPUTS === */
.text-field {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #E8E0F0;
  border-radius: 14px;
  font-family: 'Heebo', sans-serif;
  font-size: 0.95rem;
  color: var(--deep-plum);
  background: var(--light-bg);
  resize: none;
  transition: all 0.3s ease;
  line-height: 1.7;
}
.text-field:focus {
  outline: none;
  border-color: var(--soft-plum);
  background: white;
  box-shadow: 0 0 0 3px rgba(107, 77, 123, 0.1);
}
.text-field::placeholder { color: #BEB4C8; font-weight: 300; }

.field-label {
  font-size: 0.88rem;
  color: var(--soft-plum);
  font-weight: 500;
  margin-bottom: 0.4rem;
  display: block;
}

.field-group {
  margin: 1rem 0;
}

/* === VALUE CHIPS === */
.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1rem 0;
}

.value-chip {
  -webkit-tap-highlight-color: transparent;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  border: 2px solid #E8E0F0;
  background: white;
  font-family: 'Heebo', sans-serif;
  font-size: 0.88rem;
  color: var(--warm-grey);
  cursor: pointer;
  transition: all 0.25s ease;
}
.value-chip:hover {
  border-color: var(--pastel-lavender);
  background: var(--light-bg);
}
.value-chip.selected {
  background: linear-gradient(135deg, var(--pastel-lavender), var(--pastel-sky));
  border-color: var(--soft-plum);
  color: var(--deep-plum);
  font-weight: 500;
}

/* === REFLECTION BOX === */
.reflection-box {
  background: linear-gradient(135deg, rgba(232,220,240,0.3), rgba(214,234,248,0.3));
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  margin: 1.2rem 0;
  border-inline-start: 4px solid var(--soft-plum);
}

.reflection-box .reflection-label {
  font-size: 0.85rem;
  color: var(--soft-plum);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* === TIP BOX === */
.tip-box {
  background: var(--pastel-butter);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
  font-size: 0.88rem;
  color: #6B5A20;
  line-height: 1.7;
}

.tip-box .tip-label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* === NAVIGATION === */
.nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #E8E0F0;
  padding: 0.8rem 1.5rem;
  padding-bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  display: none;
}

/* === COMPLETION SCREEN === */
.completion-screen {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
  animation: slideIn 0.5s ease;
}

.completion-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--pastel-mint), var(--pastel-sky));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  margin: 0 auto 1.5rem;
  animation: breathe 3s ease-in-out infinite;
}

.completion-screen h2 {
  font-family: 'Secular One', 'Heebo', sans-serif;
  font-size: 1.6rem;
  color: var(--deep-plum);
  margin-bottom: 0.8rem;
}

.completion-screen p {
  color: var(--warm-grey);
  line-height: 1.8;
  max-width: 400px;
  margin: 0 auto 2rem;
}

.summary-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  text-align: start;
  box-shadow: var(--card-shadow);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.summary-card h3 {
  font-family: 'Secular One', 'Heebo', sans-serif;
  font-size: 1rem;
  color: var(--deep-plum);
  margin-bottom: 1rem;
  font-weight: 600;
}

.summary-item {
  padding: 0.7rem 0;
  border-bottom: 1px solid #F0EBF5;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.summary-item:last-child { border-bottom: none; }

.summary-item .s-label {
  font-size: 0.82rem;
  color: #9A8DA8;
  min-width: 70px;
  flex-shrink: 0;
}

.summary-item .s-value {
  font-size: 0.9rem;
  color: var(--deep-plum);
  font-weight: 500;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .step-card { padding: 1.5rem 1.3rem; border-radius: 18px; }
  .exercise-container { padding: 1rem 0.8rem 5.5rem; }
  .progress-wrapper {
    margin: 0 -0.8rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
  .welcome-desc { padding: 1.2rem; }
}

/* === BREATHING TECHNIQUE SELECTOR (chip-style) === */
.breath-selector-label-title {
  display: block;
  font-size: 0.78rem;
  color: var(--warm-grey);
  margin: 1rem 0 0.3rem;
  text-align: center;
}

.breath-selector {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 0.5rem;
  justify-content: center;
}

.breath-chip {
  -webkit-tap-highlight-color: transparent;
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  border: 2px solid #E8E0F0;
  background: white;
  font-family: 'Heebo', sans-serif;
  font-size: 0.82rem;
  color: var(--warm-grey);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  line-height: 1.3;
}
.breath-chip:hover { border-color: var(--pastel-lavender); background: #F5F0FA; }

/* Technique-specific selected states */
.breath-chip.selected[data-technique="478"] {
  background: linear-gradient(135deg, #C5CAE9, #E8DCF0);
  border-color: #5C6BC0;
  color: #283593;
  font-weight: 600;
}
.breath-chip.selected[data-technique="box"] {
  background: linear-gradient(135deg, #D7CCC8, #EFEBE9);
  border-color: #8D6E63;
  color: #4E342E;
  font-weight: 600;
}
.breath-chip.selected[data-technique="voo"] {
  background: linear-gradient(135deg, #FFE0B2, #FFF3E0);
  border-color: #FB8C00;
  color: #E65100;
  font-weight: 600;
}
.breath-chip.selected[data-technique="custom"] {
  background: linear-gradient(135deg, var(--pastel-lavender), var(--pastel-mint));
  border-color: var(--soft-plum);
  color: var(--deep-plum);
  font-weight: 600;
}

/* Explanation area below chips */
.breath-explain {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease,
              margin 0.4s ease,
              transform 0.4s ease;
  opacity: 0;
  margin: 0;
  transform: translateY(-6px);
}
.breath-explain.visible {
  max-height: 200px;
  opacity: 1;
  margin: 0.5rem 0 0.8rem;
  transform: translateY(0);
}
.breath-explain-inner {
  border-radius: 14px;
  padding: 0.7rem 1rem;
  font-size: 0.84rem;
  line-height: 1.65;
  border-inline-start: 3px solid #E8E0F0;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  background: var(--light-bg);
  color: var(--warm-grey);
}
.breath-explain-inner[data-active="478"] {
  border-inline-start-color: #5C6BC0;
  background: linear-gradient(135deg, rgba(197,202,233,0.25), rgba(232,220,240,0.2));
  color: #3949AB;
}
.breath-explain-inner[data-active="box"] {
  border-inline-start-color: #8D6E63;
  background: linear-gradient(135deg, rgba(215,204,200,0.25), rgba(239,235,233,0.25));
  color: #5D4037;
}
.breath-explain-inner[data-active="voo"] {
  border-inline-start-color: #FB8C00;
  background: linear-gradient(135deg, rgba(255,224,178,0.25), rgba(255,243,224,0.2));
  color: #E65100;
}

.breath-explain-inner .explain-title {
  font-weight: 600;
  margin-bottom: 2px;
}
.breath-explain-inner[data-active="478"] .explain-title { color: #283593; }
.breath-explain-inner[data-active="box"] .explain-title { color: #4E342E; }
.breath-explain-inner[data-active="voo"] .explain-title { color: #BF360C; }
.breath-explain-inner[data-active="custom"] {
  border-inline-start-color: var(--soft-plum);
  background: linear-gradient(135deg, rgba(232,220,240,0.2), rgba(212,237,218,0.15));
  color: var(--warm-grey);
}
.breath-explain-inner[data-active="custom"] .explain-title { color: var(--deep-plum); }

/* === CUSTOM BREATHING SLIDER === */
.breath-slider-wrap {
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
}

.breath-slider-label {
  font-size: 0.78rem;
  color: var(--soft-plum);
  white-space: nowrap;
  min-width: 28px;
  text-align: center;
  font-weight: 600;
}

.breath-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: var(--pastel-lavender);
  outline: none;
  transition: opacity 0.2s;
}
.breath-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--soft-plum);
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(74, 50, 89, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.breath-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 10px rgba(74, 50, 89, 0.3);
}
.breath-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--soft-plum);
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 6px rgba(74, 50, 89, 0.2);
}
.breath-slider::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: var(--pastel-lavender);
  border: none;
}

.breath-slider-hint {
  font-size: 0.75rem;
  color: #9A8DA8;
  text-align: center;
  margin-top: 0.3rem;
}

/* Mobile: smaller text on chips */
@media (max-width: 400px) {
  .breath-chip { font-size: 0.74rem; padding: 0.4rem 0.7rem; }
}

/* === BREATHING WIDGET === */
.breathing-widget {
  margin: 1.5rem auto;
  text-align: center;
  max-width: 280px;
}

.breathing-circle {
  -webkit-tap-highlight-color: transparent;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  background: radial-gradient(circle at 38% 38%, rgba(255,255,255,0.45), transparent 60%),
              linear-gradient(135deg, var(--pastel-lavender), var(--pastel-sky));
  transition: transform 4s ease-in-out,
              opacity 3s ease-in-out,
              box-shadow 3s ease-in-out,
              background 0.8s ease;
  transform: scale(0.72);
  opacity: 0.65;
  box-shadow: 0 0 0 0 rgba(107, 77, 123, 0);
}

/* ---- Technique color themes ---- */

/* 4-7-8: deep blue / lavender / silk flow */
.breathing-circle.theme-478 {
  background: radial-gradient(circle at 38% 38%, rgba(255,255,255,0.35), transparent 58%),
              linear-gradient(135deg, #B39DDB, #90CAF9, #CE93D8);
  background-size: 200% 200%;
  animation: silkFlow478 8s ease-in-out infinite;
}
@keyframes silkFlow478 {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Box: warm terracotta-clay, grounded */
.breathing-circle.theme-box {
  background: radial-gradient(circle at 38% 38%, rgba(255,255,255,0.28), transparent 52%),
              linear-gradient(135deg, #A0826D, #C49A6C, #8D6E63);
  background-size: 200% 200%;
  animation: earthShift 10s ease-in-out infinite;
}
@keyframes earthShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Voo: sunset resonance — amber → coral → rose */
.breathing-circle.theme-voo {
  background: radial-gradient(circle at 38% 38%, rgba(255,255,255,0.32), transparent 55%),
              linear-gradient(135deg, #FFB74D, #FF8A65, #F06292);
  background-size: 200% 200%;
  animation: amberPulse 7s ease-in-out infinite;
}
@keyframes amberPulse {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---- Phase states ---- */

/* inhale: circle grows to fill the ring exactly (scale 1.0 = 160px = ring inner edge) */
.breathing-circle.inhale {
  transform: scale(1.0);
  opacity: 1;
}
.breathing-circle.inhale.theme-478 { box-shadow: 0 0 36px 10px rgba(92, 107, 192, 0.18); }
.breathing-circle.inhale.theme-box { box-shadow: 0 0 28px 8px rgba(140, 100, 70, 0.2); }
.breathing-circle.inhale.theme-voo { box-shadow: 0 0 40px 12px rgba(240, 98, 146, 0.18); }
.breathing-circle.inhale.theme-custom { box-shadow: 0 0 32px 10px rgba(92, 107, 192, 0.12); }

/* hold: stays at ring edge, same scale as inhale */
.breathing-circle.hold {
  transform: scale(1.0);
}
.breathing-circle.hold.theme-478 { box-shadow: 0 0 28px 7px rgba(92, 107, 192, 0.14); }
.breathing-circle.hold.theme-box { box-shadow: 0 0 22px 6px rgba(140, 100, 70, 0.16); }
.breathing-circle.hold.theme-voo { box-shadow: 0 0 30px 8px rgba(240, 98, 146, 0.15); }

/* exhale: circle pulls away from ring, ring drains independently */
.breathing-circle.exhale {
  transform: scale(0.72);
  opacity: 0.68;
  box-shadow: 0 0 0 0 transparent;
}

/* pause-after: small and quiet — ring is already stopped */
.breathing-circle.pause-after {
  transform: scale(0.72);
  opacity: 0.68;
  box-shadow: 0 0 0 0 transparent;
}

/* Box: circle moves with the breath — no lock */

/* phase-transition class removed — no longer used by rAF engine */

/* ---- Ripple on exhale — expands outward and fades like a wave ---- */
.breathing-circle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  pointer-events: none;
}

.breathing-circle.exhale::after {
  animation: breathRipple 2.4s ease-out infinite;
}

/* box: no ripple during pause-after (hold after exhale) */
.breathing-circle.pause-after.theme-box::after {
  animation: none;
  opacity: 0;
}

.breathing-circle.inhale::after,
.breathing-circle.hold::after {
  animation: none;
  opacity: 0;
}

@keyframes breathRipple {
  0%   { transform: scale(1);    opacity: 0.38; }
  100% { transform: scale(1.55); opacity: 0;    }
}

/* Ripple color tinted per technique */
.breathing-circle.theme-478   { color: rgba(92,  107, 192, 0.6); }
.breathing-circle.theme-box   { color: rgba(140, 100,  70, 0.6); }
.breathing-circle.theme-voo   { color: rgba(240,  98, 146, 0.6); }
.breathing-circle.theme-custom { color: rgba(107,  77, 123, 0.6); }

/* ---- Opacity pulse on hold — subtle alive feel, prevents frozen look ---- */
@keyframes holdAlive {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 1;    }
}

.breathing-circle.hold {
  animation: holdAlive 2.6s ease-in-out infinite;
}

/* preshrink: transition-target before the first inhale — same size as exhale minimum */
.breathing-circle.preshrink {
  transform: scale(0.72);
  opacity: 0.68;
  box-shadow: 0 0 0 0 transparent;
}

/* ---- Idle: organic alive breathing with glow ---- */
.breathing-circle.idle {
  transition: background 0.8s ease;
  animation: idleBreathe 8.5s ease-in-out infinite;
}

@keyframes idleBreathe {
  0%, 100% {
    transform: scale(0.72);
    opacity: 0.72;
    box-shadow: 0 0 12px 4px rgba(107, 77, 123, 0.06);
  }
  50% {
    transform: scale(0.86);
    opacity: 0.9;
    box-shadow: 0 0 28px 10px rgba(107, 77, 123, 0.12);
  }
}

/* Idle glow tinted per technique */
.breathing-circle.idle.theme-478 {
  animation: idleBreathe478 8.5s ease-in-out infinite;
}
@keyframes idleBreathe478 {
  0%, 100% {
    transform: scale(0.72); opacity: 0.72;
    box-shadow: 0 0 14px 5px rgba(92, 107, 192, 0.08);
  }
  50% {
    transform: scale(0.86); opacity: 0.9;
    box-shadow: 0 0 30px 12px rgba(92, 107, 192, 0.16);
  }
}

.breathing-circle.idle.theme-box {
  animation: idleBreatheBox 9s ease-in-out infinite;
}
@keyframes idleBreatheBox {
  0%, 100% {
    transform: scale(0.72); opacity: 0.72;
    box-shadow: 0 0 12px 4px rgba(140, 100, 70, 0.09);
  }
  50% {
    transform: scale(0.86); opacity: 0.88;
    box-shadow: 0 0 26px 10px rgba(140, 100, 70, 0.18);
  }
}

.breathing-circle.idle.theme-voo {
  animation: idleBreatheVoo 8s ease-in-out infinite;
}
@keyframes idleBreatheVoo {
  0%, 100% {
    transform: scale(0.72); opacity: 0.72;
    box-shadow: 0 0 14px 5px rgba(240, 98, 146, 0.09);
  }
  50% {
    transform: scale(0.86); opacity: 0.9;
    box-shadow: 0 0 32px 14px rgba(240, 98, 146, 0.2);
  }
}

/* vooRipple removed — ring is the sole progress indicator */

.breath-phase-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--deep-plum);
  margin-bottom: 2px;
}

.breath-timer-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--soft-plum);
  line-height: 1;
}

.breath-cta {
  font-size: 0.78rem;
  color: var(--soft-plum);
  font-weight: 400;
}

/* Ring progress around circle */
.breathing-ring-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

.breathing-ring-container .breathing-circle {
  position: absolute;
  top: 10px;
  left: 10px;
}

.breathing-ring-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  transform: rotate(-90deg);
  pointer-events: none;
}

.breathing-ring-bg {
  fill: none;
  stroke: #E8E0F0;
  stroke-width: 3;
}

.breathing-ring-progress {
  fill: none;
  stroke: var(--soft-plum);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 534;
  transition: stroke-dashoffset linear;
  opacity: 0.6;
}

/* Technique-colored ring */
.breathing-ring-progress.ring-478 { stroke: #5C6BC0; }
.breathing-ring-progress.ring-box { stroke: #A0826D; }
.breathing-ring-progress.ring-voo { stroke: #F06292; }
.breathing-ring-progress.ring-custom { stroke: var(--soft-plum); }

/* Custom technique theme — temperature-shifting gradients */
.breathing-circle.theme-custom {
  background: radial-gradient(circle at 38% 38%, rgba(255,255,255,0.4), transparent 58%),
              linear-gradient(135deg, var(--pastel-lavender), var(--pastel-mint), var(--pastel-sky));
  background-size: 200% 200%;
  animation: customFlow 9s ease-in-out infinite;
  transition: background 1.5s ease-in-out,
              transform 4s ease-in-out,
              opacity 3s ease-in-out,
              box-shadow 3s ease-in-out;
}
@keyframes customFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Inhale: cool — lavender-sky, open and expansive */
.breathing-circle.inhale.theme-custom {
  background: radial-gradient(circle at 38% 38%, rgba(255,255,255,0.45), transparent 55%),
              linear-gradient(135deg, #B8C9E8, #C5CAE9, #D6EAF8) !important;
  box-shadow: 0 0 40px 12px rgba(92, 107, 192, 0.14);
  animation: none;
}

/* Exhale: warm — peach-rose, settling and grounding */
.breathing-circle.exhale.theme-custom {
  background: radial-gradient(circle at 38% 38%, rgba(255,255,255,0.4), transparent 55%),
              linear-gradient(135deg, #F5D5D5, #FDDCCC, #FFE8D6) !important;
  box-shadow: 0 0 0 0 transparent;
  animation: none;
}

/* Phase-transition: blend — the in-between warmth */
.breathing-circle.phase-transition.theme-custom {
  background: radial-gradient(circle at 38% 38%, rgba(255,255,255,0.4), transparent 55%),
              linear-gradient(135deg, var(--pastel-lavender), #F0E0EC, var(--pastel-peach)) !important;
}

.breathing-circle.idle.theme-custom {
  animation: idleBreatheCustom 8.5s ease-in-out infinite;
}
@keyframes idleBreatheCustom {
  0%, 100% {
    transform: scale(0.72); opacity: 0.72;
    box-shadow: 0 0 13px 5px rgba(107, 77, 123, 0.07);
  }
  50% {
    transform: scale(0.86); opacity: 0.9;
    box-shadow: 0 0 28px 11px rgba(107, 77, 123, 0.14);
  }
}

.breath-stop-btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.4rem 1.4rem;
  border-radius: 50px;
  border: 1.5px solid #E8E0F0;
  background: white;
  font-family: 'Heebo', sans-serif;
  font-size: 0.82rem;
  color: var(--warm-grey);
  cursor: pointer;
  transition: all 0.2s ease;
}
.breath-stop-btn:hover { border-color: var(--soft-plum); color: var(--deep-plum); }

/* === WELCOME FOOTER === */
.welcome-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200, 180, 220, 0.2);
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(214, 234, 248, 0.45);
  border: 1px solid rgba(150, 195, 230, 0.38);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.76rem;
  line-height: 1.65;
  color: #2C5F80;
  text-align: start;
  width: 100%;
}

.footer-disclaimer .disclaimer-icon {
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 1px;
}

.footer-contact {
  font-size: 0.78rem;
  color: #9A8DA8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-contact a {
  color: var(--soft-plum);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.footer-contact a:hover { opacity: 0.7; text-decoration: underline; }

.footer-sep {
  color: rgba(154, 141, 168, 0.4);
  font-size: 0.75rem;
  line-height: 1;
}

.footer-copy {
  color: #9A8DA8;
  font-size: 0.74rem;
}

/* === PRINT-FRIENDLY === */
@media print {
  .nav-bar, .progress-wrapper { display: none !important; }
  .step-card { display: block !important; page-break-inside: avoid; margin-bottom: 1rem; box-shadow: none; border: 1px solid #ddd; }
  body { background: white; }
}

/* === PRIVACY NOTICE — CLICKABLE === */
.privacy-notice--clickable {
  cursor: pointer;
  position: relative;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  user-select: none;
}
.privacy-notice--clickable:hover,
.privacy-notice--clickable:focus-visible {
  background: linear-gradient(135deg, rgba(214, 234, 248, 0.75) 0%, rgba(232, 220, 240, 0.65) 100%);
  border-color: rgba(107, 77, 123, 0.38);
  box-shadow: 0 4px 18px rgba(74, 50, 89, 0.13);
  outline: none;
}
.privacy-notice-arrow {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--soft-plum);
  opacity: 0.55;
  margin-inline-start: auto;
  transition: opacity 0.18s ease;
}
.privacy-notice--clickable:hover .privacy-notice-arrow { opacity: 1; }

/* === PRIVACY MODAL === */
.privacy-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(44, 28, 56, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: pmFadeIn 0.22s ease;
}

@keyframes pmFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.privacy-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  max-height: calc(100dvh - 2rem);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(44, 28, 56, 0.24), 0 4px 16px rgba(74, 50, 89, 0.1);
  animation: pmSlideUp 0.26s cubic-bezier(0.34, 1.3, 0.64, 1);
  overflow: hidden;
  position: relative;
}

@keyframes pmSlideUp {
  from { transform: translateY(28px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1);      opacity: 1; }
}

.privacy-modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(74, 50, 89, 0.07);
  color: var(--deep-plum);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s ease;
  z-index: 1;
}
.privacy-modal-close:hover { background: rgba(74, 50, 89, 0.14); }

.privacy-modal-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1.4rem 1.6rem 1rem;
  border-bottom: 1px solid rgba(200, 180, 220, 0.22);
  flex-shrink: 0;
}

.privacy-modal-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 1px 3px rgba(74,50,89,0.2));
}

.privacy-modal-title {
  font-family: 'Secular One', 'Heebo', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--deep-plum);
  line-height: 1.3;
}

.privacy-modal-body {
  overflow-y: auto;
  padding: 1.2rem 1.6rem;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.privacy-section {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(200, 180, 220, 0.2);
}
.privacy-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.privacy-section h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--deep-plum);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.privacy-section p {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--warm-grey);
}

.privacy-section a {
  color: var(--soft-plum);
  font-weight: 600;
  text-decoration: none;
}
.privacy-section a:hover { text-decoration: underline; }

.privacy-section--contact {
  background: linear-gradient(135deg, rgba(214,234,248,0.35) 0%, rgba(232,220,240,0.3) 100%);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  border-bottom: none !important;
  margin-bottom: 0 !important;
}

.privacy-modal-footer {
  padding: 1rem 1.6rem 1.4rem;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  border-top: 1px solid rgba(200, 180, 220, 0.18);
}

.privacy-modal-ok {
  min-width: 140px;
}

.btn-whatsapp {
  display: block;
  margin: 1rem auto 0;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  border: 1.5px solid #25D366;
  background: white;
  font-family: 'Heebo', sans-serif;
  font-size: 0.88rem;
  color: #128C50;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}
.btn-whatsapp:hover {
  background: #F0FBF4;
  border-color: #128C50;
  color: #0a6637;
}
