/* ═══════════════════════════════════════════════════════════════
   STORY SLIDES CSS — LANDING PAGE v4
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: 'Vazirmatn', sans-serif; }
html {
  scroll-padding-top: 95px;
  scroll-behavior: smooth;
}
html, body { overflow-x: hidden !important; max-width: 100vw !important; width: 100% !important; background: #0E1420; color: #e4e7ef; position: relative; }

/* ── Cursor Glow ── */
#cursor-glow {
  position: fixed; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.12) 0%, rgba(125,95,255,0.05) 50%, transparent 80%);
  pointer-events: none; z-index: 1; transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out;
}

/* ── Scroll Progress ── */
#scroll-progress {
  position: fixed; top: 0; right: 0; height: 4px; z-index: 99999;
  background: linear-gradient(90deg, #ff007f, #ff9f43, #00e5ff, #0084ff);
  width: 0%; transition: width 0.08s linear; pointer-events: none;
  box-shadow: 0 0 15px rgba(0,229,255,0.9);
}

/* ── 3D Canvas ── */
#canvas3d {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 0;
  contain: strict;
}

/* ── Side Slide Navigation ── */
.slide-nav {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 999; display: flex; flex-direction: column; gap: 10px;
}

.slide-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(228, 231, 239, 0.2); border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer; transition: all 0.3s ease; padding: 0;
}

.slide-dot:hover { background: rgba(0, 229, 255, 0.5); transform: scale(1.3); }
.slide-dot.active {
  background: #00e5ff; box-shadow: 0 0 12px #00e5ff;
  transform: scale(1.4); border-color: transparent;
}

/* ── Header ── */
header {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
  background: rgba(14,20,32,0.85); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 28px; display: flex; justify-content: space-between; align-items: center;
}

.header-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.header-logo img { width: 34px; height: 34px; border-radius: 10px; filter: drop-shadow(0 0 10px rgba(0,229,255,0.6)); }
.header-nav { display: flex; gap: 24px; font-size: 13.5px; }
.header-nav a { color: rgba(228,231,239,0.65); text-decoration: none; transition: color 0.25s; font-weight: 600; }
.header-nav a:hover { color: #00e5ff; }

.header-cta {
  padding: 8px 20px; background: linear-gradient(135deg, #00e5ff, #0084ff);
  color: #050810; font-weight: 900; font-size: 13px; border-radius: 10px;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,229,255,0.4); }

/* ── Story Deck ── */
.story-deck { position: relative; z-index: 2; width: 100%; }

/* ── Glass Shimmer Effect ── */
.glass-shimmer {
  position: relative; overflow: hidden;
}
.glass-shimmer::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.04) 45%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 55%,
    transparent 60%
  );
  animation: shimmerMove 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmerMove {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ── Pulsing Glow Ring (GPU Composited) ── */
.glow-pulse {
  position: relative;
  box-shadow: 0 4px 20px rgba(0,229,255,0.3);
}
.glow-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 1.5px solid rgba(0,229,255,0.6);
  opacity: 0.3;
  pointer-events: none;
  animation: glowPulseGpu 2.5s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes glowPulseGpu {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* ── FOMO Social Proof Bar ── */
.fomo-bar {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  margin-top: 20px; padding: 12px 24px;
  background: rgba(39,201,63,0.08); border: 1px solid rgba(39,201,63,0.25);
  border-radius: 16px; font-size: 13px; color: rgba(228,231,239,0.85);
}
.fomo-bar .fomo-avatar { display: flex; }
.fomo-bar .fomo-avatar span {
  width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 14px; margin-left: -8px; border: 2px solid #0E1420;
  background: rgba(0,229,255,0.15);
}
.fomo-bar strong { color: #27c93f; font-weight: 900; }

/* ── Urgency Ticker ── */
.urgency-strip {
  text-align: center; padding: 8px 16px; margin-top: 16px;
  font-size: 12px; font-weight: 800; color: #ff9f43;
  background: rgba(255,159,67,0.08); border: 1px solid rgba(255,159,67,0.2);
  border-radius: 12px; animation: urgencyPulse 3s ease-in-out infinite;
}
@keyframes urgencyPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ── Support Badge ── */
.support-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 24px; font-size: 12px; font-weight: 700;
  background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.2);
  color: rgba(228,231,239,0.85); margin-top: 18px;
  transition: border-color 0.3s, background 0.3s;
}
.support-badge:hover {
  border-color: rgba(0,229,255,0.5); background: rgba(0,229,255,0.12);
}
.support-badge .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #27c93f;
  position: relative;
}
.support-badge .pulse-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(39,201,63,0.8);
  animation: livePulseGpu 1.5s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes livePulseGpu {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ── Live Activity Feed ── */
.activity-feed {
  display: flex; flex-direction: column; gap: 8px; margin-top: 16px;
  max-width: 340px;
}
.activity-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 12px; font-size: 12px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  animation: feedSlideIn 0.5s ease forwards;
}
@keyframes feedSlideIn {
  to { opacity: 1; transform: translateY(0); }
}
.activity-item .activity-icon { font-size: 16px; flex-shrink: 0; }
.activity-item .activity-text { color: rgba(228,231,239,0.6); }
.activity-item .activity-text strong { color: #00e5ff; font-weight: 700; }
.activity-item .activity-time { color: rgba(228,231,239,0.3); font-size: 11px; margin-right: auto; }

/* ── Story Slide Base ── */
.story-slide {
  position: relative; z-index: 2;
  min-height: 85vh;
  scroll-margin-top: 70px;
  padding: 80px 20px 50px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}

.story-slide .container { max-width: 1140px; width: 100%; margin: 0 auto; }

/* ── Typography & Tags ── */
.hero-badge-premium {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px; border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.22), rgba(255, 0, 127, 0.18));
  border: 1px solid rgba(255, 159, 67, 0.5);
  color: #ff9f43; font-size: 13.5px; font-weight: 800;
  box-shadow: 0 4px 20px rgba(255, 159, 67, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}
.hero-badge-premium .badge-pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ff9f43;
  box-shadow: 0 0 10px #ff9f43;
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.4); }
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM HERO CHALLENGE BANNER
   ═══════════════════════════════════════════════════════════ */

/* ── Challenge Banner Container ── */
.hero-challenge-banner {
  position: relative;
  padding: 3px;
  border-radius: 20px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #ff9f43, #ff007f, #7d5fff, #00e5ff, #ff9f43);
  background-size: 300% 300%;
  animation: challengeBorderRotate 4s ease infinite;
  overflow: hidden;
}

@keyframes challengeBorderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.challenge-banner-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(255, 159, 67, 0.25), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  animation: challengeGlowPulse 3s ease-in-out infinite;
}

@keyframes challengeGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.challenge-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 18px;
  background: rgba(10, 15, 28, 0.92);
  backdrop-filter: blur(16px);
}

/* ── Fire Icon with Rings ── */
.challenge-icon-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.challenge-fire-icon {
  font-size: 28px;
  z-index: 2;
  position: relative;
  animation: fireFloat 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 159, 67, 0.8));
}

@keyframes fireFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.1); }
}

.challenge-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 159, 67, 0.4);
  animation: challengeRingPulse 2.5s ease-in-out infinite;
}

.challenge-icon-ring-2 {
  inset: -6px;
  border-color: rgba(255, 0, 127, 0.25);
  animation-delay: 0.8s;
  animation-duration: 3s;
}

@keyframes challengeRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.2; }
}

