@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #EFE7F1;
  --surface: #FAF5FB;
  --surface-alt: #E6DCEB;
  --text: #2A1F36;
  --text-muted: #5F5267;
  --border: #D8CCDE;
  --trust: #7355A0;
  --rose: #E59CB5;
  --gradient: linear-gradient(135deg, #7355A0 0%, #E59CB5 100%);
  --shadow-card: 0 4px 18px rgba(42, 31, 54, 0.07), 0 1px 3px rgba(42, 31, 54, 0.04);
  --shadow-card-hover: 0 10px 30px rgba(42, 31, 54, 0.11), 0 2px 6px rgba(42, 31, 54, 0.06);
  --shadow-cta: 0 6px 20px rgba(115, 85, 160, 0.28);
  --shadow-overlay: 0 24px 48px rgba(42, 31, 54, 0.18);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.32s;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Assistant', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a {
  color: var(--trust);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
a:hover { color: var(--rose); }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

:focus-visible {
  outline: 3px solid rgba(115, 85, 160, 0.4);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3, h4 { color: var(--text); line-height: 1.2; }
h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h2 {
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}
h3 {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
}
p { font-size: 1.0625rem; line-height: 1.7; color: var(--text); }

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ====== NAV ====== */
body { padding-top: 72px; }
body:has(.nav + .hero) { padding-top: 0; }

.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: rgba(239, 231, 241, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition:
    background 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease),
    -webkit-backdrop-filter 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(42, 31, 54, 0.07); }

/* Transparent nav when over a hero, before user scrolls */
body:has(.nav + .hero) .nav:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
body:has(.nav + .hero) .nav:not(.scrolled) .nav-logo,
body:has(.nav + .hero) .nav:not(.scrolled) .nav-links > li > a:not(.nav-cta) {
  color: #fff;
  text-shadow: 0 1px 8px rgba(42, 31, 54, 0.35);
}
body:has(.nav + .hero) .nav:not(.scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.55);
}
body:has(.nav + .hero) .nav:not(.scrolled) .nav-toggle span,
body:has(.nav + .hero) .nav:not(.scrolled) .nav-toggle span::before,
body:has(.nav + .hero) .nav:not(.scrolled) .nav-toggle span::after {
  background: #fff;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
  font-size: 1.18rem;
  transition: color 0.4s var(--ease);
}
.nav-logo img {
  height: 42px;
  width: 42px;
  border-radius: 12px;
  object-fit: cover;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-weight: 600;
  color: var(--text);
  font-size: 0.98rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.4s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width var(--t) var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff !important;
  padding: 0.7rem 1.75rem;
  min-width: 6.5rem;
  height: 2.6rem;
  margin-inline-start: 0.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), filter var(--t) var(--ease);
  box-shadow: var(--shadow-cta);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(115, 85, 160, 0.38);
  filter: brightness(1.05);
  color: #fff !important;
}
.nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(115, 85, 160, 0.32);
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1.5px solid var(--border);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: all var(--t) var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all var(--t) var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.open span::after { transform: rotate(-45deg); top: 0; }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.4rem 1.5rem 2rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-115%);
    transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; padding-top: 18px; }
  .nav-links a { display: block; font-size: 1.05rem; }
  .nav-cta { display: inline-block; width: max-content; }
  /* In mobile open drawer, links sit on light bg — restore dark text & remove shadow */
  body:has(.nav + .hero) .nav:not(.scrolled) .nav-links.open > li > a:not(.nav-cta) {
    color: var(--text);
    text-shadow: none;
  }
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.005em;
  transition: all var(--t) var(--ease);
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--trust);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--gradient);
  transform: translateY(-1px);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--trust);
  border-color: var(--trust);
}
.btn-secondary:hover {
  background: var(--trust);
  color: #fff;
  transform: translateY(-1px);
}
.btn-rose {
  background: transparent;
  color: var(--text);
  border-color: var(--rose);
}
.btn-rose:hover {
  background: var(--rose);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 12px 18px;
}
.btn-ghost:hover { color: var(--trust); }
.btn-arrow::after {
  content: '←';
  font-weight: 700;
  margin-right: 4px;
  transition: transform var(--t) var(--ease);
}
.btn-arrow:hover::after { transform: translateX(-4px); }

