/* ============================================================
   EMYU SENDER — LANDING (Red Devil × Maximum-vibe motion)
   ============================================================ */

:root {
  --bg: #08060a;
  --red: #ff1438;
  --red-deep: #8a0a1f;
  --red-soft: #ff6680;
  --ember: #ff5530;
  --text: #f3eef0;
  --muted: #8a7a82;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  overflow-x: hidden;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(ellipse at top, #2a0410 0%, #08060a 50%, #000 100%);
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-soft));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 9997;
  box-shadow: 0 0 12px var(--red);
}

/* ============================================================
   INTRO OVERLAY — Red Devil sigil reveal
   ============================================================ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: #000;
  display: grid;
  place-items: center;
  overflow: hidden;
  animation: introOut 0.7s cubic-bezier(.7,0,.3,1) 2.6s forwards;
}
.intro.gone { display: none; }

.intro-blade {
  position: absolute;
  top: 0; left: 50%;
  width: 2px;
  height: 100vh;
  background: linear-gradient(180deg, transparent 0%, var(--red) 20%, var(--red-soft) 50%, var(--red) 80%, transparent 100%);
  box-shadow: 0 0 24px var(--red), 0 0 60px var(--red-deep);
  transform-origin: top center;
  transform: translateX(-50%) scaleY(0);
  animation:
    bladeDrop 0.55s cubic-bezier(.6,0,.1,1) 0.1s forwards,
    bladeFlash 0.4s ease-out 0.7s forwards;
}
@keyframes bladeDrop {
  to { transform: translateX(-50%) scaleY(1); }
}
@keyframes bladeFlash {
  0%   { filter: brightness(1); }
  40%  { filter: brightness(2.8) saturate(1.4); width: 4px; }
  100% { filter: brightness(1); width: 2px; }
}

.intro-flash {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-soft) 50%, transparent);
  box-shadow: 0 0 40px var(--red);
  transform: translate(-50%, -50%);
  animation: flashWide 0.6s cubic-bezier(.2,.7,.2,1) 0.85s forwards;
}
@keyframes flashWide {
  0%   { width: 0;   opacity: 0; }
  40%  { width: 110vw; opacity: 1; }
  100% { width: 110vw; opacity: 0; }
}

.intro-sigil {
  position: relative;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 220px;
  line-height: 1;
  color: var(--red);
  text-shadow:
    0 0 18px var(--red),
    0 0 36px var(--red),
    0 0 72px var(--red-deep);
  opacity: 0;
  transform: scale(0.5);
  animation:
    sigilIn 0.7s cubic-bezier(.2,.7,.2,1) 1.0s forwards,
    sigilThrob 2s ease-in-out 1.8s infinite;
  user-select: none;
}
@keyframes sigilIn {
  0%   { opacity: 0; transform: scale(0.3) rotate(-30deg); filter: blur(20px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); filter: blur(0); }
}
@keyframes sigilThrob {
  0%, 100% { text-shadow: 0 0 18px var(--red), 0 0 36px var(--red), 0 0 72px var(--red-deep); }
  50%      { text-shadow: 0 0 28px var(--red), 0 0 60px var(--red), 0 0 120px var(--red); }
}

.intro-brand {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cinzel', serif;
  font-weight: 900;
  letter-spacing: 8px;
  font-size: clamp(20px, 3.4vw, 36px);
  color: var(--text);
  text-shadow: 0 0 20px var(--red);
  display: flex;
  gap: 6px;
}
.intro-brand span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: introChar 0.55s cubic-bezier(.2,.7,.2,1) forwards;
}
.intro-brand span:nth-child(1)  { animation-delay: 1.55s; }
.intro-brand span:nth-child(2)  { animation-delay: 1.62s; }
.intro-brand span:nth-child(3)  { animation-delay: 1.69s; }
.intro-brand span:nth-child(4)  { animation-delay: 1.76s; }
.intro-brand span:nth-child(5)  { animation-delay: 1.95s; color: var(--red); text-shadow: 0 0 24px var(--red); }
.intro-brand span:nth-child(6)  { animation-delay: 2.02s; color: var(--red); text-shadow: 0 0 24px var(--red); }
.intro-brand span:nth-child(7)  { animation-delay: 2.09s; color: var(--red); text-shadow: 0 0 24px var(--red); }
.intro-brand span:nth-child(8)  { animation-delay: 2.16s; color: var(--red); text-shadow: 0 0 24px var(--red); }
.intro-brand span:nth-child(9)  { animation-delay: 2.23s; color: var(--red); text-shadow: 0 0 24px var(--red); }
.intro-brand span:nth-child(10) { animation-delay: 2.30s; color: var(--red); text-shadow: 0 0 24px var(--red); }
@keyframes introChar { to { opacity: 1; transform: translateY(0); } }

.intro-shards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.intro-shards i {
  position: absolute;
  width: 2px; height: 16px;
  background: linear-gradient(180deg, var(--red), transparent);
  opacity: 0;
  transform-origin: center;
  animation: shardFly 1.2s ease-out forwards;
}
@keyframes shardFly {
  0%   { opacity: 0; transform: translate(0,0) rotate(var(--rot, 0deg)); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0deg)); }
}

@keyframes introOut {
  to {
    opacity: 0;
    transform: scale(1.1);
    visibility: hidden;
  }
}

/* Hide the body's hero content until intro is fading */
body.intro-active main.hero,
body.intro-active .features,
body.intro-active .howto,
body.intro-active .pricing,
body.intro-active .foot,
body.intro-active .marquee-wrap {
  opacity: 0;
}
body main.hero,
body .features,
body .howto,
body .pricing,
body .foot,
body .marquee-wrap {
  transition: opacity 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .intro { animation-delay: 0.1s; animation-duration: 0.2s; }
  .intro-blade, .intro-flash, .intro-sigil, .intro-brand span { animation-duration: 0.2s !important; animation-delay: 0s !important; }
}