/* ── Challenge Text ── */
.challenge-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.challenge-label {
  font-size: 14.5px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #ff9f43, #ff007f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

.challenge-desc {
  font-size: 13px;
  font-weight: 700;
  color: rgba(228, 231, 239, 0.85);
}

/* ── Pain Red utility ── */
.pain-red {
  color: #ff4444 !important;
  font-weight: 900;
  -webkit-text-fill-color: #ff4444 !important;
  text-shadow: 0 0 18px rgba(255, 68, 68, 0.6), 0 0 4px rgba(255, 68, 68, 0.3);
}

/* ── Live Badge ── */
.challenge-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid rgba(255, 0, 127, 0.3);
  font-size: 11px;
  font-weight: 800;
  color: #ff007f;
  flex-shrink: 0;
  animation: liveBadgePulse 2s ease-in-out infinite;
}

@keyframes liveBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(255, 0, 127, 0); }
}

.challenge-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff007f;
  box-shadow: 0 0 8px #ff007f;
  animation: liveBlinkDot 1.2s ease-in-out infinite;
}

@keyframes liveBlinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── Hero Title Pain Badge ── */
.pain-title-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px 18px;
  border-radius: 16px;
  background: rgba(255, 35, 60, 0.2);
  border: 2px solid #ff3344;
  color: #ff3344 !important;
  -webkit-text-fill-color: #ff3344 !important;
  font-weight: 900;
  box-shadow: 0 0 25px rgba(255, 50, 68, 0.5), inset 0 0 12px rgba(255, 50, 68, 0.25);
  text-shadow: 0 0 12px rgba(255, 50, 68, 0.9);
  margin: 0 6px;
  transform: translateY(-2px);
  animation: painBadgePulse 2.5s ease-in-out infinite;
}

@keyframes painBadgePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 50, 68, 0.45), inset 0 0 8px rgba(255, 50, 68, 0.2); transform: scale(1) translateY(-2px); }
  50% { box-shadow: 0 0 35px rgba(255, 50, 68, 0.8), inset 0 0 15px rgba(255, 50, 68, 0.4); transform: scale(1.04) translateY(-2px); }
}

.pain-red-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(255, 50, 50, 0.15);
  border: 1px solid rgba(255, 68, 68, 0.4);
  color: #ff4444 !important;
  -webkit-text-fill-color: #ff4444 !important;
  font-size: 11px;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(255, 68, 68, 0.5);
}

/* ═══════════════════════════════════════════════════════════
   ANIMATED MESSENGER CHIPS
   ═══════════════════════════════════════════════════════════ */

.hero-messenger-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 14px;
  background: rgba(18, 26, 48, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  flex: 0 0 auto;
  cursor: default;
}

.hero-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Chip color themes */
.hero-chip-tg {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(18, 26, 48, 0.92));
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 6px 22px rgba(0, 229, 255, 0.2);
}
.hero-chip-tg:hover {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(18, 26, 48, 0.95));
  border-color: rgba(0, 229, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.35);
}

.hero-chip-bale {
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.16), rgba(18, 26, 48, 0.92));
  border-color: rgba(0, 132, 255, 0.5);
  box-shadow: 0 6px 22px rgba(0, 132, 255, 0.2);
}
.hero-chip-bale:hover {
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.25), rgba(18, 26, 48, 0.95));
  border-color: rgba(0, 132, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 132, 255, 0.35);
}

.hero-chip-eitaa {
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.16), rgba(18, 26, 48, 0.92));
  border-color: rgba(255, 159, 67, 0.5);
  box-shadow: 0 6px 22px rgba(255, 159, 67, 0.2);
}
.hero-chip-eitaa:hover {
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.25), rgba(18, 26, 48, 0.95));
  border-color: rgba(255, 159, 67, 0.8);
  box-shadow: 0 10px 30px rgba(255, 159, 67, 0.35);
}

.hero-chip-rubika {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.16), rgba(18, 26, 48, 0.92));
  border-color: rgba(255, 0, 127, 0.5);
  box-shadow: 0 6px 22px rgba(255, 0, 127, 0.2);
}
.hero-chip-rubika:hover {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.25), rgba(18, 26, 48, 0.95));
  border-color: rgba(255, 0, 127, 0.8);
  box-shadow: 0 10px 30px rgba(255, 0, 127, 0.35);
}

.hero-chip-soroush {
  background: linear-gradient(135deg, rgba(125, 95, 255, 0.16), rgba(18, 26, 48, 0.92));
  border-color: rgba(125, 95, 255, 0.5);
  box-shadow: 0 6px 22px rgba(125, 95, 255, 0.2);
}
.hero-chip-soroush:hover {
  background: linear-gradient(135deg, rgba(125, 95, 255, 0.25), rgba(18, 26, 48, 0.95));
  border-color: rgba(125, 95, 255, 0.8);
  box-shadow: 0 10px 30px rgba(125, 95, 255, 0.35);
}

/* Chip icon */
.hero-chip-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.hero-chip-icon-wrap img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Chip content */
.hero-chip-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-chip-name {
  font-size: 13.5px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.hero-chip-status {
  font-size: 11px;
  font-weight: 700;
  color: rgba(228, 231, 239, 0.8);
  direction: ltr;
  text-align: right;
}

.hero-chip-cursor {
  animation: chipCursorBlink 0.8s step-end infinite;
  color: #ff5f56;
  font-weight: 700;
}

@keyframes chipCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Chip error indicator */
.hero-chip-indicator {
  font-size: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: indicatorShake 3s ease-in-out infinite;
}

.chip-err-text {
  font-size: 10.5px;
  font-weight: 800;
  color: #ff5f56;
  white-space: nowrap;
}

.hero-chip:nth-child(1) .hero-chip-indicator { animation-delay: 0s; }
.hero-chip:nth-child(2) .hero-chip-indicator { animation-delay: 0.6s; }
.hero-chip:nth-child(3) .hero-chip-indicator { animation-delay: 1.2s; }
.hero-chip:nth-child(4) .hero-chip-indicator { animation-delay: 1.8s; }
.hero-chip:nth-child(5) .hero-chip-indicator { animation-delay: 2.4s; }

@keyframes indicatorShake {
  0%, 85%, 100% { transform: rotate(0); }
  88% { transform: rotate(-10deg); }
  91% { transform: rotate(10deg); }
  94% { transform: rotate(-5deg); }
  97% { transform: rotate(5deg); }
}

/* ═══════════════════════════════════════════════════════════
   HERO TRUST STRIP
   ═══════════════════════════════════════════════════════════ */

.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 10px 20px;
  border-radius: 14px;
  background: rgba(39, 201, 63, 0.06);
  border: 1px solid rgba(39, 201, 63, 0.15);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(228, 231, 239, 0.65);
}

.hero-trust-item svg {
  flex-shrink: 0;
}

.hero-trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(39, 201, 63, 0.4);
  flex-shrink: 0;
}

/* ── Responsive adjustments for challenge banner ── */
@media (max-width: 640px) {
  .challenge-banner-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
  }
  .challenge-live-badge {
    margin-right: auto;
  }
  .challenge-label {
    font-size: 13px;
  }
  .hero-messenger-grid {
    gap: 8px;
  }
  .hero-chip {
    padding: 6px 10px 6px 8px;
  }
  .hero-chip-icon-wrap {
    width: 24px;
    height: 24px;
  }
  .hero-chip-icon-wrap img {
    width: 18px;
    height: 18px;
  }
  .hero-trust-strip {
    flex-direction: column;
    gap: 8px;
  }
  .hero-trust-divider {
    display: none;
  }
}

.scene-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 30px; font-size: 12.5px; font-weight: 800;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em;
}

.scene-heading {
  font-size: clamp(1.8rem, 4.2vw, 3.2rem); font-weight: 900; line-height: 1.35; margin-bottom: 16px;
}

.scene-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem); color: rgba(228,231,239,0.65); line-height: 1.8; margin-bottom: 24px;
}

