/* ==========================================================================
   MENIFESTIT.COM — LUXURY EDITORIAL NEURO-MYSTICAL STYLESHEET
   Theme: Warm Cream, Sacred Ochre, Rich Espresso & Radiant Gold
   ========================================================================== */

:root {
  --bg-parchment: #FDFBF7;
  --bg-parchment-warm: #F6EFE3;
  --bg-card: rgba(254, 251, 246, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-dark: #1E1712;
  --bg-dark-card: #28201A;

  --color-espresso: #251B14;
  --color-espresso-deep: #1A120D;
  --color-terracotta: #C66E26;
  --color-terracotta-hover: #AF5E1C;
  --color-gold: #DDA143;
  --color-gold-light: #F7D488;
  --color-gold-soft: rgba(221, 161, 67, 0.18);
  --color-muted: #6B5D52;
  --color-subtle: #98897D;
  --color-border: rgba(198, 110, 38, 0.22);
  --color-border-soft: rgba(70, 45, 25, 0.08);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --shadow-subtle: 0 4px 20px rgba(50, 30, 15, 0.05);
  --shadow-card: 0 10px 30px rgba(50, 30, 15, 0.08);
  --shadow-hover: 0 16px 40px rgba(198, 110, 38, 0.16);
  --shadow-gold: 0 0 35px rgba(221, 161, 67, 0.35);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-parchment);
  color: var(--color-espresso);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Grain & Zen Contour Backgrounds */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  background: 
    radial-gradient(circle at 50% 18%, rgba(250, 225, 175, 0.45) 0%, rgba(246, 239, 227, 0) 60%),
    radial-gradient(circle at 15% 55%, rgba(230, 205, 170, 0.3) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(225, 185, 140, 0.25) 0%, transparent 50%),
    linear-gradient(180deg, #FDFBF7 0%, #F8F1E5 50%, #F5ECDD 100%);
}

.zen-waves-left, .zen-waves-right {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 14vw;
  max-width: 180px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.zen-waves-left {
  left: 0;
  background: radial-gradient(ellipse at -20% 40%, rgba(180, 165, 145, 0.5) 0%, transparent 70%);
}

.zen-waves-right {
  right: 0;
  background: radial-gradient(ellipse at 120% 60%, rgba(190, 170, 140, 0.5) 0%, transparent 70%);
}

/* Floating Gold Particle Canvas */
#particlesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}

/* Container */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(253, 251, 247, 0.85);
  border-bottom: 1px solid var(--color-border-soft);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-espresso);
}

.brand-icon-symbol {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFDE9E, var(--color-terracotta));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(198, 110, 38, 0.25);
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-icon-symbol {
  transform: rotate(30deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-espresso-deep);
}

.brand-domain {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-terracotta);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--color-terracotta);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-terracotta);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Sound Sanctuary Audio Button */
.sound-toggle-btn {
  background: rgba(221, 161, 67, 0.12);
  border: 1px solid rgba(221, 161, 67, 0.35);
  color: var(--color-espresso);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.sound-toggle-btn:hover {
  background: rgba(221, 161, 67, 0.22);
  border-color: var(--color-terracotta);
  transform: translateY(-1px);
}

.sound-waves-indicator {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.sound-bar {
  width: 2px;
  height: 6px;
  background: var(--color-terracotta);
  border-radius: 1px;
}

.sound-toggle-btn.playing .sound-bar:nth-child(1) {
  animation: soundBarAnim 0.7s infinite alternate ease-in-out;
}
.sound-toggle-btn.playing .sound-bar:nth-child(2) {
  animation: soundBarAnim 0.5s infinite alternate ease-in-out 0.2s;
}
.sound-toggle-btn.playing .sound-bar:nth-child(3) {
  animation: soundBarAnim 0.9s infinite alternate ease-in-out 0.1s;
}

@keyframes soundBarAnim {
  0% { height: 3px; }
  100% { height: 14px; }
}

.btn-header-cta {
  background: var(--color-terracotta);
  color: #FFF;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(198, 110, 38, 0.25);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-header-cta:hover {
  background: var(--color-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 110, 38, 0.35);
}

/* ==========================================================================
   HERO SECTION & FLOATING YOGI BABA
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.coming-soon-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-terracotta);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(198, 110, 38, 0.4);
  animation: pulseRipple 1.8s infinite ease-out;
}

@keyframes pulseRipple {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.badge-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-terracotta);
}

/* Hero Title: MANIFEST */
.hero-title-top {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--color-espresso);
  margin-bottom: 0.5rem;
  text-indent: 0.35em;
}

/* Floating Yogi Stage Container */
.yogi-stage {
  position: relative;
  width: 340px;
  height: 360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* Radiant Rotating Halo / Aura */
.yogi-halo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 320px;
  height: 320px;
  pointer-events: none;
  z-index: 1;
}

.halo-sunburst {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 235, 170, 0.95) 0%, rgba(240, 180, 60, 0.65) 45%, rgba(220, 140, 40, 0.25) 70%, transparent 85%);
  animation: haloPulse 4s infinite alternate ease-in-out;
  filter: blur(2px);
}

