/* ============================================
  TRANQUILIVA — SHARED DESIGN SYSTEM
  styles.css
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Sora:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
  --teal: #3fbbc0;
  --teal-light: #e8f8f9;
  --teal-mid: #b2e8ea;
  --teal-dark: #2a9aa0;
  --dark: #0a2533;
  --white: #ffffff;
  --surface: #f5f9fa;
  --urgency: #ff6b6b;
  --violet: #7b5ea7;
  --violet-light: #f0ebf8;
  --violet-mid: #c4b0e0;
  --color-purple: #b785cc;
  --grad-accent: linear-gradient(135deg, var(--teal) 0%, #b785cc 100%);
  --grad-subtle: linear-gradient(135deg, rgba(63,187,192,0.12) 0%, rgba(183,133,204,0.10) 100%);
  --text-primary: #0a2533;
  --text-secondary: #4a6070;
  --text-muted: #8aa0ad;
  --border: #d8eef0;
  --shadow-sm: 0 2px 8px rgba(63,187,192,0.08);
  --shadow-md: 0 8px 32px rgba(63,187,192,0.12);
  --shadow-lg: 0 16px 48px rgba(63,187,192,0.18);
  --shadow-hover: 0 20px 60px rgba(63,187,192,0.25);
  --shadow-violet: 0 8px 32px rgba(183,133,204,0.2);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --primary: #3fbbc0;
  --color-primary: #3fbbc0;
  --text: #0a2533;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: #f4fbf9;
  line-height: 1.6;
  overflow-x: hidden;
  top: 0 !important;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-primary); line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.7rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { line-height: 1.75; color: var(--text-secondary); }
.text-teal { color: var(--teal); }
.text-violet { color: var(--violet); }
.text-dark { color: var(--dark); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.lead { font-size: 1.15rem; font-weight: 400; line-height: 1.8; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }
.bg-white { background: var(--white); }
.bg-surface { background: var(--surface); }
.bg-dark { background: var(--dark); }
.bg-grad { background: var(--grad-subtle); }
.bg-purple-wash { background: rgba(183,133,204,0.06); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 27px; border-radius: 50px;
  font-family: var(--font-body); font-size: 0.93rem; font-weight: 600;
  transition: var(--transition); cursor: pointer; border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--color-purple); border-color: var(--color-purple); transform: translateY(-2px); box-shadow: var(--shadow-violet); }
.btn-secondary { background: var(--surface); color: var(--dark); border-color: var(--border); }
.btn-secondary:hover { background: rgba(183,133,204,0.12); border-color: var(--color-purple); transform: translateY(-2px); }
.btn-violet { background: var(--color-purple); color: var(--white); border-color: var(--color-purple); }
.btn-violet:hover { background: #a06ab8; border-color: #a06ab8; transform: translateY(-2px); box-shadow: var(--shadow-violet); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--color-purple); color: var(--white); border-color: var(--color-purple); transform: translateY(-2px); }
.btn-outline-violet { background: transparent; color: var(--color-purple); border-color: var(--color-purple); }
.btn-outline-violet:hover { background: var(--color-purple); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--dark); }
.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: #112e3f; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 9px 19px; font-size: 0.82rem; }
.btn-lg { padding: 17px 35px; font-size: 1.02rem; }

/* Assessment CTA button */
.btn-assessment {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid var(--color-purple);
  color: var(--color-purple);
  background: transparent;
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-assessment:hover { background: var(--color-purple); color: white; }

/* ── Cards ── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--border);
  transition: var(--transition); position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-glass {
  background: rgba(255,255,255,0.88); backdrop-filter: blur(20px);
  border: 1px solid rgba(63,187,192,0.2); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.card-glass:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--color-purple); }
.card-teal-border { border-left: 4px solid var(--teal); }
.card-violet-border { border-left: 4px solid var(--color-purple); }
.card-teal-top { border-top: 4px solid var(--teal); }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 50px; font-size: 0.73rem; font-weight: 600;
}
.badge-teal { background: var(--teal-light); color: var(--teal-dark); border: 1px solid rgba(183,133,204,0.15); }
.badge-violet { background: rgba(183,133,204,0.15); color: var(--color-purple); border: 1px solid rgba(183,133,204,0.3); }
.badge-free { background: #e8f8f9; color: var(--teal-dark); }
.badge-premium { background: rgba(183,133,204,0.12); color: var(--color-purple); border: 1px solid rgba(183,133,204,0.25); }
.badge-always-free { background: #e8f9ee; color: #1a7f3c; }
.badge-urgency { background: #fff0f0; color: var(--urgency); }
.badge-verified { background: #e8f9ee; color: #1a7f3c; }

/* ── Icon Wrappers ── */
.icon-wrap {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--teal-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.icon-wrap-lg {
  width: 70px; height: 70px; border-radius: 20px;
  background: linear-gradient(135deg, var(--teal-light) 0%, rgba(183,133,204,0.15) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
}
.icon-wrap-violet {
  width: 54px; height: 54px; border-radius: 16px;
  background: rgba(183,133,204,0.15); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

/* ── Section Headers ── */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 16px;
}
.section-tag::before { content: ''; display: block; width: 24px; height: 2px; background: var(--grad-accent); }
.section-tag-violet {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-purple); font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 16px;
}
.section-tag-violet::before { content: ''; display: block; width: 24px; height: 2px; background: var(--color-purple); }
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.07rem; color: var(--text-secondary); max-width: 560px; line-height: 1.75; }
.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }
.section-header.centered .section-tag { justify-content: center; }
.section-header.centered .section-tag-violet { justify-content: center; }