.text-gradient-pain {
  background: linear-gradient(135deg, #ff007f, #ff5f56);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-hope {
  background: linear-gradient(135deg, #00e5ff, #0084ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Typewriter & Pain List ── */
.typewriter-wrap {
  display: inline-block; color: #ff9f43; font-weight: 700;
  border-bottom: 2px solid rgba(255, 159, 67, 0.5); min-height: 1.4em;
}

.pain-list {
  list-style: none; padding: 0; margin: 16px 0 24px;
  display: flex; flex-direction: column; gap: 8px;
}

.pain-list li {
  font-size: 13.5px; color: rgba(228,231,239,0.7);
  display: flex; align-items: center; gap: 8px;
}

/* ── Scroll Hint ── */
.scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(228,231,239,0.35); pointer-events: none;
  animation: bounceHint 2s infinite ease-in-out;
}

.scroll-hint svg { width: 16px; height: 16px; stroke: rgba(228,231,239,0.4); }

@keyframes bounceHint {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ── Hero Grid & Art ── */
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px;
  align-items: center;
}

.hero-art-container {
  position: relative; width: 100%; max-width: 480px; max-height: 320px; margin: 0 auto;
  border-radius: 20px; overflow: hidden; border: 1px solid rgba(0,229,255,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 35px rgba(0,229,255,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-art-container:hover {
  transform: translateY(-4px); box-shadow: 0 25px 60px rgba(0,229,255,0.25);
}

.hero-art-img { width: 100%; height: 320px; display: block; object-fit: cover; }

/* ── Chaos Arena (HTML/CSS Based — No SVG clipping issues) ── */
.chaos-arena {
  position: relative; width: 100%; max-width: 640px; height: 380px;
  margin: 24px auto 0; border-radius: 28px; overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.96) 0%, rgba(8, 12, 22, 0.98) 100%);
  border: 1px solid rgba(255, 0, 127, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 0, 127, 0.08);
  transition: border-color 0.8s ease, box-shadow 0.8s ease;
  z-index: 1;
}
.chaos-arena.ordered {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 229, 255, 0.12);
}

/* Center Hub */
.arena-hub {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #00e5ff, #0084ff);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
  transition: box-shadow 0.8s ease;
}
.chaos-arena.ordered .arena-hub {
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.6), 0 0 80px rgba(0, 229, 255, 0.2);
}
.arena-hub-img { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; }
.arena-hub-ring {
  position: absolute; inset: -12px; border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.25);
  animation: hubRingPulse 2.5s ease-in-out infinite;
}
@keyframes hubRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%      { transform: scale(1.3); opacity: 0; }
}

/* Messenger Nodes */
.arena-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 85px;
  margin-left: -35px;
  margin-top: -42px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 1 !important;
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
  pointer-events: auto;
}

/* Chaos Position */
.arena-node.node-chaos {
  transform: translate(var(--chaos-x), var(--chaos-y));
}

/* Order Position */
.arena-node.node-order {
  transform: translate(var(--order-x), var(--order-y));
}

/* Inner gentle floating animation ONLY in chaos mode */
.arena-node .node-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  transition: transform 0.4s ease;
}

.arena-node.node-chaos .node-inner {
  animation: nodeChaosWobble var(--float-dur, 3s) ease-in-out infinite alternate;
}
@keyframes nodeChaosWobble {
  0%   { transform: translate(0, 0) rotate(-4deg); }
  100% { transform: translate(var(--float-dx, 6px), var(--float-dy, -6px)) rotate(4deg); }
}

.arena-node.node-order .node-inner {
  animation: none;
  transform: none;
}

.arena-node img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: contain;
  background: rgba(14, 20, 32, 0.95);
  border: 2px solid rgba(255, 0, 127, 0.5);
  padding: 3px;
  box-shadow: 0 0 14px rgba(255, 0, 127, 0.25);
  transition: border-color 0.8s ease, box-shadow 0.8s ease;
}
.arena-node span {
  font-size: 10px; font-weight: 800; color: rgba(228, 231, 239, 0.85);
  white-space: nowrap;
}

.arena-node.node-order img {
  border-color: rgba(0, 229, 255, 0.7);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.4);
}

/* Node badges for Chaos vs Order story */
.node-badge {
  font-size: 8.5px; font-weight: 800; padding: 2px 6px; border-radius: 8px;
  white-space: nowrap; margin-top: 2px; transition: opacity 0.4s ease, transform 0.4s ease;
}
.badge-err {
  background: rgba(255, 0, 127, 0.2); border: 1px solid rgba(255, 0, 127, 0.5); color: #ff007f;
}
.badge-ok {
  background: rgba(39, 201, 63, 0.2); border: 1px solid rgba(39, 201, 63, 0.5); color: #27c93f;
  display: none;
}
.arena-node.node-chaos .badge-err { display: block; }
.arena-node.node-chaos .badge-ok { display: none; }
.arena-node.node-order .badge-err { display: none; }
.arena-node.node-order .badge-ok { display: block; opacity: 1; }

/* ── Source Messenger Selector Buttons ── */
.source-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 12px; font-size: 12px; font-weight: 800;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(228,231,239,0.6); cursor: pointer;
  transition: all 0.3s ease; font-family: inherit;
}
.source-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.source-btn.active {
  background: rgba(0,229,255,0.15); border-color: rgba(0,229,255,0.6);
  color: #00e5ff; box-shadow: 0 0 15px rgba(0,229,255,0.15);
}

/* ── Live Chat Simulator Preview ── */
.sim-live-preview {
  background: rgba(15, 23, 42, 0.9); border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 16px; padding: 16px; margin-top: 16px;
  animation: simFadeIn 0.5s ease;
}
@keyframes simFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sim-preview-bubbles {
  display: flex; flex-direction: column; gap: 10px; margin-top: 10px;
}
.sim-bubble-card {
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px; padding: 10px 14px; text-align: right;
  transition: all 0.4s ease; opacity: 0; transform: translateX(20px);
}
.sim-bubble-card.active {
  opacity: 1; transform: translateX(0);
  border-color: rgba(0, 229, 255, 0.4); background: rgba(0, 229, 255, 0.04);
}
.sim-bubble-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 11.5px;
}
.sim-bubble-body {
  font-size: 13px; color: #e4e7ef; line-height: 1.6; word-break: break-word;
}
.sim-bubble-sig {
  font-size: 10.5px; color: #00e5ff; font-weight: 800; margin-top: 6px; display: inline-block;
}

/* SVG Laser Connection Lines */
.arena-svg-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 300px;
  pointer-events: none;
  z-index: 2;
}
.laser-line {
  stroke: #00e5ff;
  stroke-width: 2;
  stroke-dasharray: 6 4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.7));
  opacity: 0;
  transition: opacity 0.6s ease;
}
.chaos-arena.ordered .laser-line {
  opacity: 0.85;
  animation: laserFlow 1.2s linear infinite;
}
@keyframes laserFlow {
  from { stroke-dashoffset: 20; }
  to { stroke-dashoffset: 0; }
}

@media (max-width: 540px) {
  .chaos-arena {
    height: 340px;
    border-radius: 20px;
  }
  .arena-svg-lines {
    width: 300px;
    height: 240px;
  }
  .arena-node {
    width: 56px;
    height: 72px;
    margin-left: -28px;
    margin-top: -36px;
  }
  .arena-node.node-chaos#anode-tg { transform: translate(-100px, -60px); }
  .arena-node.node-chaos#anode-bale { transform: translate(100px, -65px); }
  .arena-node.node-chaos#anode-eitaa { transform: translate(90px, 60px); }
  .arena-node.node-chaos#anode-rubika { transform: translate(-90px, 60px); }
  .arena-node.node-chaos#anode-soroush { transform: translate(-10px, -85px); }

  .arena-node.node-order#anode-tg { transform: translate(0px, -80px); }
  .arena-node.node-order#anode-bale { transform: translate(75px, -24px); }
  .arena-node.node-order#anode-eitaa { transform: translate(46px, 64px); }
  .arena-node.node-order#anode-rubika { transform: translate(-46px, 64px); }
  .arena-node.node-order#anode-soroush { transform: translate(-75px, -24px); }

  .arena-node img {
    width: 34px;
    height: 34px;
  }
  .arena-node span {
    font-size: 9px;
  }
  .node-badge {
    font-size: 7px;
    padding: 1px 4px;
  }
}

