﻿/* =========================================
   MINDIESM — Home Page Sections (LIGHT THEME)
   ========================================= */

/* ======================================
   SEC 2 — WHAT WE DO
   ====================================== */
.section-what {
  background: var(--bg-white);
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.what-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: clamp(1.25rem, 2vw, 1.5rem);
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  transition: all 0.4s var(--ease-out-expo);
  cursor: default;
  box-shadow: var(--shadow-xs);
}

.what-card:hover {
  background: var(--bg-white);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.what-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.what-card-icon svg { width: 24px; height: 24px; }

.wci--violet { background: var(--accent-violet-mist); }
.wci--violet svg { fill: var(--accent); }
.wci--blue   { background: rgba(149,176,236,0.1); }
.wci--blue svg   { fill: var(--accent-light); }
.wci--rose   { background: rgba(168,189,243,0.1); }
.wci--rose svg   { fill: var(--accent); }
.wci--sky    { background: rgba(195,211,247,0.12); }
.wci--sky svg    { fill: var(--accent-light); }
.wci--sage   { background: rgba(180,200,240,0.1); }
.wci--sage svg   { fill: var(--accent-dark); }

.what-card-title {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  letter-spacing: var(--ls-tight);
}

.what-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* ======================================
   SEC 3 — CORE MODULES
   ====================================== */
.section-modules {
  background: var(--bg-base);
  position: relative;
}

.section-modules::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, var(--bg-white), transparent);
  pointer-events: none;
}

.modules-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.modules-intro-text { max-width: 100%; }
.modules-intro-text .label { margin-bottom: var(--sp-2); display: inline-block; }
.modules-intro-text .heading-md { margin-bottom: var(--sp-2); }
.modules-intro-text .body-lg { margin-bottom: var(--sp-3); color: var(--text-secondary); }
.modules-intro-text .btn { margin-top: var(--sp-1); }

.modules-intro-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.features-bento {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  justify-content: center;
  width: 100%;
}

.bento-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.bc-1 { margin-top: -30px; }
.bc-2 { margin-top: 30px; }

.bento-card {
  background: var(--glass-white-strong);
  backdrop-filter: var(--blur-md);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-xl);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  box-shadow: var(--shadow-xs);
  transition: all 0.4s var(--ease-out-expo);
  width: 230px;
}

.bento-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
  z-index: 10;
}

.bento-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--accent-mist);
}
.bento-icon svg { width: 22px; height: 22px; fill: var(--accent); }

.bento-content { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.bento-title { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.bento-desc { font-size: 0.8rem; color: var(--text-secondary); }

@media (max-width: 991px) {
  .features-bento {
    transform: scale(0.9);
    transform-origin: center right;
  }
}
@media (max-width: 768px) {
  .modules-intro { grid-template-columns: 1fr; }
  .modules-intro-visual { justify-content: center; margin-top: var(--sp-4); }
  .features-bento { transform: scale(0.85); transform-origin: center; }
  .bc-1, .bc-2 { margin-top: 0; }
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.module-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: clamp(1.25rem, 2vw, 1.5rem);
  background: var(--glass-white);
  backdrop-filter: var(--blur-sm);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r-full) var(--r-full) 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.module-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl);
  border-color: var(--border-glass);
}

.module-card:hover::before { opacity: 1; }

.module-card--1::before { background: linear-gradient(90deg, var(--accent-dark), var(--accent)); }
.module-card--2::before { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.module-card--3::before { background: linear-gradient(90deg, var(--accent-deeper), var(--accent-dark)); }
.module-card--4::before { background: linear-gradient(90deg, var(--accent-light), var(--accent-lighter)); }
.module-card--5::before { background: linear-gradient(90deg, var(--accent-dark), var(--accent-light)); }
.module-card--6::before { background: linear-gradient(90deg, var(--accent), var(--accent-pale)); }
.module-card--7::before { background: linear-gradient(90deg, var(--accent-deeper), var(--accent)); }
.module-card--8::before { background: linear-gradient(90deg, var(--accent-dark), var(--accent-light)); }

.module-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.module-card-icon svg { width: 22px; height: 22px; }

.module-card-title {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  letter-spacing: var(--ls-tight);
}

.module-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  flex: 1;
}