.halo-rays {
  position: absolute;
  inset: 0;
  background-image: repeating-conic-gradient(
    from 0deg,
    rgba(255, 220, 130, 0.35) 0deg 7.5deg,
    transparent 7.5deg 15deg
  );
  border-radius: 50%;
  animation: haloSpin 40s linear infinite;
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
}

.halo-ring {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
  border: 1px dashed rgba(220, 150, 40, 0.45);
  border-radius: 50%;
  animation: haloRingCounterSpin 25s linear infinite;
}

@keyframes haloPulse {
  0% { transform: scale(0.92); opacity: 0.75; }
  100% { transform: scale(1.08); opacity: 1; }
}

@keyframes haloSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes haloRingCounterSpin {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* THE FLOATING YOGI BABA FIGURE */
.yogi-floating-figure {
  position: relative;
  z-index: 3;
  width: 250px;
  cursor: pointer;
  filter: drop-shadow(0 12px 25px rgba(180, 120, 40, 0.35));
  animation: levitatePhysics 4.2s ease-in-out infinite;
  transition: transform 0.4s ease, filter 0.4s ease;
  user-select: none;
}

.yogi-floating-figure:hover {
  filter: drop-shadow(0 15px 35px rgba(225, 150, 45, 0.65)) brightness(1.06);
}

.yogi-image {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* Floating Ether Ground Shadow */
.yogi-shadow {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 24px;
  background: radial-gradient(ellipse at center, rgba(80, 50, 20, 0.28) 0%, rgba(80, 50, 20, 0.08) 55%, transparent 75%);
  border-radius: 50%;
  z-index: 2;
  animation: shadowBreathe 4.2s ease-in-out infinite;
}

/* Levitating Animation Keyframes */
@keyframes levitatePhysics {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-22px) rotate(0.6deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes shadowBreathe {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translateX(-50%) scale(0.65);
    opacity: 0.4;
  }
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.85;
  }
}

/* Energy Ripples on Yogi Click */
.aura-wave-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: expandWave 1.4s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
  z-index: 4;
}

@keyframes expandWave {
  0% {
    width: 30px;
    height: 30px;
    opacity: 1;
    border-width: 3px;
  }
  100% {
    width: 420px;
    height: 420px;
    opacity: 0;
    border-width: 1px;
  }
}

/* Hero Title: IT */
.hero-title-bottom {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--color-espresso);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  text-indent: 0.35em;
}

/* 66 Days Subheading */
.hero-ritual-claim {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 1.25rem;
}

/* Hero Headline */
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-espresso-deep);
  max-width: 820px;
  margin: 0 auto 1.5rem;
}

/* Hero Description */
.hero-description {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.8;
  color: var(--color-muted);
  max-width: 740px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

/* VIP Waitlist / Coming Soon Box */
.waitlist-card {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.waitlist-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E29B47, var(--color-terracotta), var(--color-gold));
}

.waitlist-header {
  margin-bottom: 1.25rem;
}