/* Chaos Sparks (error/warning emojis floating around) */
.chaos-sparks {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  transition: opacity 0.6s ease;
}
.chaos-arena.ordered .chaos-sparks { opacity: 0; }
.spark {
  position: absolute; font-size: 18px;
  animation: sparkFloat 4s ease-in-out infinite;
  opacity: 0.7;
}
.s1 { top: 15%; left: 20%; animation-delay: 0s; animation-duration: 3.2s; }
.s2 { top: 25%; right: 18%; animation-delay: -0.8s; animation-duration: 3.8s; }
.s3 { bottom: 30%; left: 15%; animation-delay: -1.5s; animation-duration: 4.1s; }
.s4 { bottom: 20%; right: 22%; animation-delay: -2.2s; animation-duration: 3.5s; }
.s5 { top: 50%; left: 10%; animation-delay: -0.5s; animation-duration: 4.4s; }
@keyframes sparkFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25%  { transform: translate(10px, -15px) scale(1.2); opacity: 0.9; }
  50%  { transform: translate(-8px, 8px) scale(0.9); opacity: 0.5; }
  75%  { transform: translate(12px, 5px) scale(1.1); opacity: 0.8; }
}

/* Arena Status Banner */
.arena-banner {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  padding: 8px 22px; border-radius: 20px; font-size: 13px; font-weight: 800;
  background: rgba(10, 15, 28, 0.85); backdrop-filter: blur(14px);
  display: flex; align-items: center; gap: 8px;
  transition: all 0.6s ease; z-index: 10; white-space: nowrap;
}
.arena-banner.chaos {
  border: 1px solid rgba(255, 0, 127, 0.4); color: #ff007f;
}
.arena-banner.ordered {
  border: 1px solid rgba(0, 229, 255, 0.4); color: #00e5ff;
}

/* Toggle Button */
.chaos-toggle-btn {
  margin-top: 24px; padding: 16px 40px; border-radius: 25px;
  background: linear-gradient(135deg, #00e5ff, #0084ff);
  color: #050810; font-weight: 900; font-size: 16px;
  border: none; cursor: pointer;
  box-shadow: 0 4px 25px rgba(0, 229, 255, 0.4);
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}
.chaos-toggle-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 35px rgba(0, 229, 255, 0.6);
}
.chaos-toggle-btn.is-ordered {
  background: linear-gradient(135deg, #ff007f, #ff5f56);
  box-shadow: 0 4px 25px rgba(255, 0, 127, 0.4);
}

/* Keep old stage-status-banner for Section 5 */
.stage-status-banner {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  padding: 8px 22px; border-radius: 20px; font-size: 13px; font-weight: 800;
  background: rgba(10, 15, 28, 0.85); backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 229, 255, 0.3); color: #00e5ff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); display: flex; align-items: center; gap: 8px;
  transition: all 0.5s ease; z-index: 10;
}
.stage-status-banner.chaos {
  border-color: rgba(255, 0, 127, 0.4); color: #ff007f;
}

/* Keep chaos-stage-wrap for Section 5 reveal */
.chaos-stage-wrap {
  position: relative; width: 100%; max-width: 860px; min-height: 250px; height: auto;
  margin: 14px auto 0; border-radius: 24px; overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.96) 0%, rgba(8, 12, 22, 0.98) 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 255, 0.1);
}
.chaos-svg { width: 100%; height: 100%; display: block; }
.chaos-icon { transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease; cursor: pointer; }
.laser-path {
  fill: none; stroke: #ff007f; stroke-width: 2.5; stroke-dasharray: 10 8;
  animation: laserFlow 3s linear infinite; opacity: 0.45;
  transition: stroke 0.8s ease, stroke-width 0.8s ease, opacity 0.8s ease, filter 0.8s ease;
}
.laser-path.active {
  stroke: #00e5ff; stroke-width: 3.5; opacity: 0.95;
  filter: drop-shadow(0 0 10px #00e5ff) drop-shadow(0 0 20px rgba(0, 229, 255, 0.5));
}

.stage-status-banner.chaos {
  border-color: rgba(255, 0, 127, 0.4); color: #ff007f;
}

/* ── Battle Widget ── */
.battle-widget {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(10, 15, 28, 0.98));
  border: 1px solid rgba(0, 229, 255, 0.3); border-radius: 20px;
  padding: 24px; max-width: 860px; margin: 24px auto 0; text-align: right;
}

.battle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.battle-box { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 16px; padding: 16px; text-align: center; }
.battle-box.winner { border-color: rgba(0, 229, 255, 0.4); background: rgba(0, 229, 255, 0.04); }

/* ── Calculator ── */
.calc-card {
  max-width: 780px; margin: 0 auto;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(10, 15, 28, 0.95));
  border: 1px solid rgba(255, 0, 127, 0.25); border-radius: 22px;
  padding: 30px; text-align: center;
}

.calc-slider { width: 100%; height: 8px; border-radius: 4px; background: #1e293b; accent-color: #ff007f; cursor: pointer; margin: 20px 0; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.calc-metric { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 14px; padding: 16px; }
.calc-metric-val { font-size: 28px; font-weight: 900; display: block; margin-bottom: 4px; }

/* ── Alert Items ── */
.alert-item {
  background: rgba(255, 0, 127, 0.1); border: 1px solid rgba(255, 0, 127, 0.4);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 12px;
  display: flex; justify-content: space-between; font-size: 13px;
}

/* Source Messenger Selector Buttons */
.source-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(228, 231, 239, 0.7);
  padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 700;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.3s ease; font-family: inherit;
}
.source-tab-btn:hover {
  background: rgba(0, 229, 255, 0.1); border-color: rgba(0, 229, 255, 0.3); color: #00e5ff;
}
.source-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(0, 132, 255, 0.25));
  border-color: #00e5ff; color: #00e5ff; font-weight: 900;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

/* ── Simulator ── */
.sim-panel {
  max-width: 660px; margin: 30px auto 0;
  background: rgba(10, 15, 28, 0.94); backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 229, 255, 0.25); border-radius: 22px; padding: 24px;
}

.sim-textarea {
  width: 100%; min-height: 60px; background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px;
  padding: 12px; color: #e4e7ef; font-size: 13.5px; outline: none; font-family: inherit; resize: vertical;
}

.sim-send-btn {
  width: 100%; margin-top: 14px; padding: 14px;
  background: linear-gradient(135deg, #00e5ff, #0084ff);
  color: #050810; font-weight: 900; font-size: 15px; border: none; border-radius: 12px;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}

.sim-channels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 16px; }
.sim-ch { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 10px; padding: 10px 4px; text-align: center; font-size: 11px; }
.sim-ch.sent { border-color: rgba(39, 201, 63, 0.5); background: rgba(39, 201, 63, 0.1); transform: scale(1.04); }

/* ── Transformation ── */
.transform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.transform-box { background: rgba(15, 23, 42, 0.8); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 24px; text-align: center; }
.transform-box.after { border-color: rgba(0, 229, 255, 0.35); background: rgba(0, 229, 255, 0.04); }
.transform-img { width: 100%; height: 220px; border-radius: 14px; margin-top: 14px; display: block; object-fit: cover; }

/* ── Features Gallery (interactive) ── */
.feature-gallery {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 920px; margin: 28px auto 0;
}

.feature-stage {
  position: relative; flex: 1; min-height: 360px;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(10, 15, 28, 0.96));
  border: 1px solid rgba(0, 229, 255, 0.28);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 229, 255, 0.12);
}

