/* ============================================================
   GPSoul · Manifesto page
   Cinematic, reverent. Long-form poetic layout.
   ============================================================ */

body { background: #07031C; overflow-x: hidden; }

/* Transparent nav over cosmos */
.mf-nav {
  background: linear-gradient(180deg, rgba(7, 3, 28, 0.85) 0%, rgba(7, 3, 28, 0.4) 70%, transparent 100%) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.mf-lang {
  padding: 8px 14px !important;
  font-size: 12px !important;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.mf-lang [data-lang] { color: #6E5A8C; transition: color .2s; }
.mf-lang [data-lang].active { color: #FDFBFF; }
.mf-lang-sep { color: #6E5A8C; margin: 0 6px; }

/* ---------- Cosmic backdrop ---------- */
.mf-cosmos {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.mf-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #FDFBFF 50%, transparent 52%),
    radial-gradient(1px 1px at 34% 72%, #B494F0 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 58% 28%, #FDFBFF 50%, transparent 52%),
    radial-gradient(1px 1px at 78% 62%, #FFBE0A 50%, transparent 52%),
    radial-gradient(1px 1px at 90% 12%, #FDFBFF 50%, transparent 52%),
    radial-gradient(1px 1px at 6% 88%, #FDFBFF 50%, transparent 52%),
    radial-gradient(1px 1px at 44% 44%, #B494F0 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 22% 52%, #FDFBFF 50%, transparent 52%),
    radial-gradient(1px 1px at 66% 84%, #FDFBFF 50%, transparent 52%);
  opacity: .55;
  animation: mfTwinkle 6s ease-in-out infinite alternate;
}
.mf-stars-2 {
  opacity: .3;
  animation-duration: 9s;
  transform: translate(40px, -30px);
}
@keyframes mfTwinkle {
  0%, 100% { opacity: .3; }
  50% { opacity: .7; }
}
.mf-nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .5;
}
.mf-nebula-1 {
  top: -20%; left: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(148, 89, 231, 0.7) 0%, transparent 60%);
}
.mf-nebula-2 {
  bottom: -20%; right: -15%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(60, 93, 208, 0.5) 0%, transparent 60%);
}
.mf-horizon {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 50vh;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 3, 28, 0.4) 40%, #07031C 100%);
}

/* ---------- Generic ---------- */
.mf-main, .mf-open, .mf-footer { position: relative; z-index: 1; }

/* ---------- Opening ---------- */
.mf-open {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}
.mf-open-inner { text-align: center; max-width: 900px; margin: 0 auto; }
.mf-eyebrow {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(148, 89, 231, 0.08);
  border: 1px solid rgba(148, 89, 231, 0.3);
  color: #B494F0;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.mf-h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FDFBFF;
  margin: 0 0 64px;
}
.mf-h1 .mf-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: mfRiseIn 1.2s ease .2s forwards;
}
.mf-h1 .mf-line:nth-child(2) { animation-delay: 1.1s; }
.mf-h1 .mystic {
  background: linear-gradient(135deg, #B494F0 0%, #FDFBFF 50%, #FFBE0A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 600;
}

@keyframes mfRiseIn {
  to { opacity: 1; transform: translateY(0); }
}

.mf-scroll-hint {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6E5A8C;
  opacity: 0;
  animation: mfRiseIn 1.4s ease 2.2s forwards;
}
.mf-scroll-line {
  width: 1px; height: 60px;
  margin: 22px auto 0;
  background: linear-gradient(180deg, #6E5A8C 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.mf-scroll-line::before {
  content: '';
  position: absolute;
  top: -30px; left: 0; right: 0;
  height: 30px;
  background: linear-gradient(180deg, transparent, #FDFBFF);
  animation: mfDrop 2.2s ease-in-out infinite;
}
@keyframes mfDrop {
  0% { top: -30px; opacity: 0; }
  40% { opacity: 1; }
  100% { top: 60px; opacity: 0; }
}

/* ---------- Stanzas (core body) ---------- */
.mf-main { padding: 40px 0 120px; }
.mf-stanzas { max-width: 820px; }

.mf-st, .mf-vows, .mf-triptych, .mf-trinity, .mf-close, .mf-cta {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
.mf-in { opacity: 1 !important; transform: translateY(0) !important; }

.mf-st {
  margin: 0 auto 80px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.55;
  color: #D4CDE4;
  letter-spacing: -0.005em;
}
.mf-st p { margin: 0 0 4px; }

.mf-st-emph p {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 300;
  color: #E8E1F4;
}
.mf-st-emph .mf-accent {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, #B494F0 0%, #FDFBFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 12px;
}

/* ---------- Vows (three glyph cards) ---------- */
.mf-vows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 80px;
  padding: 0;
}
.mf-vow {
  padding: 36px 22px;
  text-align: center;
  background: linear-gradient(180deg, rgba(148, 89, 231, 0.08) 0%, rgba(148, 89, 231, 0.02) 100%);
  border: 1px solid rgba(148, 89, 231, 0.24);
  border-radius: 20px;
  transition: transform .4s ease, border-color .4s;
}
.mf-vow:hover {
  transform: translateY(-4px);
  border-color: rgba(148, 89, 231, 0.5);
}
.mf-vow-glyph {
  font-size: 36px;
  color: #B494F0;
  margin-bottom: 18px;
  text-shadow: 0 0 18px rgba(148, 89, 231, 0.5);
}
.mf-vow p {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #FDFBFF;
  margin: 0;
}

/* ---------- Triptych (anaphora) ---------- */
.mf-triptych {
  margin: 0 0 96px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.mf-anaph {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid rgba(148, 89, 231, 0.15);
  border-bottom: 1px solid rgba(148, 89, 231, 0.15);
}
.mf-anaph .mf-neg {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(18px, 2.3vw, 24px);
  font-weight: 300;
  color: #8A80A4;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
  text-decoration: line-through;
  text-decoration-color: rgba(138, 128, 164, 0.4);
  text-decoration-thickness: 1px;
}
.mf-anaph .mf-pos {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 500;
  color: #FDFBFF;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ---------- Trinity ---------- */
.mf-trinity {
  text-align: center;
  margin: 0 0 110px;
  padding: 72px 0;
  position: relative;
}
.mf-trinity::before,
.mf-trinity::after {
  content: '✦';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  color: #9459E7;
  font-size: 14px;
  text-shadow: 0 0 12px rgba(148, 89, 231, 0.8);
}
.mf-trinity::before { top: 0; }
.mf-trinity::after { bottom: 0; }
.mf-trinity-intro {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6E5A8C;
  margin-bottom: 28px;
}
.mf-trinity-words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 48px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.mf-t-word {
  background: linear-gradient(135deg, #B494F0 0%, #FDFBFF 50%, #FFBE0A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.mf-t-word::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 89, 231, 0.4), transparent);
}

/* ---------- Close ---------- */
.mf-close {
  text-align: center;
  margin: 0 auto 80px;
  max-width: 760px;
}
.mf-close p {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.5;
  color: #D4CDE4;
  font-weight: 300;
  margin: 0 0 10px;
}
.mf-close .mf-final {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  font-style: italic;
  color: #FDFBFF;
  background: linear-gradient(135deg, #FDFBFF 0%, #B494F0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 40px;
}
.mf-sigil {
  display: inline-block;
  margin: 20px auto 36px;
  animation: mfPulse 4s ease-in-out infinite;
}
@keyframes mfPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 14px rgba(148, 89, 231, 0.4)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 28px rgba(148, 89, 231, 0.8)); }
}
.mf-sign {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #FFBE0A;
  letter-spacing: 0.01em;
  margin: 0;
  text-shadow: 0 0 20px rgba(255, 190, 10, 0.3);
}

/* ---------- CTA ---------- */
.mf-cta {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mf-cta-btn {
  font-size: 17px !important;
  padding: 18px 34px !important;
  letter-spacing: 0.02em;
  font-weight: 600 !important;
}
.mf-backlink {
  color: #9A8EB6;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.mf-backlink:hover { color: #FDFBFF; background: rgba(148, 89, 231, 0.08); }

/* ---------- Footer tone-down ---------- */
.mf-footer { background: transparent !important; border-top: 1px solid rgba(148, 89, 231, 0.1); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .mf-vows { grid-template-columns: 1fr; gap: 14px; }
  .mf-trinity-words { gap: 12px 28px; }
  .mf-open { padding: 110px 0 40px; }
}