.module-card-arrow {
  align-self: flex-start;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.module-card-arrow svg { width: 12px; height: 12px; fill: var(--text-muted); }
.module-card:hover .module-card-arrow {
  background: var(--accent-violet);
  border-color: var(--accent-violet);
}
.module-card:hover .module-card-arrow svg { fill: white; }

/* ======================================
   SEC 4 — USER JOURNEY
   ====================================== */
.section-journey {
  background: var(--bg-white);
  overflow: hidden;
}

.journey-wrapper {
  position: relative;
  padding-top: var(--sp-5);
}

/* Connecting line */
.journey-line {
  position: absolute;
  top: 70px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg,
    var(--accent-pale),
    var(--accent-light),
    var(--accent),
    var(--accent-dark),
    var(--accent-deeper));
  z-index: 0;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  position: relative;
  z-index: 1;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3);
}

.journey-step-node {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s var(--ease-spring);
  cursor: pointer;
}

.journey-step-node::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px dashed currentColor;
  opacity: 0.3;
  animation: rotate-ring 12s linear infinite;
}

@keyframes rotate-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.journey-step-node:hover { transform: scale(1.15); }

.journey-step-node svg { width: 26px; height: 26px; fill: white; position: relative; z-index: 1; }

.jsn--1 { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); color: var(--accent-dark); }
.jsn--2 { background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: var(--accent); }
.jsn--3 { background: linear-gradient(135deg, var(--accent-deeper), var(--accent-dark)); color: var(--accent-deeper); }
.jsn--4 { background: linear-gradient(135deg, var(--accent-light), var(--accent-lighter)); color: var(--accent-light); }
.jsn--5 { background: linear-gradient(135deg, var(--accent-pale), var(--accent-light)); color: var(--accent); }

.journey-step-num {
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-subtle);
  letter-spacing: var(--ls-wider);
}

.journey-step-title {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  letter-spacing: var(--ls-tight);
}

.journey-step-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* ======================================
   SEC 5 — EMOTIONAL IMPACT
   ====================================== */