.feature-slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0;
  align-items: stretch; padding: 0;
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.feature-slide.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.feature-slide.exit-left { opacity: 0; transform: translateX(-40px); }

.feature-slide-media {
  position: relative; overflow: hidden; min-height: 300px;
  background: #0a0f1c;
}
.feature-slide-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.feature-slide.active .feature-slide-media img { transform: scale(1.04); }

.feature-slide-body {
  padding: 28px 30px; display: flex; flex-direction: column; justify-content: center;
  text-align: right;
}

.feature-slide-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 26px; margin-bottom: 14px;
  background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.3);
}
.feature-slide-title { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.feature-slide-desc { font-size: 13.5px; line-height: 1.85; color: rgba(228, 231, 239, 0.7); }
.feature-slide-tag {
  align-self: flex-start; margin-top: 16px; font-size: 11.5px; font-weight: 800;
  color: #00e5ff; background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3); padding: 5px 12px; border-radius: 20px;
}

.feature-arrow {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10, 15, 28, 0.9); border: 1px solid rgba(0, 229, 255, 0.3);
  color: #00e5ff; font-size: 24px; font-weight: 900; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.feature-arrow:hover {
  background: rgba(0, 229, 255, 0.15); transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}
.feature-arrow:active { transform: scale(0.96); }

.feature-dots { display: flex; gap: 16px; justify-content: center; margin: 24px auto 0; padding: 6px 0; }
.feature-dot {
  width: 48px !important; height: 48px !important; min-width: 48px !important; min-height: 48px !important; border-radius: 50%; padding: 0; cursor: pointer;
  background: transparent !important; border: none !important;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.feature-dot::before {
  content: ''; width: 12px; height: 12px; border-radius: 50%;
  background: rgba(228, 231, 239, 0.45); border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease; pointer-events: none;
}
.feature-dot.active::before { background: #00e5ff; box-shadow: 0 0 12px #00e5ff; transform: scale(1.3); }

.feature-thumbs {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin: 18px auto 0; max-width: 860px;
}
.feature-thumb {
  cursor: pointer; padding: 7px 14px; border-radius: 22px; font-size: 12px;
  font-weight: 700; color: rgba(228, 231, 239, 0.85);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}
.feature-thumb:hover { color: #fff; border-color: rgba(0, 229, 255, 0.4); transform: translateY(-2px); }
.feature-thumb.active {
  color: #050810; background: linear-gradient(135deg, #00e5ff, #0084ff);
  border-color: transparent; box-shadow: 0 4px 16px rgba(0, 229, 255, 0.35); font-weight: 900;
}

/* ── Grids & Cards ── */
.steps-grid, .plans-grid, .testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.step-card, .testi-card { background: rgba(15, 23, 42, 0.75); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 18px; padding: 24px; text-align: center; }
.price-tabs { display: inline-flex; gap: 4px; padding: 6px; border-radius: 26px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.price-tab { padding: 8px 20px; border-radius: 20px; border: none; font-size: 13.5px; font-weight: 700; cursor: pointer; background: transparent; color: #e2e8f0; transition: all 0.2s ease; }
.price-tab.active { background: #00e5ff; color: #050810; font-weight: 900; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; font-size: 14px; font-weight: 900;
  background: linear-gradient(135deg, #00e5ff, #0084ff);
  color: #050810; border-radius: 12px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
  transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 229, 255, 0.45);
}

.btn-magnet {
  padding: 14px 36px; border-radius: 25px;
  background: linear-gradient(135deg, #00e5ff, #0084ff);
  color: #050810; font-weight: 900; font-size: 15px;
  border: none; cursor: pointer; box-shadow: 0 4px 25px rgba(0, 229, 255, 0.4);
  font-family: inherit; transition: transform 0.2s, box-shadow 0.2s;
}

.btn-magnet:hover { transform: scale(1.05); box-shadow: 0 6px 35px rgba(0, 229, 255, 0.6); }

.cta-final-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 42px; font-size: 16px; font-weight: 900;
  background: linear-gradient(135deg, #ff007f, #ff5f56);
  color: #fff; border-radius: 14px; text-decoration: none;
  box-shadow: 0 8px 30px rgba(255, 0, 127, 0.4); transition: transform 0.2s;
}

.cta-final-btn:hover { transform: scale(1.05); }

/* ── Reveal (Clean Entrance, No Locked Hidden States) ── */
.reveal { opacity: 1; transform: translateY(0); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.js-animated:not(.visible) { opacity: 0.85; transform: translateY(12px); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.15s; }
.reveal-d3 { transition-delay: 0.22s; }

/* ── Slide Backgrounds ── */
.slide-pain { background: radial-gradient(ellipse at 80% 20%, rgba(255, 0, 127, 0.08) 0%, transparent 60%); }
.slide-agitate { background: rgba(10, 15, 28, 0.6); }
.slide-danger { background: radial-gradient(ellipse at 20% 80%, rgba(255, 95, 86, 0.08) 0%, transparent 60%); }
.slide-solution { background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.12) 0%, transparent 70%); }
.slide-features { background: radial-gradient(ellipse at 50% 40%, rgba(0, 229, 255, 0.1) 0%, transparent 70%); }
.slide-power { background: radial-gradient(ellipse at 70% 30%, rgba(125, 95, 255, 0.08) 0%, transparent 60%); }
.slide-transform { background: rgba(10, 15, 28, 0.6); }
.slide-trust { background: radial-gradient(ellipse at 50% 50%, rgba(0, 229, 255, 0.06) 0%, transparent 70%); }
.slide-pricing { background: rgba(10, 15, 28, 0.5); }
.slide-cta { background: radial-gradient(ellipse at 50% 80%, rgba(255, 0, 127, 0.1) 0%, transparent 60%); }

/* ── Rich Multi-Column Footer ── */
.story-footer {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 22, 0.96); backdrop-filter: blur(18px);
  padding: 36px 20px 20px;
}

.footer-grid {
  display: grid; grid-template-columns: 1.25fr 0.85fr 1.65fr 1.15fr; gap: 28px;
  max-width: 1140px; margin: 0 auto 20px; text-align: right;
  align-items: start;
}

[dir="ltr"] .footer-grid {
  text-align: left;
}

.footer-col h3,
.footer-col h4 {
  font-size: 14.5px; font-weight: 800; color: #ffffff; margin-bottom: 14px;
  position: relative; display: inline-block;
}

.footer-col h3::after,
.footer-col h4::after {
  content: ''; position: absolute; bottom: -5px; right: 0;
  width: 20px; height: 2px; background: #00e5ff; border-radius: 2px;
}

[dir="ltr"] .footer-col h3::after,
[dir="ltr"] .footer-col h4::after {
  right: auto; left: 0;
}

.footer-links {
  list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px;
}

.footer-links a {
  color: rgba(228, 231, 239, 0.82); text-decoration: none; font-size: 12.5px; line-height: 1.4;
  transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 4px; border-radius: 6px;
}

.footer-links a:hover {
  color: #00e5ff; background: rgba(0, 229, 255, 0.07);
  transform: translateX(-3px);
}

[dir="ltr"] .footer-links a:hover {
  transform: translateX(3px);
}

/* ── Features Sub-Grid (Compact 2-Column) ── */
.footer-features-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
}

.footer-features-grid li {
  margin: 0;
  padding: 0;
}

.footer-features-grid a {
  font-size: 11.5px;
  line-height: 1.35;
  padding: 3px 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 6px;
}

.footer-bottom {
  max-width: 1140px; margin: 0 auto; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; font-size: 13px; color: #cbd5e1;
}

.social-icons { display: flex; gap: 12px; }

.social-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: #00e5ff; text-decoration: none; font-size: 14px; transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(0, 229, 255, 0.15); border-color: rgba(0, 229, 255, 0.4);
  transform: translateY(-3px);
}

/* ── Interactive Scrollytelling Workflow Showcase ── */
.workflow-section {
  position: relative; z-index: 2;
  min-height: 220vh; padding: 60px 20px;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.08) 0%, rgba(10, 15, 28, 0.98) 80%);
}