/* ── Divider ── */
.divider { height: 2px; background: var(--grad-accent); width: 64px; margin: 24px 0; }
.divider-violet { height: 2px; background: var(--color-purple); width: 64px; margin: 24px 0; }
.divider-center { margin: 24px auto; }

/* ── Callout ── */
.callout {
  background: var(--teal-light); border-left: 4px solid var(--teal);
  border-radius: var(--radius-md); padding: 24px 28px;
}
.callout p { color: var(--teal-dark); font-weight: 500; }
.callout-violet {
  background: rgba(183,133,204,0.1); border-left: 4px solid var(--color-purple);
  border-radius: var(--radius-md); padding: 24px 28px;
}
.callout-violet p { color: var(--color-purple); font-weight: 500; }
.teal-box {
  background: var(--teal-light); border-radius: var(--radius-md);
  padding: 32px; border: 1px solid var(--teal-mid);
}

/* ── Form Elements ── */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
.form-control {
  padding: 13px 17px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.93rem;
  color: var(--text-primary); background: var(--white);
  transition: var(--transition); outline: none; width: 100%;
}
.form-control:focus { border-color: var(--color-purple); box-shadow: 0 0 0 4px rgba(183,133,204,0.12); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }

/* ── Toggle Switch ── */
.toggle-wrap { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.toggle-label { font-size: 0.93rem; color: var(--text-primary); font-weight: 500; }
.toggle {
  position: relative; width: 52px; height: 28px;
  background: var(--border); border-radius: 50px; cursor: pointer;
  transition: var(--transition);
}
.toggle.active { background: var(--teal); }
.toggle::after {
  content: ''; position: absolute; width: 22px; height: 22px;
  background: white; border-radius: 50%; top: 3px; left: 3px;
  transition: var(--transition); box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.toggle.active::after { left: 27px; }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10,37,51,0.6);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  z-index: 1000; opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 40px; max-width: 480px; width: 90%;
  transform: scale(0.9) translateY(20px); transition: var(--transition);
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }

/* ── Assessment Modal ── */
.assessment-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.assessment-modal.closed { display: none; }
.assessment-modal [data-modal-overlay] {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
}
.modal-box {
  position: relative; background: var(--white);
  border-radius: 16px; padding: 40px;
  max-width: 560px; width: 90%; max-height: 85vh;
  overflow-y: auto; z-index: 1;
}
.modal-box h3 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--dark); margin-bottom: 10px; }
.modal-subtext { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; line-height: 1.6; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--surface); border: none; border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--text-muted); transition: var(--transition);
}
.modal-close:hover { background: var(--border); color: var(--dark); }
.modal-box .question { display: none; }
.modal-box .question label:first-of-type { font-weight: 600; display: block; margin-bottom: 12px; color: var(--dark); }
.modal-box input[type=radio] { margin-right: 8px; accent-color: var(--color-purple); }
.modal-box .radio-option { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 0.9rem; color: var(--text-secondary); }
.next-btn, .start-btn {
  margin-top: 20px; padding: 10px 24px;
  border-radius: 999px; background: var(--color-purple);
  color: white; border: none; cursor: pointer;
  font-size: 0.9rem; font-family: var(--font-body);
  font-weight: 600; transition: background 0.2s ease;
}
.next-btn:hover, .start-btn:hover { background: #a06ab8; }
.result-section h4 { font-family: var(--font-heading); color: var(--dark); margin-bottom: 8px; }
.result-score { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--color-purple); margin: 8px 0; }
.result-label { font-size: 1rem; color: var(--text-secondary); margin-bottom: 16px; }
.result-disclaimer { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(244,251,249,0.94); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); height: 72px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-logo {
  font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800;
  color: var(--dark); text-decoration: none;
}
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; transition: color var(--transition); position: relative;
}
.nav-links a:hover { color: var(--color-purple); }
.nav-links a.active { color: var(--dark); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--grad-accent); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 16px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px; background: none; border: none;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--dark); border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  position: fixed; top: 72px; left: 0; right: 0;
  background: #f4fbf9; padding: 20px 24px 28px;
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0; font-size: 1rem; font-weight: 500;
  color: var(--text-secondary); border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--color-purple); }
.mobile-menu a:last-child { border: none; margin-top: 8px; text-align: center; }

/* Bento menu icon */
.hamburger svg { color: var(--color-primary); transition: color 0.2s ease; }
.hamburger:hover svg, .hamburger:focus svg { color: var(--color-purple); }
.hamburger:focus { outline: 2px solid var(--color-purple); outline-offset: 2px; border-radius: 4px; }

/* ── Footer ── */
.footer { background: var(--dark); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800;
  color: var(--white); margin-bottom: 12px;
}
.footer-tagline { font-size: 0.87rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.6); text-decoration: none;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--color-purple); color: white; }
.footer-heading { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-purple); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-crisis { font-size: 0.82rem; color: var(--urgency); font-weight: 600; }

/* ── Translate Widget ── */
.translate-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
}
.translate-label {
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.38);
  flex-shrink: 0;
  margin-right: 2px;
}
.translate-wrap .gflag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.68;
  text-decoration: none;
  border-radius: 4px;
  padding: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease, outline 0.18s ease;
  border: 2px solid transparent;
}
.translate-wrap .gflag:hover {
  transform: scale(1.3);
  opacity: 1;
}
.translate-wrap .gflag[style*="outline"] {
  opacity: 1;
}
.translate-wrap select {
  font-size: 0.72rem;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid rgba(183,133,204,0.35);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  font-family: var(--font-body);
  max-width: 155px;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.translate-wrap select:hover {
  border-color: var(--color-purple);
  background: rgba(183,133,204,0.1);
}
.translate-wrap select:focus { outline: 1px solid var(--color-purple); }
.translate-wrap select option,
.translate-wrap select optgroup {
  background: #0a2533;
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
}
/* Translating overlay */
#tq-translating { animation: tq-fade-in 0.2s ease; }
@keyframes tq-fade-in { from { opacity:0; } to { opacity:1; } }
/* Suppress any Google Translate toolbar if it ever appears */
#goog-gt-tt,
.goog-te-banner-frame,
.goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }

/* ── Google Translate: suppress banner + toolbar, keep element2 in DOM ── */
/* CRITICAL: #google_translate_element2 must NEVER be display:none */
/* Google needs to inject a <select class="goog-te-combo"> into it   */

/* Off-screen, not display:none — keeps widget functional */
/* ── Stats Bar ── */
.stats-bar { background: var(--dark); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading); font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800; color: var(--teal); display: block; margin-bottom: 6px;
  line-height: 1.1;
}
.stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); line-height: 1.4; }