.section-impact {
  background: var(--bg-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.impact-ambient-1 {
  position: absolute;
  width: 600px; height: 500px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(123,156,226,0.18) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.impact-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
}

.impact-quote {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
  font-style: italic;
}

.impact-quote span {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 60%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

.impact-pillar {
  padding: var(--sp-4) var(--sp-3);
  background: var(--glass-white);
  backdrop-filter: var(--blur-sm);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  transition: all 0.4s var(--ease-out-expo);
}

.impact-pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.impact-pillar-emoji {
  font-size: 2rem;
  line-height: 1;
}

.impact-pillar-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  letter-spacing: var(--ls-tight);
}

.impact-pillar-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  text-align: center;
}

/* ======================================
   SEC 6 — DOWNLOAD CTA
   ====================================== */
.section-cta {
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.cta-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(123,156,226,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 100%, rgba(149,176,236,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.cta-inner .heading-xl { margin-bottom: var(--sp-4); }
.cta-inner .body-xl { max-width: 580px; margin-inline: auto; margin-bottom: var(--sp-6); }

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

.cta-app-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.9rem 1.75rem;
  border-radius: var(--r-xl);
  background: var(--bg-base);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  transition: all 0.35s var(--ease-out-expo);
  cursor: pointer;
}

.cta-app-btn:hover {
  background: var(--bg-white);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.cta-app-btn svg { width: 26px; height: 26px; fill: var(--text-secondary); flex-shrink: 0; }

.cta-app-btn-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.cta-app-btn-text .line1 { font-size: 0.65rem; color: var(--text-muted); letter-spacing: var(--ls-wide); }
.cta-app-btn-text .line2 { font-size: var(--text-base); font-weight: var(--fw-bold); color: var(--text-primary); letter-spacing: var(--ls-tight); }

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.cta-trust-item svg { width: 18px; height: 18px; fill: var(--accent-violet); }

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .what-grid { grid-template-columns: repeat(3, 1fr); }
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .modules-intro { grid-template-columns: 1fr; }
  .modules-intro-visual { justify-content: flex-start; }
}

@media (max-width: 1024px) {
  .impact-pillars { grid-template-columns: repeat(2, 1fr); }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .journey-line { display: none; }
}

@media (max-width: 768px) {
  .what-grid { grid-template-columns: 1fr 1fr; }
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .journey-steps { grid-template-columns: 1fr 1fr; }
  .impact-pillars { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .what-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: 1fr; }
  .impact-pillars { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-app-btn { justify-content: center; }
}

/* ======================================
   SEC 2 — TIER SYSTEM (replaces "what-we-do" pillars)
   ====================================== */
.section-tiers {
  background: var(--bg-white);
}

/* Segmented control — mirrors app's own 3-pill tab bar */
.tier-tabs {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--r-full);
  padding: var(--sp-1);
  width: fit-content;
  margin: clamp(1rem, 2.5vw, 1.5rem) auto 0;
  box-shadow: var(--shadow-sm);
}

.tier-tab {
  padding: 0.55rem 1.5rem;
  border-radius: var(--r-full);
  border: none;
  background: transparent;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  white-space: nowrap;
}

.tier-tab:hover {
  color: var(--text-primary);
  background: var(--glass-lavender);
}

.tier-tab--active {
  background: var(--bg-white);
  color: var(--accent-violet);
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-accent);
}

/* Panels */
.tier-panels {
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.tier-panel {
  display: none;
}

.tier-panel--active {
  display: block;
  animation: tierFadeIn 0.35s var(--ease-out-expo);
}

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

.tier-panel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.tier-panel-content--wide {
  grid-template-columns: 1.2fr 0.8fr;
}

.tier-panel-text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.tier-panel-text h3 {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
  margin: 0;
}

.tier-panel-text p {
  font-size: var(--text-base);
  color: var(--text-tertiary);
  line-height: var(--lh-relaxed);
  margin: 0;
}

/* Tier Feature List */
.tier-feature-list {
  list-style: none;
  padding: 0;
  margin: var(--sp-4) 0 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.tier-feature-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text-primary);
  font-weight: var(--fw-medium);
}

.tier-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tier-feature-icon svg {
  width: 14px;
  height: 14px;
}

.tf-blue {
  background: var(--accent-blue-mist);
  fill: var(--accent-blue);
}

.tf-rose {
  background: var(--accent-rose-mist);
  fill: var(--accent-rose-deep);
}

/* App Screenshot Mockup */
.app-screenshot-mockup {
  background: var(--glass-white-strong);
  backdrop-filter: var(--blur-md);
  border: 4px solid var(--bg-white);
  border-radius: 1.75rem;
  padding: 0.5rem;
  box-shadow: var(--shadow-2xl);
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
}

.app-screenshot-img {
  height: 400px;
  width: auto;
  border-radius: 1.25rem;
  display: block;
  object-fit: cover;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.3rem 0.9rem;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  width: fit-content;
}

.tier-badge--violet {
  background: var(--accent-violet-mist);
  color: var(--accent-violet);
  border: 1px solid var(--border-accent);
}

.tier-badge--blue {
  background: var(--accent-blue-mist);
  color: var(--accent-blue);
  border: 1px solid rgba(142, 167, 255, 0.3);
}

.tier-badge--rose {
  background: var(--accent-rose-mist);
  color: var(--accent-rose-deep);
  border: 1px solid rgba(240, 168, 200, 0.3);
}

/* Polarity demo (Beginner) */
.tier-polarity-demo {
  background: var(--glass-white-strong);
  backdrop-filter: var(--blur-md);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--r-2xl);
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.polarity-row {
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  gap: var(--sp-3);
}

.pol-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
}

.pol-label--right { text-align: right; }

.pol-track {
  height: 6px;
  background: var(--bg-mist);
  border-radius: var(--r-full);
  position: relative;
  overflow: visible;
}

.pol-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-blue));
  box-shadow: 0 2px 8px rgba(124, 92, 255, 0.35);
  border: 2px solid white;
}

.tier-log-breath {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--accent-violet-mist);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-accent);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--accent-violet);
  margin-top: var(--sp-2);
}