/* ====== HERO (parallax) ====== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
  padding: 120px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,31,54,0.55) 0%, rgba(115,85,160,0.30) 40%, rgba(239,231,241,0.55) 70%, #EFE7F1 100%);
  z-index: -1;
}
.hero-small { min-height: 60vh; padding: 100px 0 60px; }
.hero-content { max-width: 760px; color: #fff; }
.hero h1 { color: #fff; margin-bottom: 1.5rem; text-shadow: 0 2px 18px rgba(42,31,54,0.35); }
.hero p {
  color: rgba(255,255,255,0.95);
  font-size: 1.18rem;
  line-height: 1.6;
  margin-bottom: 2.2rem;
  max-width: 620px;
  text-shadow: 0 1px 12px rgba(42,31,54,0.4);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
}
.hero-actions .btn-secondary:hover {
  background: #fff;
  color: var(--trust);
}

/* ====== HALO BLOBS ====== */
.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.halo-purple { background: var(--trust); }
.halo-rose { background: var(--rose); }
.halo-drift { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .halo-drift { animation: none; }
}

/* ====== SECTIONS ====== */
section {
  padding: 96px 0;
  position: relative;
}
.section-alt { background: var(--surface-alt); }
.section-tight { padding: 64px 0; }
.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}
.section-header.center { margin-inline: auto; text-align: center; }
.section-header p {
  color: var(--text-muted);
  font-size: 1.12rem;
  margin-top: 0.8rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--trust);
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(115, 85, 160, 0.08);
  margin-bottom: 1rem;
}

/* ====== CARDS ====== */
.card {
  background: var(--surface);
  border-radius: 22px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all var(--t) var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-muted); }
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(115, 85, 160, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--trust);
}
.card-icon svg { width: 28px; height: 28px; stroke-width: 1.75; }