/* ── Scroll Row ── */
.scroll-row {
  display: flex; gap: 24px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: none;
}
.scroll-row::-webkit-scrollbar { display: none; }

/* ── Steps ── */
.steps-container { position: relative; }
.step-item { transition: var(--transition); }
.step-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* ── Chip / Tag ── */
.chip {
  display: inline-flex; align-items: center;
  padding: 7px 16px; border-radius: 50px;
  background: var(--surface); color: var(--text-secondary);
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--border); transition: var(--transition);
}
.chip:hover { border-color: var(--color-purple); color: var(--color-purple); background: rgba(183,133,204,0.1); }
.chip.active { background: var(--color-purple); color: var(--white); border-color: var(--color-purple); }
.chip-violet { border-color: rgba(183,133,204,0.4); color: var(--color-purple); background: rgba(183,133,204,0.08); }
.chip-violet:hover, .chip-violet.active { background: var(--color-purple); color: var(--white); border-color: var(--color-purple); }

/* ── Check list ── */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text-secondary);
}
.check-list li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── Comparison Table ── */
.compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--radius-lg);
  font-size: 0.9rem;
}
.compare-table th {
  padding: 20px 24px; text-align: left;
  font-family: var(--font-heading); font-size: 0.88rem;
  background: var(--surface); border-bottom: 2px solid var(--border);
}
.compare-table th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.compare-table th:last-child { border-radius: 0 var(--radius-lg) 0 0; }
.compare-table td { padding: 14px 24px; border-bottom: 1px solid var(--border); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--teal); font-size: 1.1rem; }
.compare-table .dash { color: var(--border); font-size: 1.1rem; }
.compare-table .premium-col { background: rgba(183,133,204,0.05); }

/* ── Phone mockup ── */
.phone-float { animation: float 4s ease-in-out infinite; }
.phone-mockup {
  border-radius: 32px; overflow: hidden;
  background: var(--dark); box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255,255,255,0.1);
}
.phone-bar {
  background: rgba(255,255,255,0.05); padding: 10px 16px;
  display: flex; justify-content: center; align-items: center; gap: 6px;
}
.phone-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.phone-screen { flex: 1; background: #f4fbf9; padding: 16px; }

/* ── Blobs ── */
.blob {
  position: absolute;
  background: radial-gradient(circle, rgba(63,187,192,0.12) 0%, rgba(63,187,192,0) 70%);
  animation: blob-drift 8s ease-in-out infinite; pointer-events: none;
}
.blob-2 { animation-delay: -3s; }
.blob-3 { animation-delay: -6s; background: radial-gradient(circle, rgba(183,133,204,0.09) 0%, rgba(183,133,204,0) 70%); }
.orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,187,192,0.12) 0%, transparent 70%);
  animation: blob-drift 10s ease-in-out infinite; pointer-events: none;
}
.hero-grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}
.scroll-indicator { font-size: 1.5rem; color: var(--text-muted); animation: bounce-arrow 2s ease-in-out infinite; }

/* ── Chat bubbles ── */
.chat-msg { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 8px; }
.chat-msg.user-msg { flex-direction: row-reverse; }
.chat-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal); color: white; font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-bubble {
  padding: 10px 14px; border-radius: 16px; font-size: 0.85rem;
  line-height: 1.6; max-width: 75%;
}
.chat-bubble.ai { background: var(--white); color: var(--text-primary); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.chat-bubble.user { background: var(--teal); color: white; }
.typing-dots {
  display: flex; gap: 4px; padding: 10px 14px;
  background: var(--white); border-radius: 16px; border: 1px solid var(--border);
}
.typing-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted);
  animation: bounce-dot 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ── Mood Arc ── */
.mood-arc-container {
  width: 100%; height: 12px; background: var(--surface); border-radius: 50px;
  overflow: hidden; margin-bottom: 4px;
}
.mood-arc-fill { height: 100%; border-radius: 50px; transition: width 0.5s cubic-bezier(0.34,1.56,0.64,1), background 0.3s; }