.tier-log-breath svg {
  width: 18px; height: 18px;
  fill: var(--accent-violet);
  flex-shrink: 0;
}

/* Emotion wheel demo (Intermediate) */
.emotion-wheel-demo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.ewd-orbit {
  position: relative;
  width: clamp(200px, 30vw, 280px);
  height: clamp(200px, 30vw, 280px);
}

.ewd-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
  z-index: 2;
}

.ewd-center svg { width: 44px; height: 44px; }

.ewd-orbit .ewd-emotion {
  position: absolute;
  top: 50%; left: 50%;
  /* position around the orbit ring */
  transform:
    translate(-50%, -50%)
    rotate(var(--a))
    translateY(-105px)
    rotate(calc(-1 * var(--a)));
  background: var(--glass-white-strong);
  backdrop-filter: var(--blur-sm);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--r-full);
  padding: 0.3rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: default;
}

.ewd-orbit .ewd-emotion:hover {
  background: var(--accent-violet-mist);
  color: var(--accent-violet);
  border-color: var(--border-accent);
  transform:
    translate(-50%, -50%)
    rotate(var(--a))
    translateY(-110px)
    rotate(calc(-1 * var(--a)));
}

/* Advanced dashboard demo */
.adv-dashboard-demo {
  background: var(--glass-white-strong);
  backdrop-filter: var(--blur-md);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--r-2xl);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.add-greeting {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  letter-spacing: var(--ls-tight);
}

.add-subgreeting {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: calc(-1 * var(--sp-2));
}

.add-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.add-card {
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.add-card--row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.add-card-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}

.add-card-value {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.add-card-value--muted { color: var(--accent-violet); }

.add-card-hint {
  font-size: var(--text-xs);
  color: var(--text-subtle);
}

.add-card-empty {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: italic;
}

.add-pill {
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-full);
  background: var(--accent-violet-mist);
  color: var(--accent-violet);
  border: 1px solid var(--border-accent);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  flex-shrink: 0;
}

.add-pill--rose {
  background: rgba(149,176,236,0.12);
  color: var(--accent-dark);
  border-color: rgba(123,156,226,0.3);
}

/* ======================================
   SEC 5 — TRUST / VALUES
   ====================================== */
.section-trust {
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

.trust-ambient {
  position: absolute;
  width: 700px; height: 500px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(123,156,226,0.15) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.trust-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--glass-white);
  backdrop-filter: var(--blur-sm);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r-full) var(--r-full) 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trust-card:nth-child(1)::before { background: linear-gradient(90deg, var(--accent-dark), var(--accent)); }
.trust-card:nth-child(2)::before { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.trust-card:nth-child(3)::before { background: linear-gradient(90deg, var(--accent-light), var(--accent-lighter)); }

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-glass);
}

.trust-card:hover::before { opacity: 1; }

.trust-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-card-icon svg { width: 26px; height: 26px; }

.trust-icon--violet { background: var(--accent-violet-mist); }
.trust-icon--violet svg { fill: var(--accent); }
.trust-icon--blue   { background: rgba(149,176,236,0.1); }
.trust-icon--blue svg   { fill: var(--accent-light); }
.trust-icon--rose   { background: rgba(168,189,243,0.1); }
.trust-icon--rose svg   { fill: var(--accent-dark); }

.trust-card-body { display: flex; flex-direction: column; gap: var(--sp-3); }

.trust-card-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  letter-spacing: var(--ls-tight);
}

.trust-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin: 0;
}

/* ======================================
   FEATURES PAGE — extra preview components
   (fp-polarity, fp-view-modes, fp-dashboard-grid,
    fp-breath-btns, fp-reminder-types, fp-wheel-grid)
   ====================================== */

/* Feature preview: polarity list */
.fp-polarity-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.fp-pol-row {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: var(--sp-3);
}

.fp-pol-end {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}

.fp-pol-end:last-child { text-align: right; }

.fp-pol-track {
  height: 6px;
  background: var(--bg-mist);
  border-radius: var(--r-full);
  position: relative;
}

.fp-pol-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-blue));
  border-radius: var(--r-full);
}