.workflow-sticky-wrap {
  position: sticky; top: 85px;
  max-width: 1140px; margin: 0 auto;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 12, 22, 0.98));
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 229, 255, 0.15);
  padding: 30px; text-align: center;
}

.workflow-tabs {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
}

.workflow-tab-btn {
  padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 800;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(228, 231, 239, 0.6); cursor: pointer; transition: all 0.3s ease;
}

.workflow-tab-btn.active {
  background: linear-gradient(135deg, #00e5ff, #0084ff);
  color: #050810; border-color: transparent; box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
}

.workflow-stage-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; text-align: right;
}

.workflow-visual-card {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.3); max-height: 380px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.workflow-visual-img {
  width: 100%; height: 380px; object-fit: cover; display: block;
  transition: transform 0.8s ease, filter 0.8s ease;
}

.workflow-shot {
  display: none; opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.workflow-shot.active {
  display: block; opacity: 1; transform: translateY(0);
}

.workflow-badge-step {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 16px; font-size: 12px; font-weight: 800;
  background: rgba(0, 229, 255, 0.12); color: #00e5ff; border: 1px solid rgba(0, 229, 255, 0.3);
  margin-bottom: 12px;
}

.workflow-shot-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 900; color: #fff; margin-bottom: 12px;
}

.workflow-shot-desc {
  font-size: 14px; line-height: 1.85; color: rgba(228, 231, 239, 0.75); margin-bottom: 20px;
}

.workflow-ch-tags {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px;
}

.workflow-ch-tag {
  padding: 6px 12px; border-radius: 12px; font-size: 11.5px; font-weight: 800;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(228, 231, 239, 0.8); display: flex; align-items: center; gap: 6px;
}

.workflow-ch-tag.sent {
  border-color: rgba(39, 201, 63, 0.4); background: rgba(39, 201, 63, 0.1); color: #27c93f;
}

/* ── Fullscreen Hero Journey Scrollytelling Section ── */
.hero-journey-section {
  position: relative; z-index: 2;
  min-height: 250vh; padding: 40px 20px;
  background: radial-gradient(ellipse at 50% 30%, rgba(0, 229, 255, 0.12) 0%, rgba(10, 15, 28, 0.98) 75%);
}

.hero-journey-sticky {
  position: sticky; top: 75px; height: calc(100vh - 90px);
  max-width: 1140px; margin: 0 auto;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 12, 22, 0.98));
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(0, 229, 255, 0.15);
  padding: 28px; display: flex; flex-direction: column; justify-content: space-between;
}

.journey-tabs {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px;
}

.journey-tab-btn {
  padding: 10px 22px; border-radius: 24px; font-size: 13.5px; font-weight: 800;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(228, 231, 239, 0.65); cursor: pointer; transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-tab-btn.active {
  background: linear-gradient(135deg, #00e5ff, #0084ff);
  color: #050810; border-color: transparent; box-shadow: 0 4px 22px rgba(0, 229, 255, 0.45);
  transform: scale(1.04);
}

.journey-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; text-align: right;
  flex: 1;
}

.journey-visual-box {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.3); height: 100%; max-height: 360px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.journey-img {
  width: 100%; height: 360px; object-fit: cover; display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.journey-step-card {
  display: none; opacity: 0; transform: translateY(12px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.journey-step-card.active {
  display: block !important; opacity: 1 !important; transform: translateY(0) !important;
  position: relative !important; pointer-events: auto !important;
}

.journey-step-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px; font-size: 12.5px; font-weight: 800;
  background: rgba(0, 229, 255, 0.12); color: #00e5ff; border: 1px solid rgba(0, 229, 255, 0.3);
  margin-bottom: 14px;
}

.journey-step-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: #fff; line-height: 1.35; margin-bottom: 14px;
}

.journey-step-desc {
  font-size: 14.5px; line-height: 1.85; color: rgba(228, 231, 239, 0.75); margin-bottom: 22px;
}

.journey-app-grid {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px;
}

.journey-app-pill {
  padding: 8px 14px; border-radius: 14px; font-size: 12px; font-weight: 800;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(228, 231, 239, 0.85); display: flex; align-items: center; gap: 6px;
}

.journey-app-pill.connected {
  border-color: rgba(39, 201, 63, 0.4); background: rgba(39, 201, 63, 0.1); color: #27c93f;
}

/* ── Ambient Orbs ── */
.ambient-orb {
  position: fixed; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(100px); opacity: 0.4;
  transition: margin 0.3s ease-out;
}
.ambient-orb--cyan {
  width: 500px; height: 500px; top: -120px; right: -100px;
  background: radial-gradient(circle, rgba(0,229,255,0.3), transparent 70%);
  animation: orbFloat 18s ease-in-out infinite;
}
.ambient-orb--pink {
  width: 400px; height: 400px; bottom: 10%; left: -80px;
  background: radial-gradient(circle, rgba(255,0,127,0.25), transparent 70%);
  animation: orbFloat 22s ease-in-out infinite reverse;
}
.ambient-orb--violet {
  width: 350px; height: 350px; top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(125,95,255,0.2), transparent 70%);
  animation: orbFloat 25s ease-in-out infinite 3s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(15px, 15px) scale(1.02); }
}

/* ── Film Grain Overlay ── */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── Header Scroll Effect ── */
header.scrolled {
  background: rgba(8, 12, 22, 0.95);
  border-bottom-color: rgba(0, 229, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* ── Phase Transition Bridge ── */
.phase-bridge {
  padding: 80px 20px; text-align: center;
  background: radial-gradient(ellipse at center, rgba(0,229,255,0.15) 0%, rgba(10,15,28,0.98) 70%);
  position: relative;
}
.phase-bridge::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.4), transparent);
}

/* ── 100vh Fullscreen Motion Slide Layout System (60FPS GPU Accelerated) ── */
.story-slide-fullscreen {
  position: relative; width: 100%; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px; overflow: hidden;
  box-sizing: border-box;
  contain: layout style;
}

.bg-stage-fullscreen {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden;
  contain: strict;
}

.bg-stage-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: brightness(0.55) contrast(1.15);
  transform: scale(1.03);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  will-change: transform, opacity;
}

.bg-stage-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(5,8,16,0.2) 0%, rgba(5,8,16,0.85) 75%),
              linear-gradient(180deg, rgba(5,8,16,0.8) 0%, transparent 25%, transparent 75%, rgba(5,8,16,0.95) 100%);
}

#scene-hero {
  position: relative;
  width: 100%;
  padding: 105px 16px 50px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  box-sizing: border-box;
}

#scene-hero .scroll-hint {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  margin-top: 14px;
  margin-bottom: 0;
  z-index: 4;
}

.floating-overlay-card {
  position: relative; z-index: 3;
  background: #0f172a !important;
  border: 2px solid #00e5ff !important;
  border-radius: 26px; padding: 18px 24px !important;
  max-width: 900px; width: 100%; margin: 0 auto;
  box-shadow: 0 30px 90px rgba(0,0,0,0.98), 0 0 60px rgba(0,229,255,0.3), inset 0 1px 2px rgba(255,255,255,0.25) !important;
  opacity: 1 !important;
  transform: translateZ(0);
}

.text-red-highlight {
  color: #ff2a4b !important;
  -webkit-text-fill-color: #ff2a4b !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  font-weight: 900 !important;
  display: inline !important;
  text-shadow: 0 0 20px rgba(255, 42, 75, 0.9), 0 0 40px rgba(255, 42, 75, 0.6) !important;
}