/* ── Bar Chart ── */
.bar-chart { display: flex; gap: 12px; height: 120px; align-items: flex-end; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bar { width: 100%; border-radius: 6px 6px 0 0; background: linear-gradient(to top, var(--teal), var(--teal-mid)); min-height: 4px; transition: height 0.5s ease; }
.bar-label { font-size: 0.7rem; color: var(--text-muted); }

/* ── Timeline ── */
.timeline { padding-left: 32px; border-left: 2px solid var(--border); position: relative; }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -34px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal); border: 3px solid white; box-shadow: 0 0 0 2px var(--teal);
}
.timeline-year { font-family: var(--font-heading); font-weight: 700; color: var(--teal); font-size: 0.87rem; margin-bottom: 4px; }
.timeline-content { color: var(--text-secondary); font-size: 0.92rem; }

/* ── Streak Tracker ── */
.streak-dots { display: flex; gap: 10px; align-items: center; }
.streak-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.67rem; font-weight: 700; color: var(--text-muted);
  transition: var(--transition);
}
.streak-dot.filled { background: var(--teal); border-color: var(--teal); color: white; }
.streak-dot.today { background: var(--teal); border-color: var(--teal-dark); color: white; box-shadow: 0 0 0 4px rgba(63,187,192,0.3); }

/* ── Payment Plans ── */
.plan-card { border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: var(--transition); }
.plan-card.featured { border-color: var(--teal); box-shadow: var(--shadow-md); position: relative; }
.plan-card .plan-name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.plan-card .plan-price { font-family: var(--font-heading); font-size: 2.3rem; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: 4px; }
.plan-card .plan-price span { font-size: 0.95rem; font-weight: 400; color: var(--text-muted); }
.payment-badge { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.88rem; }
.payment-badge.mtn { background: #ffd700; color: #1a1a1a; }
.payment-badge.vodafone { background: #e60028; color: white; }
.payment-badge.airtel { background: #e8003d; color: white; }
.payment-badge.bank { background: #f0f0f0; color: #333; }

/* ── Loading Spinner ── */
.spinner {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid var(--teal-light); border-top-color: var(--teal);
  animation: spin 0.8s linear infinite; margin: 0 auto;
}

/* ── Therapist Cards ── */
.therapist-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--border); transition: var(--transition);
  display: flex; flex-direction: column; gap: 12px;
}
.therapist-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(183,133,204,0.4); }
.therapist-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; color: white;
}
.therapist-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--dark); }
.therapist-spec { font-size: 0.83rem; color: var(--color-purple); font-weight: 600; }
.therapist-meta { font-size: 0.8rem; color: var(--text-muted); }

/* ── Features image ── */
.features-image img { width: 100%; height: auto; object-fit: contain; display: block; }
@media (max-width: 768px) {
  .features-image { text-align: center; }
  .features-image img { max-width: 80%; margin: 0 auto; }
}