.fp-thanks {
  text-align: center;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--accent-violet);
  padding: var(--sp-3);
  background: var(--accent-violet-mist);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-accent);
}

/* Feature preview: emotion wheel compact grid */
.fp-wheel-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.fp-wheel-center {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-2);
}

.fp-wheel-center svg {
  width: 56px; height: 56px;
  filter: drop-shadow(0 4px 12px rgba(123, 156, 226, 0.3));
}

.fp-wheel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
}

/* Feature preview: analysis view modes */
.fp-view-modes {
  display: flex;
  gap: var(--sp-6);
  padding: var(--sp-4);
  background: var(--bg-base);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-light);
}

.fp-view-mode {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  cursor: default;
}

.fp-vm--active { color: var(--text-primary); font-weight: var(--fw-semibold); }
.fp-vm--moon   { color: var(--accent-violet); }

.fp-vm-radio {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fp-vm-radio--active {
  border-color: var(--accent-violet);
  background: var(--accent-violet);
  box-shadow: 0 0 0 3px var(--accent-violet-mist);
}

.fp-vm-radio--active::after {
  content: '';
  width: 6px; height: 6px;
  background: white;
  border-radius: 50%;
}

/* Feature preview: advanced dashboard grid */
.fp-dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.fp-dash-card {
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  transition: all 0.3s ease;
}

.fp-dash-card:hover { background: var(--bg-white); border-color: var(--border-medium); }

.fp-dash-card--row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.fp-dash-card--half { flex: 1; }

.fp-dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.fp-dash-pill {
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-full);
  background: var(--accent-violet-mist);
  color: var(--accent-violet);
  border: 1px solid var(--border-accent);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  flex-shrink: 0;
}

.fp-dash-pill--rose {
  background: rgba(149,176,236,0.1);
  color: var(--accent-dark);
  border-color: rgba(123,156,226,0.3);
}

/* Feature preview: breath buttons */
.fp-breath-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-2);
}

.fp-breath-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4);
  background: var(--bg-base);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  color: var(--text-muted);
  cursor: default;
  transition: all 0.3s ease;
}

.fp-breath-btn svg { width: 22px; height: 22px; fill: var(--text-muted); }

.fp-breath-btn--active {
  background: var(--accent-violet-mist);
  border-color: var(--border-accent);
  color: var(--accent-violet);
}

.fp-breath-btn--active svg { fill: var(--accent-violet); }

/* Feature preview: reminder types */
.fp-reminder-types {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.fp-reminder-card {
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: all 0.3s ease;
}

.fp-reminder-card:hover { background: var(--bg-white); border-color: var(--border-medium); }

.fp-reminder-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
}

.fp-reminder-detail {
  font-size: var(--text-xs);
  color: var(--accent-violet);
  font-weight: var(--fw-medium);
}

.fp-toggle {
  width: 36px; height: 20px;
  border-radius: var(--r-full);
  background: var(--bg-mist);
  border: 1.5px solid var(--border-medium);
  position: relative;
  flex-shrink: 0;
}

.fp-toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--text-subtle);
  transition: all 0.25s ease;
}

.fp-toggle--on {
  background: var(--accent-violet);
  border-color: var(--accent-violet);
}

.fp-toggle--on::after {
  left: calc(100% - 16px);
  background: white;
}

/* ======================================
   RESPONSIVE — new sections
   ====================================== */
@media (max-width: 1100px) {
  .tier-panel-content { grid-template-columns: 1fr; gap: var(--sp-8); }
  .tier-panel-content--wide { grid-template-columns: 1fr; }
  .trust-grid          { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .tier-tabs   { flex-wrap: wrap; border-radius: var(--r-xl); padding: var(--sp-2); }
  .tier-tab    { flex: 1; text-align: center; border-radius: var(--r-lg); }
  .trust-grid  { grid-template-columns: 1fr; }
  .ewd-orbit   { width: 220px; height: 220px; }
  .fp-breath-btns { grid-template-columns: 1fr; }
  .fp-view-modes  { gap: var(--sp-4); }
}

@media (max-width: 480px) {
  .polarity-row { grid-template-columns: 44px 1fr 44px; }
  .tier-tab     { padding: 0.5rem 1rem; }
}