/* ============================================================
   BACKGROUND LAYERS — Red Devil Atmosphere
   ============================================================ */

/* Heartbeat pulse over entire viewport */
.bg-pulse {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 50%, rgba(255,20,56,0.10), transparent 70%);
  animation: heartbeat 2.4s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes heartbeat {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  18%      { opacity: 0.95; transform: scale(1.03); }
  30%      { opacity: 0.55; transform: scale(1.01); }
  42%      { opacity: 0.85; transform: scale(1.025); }
  60%      { opacity: 0.45; transform: scale(1); }
}

/* Lightning — JS-triggered random flash */
.bg-lightning {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(var(--bolt-angle, 118deg),
      transparent 38%,
      rgba(255,200,210,0.9) 50%,
      transparent 62%),
    radial-gradient(ellipse at 50% 0%, rgba(255,40,70,0.55), transparent 60%);
  opacity: 0;
  mix-blend-mode: screen;
}
.bg-lightning.strike {
  animation: strikeFlash 0.45s linear;
}
@keyframes strikeFlash {
  0%   { opacity: 0; }
  10%  { opacity: 0.95; }
  25%  { opacity: 0.15; }
  40%  { opacity: 0.85; }
  60%  { opacity: 0.05; }
  100% { opacity: 0; }
}

/* Brand-glyph sigil constellation (uses Unicode ⛧ — matches brand exactly) */
.bg-sigils {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.bg-sigils span {
  position: absolute;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  line-height: 1;
  display: block;
  user-select: none;
}
.bg-sigils .sigil-a {
  top: 50%; left: 50%;
  font-size: 70vmin;
  transform: translate(-50%, -50%);
  color: rgba(255, 20, 56, 0.10);
  text-shadow:
    0 0 30px rgba(255,20,56,0.3),
    0 0 60px rgba(255,20,56,0.2);
  animation: sigilPulse 4s ease-in-out infinite;
}
.bg-sigils .sigil-b {
  top: 8%; left: 4%;
  font-size: 24vmin;
  color: rgba(255, 102, 128, 0.22);
  text-shadow:
    0 0 16px rgba(255,20,56,0.6),
    0 0 32px rgba(255,20,56,0.35);
  transform-origin: center;
  animation:
    sigilFloatB 7s ease-in-out infinite,
    sigilGlow  3s ease-in-out infinite 0.4s;
  will-change: transform, opacity;
}
.bg-sigils .sigil-c {
  bottom: 6%; right: 4%;
  font-size: 30vmin;
  color: rgba(255, 40, 70, 0.2);
  text-shadow:
    0 0 18px rgba(255,20,56,0.6),
    0 0 36px rgba(255,20,56,0.35);
  transform-origin: center;
  animation:
    sigilFloatC 9s ease-in-out infinite,
    sigilGlow  3.6s ease-in-out infinite 1s;
  will-change: transform, opacity;
}

/* Center sigil keeps a slow breathe to stay subtle */
.bg-sigils .sigil-a {
  animation:
    sigilBreathe 6s ease-in-out infinite;
}
@keyframes sigilBreathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 0.85; transform: translate(-50%, -50%) scale(1.04); }
}