.chip-pain-tag {
  background: linear-gradient(135deg, #ff1744 0%, #d50000 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  padding: 3px 9px !important;
  border-radius: 7px !important;
  box-shadow: 0 3px 12px rgba(255, 23, 68, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.plan-btn {
  display: inline-block; padding: 10px 24px;
  border-radius: 10px; font-size: 13px; font-weight: 800;
  text-decoration: none; text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(228, 231, 239, 0.8);
  transition: all 0.3s ease; cursor: pointer;
  font-family: inherit;
}
.plan-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.plan-btn-primary {
  background: linear-gradient(135deg, #00e5ff, #0084ff) !important;
  color: #050810 !important; border: none !important;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
}
.plan-btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.5);
}

.plan-btn-accent {
  background: linear-gradient(135deg, #ff007f, #ff5f56) !important;
  color: #fff !important; border: none !important;
  box-shadow: 0 4px 20px rgba(255, 0, 127, 0.3);
}
.plan-btn-accent:hover {
  box-shadow: 0 8px 30px rgba(255, 0, 127, 0.5);
}

/* ── Ultra-Professional Plan Features Accordion ── */
.plan-accordion-wrap {
  margin-top: 14px;
  width: 100%;
}

.plan-accordion-btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: #00e5ff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}
.plan-accordion-btn:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.45);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.15);
}
.plan-accordion-btn .chevron {
  transition: transform 0.3s ease;
  font-size: 10px;
  color: #00e5ff;
}
.plan-accordion-btn.active .chevron {
  transform: rotate(180deg);
}

.plan-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
  text-align: right;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  margin-top: 0;
}
.plan-accordion-body.open {
  max-height: 450px;
  opacity: 1;
  margin-top: 12px;
  padding-top: 12px;
}