/* ── Quote Ticker ── */
.quote-ticker {
  position: fixed; bottom: 0; left: 0; width: 100%;
  z-index: 998; overflow: hidden;
  background: rgba(183,133,204,0.08);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(183,133,204,0.2);
  padding: 8px 0; pointer-events: none;
}
.ticker-track {
  display: flex; width: max-content;
  animation: tickerScroll 180s linear infinite;
  pointer-events: auto;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  white-space: nowrap; font-size: 11.5px;
  letter-spacing: 0.07em; color: #666;
  padding: 0 48px; opacity: 0.85;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Ambient Music Button ── */
.music-control {
  position: fixed; bottom: 52px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-purple); color: white;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; z-index: 999;
  box-shadow: 0 4px 16px rgba(183,133,204,0.4);
  transition: transform 0.25s ease, background 0.25s ease;
}
.music-control:hover { transform: scale(1.08); background: #a06ab8; }
.music-control:focus { outline: 2px solid var(--color-purple); outline-offset: 3px; }
.music-control.playing { animation: musicPulse 2s ease-in-out infinite; }
.music-control.muted { background: #ccc; box-shadow: none; }
@keyframes musicPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ── Padlock ── */
.padlock-active { animation: padlock-bounce 0.5s ease; display: inline-block; filter: drop-shadow(0 0 8px rgba(183,133,204,0.5)); }

/* ── Flip Book ── */
#flip_book {
  position: relative; width: 298px; height: 420px;
  perspective: 2000px; transform-style: preserve-3d;
  transition: transform 0.5s ease;
}
#flip_book > div {
  position: absolute; width: 100%; height: 100%;
  transform-style: preserve-3d;
}
.front_page, .back_page {
  position: absolute; width: 100%; height: 100%;
  backface-visibility: hidden;
  border-radius: 2px 8px 8px 2px;
  overflow: hidden;
}
.back_page { transform: rotateY(180deg); border-radius: 8px 2px 2px 8px; }
.front_cover { background: linear-gradient(135deg, var(--teal) 0%, var(--color-purple) 100%); z-index: 11; }
.back_cover { background: var(--dark); }
.flip-label {
  position: absolute; inset: 0; cursor: pointer;
  min-width: 44px; min-height: 44px; touch-action: manipulation;
}
#flip_book { transition: transform 0.5s ease; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .container { padding: 0 20px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 36px; }
  h1 { font-size: clamp(1.75rem, 7vw, 2.4rem) !important; }
  h2 { font-size: clamp(1.4rem, 5vw, 1.9rem) !important; }
  h3 { font-size: 1.2rem !important; }
  .lead { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns:1fr 1.1fr"],
  [style*="grid-template-columns: 1fr 1.1fr"] { display: flex !important; flex-direction: column !important; gap: 32px !important; }
  [style*="grid-template-columns:1fr 1fr"] > *,
  [style*="grid-template-columns: 1fr 1fr"] > * { max-width: 100% !important; }
  .nav-links { display: none !important; }
  .nav-cta .btn { display: none !important; }
  .nav-cta { gap: 0; }
  .hamburger { display: flex !important; }
  .nav-inner { padding: 0 16px; }
  section[style*="padding:120px"] { padding: 90px 0 48px !important; }
  section[style*="padding:100px"] { padding: 80px 0 40px !important; }
  section[style*="padding:140px"] { padding: 110px 0 48px !important; }
  section[style*="min-height:100vh"] { min-height: auto !important; padding: 90px 0 48px !important; }
  .phone-wrap, [style*="phone-wrap"], [class*="phone"] { display: none; }
  .hero-ctas { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .card { padding: 24px; }
  .card-glass { padding: 24px; }
  [style*="repeat(2,1fr)"],
  [style*="repeat(2, 1fr)"] { display: grid !important; grid-template-columns: 1fr !important; }
  [style*="repeat(4,1fr)"],
  [style*="repeat(4, 1fr)"] { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  .btn-lg { padding: 16px 24px; font-size: 1rem; }
  .btn { padding: 13px 22px; font-size: 0.88rem; }
  #chatMessages { height: 300px; }
  .bar-chart { overflow-x: auto; min-width: 0; }
  .streak-dot { width: 28px; height: 28px; font-size: 0.62rem; }
  .plan-card { padding: 24px; }
  .footer-grid { gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-control { padding: 12px 14px; font-size: 0.93rem; }
  .toggle-label { font-size: 0.86rem; }
  .investor-stats { gap: 20px; }
  .investor-stat .num { font-size: 1.3rem; }
  .action-tiles { grid-template-columns: 1fr !important; }
  .plans-grid { grid-template-columns: 1fr !important; max-width: 400px; }
  .mm-badges { flex-direction: column; align-items: center; }
  .mm-badge { min-width: 100%; max-width: 360px; justify-content: center; }
  .contact-layout { grid-template-columns: 1fr !important; gap: 40px; }
  .contact-form-card { padding: 28px 20px; }
  .investor-card { padding: 24px 20px; }
  [style*="repeat(3,1fr)"],
  [style*="repeat(3, 1fr)"] { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  .team-grid { grid-template-columns: 1fr 1fr !important; }
  [style*="padding:80px 0"] { padding: 48px 0 !important; }
  [style*="padding:96px 0"] { padding: 56px 0 !important; }
  .music-control { bottom: 52px; right: 16px; width: 40px; height: 40px; font-size: 16px; }
  #flip_book { width: 90vw; max-width: 300px; height: 60vh; }
}
@media (min-width: 769px) and (max-width: 1023px) {
  #flip_book { width: 280px; height: 65vh; }
}
@media (max-width: 490px) {
  #flip_book { width: 75vw; max-width: 240px; height: 48vh; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  h1 { font-size: 1.65rem !important; }
  h2 { font-size: 1.3rem !important; }
  [style*="repeat(3,1fr)"], [style*="repeat(3, 1fr)"],
  [style*="repeat(2,1fr)"], [style*="repeat(2, 1fr)"] { display: grid !important; grid-template-columns: 1fr !important; gap: 14px !important; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nav-logo { font-size: 1.15rem; }
  section[style*="padding:120px"] { padding: 80px 0 36px !important; }
  .chips-row { flex-wrap: wrap; gap: 8px; }
  .crisis-banner { font-size: 0.76rem; padding: 8px 14px; }
  .btn { white-space: normal; text-align: center; line-height: 1.4; }
}

/* ═══════════════════════════════════════════════════
   DARK MODE — html.dark overrides
   Applied via JS class toggle on <html>
   Smooth transition on all color-bearing properties
═══════════════════════════════════════════════════ */

html {
  transition: background-color 0.35s ease, color 0.35s ease;
}

html.dark {
  /* Override colour tokens */
  --white: #1a2535;
  --surface: #1e2d3d;
  --bg-page: #141e2b;
  --text-primary: #e8f4f5;
  --text-secondary: #a8c4cb;
  --text-muted: #6a8a96;
  --border: #2a3f52;
  --teal-light: rgba(63,187,192,0.12);
  --teal-mid: rgba(63,187,192,0.2);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.5);
  --violet-light: rgba(183,133,204,0.12);
  --violet-mid: rgba(183,133,204,0.25);
}

html.dark body {
  background: #141e2b;
  color: var(--text-primary);
}

/* Nav */
html.dark .nav {
  background: rgba(20,30,43,0.96);
  border-bottom-color: var(--border);
}
html.dark .nav-links a { color: var(--text-secondary); }
html.dark .nav-links a:hover,
html.dark .nav-links a.active { color: var(--teal); }
html.dark .mobile-menu { background: #141e2b; border-bottom-color: var(--border); }
html.dark .mobile-menu a { color: var(--text-secondary); border-bottom-color: var(--border); }
html.dark .hamburger span { background: var(--text-primary); }
html.dark .hamburger svg { color: var(--text-primary); }

/* Cards */
html.dark .card {
  background: #1e2d3d;
  border-color: var(--border);
}
html.dark .card-glass {
  background: rgba(30,45,61,0.88);
  border-color: rgba(63,187,192,0.15);
}
html.dark .card-glass:hover { border-color: var(--color-purple); }

/* Sections */
html.dark .bg-white,
html.dark section.bg-white { background: #141e2b !important; }
html.dark .bg-surface,
html.dark section.bg-surface { background: #1a2535 !important; }
html.dark .bg-purple-wash { background: rgba(183,133,204,0.07) !important; }
html.dark section[style*="background:#f4fbf9"],
html.dark section[style*="background:var(--white)"],
html.dark .hero-section { background: #141e2b !important; }

/* Hero phone mock */
html.dark .phone-screen { background: #1e2d3d; }
html.dark .phone-mockup { border-color: rgba(255,255,255,0.05); }
html.dark [style*="background:white"] { background: #1e2d3d !important; }
html.dark [style*="background:#ffffff"] { background: #1e2d3d !important; }

/* Typography */
html.dark h1, html.dark h2, html.dark h3,
html.dark h4, html.dark h5, html.dark h6 { color: var(--text-primary); }
html.dark p { color: var(--text-secondary); }

/* Inputs */
html.dark .form-control,
html.dark input, html.dark textarea, html.dark select {
  background: #1e2d3d;
  border-color: var(--border);
  color: var(--text-primary);
}
html.dark .form-group input,
html.dark .form-group textarea,
html.dark .form-group select {
  background: #1e2d3d;
  border-color: var(--border);
  color: var(--text-primary);
}

/* Step items */
html.dark .step-item.card { background: #1e2d3d; border-color: var(--border); }

/* Section tags */
html.dark .section-tag::before { background: var(--grad-accent); }

/* Dividers */
html.dark .divider { background: var(--teal); }

/* Callouts */
html.dark .callout { background: rgba(63,187,192,0.08); }
html.dark .teal-box { background: rgba(63,187,192,0.08); border-color: rgba(63,187,192,0.2); }

/* Assessment modal */
html.dark .modal-box { background: #1e2d3d; }
html.dark .modal-box h3 { color: var(--text-primary); }
html.dark .modal-box .question label:first-of-type { color: var(--text-primary); }

/* Contact form card */
html.dark .contact-form-card { background: #1e2d3d; }
html.dark .accordion-trigger { background: #1e2d3d; color: var(--text-primary); }
html.dark .accordion-trigger:hover { background: #253545; }
html.dark .accordion-content p { color: var(--text-secondary); }
html.dark .accordion { border-color: var(--border); }
html.dark .accordion-item { border-bottom-color: var(--border); }
html.dark .investor-card { background: #1e2d3d; border-color: var(--border); }

/* Therapist cards */
html.dark .therapist-card { background: #1e2d3d; border-color: var(--border); }

/* Compare table */
html.dark .compare-table { background: #1e2d3d; }
html.dark .compare-table th { background: #253545; }
html.dark .compare-table td { border-bottom-color: var(--border); }

/* Chips */
html.dark .chip { background: #1e2d3d; border-color: var(--border); color: var(--text-secondary); }
html.dark .chip:hover { border-color: var(--teal); color: var(--teal); }
html.dark .chip.active { background: var(--color-purple); border-color: var(--color-purple); color: white; }
html.dark .chip-violet { background: rgba(183,133,204,0.1); }

/* Badges */
html.dark .badge-free { background: rgba(63,187,192,0.1); }

/* Translate wrap */
html.dark .translate-wrap select {
  font-size: 0.76rem;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(183,133,204,0.4);
  background: rgba(10,37,51,0.85);
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  font-family: var(--font-body);
  max-width: 175px;
}

/* Crisis banner */
html.dark .crisis-banner { background: var(--urgency); }

/* Plan cards */
html.dark .plan-card { border-color: var(--border); }
html.dark .plan-card.featured { border-color: var(--teal); }

/* Timeline */
html.dark .timeline { border-left-color: var(--border); }

/* Content items with inline white bg */
html.dark [style*="background:var(--teal-light)"] { background: rgba(63,187,192,0.1) !important; }

/* Announcement-style dark sections already look fine, keep dark bg */
html.dark section[style*="background:var(--dark)"] { background: #0d1a24 !important; }

/* ── Dark Mode Toggle Button ── */
.dark-mode-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.dark-mode-btn:hover {
  background: var(--teal-light);
  border-color: var(--teal);
  transform: scale(1.1);
}
html.dark .dark-mode-btn {
  border-color: var(--border);
  background: rgba(255,255,255,0.06);
}
html.dark .dark-mode-btn:hover {
  background: rgba(63,187,192,0.15);
  border-color: var(--teal);
}
.dark-mode-btn--mobile {
  width: auto;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text-secondary);
  margin-top: 4px;
  gap: 8px;
  justify-content: flex-start;
}
html.dark .dark-mode-btn--mobile { color: var(--text-secondary); }

/* ── Fix step-item visibility (was stuck at opacity 0) ── */
.step-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.step-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Affirmation Ticker ── */
.affirmation-ticker {
  width: 100%;
  overflow: hidden;
  background: rgba(183,133,204,0.07);
  border-top: 1px solid rgba(183,133,204,0.18);
  padding: 9px 0;
}
.affirmation-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 160s linear infinite;
}
.affirmation-track:hover { animation-play-state: paused; }
.affirmation-track span {
  white-space: nowrap;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--color-purple);
  padding: 0 22px;
  opacity: 0.82;
}
html.dark .affirmation-ticker { background: rgba(183,133,204,0.06); border-top-color: rgba(183,133,204,0.12); }
html.dark .affirmation-track span { opacity: 0.6; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