/* Corner sigils — drift + bob + scale + slight wobble (no full rotate so glyph stays oriented) */
@keyframes sigilFloatB {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  25%  { transform: translate(12px, -10px) scale(1.06) rotate(4deg); }
  50%  { transform: translate(0, -18px) scale(1.1) rotate(0deg); }
  75%  { transform: translate(-10px, -8px) scale(1.04) rotate(-4deg); }
  100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}
@keyframes sigilFloatC {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  25%  { transform: translate(-14px, 8px) scale(1.05) rotate(-5deg); }
  50%  { transform: translate(0, 16px) scale(1.1) rotate(0deg); }
  75%  { transform: translate(12px, 6px) scale(1.04) rotate(5deg); }
  100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}
@keyframes sigilGlow {
  0%, 100% {
    opacity: 0.7;
    text-shadow: 0 0 14px rgba(255,20,56,0.5), 0 0 28px rgba(255,20,56,0.3);
    filter: brightness(1);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 28px rgba(255,20,56,0.9), 0 0 56px rgba(255,20,56,0.6), 0 0 90px rgba(255,20,56,0.3);
    filter: brightness(1.4);
  }
}
@keyframes sigilPulse {
  0%, 100% { opacity: 0.8; filter: drop-shadow(0 0 8px rgba(255,20,56,0.4)); }
  50%      { opacity: 1;   filter: drop-shadow(0 0 24px rgba(255,20,56,0.9)); }
}

/* Blood drips falling from top edge */
.bg-drips {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.bg-drips span {
  position: absolute;
  top: -20vh;
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(255,20,56,0.85) 70%, rgba(255,80,110,1));
  box-shadow: 0 0 8px rgba(255,20,56,0.6);
  border-radius: 50%;
  opacity: 0;
  animation: dripFall 10s linear infinite;
}
.bg-drips span:nth-child(1) { left:  8%; animation-delay:  0s;  animation-duration:  9s; }
.bg-drips span:nth-child(2) { left: 22%; animation-delay:  3s;  animation-duration: 12s; height: 60px; }
.bg-drips span:nth-child(3) { left: 38%; animation-delay:  6s;  animation-duration: 11s; }
.bg-drips span:nth-child(4) { left: 52%; animation-delay:  1s;  animation-duration:  8s; height: 100px; }
.bg-drips span:nth-child(5) { left: 66%; animation-delay:  4s;  animation-duration: 13s; }
.bg-drips span:nth-child(6) { left: 78%; animation-delay:  7s;  animation-duration:  9s; height: 70px; }
.bg-drips span:nth-child(7) { left: 90%; animation-delay:  2s;  animation-duration: 11s; }
.bg-drips span:nth-child(8) { left: 14%; animation-delay:  9s;  animation-duration: 10s; height: 55px; }
@keyframes dripFall {
  0%   { transform: translateY(0)     scaleY(0.6); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.7; }
  100% { transform: translateY(130vh) scaleY(1.4); opacity: 0; }
}

/* Red mist drift — fewer, more atmospheric */
.bg-smoke {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.bg-smoke span {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  mix-blend-mode: screen;
}
.bg-smoke span:nth-child(1) {
  background: radial-gradient(circle, rgba(255,20,56,0.55) 0%, rgba(138,10,31,0.15) 40%, transparent 70%);
  top: -25vmax; left: -25vmax;
  animation: smokeDrift1 30s ease-in-out infinite alternate;
}
.bg-smoke span:nth-child(2) {
  background: radial-gradient(circle, rgba(200,10,40,0.45) 0%, rgba(80,5,20,0.1) 40%, transparent 70%);
  top: 30vmax; right: -25vmax;
  animation: smokeDrift2 38s ease-in-out infinite alternate;
}
.bg-smoke span:nth-child(3) {
  background: radial-gradient(circle, rgba(255,40,80,0.4) 0%, transparent 65%);
  bottom: -30vmax; left: 30vw;
  animation: smokeDrift3 34s ease-in-out infinite alternate;
}
@keyframes smokeDrift1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(20vmax, 12vmax) scale(1.15); }
}
@keyframes smokeDrift2 {
  0%   { transform: translate(0,0) scale(1.05); }
  100% { transform: translate(-18vmax, 8vmax) scale(0.95); }
}
@keyframes smokeDrift3 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-14vmax, -22vmax) scale(1.2); }
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(255, 20, 56, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(138, 10, 31, 0.18) 0%, transparent 60%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.08); }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 20, 56, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 20, 56, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

