:root {
  --bg-deep: #050819;
  --bg-soft: #13172b;
  --accent-warm: #f2b8a0;
  --accent-glow: rgba(242, 184, 155, 0.2);
  --accent-soft: #e0d7ff;
  --text-main: #f7f4ff;
  --text-muted: #c5c3d9;
  --border-soft: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05), transparent 40%), #050819;
  color: var(--text-main);
  min-height: 100vh;
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 5, 15, 0.9), rgba(20, 22, 40, 0.7)),
    url("assets/butterfly.jpg") center/cover no-repeat;
  z-index: -2;
  filter: saturate(1.05) brightness(0.8);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: -1;
}

body.angelic-body::before,
body.angelic-body::after,
body.inner-body::before,
body.inner-body::after,
body.clear-body::before,
body.clear-body::after,
body.presence-body::before,
body.presence-body::after,
body.soul-body::before,
body.soul-body::after,
body.why-body::before,
body.why-body::after {
  background: none;
}

body.angelic-body {
  background:
    linear-gradient(180deg, rgba(2, 3, 13, 0.85), rgba(6, 8, 20, 0.9)),
    url("assets/angelic-bg.jpg") center/cover no-repeat;
  background-attachment: fixed;
}

.why-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.4), rgba(5, 7, 12, 0.7)),
    url("assets/why-bg.jpg") center/cover no-repeat;
  background-attachment: fixed;
  background-blend-mode: multiply;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-content {
  max-width: 720px;
  padding: 60px 24px;
  text-align: center;
}

.why-content h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 46px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.why-content p {
  color: rgba(247, 244, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 18px;
}

body.presence-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 6, 15, 0.7), rgba(15, 18, 32, 0.85)),
    url("assets/presence-bg.jpg") center/cover no-repeat;
  background-attachment: fixed;
  background-blend-mode: screen;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  background: rgba(5, 6, 15, 0.7);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(14px);
  z-index: 10;
}