/* ====== REASSURANCE STRIP ====== */
.reassure {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.reassure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.reassure-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.reassure-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.reassure-icon svg { width: 24px; height: 24px; stroke-width: 1.75; }
.reassure-item h3 { margin-bottom: 4px; font-size: 1.08rem; }
.reassure-item p { font-size: 0.96rem; color: var(--text-muted); margin: 0; }
@media (max-width: 800px) {
  .reassure-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ====== PROBLEM SECTION (home) ====== */
.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.stat-grid { display: grid; gap: 1.5rem; }
.stat-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: all var(--t) var(--ease);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 32px;
  width: 60px;
  height: 3px;
  background: var(--rose);
  border-radius: 999px;
}
.stat-num {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--trust);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-card p { color: var(--text-muted); margin: 0; padding-bottom: 14px; }
@media (max-width: 880px) {
  .problem-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ====== PILLAR GRID (home 2x2) ====== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
@media (max-width: 760px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

/* ====== STEP STRIP (how it works) ====== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  inset-inline-start: 8%;
  inset-inline-end: 8%;
  top: 36px;
  height: 2px;
  background: linear-gradient(to left, var(--trust), var(--rose));
  opacity: 0.4;
  z-index: 0;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 1rem;
  z-index: 1;
}
.step-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--trust);
  box-shadow: var(--shadow-card);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.98rem; margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 2.4rem; }
  .steps::before { display: none; }
}

/* ====== TRUST STRIP ====== */
.trust-strip {
  background: var(--surface);
  border-radius: 28px;
  padding: 56px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}
.trust-strip h2 { margin-bottom: 1rem; }
.trust-strip p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* ====== CLOSING CTA BAND ====== */
.cta-band {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p {
  max-width: 580px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ====== ABOUT — alternating pillar layout ====== */
.pillar-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.pillar-row:last-child { margin-bottom: 0; }
.pillar-row.reverse { direction: ltr; }
.pillar-row.reverse > * { direction: rtl; }
.pillar-art {
  border-radius: 28px;
  aspect-ratio: 1 / 0.85;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pillar-art::before {
  content: '';
  position: absolute;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  top: 12%;
  inset-inline-start: 14%;
  filter: blur(40px);
}
.pillar-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 70%, rgba(255,255,255,0.4) 0%, transparent 45%);
}
.pillar-art-var-1 { background: linear-gradient(135deg, #7355A0 0%, #E59CB5 100%); }
.pillar-art-var-2 { background: linear-gradient(225deg, #E59CB5 0%, #7355A0 100%); }
.pillar-art-var-3 { background: linear-gradient(180deg, #7355A0 0%, #5F5267 100%); }
.pillar-art-var-4 { background: linear-gradient(45deg, #E59CB5 0%, #7355A0 80%); }
.pillar-num {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--trust);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.pillar-content h2 { font-size: 1.9rem; margin-bottom: 1rem; }
.pillar-content p { color: var(--text-muted); margin-bottom: 1rem; }
@media (max-width: 800px) {
  .pillar-row, .pillar-row.reverse { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3.4rem; direction: rtl; }
}

/* ====== PERSONA CARD ====== */
.persona {
  background: var(--surface);
  border-radius: 28px;
  padding: 56px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  max-width: 880px;
  margin: 0 auto;
}
.persona-mark {
  font-size: 4.5rem;
  line-height: 1;
  color: var(--trust);
  opacity: 0.4;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.persona p {
  font-size: 1.16rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.persona-cite {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ====== MISSION BLOCK ====== */
.mission {
  background: var(--surface);
  border-radius: 28px;
  padding: 56px;
  max-width: 740px;
  margin: 0 auto;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.mission p { margin-bottom: 1.2rem; }
.mission p:last-child { margin-bottom: 0; }

/* ====== BOUNDARIES CARDS ====== */
.boundaries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.boundary-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: relative;
}
.boundary-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 32px;
  width: 40px;
  height: 3px;
  background: var(--rose);
  border-radius: 999px;
}
.boundary-card h3 { color: var(--text); margin: 16px 0 10px; font-size: 1.18rem; }
.boundary-card p { color: var(--text-muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 760px) {
  .boundaries-grid { grid-template-columns: 1fr; }
}

/* ====== CONTACT FORM ====== */
.contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 4rem;
}
.contact-row .card { padding: 26px; }
.contact-row .card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-row .card p { font-size: 0.95rem; margin: 0; }
@media (max-width: 800px) { .contact-row { grid-template-columns: 1fr; } }

.form-shell {
  background: var(--surface);
  border-radius: 28px;
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.form-shell h2 { text-align: center; margin-bottom: 0.6rem; }
.form-shell > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text);
}
.form-group label .optional { font-weight: 400; color: var(--text-muted); font-size: 0.85rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: all var(--t) var(--ease);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--trust);
  box-shadow: 0 0 0 4px rgba(115, 85, 160, 0.12);
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--rose);
}
.form-group .field-error {
  display: none;
  margin-top: 6px;
  font-size: 0.88rem;
  color: #C45970;
}
.form-group.error .field-error { display: block; }
.form-privacy {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.55;
}
.form-submit-row { text-align: center; margin-top: 1.6rem; }
.form-submit-row .btn { min-width: 220px; justify-content: center; }
.form-result {
  margin-top: 1.4rem;
  padding: 18px 22px;
  border-radius: 16px;
  font-size: 0.98rem;
  display: none;
  text-align: center;
  border: 1px solid;
}
.form-result.show { display: block; }
.form-result.success {
  background: rgba(115, 85, 160, 0.08);
  border-color: var(--trust);
  color: var(--trust);
}
.form-result.error {
  background: rgba(229, 156, 181, 0.12);
  border-color: var(--rose);
  color: #B7445F;
}

/* ====== EMERGENCY BAND ====== */
.emergency-band {
  background: var(--surface-alt);
  border-radius: 28px;
  padding: 56px;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--border);
}
.emergency-band h2 { margin-bottom: 1rem; }
.emergency-band p {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.emergency-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1.5px solid var(--rose);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 1.18rem;
  transition: all var(--t) var(--ease);
}
.emergency-call:hover {
  background: var(--rose);
  color: #fff;
  transform: translateY(-1px);
}
.emergency-note {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ====== PRO STRIP ====== */
.pro-strip {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.pro-strip p { color: var(--text-muted); margin-bottom: 1.4rem; font-size: 1.05rem; }

/* ====== FUNNEL — multi-step ====== */
.funnel-shell {
  background: var(--surface);
  border-radius: 28px;
  padding: 56px;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: relative;
}
.progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 3rem;
}
.progress-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  transition: all var(--t) var(--ease);
}
.progress-dot.active {
  background: var(--trust);
  color: #fff;
  border-color: var(--trust);
  transform: scale(1.08);
}
.progress-dot.done {
  background: var(--surface);
  color: var(--trust);
  border-color: var(--trust);
}
.progress-line {
  width: 28px;
  height: 2px;
  background: var(--border);
}

.funnel-page { display: none; }
.funnel-page.active {
  display: block;
  animation: fadeStep 0.4s var(--ease-reveal);
}
@keyframes fadeStep {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.funnel-page h2 { font-size: 1.7rem; margin-bottom: 0.6rem; text-align: center; }
.funnel-page > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-inline: auto;
}
.choice-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 2rem;
}
.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-align: right;
}
.choice input { display: none; }
.choice:hover {
  border-color: var(--trust);
  background: rgba(115, 85, 160, 0.04);
}
.choice.selected {
  border-color: var(--trust);
  background: rgba(115, 85, 160, 0.07);
  box-shadow: 0 0 0 3px rgba(115, 85, 160, 0.12);
}
.choice-dot {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  position: relative;
  transition: all var(--t) var(--ease);
}
.choice.selected .choice-dot {
  border-color: var(--trust);
  background: var(--trust);
}
.choice.selected .choice-dot::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: #fff;
  border-radius: 50%;
}
.funnel-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.funnel-actions .btn-ghost { padding: 12px 0; }

.what-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 4rem;
}
.what-next-grid .card { text-align: center; padding: 32px 24px; }
.what-next-grid .card-icon { margin: 0 auto 18px; }
@media (max-width: 800px) {
  .what-next-grid { grid-template-columns: 1fr; }
}

.quiet-exit {
  text-align: center;
  margin-top: 3rem;
  padding-bottom: 1rem;
}
.quiet-exit a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 4px;
}
.quiet-exit a:hover {
  color: var(--text);
  text-decoration-color: var(--text-muted);
}

.funnel-result {
  text-align: center;
  padding: 32px 16px;
}
.funnel-result h2 { margin-bottom: 1rem; }
.funnel-result p { color: var(--text-muted); margin-bottom: 1.8rem; }
.funnel-result .check {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}

/* ====== PRIVACY ====== */
.page-banner {
  background: var(--surface-alt);
  padding: 100px 0 64px;
  border-bottom: 1px solid var(--border);
}
.page-banner h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 1rem; }
.page-banner p {
  max-width: 600px;
  color: var(--text-muted);
  font-size: 1.08rem;
}
.page-banner .updated {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.toc {
  background: var(--surface);
  border-radius: 22px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  margin-bottom: 3rem;
}
.toc h3 { margin-bottom: 1rem; font-size: 1.05rem; }
.toc ol {
  padding-inline-start: 1.2rem;
  color: var(--text-muted);
  line-height: 2;
}
.toc a { color: var(--text); font-weight: 500; }
.toc a:hover { color: var(--trust); }
.policy {
  max-width: 720px;
  margin: 0 auto;
}
.policy h2 {
  font-size: 1.5rem;
  margin: 3rem 0 1rem;
  scroll-margin-top: 90px;
}
.policy h2:first-child { margin-top: 0; }
.policy p { margin-bottom: 1.1rem; color: var(--text); }
.policy ul { margin-bottom: 1.1rem; padding-inline-start: 1.4rem; color: var(--text); }
.policy ul li { margin-bottom: 8px; line-height: 1.65; }
.callout-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  text-align: center;
  max-width: 720px;
  margin: 4rem auto 0;
}
.callout-card h3 { margin-bottom: 8px; }
.callout-card p { color: var(--text-muted); margin-bottom: 1.4rem; }

/* ====== FAQ ====== */
.chip-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.chip {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--t) var(--ease);
  cursor: pointer;
}
.chip:hover {
  border-color: var(--trust);
  color: var(--trust);
  transform: translateY(-1px);
}
.faq-group { margin-bottom: 3.5rem; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--trust);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 14px;
  scroll-margin-top: 90px;
}
.faq-group-title::after {
  content: '';
  height: 1.5px;
  flex: 1;
  background: var(--border);
}
.accordion { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--t) var(--ease);
}
.faq-item.open {
  border-color: var(--trust);
  box-shadow: var(--shadow-card);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  text-align: right;
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--text);
  cursor: pointer;
}
.faq-q-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--trust);
  font-weight: 800;
  font-size: 1.2rem;
  transition: all var(--t) var(--ease);
  flex-shrink: 0;
  margin-inline-start: 16px;
}
.faq-item.open .faq-q-icon { background: var(--trust); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a-inner {
  padding: 0 28px 24px;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 400px; }

.did-help {
  background: var(--surface-alt);
  border-radius: 28px;
  padding: 56px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--border);
}
.did-help h2 { margin-bottom: 0.8rem; }
.did-help p { color: var(--text-muted); margin-bottom: 2rem; max-width: 480px; margin-inline: auto; }
.did-help-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ====== FOOTER ====== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.6rem;
}
.footer-brand img {
  height: 44px;
  width: 44px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.footer-col a:hover { color: var(--trust); }
.footer-hotline {
  background: rgba(229, 156, 181, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(229, 156, 181, 0.4);
  margin-top: 12px;
}
.footer-hotline strong { color: var(--text); }
.footer-hotline span { font-size: 0.88rem; color: var(--text-muted); display: block; }
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-privacy {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.footer-signature {
  font-size: 0.75rem;
  text-align: center;
  color: rgba(95, 82, 103, 0.6);
}
.footer-signature a {
  color: rgba(95, 82, 103, 0.7);
  text-decoration: underline;
  text-decoration-color: rgba(95, 82, 103, 0.4);
}
.footer-signature a:hover { color: var(--trust); }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ====== SCROLL REVEAL ====== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-reveal), transform 0.7s var(--ease-reveal);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero { background-attachment: scroll; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ====== MOOD CHECK-IN ====== */
.mood-checkin {
  position: relative;
  overflow: hidden;
}
.mood-checkin .halo { opacity: 0.22; }
.mood-card {
  position: relative;
  background: var(--surface);
  border-radius: 32px;
  padding: 64px 48px;
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  text-align: center;
  overflow: hidden;
}
.mood-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(115, 85, 160, 0.10), transparent 55%),
    radial-gradient(circle at 82% 80%, rgba(229, 156, 181, 0.12), transparent 55%);
  pointer-events: none;
}
.mood-step { display: none; position: relative; }
.mood-step.active {
  display: block;
  animation: moodFadeIn 0.5s var(--ease-reveal);
}
.mood-card h2 { margin-bottom: 0.8rem; }
.mood-step > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0 auto 2.5rem;
  max-width: 520px;
}
.mood-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.mood-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 18px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  min-width: 124px;
}
.mood-option:hover {
  transform: translateY(-4px);
  border-color: var(--trust);
  background: rgba(115, 85, 160, 0.05);
  box-shadow: var(--shadow-card-hover);
}
.mood-option:active { transform: translateY(-2px) scale(0.98); }
.mood-emoji {
  font-size: 2.4rem;
  line-height: 1;
  display: block;
}
.mood-label {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}
.mood-result-emoji {
  font-size: 4.2rem;
  margin-bottom: 0.6rem;
  line-height: 1;
}
.mood-result-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}
@keyframes moodFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .mood-card { padding: 48px 24px; }
  .mood-options { gap: 0.6rem; }
  .mood-option { min-width: 0; flex: 1 1 30%; padding: 18px 8px; }
  .mood-emoji { font-size: 2rem; }
  .mood-label { font-size: 0.88rem; }
  .mood-result-emoji { font-size: 3.4rem; }
}

/* ====== UTILITY ====== */
.no-scroll { overflow: hidden; }
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