.waitlist-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  display: block;
  margin-bottom: 0.35rem;
}

.waitlist-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-espresso-deep);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group-row {
  display: flex;
  gap: 0.75rem;
}

.email-input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-espresso);
  outline: none;
  transition: var(--transition-smooth);
}

.email-input:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(198, 110, 38, 0.15);
  background: #FFF;
}

.btn-primary-submit {
  background: linear-gradient(135deg, var(--color-terracotta), #D57A2B);
  color: #FFF;
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(198, 110, 38, 0.3);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary-submit:hover {
  background: linear-gradient(135deg, var(--color-terracotta-hover), var(--color-terracotta));
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(198, 110, 38, 0.4);
}

.focus-pills-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-subtle);
  margin-top: 0.25rem;
}

.focus-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.focus-pill-opt {
  font-size: 0.76rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--color-border-soft);
  color: var(--color-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
}

.focus-pill-opt.active, .focus-pill-opt:hover {
  background: var(--color-terracotta);
  color: #FFF;
  border-color: var(--color-terracotta);
}

/* Membership Card Confirmation State */
.member-pass-card {
  display: none;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #2D221A, #1A120D);
  color: #F8F1E5;
  border: 1px solid var(--color-gold);
  margin-top: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease;
}

.pass-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(221, 161, 67, 0.3);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.pass-number {
  font-family: monospace;
  color: var(--color-gold);
  font-size: 0.95rem;
  font-weight: bold;
}

.pass-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(221, 161, 67, 0.2);
  color: var(--color-gold-light);
  letter-spacing: 0.08em;
}

.pass-body {
  font-size: 0.88rem;
  color: #DAC7B5;
  line-height: 1.5;
}

.hero-disclaimer {
  font-size: 0.82rem;
  color: var(--color-subtle);
  letter-spacing: 0.02em;
  font-style: italic;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  display: block;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-espresso-deep);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-muted);
}

/* ==========================================================================
   THE M.A.N.I.F.E.S.T. 8-STEP PROTOCOL SECTION
   ========================================================================== */
.manifest-protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.protocol-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

.protocol-letter-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(198, 110, 38, 0.12);
  color: var(--color-terracotta);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(198, 110, 38, 0.2);
  transition: var(--transition-smooth);
}

.protocol-card:hover .protocol-letter-badge {
  background: var(--color-terracotta);
  color: #FFF;
  transform: scale(1.08);
}

.protocol-step-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-espresso-deep);
  margin-bottom: 0.5rem;
}

.protocol-meta {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  display: block;
}

.protocol-desc {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE SIGIL FORGE MINI-APP
   ========================================================================== */
.sigil-forge-section {
  background: linear-gradient(180deg, rgba(246, 239, 227, 0.6) 0%, rgba(240, 228, 210, 0.8) 100%);
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.sigil-forge-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.sigil-left h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--color-espresso-deep);
  margin-bottom: 0.75rem;
}

.sigil-explanation {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.sigil-input-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sigil-text-field {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #FFF;
  color: var(--color-espresso);
  outline: none;
  transition: var(--transition-smooth);
}

.sigil-text-field:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(198, 110, 38, 0.15);
}

.btn-forge {
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-gold));
  color: #FFF;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(198, 110, 38, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-forge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198, 110, 38, 0.4);
}

.cipher-breakdown {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(246, 239, 227, 0.6);
  border: 1px dashed var(--color-border);
  font-size: 0.85rem;
  color: var(--color-espresso);
}

.cipher-line {
  margin-bottom: 0.25rem;
}

.cipher-highlight {
  font-family: monospace;
  font-weight: bold;
  color: var(--color-terracotta);
  letter-spacing: 0.1em;
}

/* Sigil Canvas Right Side */
.sigil-stage-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sigil-altar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, #251B14 0%, #17110C 100%);
  border: 2px solid var(--color-gold);
  box-shadow: 0 0 30px rgba(221, 161, 67, 0.25);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.sigil-altar svg {
  width: 82%;
  height: 82%;
  filter: drop-shadow(0 0 8px rgba(245, 195, 80, 0.7));
  transition: all 0.5s ease;
}