.bg-pentagram {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, transparent 38%, rgba(255, 20, 56, 0.08) 39%, transparent 41%);
  border-radius: 50%;
  animation: spin 60s linear infinite;
  pointer-events: none;
}
@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.brand-icon {
  font-size: 36px;
  color: var(--red);
  text-shadow:
    0 0 12px var(--red),
    0 0 24px var(--red-deep),
    0 0 40px var(--red-deep);
  animation: flicker 3s ease-in-out infinite;
  display: inline-block;
}
@keyframes flicker {
  0%, 90%, 100% { opacity: 1; text-shadow: 0 0 12px var(--red), 0 0 24px var(--red-deep), 0 0 40px var(--red-deep); }
  92%           { opacity: 0.7; text-shadow: 0 0 6px var(--red); }
  94%           { opacity: 1; }
  96%           { opacity: 0.5; }
}
.brand-text em { font-style: normal; color: var(--red); font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 20, 56, 0.08);
  border: 1px solid rgba(255, 20, 56, 0.3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--red-soft);
  text-transform: uppercase;
}
.dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red), 0 0 20px var(--red);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  50% { opacity: 0.3; transform: scale(0.7); }
}

.title {
  font-family: 'Cinzel', serif;
  font-size: clamp(36px, 7vw, 80px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 2px;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.glow-red {
  color: var(--red);
}
.glow-white {
  color: var(--text);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.sub {
  font-size: 16px;
  color: var(--muted);
  letter-spacing: 2px;
  font-weight: 300;
  text-transform: uppercase;
  max-width: 600px;
}

/* ============================================================
   WORD-SPLIT REVEAL
   ============================================================ */
[data-split] { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.25em; }
.title[data-split], .section-title[data-split], .pricing-title[data-split] {
  display: flex; flex-direction: column; gap: 6px;
}
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.1;
  padding-bottom: 0.1em;
}
.word-i {
  display: inline-block;
  transform: translateY(110%) rotate(6deg);
  transition: transform 0.85s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.split-ready.in .word-i,
.in .word-i {
  transform: translateY(0) rotate(0);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: white;
  box-shadow:
    0 0 0 1px rgba(255, 20, 56, 0.5),
    0 4px 24px rgba(255, 20, 56, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn.primary:hover {
  box-shadow:
    0 0 0 1px var(--red),
    0 8px 40px rgba(255, 20, 56, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn.primary:hover::before { transform: translateX(100%); }

.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 20, 56, 0.4);
  backdrop-filter: blur(6px);
}
.btn.ghost:hover {
  background: rgba(255, 20, 56, 0.12);
  border-color: var(--red);
}
.btn .arrow {
  transition: transform 0.25s;
  font-size: 18px;
  display: inline-block;
}
.btn:hover .arrow { transform: translateX(6px); }

/* Button text swap (split rolling) */
.btn .swap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.15;
}
.btn .swap > span {
  display: block;
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.btn .swap > span:last-child {
  position: absolute;
  inset: 0;
  transform: translateY(110%);
}
.btn:hover .swap > span:first-child { transform: translateY(-110%); }
.btn:hover .swap > span:last-child  { transform: translateY(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
}
.foot a { color: var(--red-soft); text-decoration: none; transition: color 0.2s; }
.foot a:hover { color: var(--red); }

/* ============================================================
   REVEAL (load + scroll)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.9s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: 2.65s; /* wait for intro fade-out to begin */
}
.reveal:nth-child(1) { animation-delay: 2.65s; }
.reveal:nth-child(2) { animation-delay: 2.78s; }
.reveal:nth-child(3) { animation-delay: 2.91s; }
.reveal:nth-child(4) { animation-delay: 3.04s; }
.reveal:nth-child(5) { animation-delay: 3.17s; }
.foot.reveal { animation-delay: 3.2s; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

/* Generic on-scroll reveal */
.reveal-up, .reveal-mask, .feat, .step, .pact, .pay-row {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
  will-change: transform, opacity;
}
.in, .feat.in, .step.in, .pact.in, .pay-row.in, .reveal-up.in, .reveal-mask.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { text-align: center; margin-bottom: 50px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
  transform: skewY(var(--scroll-skew, 0deg));
  transform-origin: left center;
  transition: transform 0.2s ease-out;
}
.pricing-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: skewY(var(--scroll-skew, 0deg));
  transition: transform 0.2s ease-out;
}
.section-sub {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 1px;
  max-width: 560px;
  margin: 0 auto;
}
.section-sub b { color: var(--red-soft); font-weight: 600; }

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.marquee-wrap {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(255,20,56,0.2);
  border-bottom: 1px solid rgba(255,20,56,0.2);
  background:
    linear-gradient(90deg, rgba(20,4,10,0.9), rgba(0,0,0,0.85), rgba(20,4,10,0.9));
  margin: 56px 0;
  height: 72px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  box-shadow:
    inset 0 8px 16px -8px rgba(0,0,0,0.6),
    inset 0 -8px 16px -8px rgba(0,0,0,0.6);
}
.marquee {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  animation: marqueeScroll 36s linear infinite;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 6px;
  font-size: clamp(13px, 1.4vw, 17px);
  text-transform: uppercase;
  line-height: 1;
  will-change: transform;
}
.m-row {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.m-item {
  display: inline-block;
  padding: 0 44px;
  color: rgba(255,255,255,0.92);
  flex-shrink: 0;
  letter-spacing: inherit;
}
.m-item.alt {
  color: var(--red);
  font-weight: 700;
  text-shadow: 0 0 14px rgba(255,20,56,0.5);
}
.m-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red), 0 0 14px rgba(255,20,56,0.4);
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}
.marquee-wrap:hover .marquee { animation-play-state: paused; }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  position: relative;
  z-index: 2;
  padding: 60px 24px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feat {
  position: relative;
  background: linear-gradient(180deg, rgba(20,10,16,0.7) 0%, rgba(10,4,8,0.85) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,20,56,0.15);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: left;
  transition: opacity 0.7s, transform 0.45s cubic-bezier(.2,.7,.2,1), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
  transform-style: preserve-3d;
}
.feat.in {
  transform: perspective(800px) rotateX(var(--tilt-rx,0deg)) rotateY(var(--tilt-ry,0deg)) translateY(0);
}
.feat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255,20,56,0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feat:hover {
  border-color: rgba(255,20,56,0.5);
  box-shadow:
    0 12px 36px rgba(0,0,0,0.5),
    0 0 30px rgba(255,20,56,0.2);
}
.feat:hover::before, .feat:hover::after { opacity: 1; }
.feat-ico {
  font-size: 32px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 12px rgba(255,20,56,0.5));
  animation: float 4s ease-in-out infinite;
  display: inline-block;
}
.feat:nth-child(2n) .feat-ico { animation-delay: 0.5s; }
.feat:nth-child(3n) .feat-ico { animation-delay: 1s; }
.feat h3 {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 10px;
}
.feat p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(243,238,240,0.7);
}
.feat p b { color: var(--red-soft); font-weight: 600; }
.feat code {
  background: rgba(0,0,0,0.4);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  color: var(--red-soft);
  border: 1px solid rgba(255,20,56,0.2);
}

/* ============================================================
   HOWTO — Steps
   ============================================================ */
.howto {
  position: relative;
  z-index: 2;
  padding: 80px 24px 40px;
  max-width: 900px;
  margin: 0 auto;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step {
  display: flex;
  gap: 24px;
  padding: 24px 28px;
  background: linear-gradient(90deg, rgba(20,10,16,0.7) 0%, rgba(10,4,8,0.85) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,20,56,0.15);
  border-left: 3px solid var(--red);
  border-radius: 10px;
  transition: opacity 0.7s, transform 0.45s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.step::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,20,56,0.08), transparent);
  transition: left 0.7s;
}
.step:hover {
  transform: translateX(8px);
  border-color: rgba(255,20,56,0.45);
  border-left-color: var(--red-soft);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), -4px 0 20px rgba(255,20,56,0.2);
}
.step:hover::after { left: 100%; }
.step-num {
  font-family: 'Cinzel', serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--red);
  text-shadow:
    0 0 20px rgba(255,20,56,0.6),
    0 0 40px rgba(255,20,56,0.3);
  line-height: 1;
  flex-shrink: 0;
  width: 70px;
}
.step-body { flex: 1; }
.step-body h3 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 8px;
}
.step-body p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(243,238,240,0.75);
}
.step-body p b { color: var(--red-soft); }
.step-body code {
  background: rgba(0,0,0,0.4);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  color: var(--red-soft);
  border: 1px solid rgba(255,20,56,0.2);
}
.step-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.step-list li {
  padding: 6px 0 6px 18px;
  font-size: 12px;
  color: rgba(243,238,240,0.7);
  position: relative;
}
.step-list li::before {
  content: "⛧";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 10px;
  top: 8px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  position: relative;
  z-index: 2;
  padding: 80px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-head { text-align: center; margin-bottom: 56px; }
.pricing-head .eyebrow { margin-bottom: 18px; }

.pact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pact-grid.two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 0 auto;
}