.logo {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav .nav-link {
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link:focus::after {
  transform: scaleX(1);
}

.site-nav .nav-link::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: var(--accent-soft);
  margin-top: 4px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

main {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding-bottom: 120px;
}

.portal {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.portal__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.portal__actions .btn {
  min-width: min(420px, 100%);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: clamp(6rem, 18vh, 10rem) 24px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 15, 0.75), rgba(5, 6, 15, 0.25));
  z-index: -1;
}

.hero__content {
  max-width: 720px;
  position: relative;
  z-index: 2;
  padding: 32px 24px;
  border-radius: 0;
  background: transparent;
  border: none;
}

.hero__label {
  text-transform: uppercase;
  letter-spacing: 0.6em;
  font-size: 12px;
  font-family: "Playfair Display", "Times New Roman", serif;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.morph-text {
  white-space: pre;
  display: inline-flex;
  gap: 0;
}

.breath-cycle {
  white-space: pre-wrap;
  display: inline-block;
}

.morph-letter {
  display: inline-block;
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.morph-letter.is-out {
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(1px);
}

.morph-letter.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.breath-reveal {
  display: inline-block;
}

.breath-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px);
  filter: blur(0.6px);
}

.breath-reveal.is-ready .breath-word {
  animation: breathIn 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

.breath-cycle.is-ready .breath-word {
  animation: breathIn 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

.breath-cycle.is-exiting .breath-word {
  animation: breathOut 700ms ease forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes breathIn {
  0% {
    opacity: 0;
    transform: translateY(6px);
    filter: blur(0.6px);
  }
  55% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes breathOut {
  0% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
    filter: blur(0.6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .breath-word {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .breath-reveal.is-ready .breath-word {
    animation: none;
  }

  .breath-cycle.is-ready .breath-word,
  .breath-cycle.is-exiting .breath-word {
    animation: none;
  }
}

.hero__title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero__lede {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero__link-inner {
  margin-top: 24px;
}

.why-now {
  max-width: 820px;
  margin: 60px auto 0;
  text-align: center;
  padding: 40px 24px;
  border-radius: 30px;
  background: rgba(5, 6, 21, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-soft);
}

.why-now h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.why-now p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.why-now .btn--ghost {
  margin-top: 12px;
}

.hero__pulse {
  position: absolute;
  width: 90%;
  height: 80%;
  border-radius: 40px;
  background: radial-gradient(circle, rgba(226, 214, 255, 0.25), transparent 55%);
  animation: pulse 12s ease-in-out infinite;
  filter: blur(4px);
  z-index: -1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  background-color: #d8c98a;
  color: #2f2f2f;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: none;
}

.btn[data-hover-text] {
  text-align: center;
}

.btn--primary {
  box-shadow: var(--shadow-soft);
}

.btn--ghost {
  background: transparent;
  border: 1px solid #FFD8A8;
  color: #FFD8A8;
}

.btn--white {
  background: #ffffff;
  color: #050819;
  border: none;
  padding: 16px 36px;
  letter-spacing: 0.35em;
  font-size: 18px;
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  transform: translateY(-1px);
  background-color: #e3d7a1;
}

.mirror {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.mirror__text h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 8px;
}

.mirror__text p {
  color: var(--text-muted);
  line-height: 1.8;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.mirror__card {
  margin: 20px 0;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.mirror__glass {
  display: flex;
  justify-content: center;
}

.glass__frame {
  width: min(320px, 60vw);
  height: min(320px, 60vw);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 60px rgba(3, 3, 3, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(18px);
}

.glass__frame:hover {
  transform: scale(1.02);
  box-shadow: 0 40px 80px rgba(3, 3, 3, 0.55);
}

.glass__question {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-main);
  line-height: 1.6;
}

.mirror--clear {
  background: rgba(6, 7, 19, 0.6);
  border-radius: 40px;
  margin: 0 auto;
}

.presence-page {
  min-height: 80vh;
  padding: 120px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.presence__content {
  max-width: 760px;
  padding: 40px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.presence__content h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(40px, 4vw, 56px);
  margin-bottom: 18px;
}

.presence__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.inner-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 6, 15, 0.68), rgba(5, 6, 21, 0.8)),
    url("assets/inner-bg.jpg") center/cover no-repeat;
  background-attachment: fixed;
  background-blend-mode: screen;
}

.clear-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(4, 5, 14, 0.9), rgba(6, 6, 20, 0.92)),
    url("assets/clear-bg.jpg") center/cover no-repeat;
  background-attachment: fixed;
  background-blend-mode: multiply;
}

.angelic-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(2, 3, 13, 0.85), rgba(6, 8, 20, 0.9)),
    url("assets/angelic-bg.jpg") center/cover no-repeat;
  background-attachment: fixed;
}

.angelic {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.angelic__copy {
  max-width: 640px;
  color: var(--text-main);
}

.angelic__copy h1 {
  font-size: clamp(40px, 4vw, 52px);
  line-height: 1.3;
  margin-bottom: 24px;
}

.angelic__copy p {
  margin-bottom: 16px;
  color: rgba(247, 244, 255, 0.8);
}

.soul-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(6, 6, 20, 0.8), rgba(4, 4, 10, 0.85)),
    url("assets/soul diary.jpeg") center/cover no-repeat;
  background-attachment: fixed;
  background-blend-mode: multiply;
}

.clear-card {
  margin-top: 20px;
  padding: 24px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(14px);
}

.clear-card textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 18px;
  background: rgba(5, 6, 21, 0.6);
  color: var(--text-main);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7);
}

.clear-text {
  margin: 28px 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #e8e3dc;
  visibility: visible;
  opacity: 1;
  display: block;
  max-height: none;
}

.mirror__text {
  overflow: visible;
}
}

.note {
  font-size: 12px;
  color: rgba(197, 195, 217, 0.8);
  margin-top: 12px;
}

.soul-diary {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: transparent;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.pill.active,
.pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.diary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.entry {
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entry:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.entry__tag {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.entry__meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 10px 0;
}

.entry h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin: 0 0 10px;
}

.entry p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.site-footer {
  text-align: center;
  padding: 48px 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.site-footer button {
  width: auto;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    padding-top: 120px;
  }

  .mirror {
    padding: 30px 16px;
  }

  .clear-card textarea {
    font-size: 14px;
    padding: 16px;
  }

  .btn {
    font-size: 14px;
    letter-spacing: 0.15em;
    padding: 12px 24px;
  }
}