.plan-features-list {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-features-list li {
  font-size: 11.5px;
  color: rgba(228, 231, 239, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.6;
}
.plan-features-list li .check-icon {
  color: #27c93f;
  font-weight: 900;
  font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════
   FULL STATE-BASED LIQUID OTP ENGINE & MORPHING CAPSULE
   ═══════════════════════════════════════════════════════════ */

.otp-stage-wrapper {
  position: relative;
  width: 100%;
  text-align: center;
}

/* ── 5 OTP Container (Transitions to Morphed Capsule) ── */
.liquid-otp-container {
  display: flex !important;
  gap: clamp(8px, 2.5vw, 14px);
  justify-content: center !important;
  direction: ltr !important;
  margin: 24px 0 !important;
  position: relative;
  transition: gap 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s ease;
}

/* Morphing Spacing Collapse */
.liquid-otp-container.morphed {
  gap: 0px !important;
}

/* ── Individual Box Wrappers ── */
.liquid-otp-box-wrap {
  position: relative;
  width: clamp(52px, 15vw, 64px);
  height: clamp(60px, 17vw, 70px);
  border-radius: 18px;
  background: rgba(14, 20, 36, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-radius 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s ease,
              box-shadow 0.5s ease,
              transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Morphing Capsule Corner Merging (Capsule shape) */
.liquid-otp-container.morphed .liquid-otp-box-wrap {
  border-radius: 0px !important;
  border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-left: none !important;
  box-shadow: none !important;
}
.liquid-otp-container.morphed .liquid-otp-box-wrap:first-child {
  border-radius: 28px 0 0 28px !important;
  border-left: 1.5px solid rgba(0, 229, 255, 0.8) !important;
}
.liquid-otp-container.morphed .liquid-otp-box-wrap:last-child {
  border-radius: 0 28px 28px 0 !important;
  border-right: 1.5px solid rgba(0, 229, 255, 0.8) !important;
}

.liquid-otp-container.morphed {
  border-radius: 28px;
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.5), 0 0 80px rgba(0, 200, 83, 0.35) !important;
}

/* Focused Box */
.liquid-otp-box-wrap.focused {
  border-color: #00e5ff;
  transform: scale(1.04);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.35), inset 0 0 12px rgba(0, 229, 255, 0.15);
}

/* Filled Box */
.liquid-otp-box-wrap.filled {
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

/* Rising Liquid Fill */
.liquid-otp-box-wrap .liquid-wave-bg {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.4) 0%, rgba(0, 132, 255, 0.25) 100%);
  transition: height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.liquid-otp-box-wrap.filled .liquid-wave-bg {
  height: 100%;
}

/* Success Liquid Transformation (Blue ➔ Cyan ➔ Emerald/Teal Gradient) */
.liquid-otp-container.success-liquid .liquid-wave-bg {
  background: linear-gradient(135deg, #00e5ff 0%, #00b0ff 50%, #00c853 100%) !important;
  opacity: 0.95;
}

/* ── STEP 1: Pre-verify Pulse (Blue ➔ Purple) ── */
.liquid-otp-container.pre-verify-pulse .liquid-wave-bg {
  background: linear-gradient(180deg, rgba(125, 95, 255, 0.8) 0%, rgba(90, 50, 210, 0.65) 100%) !important;
  transition: background 0.4s ease !important;
}
.liquid-otp-container.pre-verify-pulse .liquid-otp-box-wrap {
  border-color: rgba(125, 95, 255, 0.8) !important;
  box-shadow: 0 0 30px rgba(125, 95, 255, 0.5) !important;
}

/* ── STEP 2: Fast Snappy Merge (Purple ➔ Transitional Blue) ── */
.liquid-otp-container.transitional-blue .liquid-wave-bg {
  background: linear-gradient(180deg, rgba(0, 132, 255, 0.85) 0%, rgba(0, 229, 255, 0.6) 100%) !important;
  transition: background 0.2s ease !important;
}

/* ── STEP 4: Final Teal/Green Settle & Continuous Glow Pulse ── */
.liquid-otp-container.success-teal .liquid-wave-bg {
  background: linear-gradient(135deg, #00e5ff 0%, #00b0ff 40%, #00c853 100%) !important;
  transition: background 0.5s ease !important;
}
.liquid-otp-container.success-teal {
  border-radius: 28px !important;
  animation: greenGlowLoop 3s infinite ease-in-out !important;
}

@keyframes greenGlowLoop {
  0%, 100% { box-shadow: 0 0 45px rgba(0, 229, 255, 0.45), 0 0 70px rgba(0, 200, 83, 0.35); }
  50% { box-shadow: 0 0 65px rgba(0, 229, 255, 0.65), 0 0 95px rgba(0, 200, 83, 0.55); }
}

/* ── SVG Stroke-Draw Animation ── */
.checkmark-halo-container, .xmark-halo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checkmark-halo-container.active, .xmark-halo-container.active {
  opacity: 1;
  transform: scale(1);
}

.svg-checkmark-path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  transition: stroke-dashoffset 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.checkmark-halo-container.draw .svg-checkmark-path {
  stroke-dashoffset: 0;
}

.svg-xmark-path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  transition: stroke-dashoffset 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.xmark-halo-container.draw .svg-xmark-path {
  stroke-dashoffset: 0;
}

/* Rotating Fluid Wave Crest */
.liquid-otp-box-wrap .liquid-crest {
  position: absolute;
  top: -15px; left: -50%;
  width: 200%; height: 200%;
  border-radius: 40% 44% 42% 38%;
  background: rgba(0, 229, 255, 0.35);
  animation: liquidRotate 3.5s linear infinite;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.liquid-otp-box-wrap.filled .liquid-crest {
  opacity: 0.65;
}

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

/* ── Floating Bubbles Inside Active Liquid ── */
.bubbles-wrap {
  position: absolute; inset: 0;
  z-index: 3; pointer-events: none; overflow: hidden;
  opacity: 0; transition: opacity 0.4s ease;
}
.liquid-otp-box-wrap.filled .bubbles-wrap {
  opacity: 1;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  animation: floatBubble 2.5s infinite ease-in-out;
}
.bubble.b1 { width: 6px; height: 6px; left: 20%; animation-delay: 0s; }
.bubble.b2 { width: 4px; height: 4px; left: 50%; animation-delay: 0.8s; }
.bubble.b3 { width: 5px; height: 5px; left: 75%; animation-delay: 1.4s; }

@keyframes floatBubble {
  0% { transform: translateY(55px) scale(0.6); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-10px) scale(1.1); opacity: 0; }
}

/* ── Digit Input ── */
.liquid-otp-box-wrap input.otp-digit {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  text-align: center !important;
  z-index: 5;
  font-family: var(--font-en), sans-serif !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  caret-color: #00e5ff;
}

.liquid-otp-box-wrap.digit-entered input.otp-digit {
  animation: digitEntrance 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes digitEntrance {
  0% { opacity: 0; transform: scale(0.75) translateY(6px); filter: blur(3px); }
  60% { opacity: 1; transform: scale(1.08) translateY(-2px); filter: blur(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

/* ── Error Shake State ── */
.liquid-otp-container.error .liquid-otp-box-wrap {
  border-color: #ff3344 !important;
  box-shadow: 0 0 20px rgba(255, 51, 68, 0.4) !important;
  animation: otpShake 0.45s ease-in-out;
}
.liquid-otp-container.error .liquid-wave-bg {
  background: linear-gradient(180deg, rgba(255, 51, 68, 0.4) 0%, rgba(255, 95, 86, 0.25) 100%) !important;
}

@keyframes otpShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* ── Success Message Overlay ── */
.otp-success-message {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 18px;
  text-align: center;
  display: none;
}
.otp-success-message.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.otp-success-message .success-title {
  font-size: 17px;
  font-weight: 900;
  color: #00e5ff;
  margin-bottom: 4px;
  text-shadow: 0 2px 12px rgba(0, 229, 255, 0.4);
}
.otp-success-message .success-subtitle {
  font-size: 13px;
  color: rgba(228, 231, 239, 0.85);
}
.otp-success-message .code-highlight {
  color: #27c93f;
  font-weight: 800;
  font-family: var(--font-en), sans-serif;
  letter-spacing: 1px;
}

/* Button Transformation on Success & Error */
.btn.success-state, .btn-primary.success-state {
  background: linear-gradient(135deg, #00e5ff 0%, #00c853 100%) !important;
  color: #050810 !important;
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.5), 0 0 50px rgba(0, 200, 83, 0.4) !important;
  font-weight: 900 !important;
  border: none !important;
  transform: scale(1.02);
}

.btn.error-state, .btn-primary.error-state {
  background: linear-gradient(135deg, #ff3344 0%, #d50000 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 30px rgba(255, 51, 68, 0.5) !important;
}

/* ── Missing CSS: App Chip ── */
.app-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 10px;
  font-size: 12px; font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, background 0.3s ease;
}
.app-chip:hover { transform: scale(1.05); }

/* ── Missing CSS: Journey Content Wrap ── */
.journey-content-wrap {
  min-height: 220px; text-align: right;
  position: relative;
}

/* ── Steps Grid ── */
.steps-grid {
  display: grid; gap: 16px;
}


/* ── Responsive Story Slide Grids ── */
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  margin-top: 20px;
}
.danger-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  margin-top: 24px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
  text-align: right;
}

/* ── Mobile Layout & Hero Optimization Fixes ── */
@media (max-width: 1024px) {
  #scene-hero {
    padding-top: 135px !important;
    padding-bottom: 45px !important;
    scroll-margin-top: 100px !important;
  }
}

@media (max-width: 768px) {
  /* Hide vertical dots on mobile to eliminate right margin & overflow */
  .slide-nav {
    display: none !important;
  }

  /* Natural height for fullscreen slides on mobile */
  .story-slide-fullscreen {
    min-height: auto !important;
    height: auto !important;
    padding: 85px 12px 30px 12px !important;
    overflow: visible !important;
  }

  /* Top Hero Section: Block display with generous top padding */
  #scene-hero {
    min-height: auto !important;
    height: auto !important;
    display: block !important;
    padding-top: 115px !important;
    padding-bottom: 35px !important;
    margin-top: 0 !important;
    overflow: visible !important;
    scroll-margin-top: 85px !important;
  }

  #scene-hero .scroll-hint {
    display: none !important;
  }

  .floating-overlay-card {
    padding: 22px 14px !important;
    border-radius: 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .hero-badge-premium {
    font-size: 11px !important;
    padding: 4px 10px !important;
    margin-bottom: 8px !important;
  }

  .fullscreen-title-huge {
    font-size: clamp(1.2rem, 5vw, 1.55rem) !important;
    line-height: 1.38 !important;
    margin-bottom: 8px !important;
  }

  .hero-content .scene-sub {
    font-size: 0.88rem !important;
    line-height: 1.58 !important;
    margin-bottom: 12px !important;
  }

  /* Natural wrapping flex layout for messenger chips on mobile */
  .hero-messenger-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 14px !important;
  }

  .hero-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 10px 6px 8px !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .hero-chip-icon-wrap {
    width: 22px !important;
    height: 22px !important;
  }

  .hero-chip-icon-wrap img {
    width: 17px !important;
    height: 17px !important;
  }

  .hero-chip-name {
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  .chip-pain-tag {
    font-size: 9.5px !important;
    font-weight: 800 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
  }

  .hero-guarantees {
    font-size: 10.5px !important;
    gap: 4px 8px !important;
    justify-content: center !important;
  }

  /* Responsive grids for all sections */
  .hero-grid,
  .calc-grid,
  .danger-grid,
  .pillars-grid,
  .transform-grid,
  .steps-grid,
  .plans-grid,
  .testimonials,
  .battle-grid,
  .app-section-grid,
  .workflow-stage-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .hero-art-container {
    max-width: 100% !important;
    max-height: 240px !important;
  }

  .hero-art-img {
    height: auto !important;
    max-height: 240px !important;
  }

  /* Header compact on mobile */
  header {
    padding: 8px 12px !important;
  }
  .header-logo span {
    font-size: 14.5px !important;
  }
  .header-cta {
    padding: 5px 10px !important;
    font-size: 11.5px !important;
  }
}

/* Anchor scroll offset protection */
section[id] {
  scroll-margin-top: 95px !important;
}


@media (max-width: 480px) {
  #scene-hero {
    padding-top: 105px !important;
    padding-bottom: 30px !important;
  }
}



/* ═══════════════════════════════════════
   RESPONSIVE FOOTER ARCHITECTURE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.1fr 1fr !important;
    gap: 32px 24px !important;
  }
  .footer-col-features {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .story-footer {
    padding: 36px 16px 90px !important; /* Space for floating FAB */
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    width: 100% !important;
  }

  .footer-col {
    width: 100% !important;
    text-align: right !important;
  }

  [dir="ltr"] .footer-col {
    text-align: left !important;
  }

  .footer-col h3,
  .footer-col h4 {
    font-size: 15px !important;
    margin-bottom: 14px !important;
    display: inline-block;
  }

  .footer-col > div[style*="max-width:320px"],
  .google-preferred-source-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 2-column grid for pages on mobile */
  .footer-col:nth-child(2) .footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 12px !important;
  }

  /* 2-column subgrid for features on mobile */
  .footer-features-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 10px !important;
    width: 100% !important;
  }

  .footer-features-grid a,
  .footer-links a {
    font-size: 12.5px !important;
    padding: 4px 6px !important;
    white-space: normal !important;
    line-height: 1.45 !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
    padding-top: 20px !important;
  }
}

@media (max-width: 480px) {
  .footer-col:nth-child(2) .footer-links {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .footer-features-grid {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
}