.pact {
  position: relative;
  background: linear-gradient(180deg, rgba(20,10,16,0.85) 0%, rgba(10,4,8,0.9) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 20, 56, 0.18);
  border-radius: 16px;
  padding: 36px 28px 30px;
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  transition: opacity 0.7s, transform 0.5s cubic-bezier(.2,.7,.2,1), border-color 0.35s, box-shadow 0.35s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.pact:hover {
  border-color: rgba(255, 20, 56, 0.55);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.7),
    0 0 40px rgba(255, 20, 56, 0.25);
}

.pact.featured {
  background: linear-gradient(180deg, rgba(40,8,18,0.95) 0%, rgba(15,4,8,0.95) 100%);
  border-color: var(--red);
  box-shadow:
    0 12px 48px rgba(0,0,0,0.6),
    0 0 60px rgba(255, 20, 56, 0.35),
    inset 0 1px 0 rgba(255, 20, 56, 0.5);
}
.pact.featured.in { transform: scale(1.04); }
.pact.featured.in:hover { transform: scale(1.04) translateY(-8px); }

.pact-aura {
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red), transparent 40%, transparent 60%, var(--red));
  z-index: -1;
  opacity: 0.6;
  animation: auraSpin 4s linear infinite;
  filter: blur(8px);
}
@keyframes auraSpin {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.seal {
  position: absolute;
  top: 18px;
  right: -42px;
  padding: 6px 50px;
  background: linear-gradient(90deg, var(--red), var(--red-deep));
  color: white;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 3px;
  transform: rotate(35deg);
  box-shadow: 0 4px 16px rgba(255,20,56,0.5);
}

.sigil {
  font-size: 48px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 14px rgba(255,20,56,0.6));
  animation: float 4s ease-in-out infinite;
  display: inline-block;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.pact-name {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--text);
  margin-bottom: 6px;
  text-shadow: 0 0 12px rgba(255,20,56,0.4);
}
.pact-tag {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pact-price {
  margin: 0 0 28px;
  position: relative;
}
.pact-price .cur {
  font-size: 14px;
  color: var(--red-soft);
  font-weight: 600;
  vertical-align: top;
  margin-right: 4px;
  letter-spacing: 1px;
}
.pact-price strong {
  font-family: 'Cinzel', serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--text);
  text-shadow:
    0 0 24px rgba(255,20,56,0.6),
    0 0 48px rgba(255,20,56,0.3);
}
.pact-price .unit {
  font-size: 20px;
  color: var(--red-soft);
  font-weight: 600;
  margin-left: 4px;
}
.pact-price .per {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
}