.sigil-status-caption {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   THE 66-DAY HABIT CRYSTALLIZATION TIMELINE
   ========================================================================== */
.habit-curve-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.timeline-slider-wrap {
  margin: 2.5rem 0 2rem;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-muted);
}

.habit-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #F0C988, var(--color-terracotta), #7C3D0E);
  outline: none;
  cursor: pointer;
}

.habit-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFF;
  border: 3px solid var(--color-terracotta);
  box-shadow: 0 0 10px rgba(198, 110, 38, 0.5);
  cursor: pointer;
  transition: transform 0.2s;
}

.habit-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.habit-day-display {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem;
  border-radius: var(--radius-md);
  background: rgba(246, 239, 227, 0.7);
  border: 1px solid var(--color-border-soft);
}

.day-badge-large {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-espresso));
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(198, 110, 38, 0.3);
}

.day-num {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1;
}

.day-text {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.day-info h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-espresso-deep);
  margin-bottom: 0.4rem;
}

.day-info p {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ==========================================================================
   THE 14 PRACTICE ENGINES ARCHITECTURE
   ========================================================================== */
.engines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.engine-item {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.engine-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-border);
  box-shadow: var(--shadow-subtle);
  background: var(--bg-card-hover);
}

.engine-icon {
  font-size: 1.75rem;
  margin-bottom: 0.8rem;
}

.engine-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-espresso-deep);
  margin-bottom: 0.35rem;
}

.engine-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 0.65rem;
}

.engine-summary {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ==========================================================================
   DUAL PILLARS: ANCIENT WISDOM VS MODERN NEUROSCIENCE
   ========================================================================== */
.matrix-table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.matrix-table th {
  padding: 1.25rem 1.5rem;
  background: rgba(246, 239, 227, 0.9);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--color-espresso-deep);
  border-bottom: 2px solid var(--color-border);
}

.matrix-table td {
  padding: 1.2rem 1.5rem;
  font-size: 0.92rem;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border-soft);
  vertical-align: top;
}

.matrix-table tr:last-child td {
  border-bottom: none;
}

.matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.6);
}

.term-ancient {
  font-weight: 700;
  color: var(--color-espresso-deep);
  font-family: var(--font-serif);
  font-size: 1rem;
}

.term-neuro {
  font-weight: 600;
  color: var(--color-terracotta);
}

/* ==========================================================================
   ETHICS & SAFETY PLEDGE
   ========================================================================== */
.ethics-card {
  background: linear-gradient(135deg, #251B14, #1B120C);
  color: #F8F1E5;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.ethics-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(221, 161, 67, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ethics-card h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #FFF;
  margin-bottom: 1rem;
}

.ethics-subtitle {
  font-size: 1.1rem;
  color: var(--color-gold-light);
  margin-bottom: 2rem;
}

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

.pledge-item {
  border-left: 2px solid var(--color-gold);
  padding-left: 1.2rem;
}

.pledge-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 0.4rem;
}

.pledge-desc {
  font-size: 0.88rem;
  color: #D2C4B7;
  line-height: 1.6;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--color-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.4rem 1.8rem;
  background: none;
  border: none;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-espresso-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--color-terracotta);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.8rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.8rem 1.4rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #1A120D;
  color: #F8F1E5;
  padding: 4.5rem 0 2.5rem;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(221, 161, 67, 0.2);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  color: var(--color-gold-light);
  margin-bottom: 0.5rem;
}

.footer-domain {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-terracotta);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-about {
  font-size: 0.88rem;
  color: #B5A698;
  line-height: 1.6;
  max-width: 380px;
}

.footer-col h5 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #FFF;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #B5A698;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #8C7C70;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .sigil-forge-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .form-group-row {
    flex-direction: column;
  }
  .btn-primary-submit {
    width: 100%;
  }
  .habit-day-display {
    flex-direction: column;
    text-align: center;
  }
  .ethics-card {
    padding: 2rem;
  }
}