.pact-feat {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
  flex: 1;
}
.pact-feat li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 13px;
  color: rgba(243,238,240,0.85);
  border-bottom: 1px solid rgba(255,20,56,0.08);
}
.pact-feat li:last-child { border-bottom: none; }
.pact-feat li b { color: var(--red-soft); font-weight: 700; }
.pact-feat .mark {
  color: var(--red);
  font-size: 14px;
  flex-shrink: 0;
  text-shadow: 0 0 8px var(--red);
}

.btn.full { width: 100%; justify-content: center; }

.pay-row {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}
.pay-row > span:first-child {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red-soft);
  letter-spacing: 2px;
}
.pay-item a { color: var(--red-soft); text-decoration: none; }
.pay-item a:hover { color: var(--red); text-shadow: 0 0 12px var(--red); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding: 30px 18px; gap: 20px; }
  .features { padding: 70px 18px 30px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .feat { padding: 22px 18px; }
  .howto { padding: 60px 18px 30px; }
  .step { padding: 20px 22px; gap: 18px; }
  .step-num { font-size: 36px; width: 56px; }
  .pricing { padding: 60px 18px 40px; }
  .pact-grid, .pact-grid.two {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .pact.featured { transform: none; }
  .pact.featured.in { transform: none; }
  .pact.featured.in:hover { transform: translateY(-8px); }
  .pay-row { gap: 14px; font-size: 11px; }
  .intro-sigil { width: 160px; height: 160px; }
  .intro-brand { letter-spacing: 5px; }
}
@media (max-width: 600px) {
  .brand { font-size: 22px; letter-spacing: 2px; }
  .brand-icon { font-size: 28px; }
  .title { letter-spacing: 1px; }
  .sub { font-size: 13px; letter-spacing: 1px; padding: 0 6px; }
  .eyebrow { font-size: 10px; letter-spacing: 2px; padding: 6px 14px; }
  .btn { padding: 13px 22px; font-size: 11px; letter-spacing: 1.5px; }
  .bg-pentagram { width: 380px; height: 380px; opacity: 0.5; }
  .section-head { margin-bottom: 36px; }
  .section-title { font-size: 26px; letter-spacing: 1.5px; }
  .section-sub { font-size: 13px; }
  .features { padding: 50px 16px 24px; }
  .feat-grid { grid-template-columns: 1fr; gap: 14px; }
  .feat { padding: 20px 18px; }
  .feat-ico { font-size: 28px; }
  .feat h3 { font-size: 14px; }
  .feat p { font-size: 12.5px; line-height: 1.55; }
  .howto { padding: 50px 16px 24px; max-width: 100%; }
  .steps { gap: 12px; }
  .step { flex-direction: column; gap: 8px; padding: 18px 18px; }
  .step:hover { transform: translateY(-4px); border-left-width: 3px; }
  .step-num { font-size: 28px; width: auto; }
  .step-body h3 { font-size: 15px; letter-spacing: 1px; }
  .step-body p { font-size: 12.5px; line-height: 1.6; }
  .step-list li { font-size: 11.5px; padding: 4px 0 4px 16px; }
  .pricing { padding: 50px 16px 30px; }
  .pricing-head { margin-bottom: 36px; }
  .pricing-title { font-size: 24px; letter-spacing: 1.5px; }
  .pact { padding: 28px 22px 24px; }
  .sigil { font-size: 38px; margin-bottom: 12px; }
  .pact-name { font-size: 16px; letter-spacing: 2px; }
  .pact-tag { font-size: 10px; margin-bottom: 18px; }
  .pact-price strong { font-size: 44px; }
  .pact-price .unit { font-size: 16px; }
  .pact-feat li { font-size: 12px; padding: 7px 0; }
  .seal { top: 14px; right: -38px; padding: 5px 42px; font-size: 9px; letter-spacing: 2px; }
  .pay-row { flex-direction: column; gap: 8px; margin-top: 30px; text-align: center; }
  .pay-row > span:first-child { font-size: 11px; }
  .foot { padding: 20px 16px; font-size: 11px; letter-spacing: 1px; }
  .marquee-wrap { height: 58px; margin: 32px 0; }
  .marquee { font-size: 13px; letter-spacing: 4px; }
  .m-item { padding: 0 24px; }
  .intro-sigil { width: 140px; height: 140px; }
  .intro-brand { font-size: 16px; letter-spacing: 3px; }
}
@media (max-width: 380px) {
  .title { font-size: 32px; }
  .section-title, .pricing-title { font-size: 22px; }
  .feat-ico { font-size: 26px; }
  .pact-price strong { font-size: 38px; }
  .btn { padding: 12px 18px; font-size: 10.5px; }
}
