/* ==========================================================================
   مش نسخة واحدة — Scrollytelling Design System & Stylesheet (2026 / 2027)
   Colors:
     #18230F — Deep Base
     #27391C — Secondary Cards & Surfaces
     #255F38 — Interactive Accents
     #1F7D53 — Vibrant Highlights & Primary CTAs
   Font: Tajawal
   ========================================================================== */

:root {
  --color-bg-deep: #18230F;
  --color-bg-surface: #27391C;
  --color-surface-hover: #324924;
  --color-interactive: #255F38;
  --color-cta: #1F7D53;
  --color-cta-hover: #269a67;
  --color-accent-gold: #e2b342;
  --color-danger-subtle: #d9534f;
  
  /* Luminous Breath Zone (Section 05 Transitions) */
  --color-luminous-bg: #eef5ea;
  --color-luminous-surface: #ffffff;
  --color-luminous-text: #18230F;
  --color-luminous-sub: #3b502c;

  /* Text & Border Shades */
  --color-text-primary: #F4F7F2;
  --color-text-secondary: #B9C6B1;
  --color-text-muted: #85987A;
  
  --border-glass: rgba(255, 255, 255, 0.09);
  --border-glass-hover: rgba(31, 125, 83, 0.4);
  --border-focus: rgba(31, 125, 83, 0.8);
  
  --shadow-spatial: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(31, 125, 83, 0.25);
  --shadow-card: 0 10px 30px rgba(10, 16, 6, 0.4);

  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-full: 9999px;

  --font-family: 'Tajawal', system-ui, -apple-system, sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-family);
  background-color: var(--color-bg-deep);
  color: var(--color-text-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  direction: rtl;
}

body {
  background-color: var(--color-bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.65;
  transition: background-color 0.8s ease;
}

/* Sound Ambience Control */
.sound-control {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 990;
}

.sound-btn {
  background: rgba(39, 57, 28, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  color: var(--color-text-primary);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

.sound-btn:hover {
  background: var(--color-interactive);
  border-color: var(--color-cta);
  transform: translateY(-2px);
}

/* Story Progress Bar */
.progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1000;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-interactive), var(--color-cta), var(--color-accent-gold));
  transition: width 0.1s linear;
}

/* Side Story Navigation Dots */
.story-nav {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 980;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  position: relative;
  text-decoration: none;
}

.nav-dot:hover,
.nav-dot.active {
  background: var(--color-cta);
  transform: scale(1.4);
  box-shadow: 0 0 10px var(--color-cta);
}

.nav-dot::after {
  content: attr(data-title);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(24, 35, 15, 0.9);
  color: var(--color-text-primary);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  border: 1px solid var(--border-glass);
}

.nav-dot:hover::after {
  opacity: 1;
}

/* Main Scrolly Container */
.scrolly-container {
  width: 100%;
  position: relative;
}

/* Section Standard Layout */
.story-section {
  min-height: 100vh;
  padding: 6rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.chapter-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #72cf9f;
  background: rgba(37, 95, 56, 0.25);
  border: 1px solid rgba(31, 125, 83, 0.35);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.25;
  margin-bottom: 0.8rem;
  text-align: center;
}

.section-sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 680px;
  text-align: center;
  margin-bottom: 3rem;
}

/* ==========================================
   01 — HERO SECTION
   ========================================== */
.hero-section {
  text-align: center;
  padding-top: 8rem;
  background: radial-gradient(circle at 50% 40%, rgba(37, 95, 56, 0.25) 0%, rgba(24, 35, 15, 0) 70%);
}

.hero-bg-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(31, 125, 83, 0.2) 0%, rgba(24, 35, 15, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.main-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.word-wrapper {
  display: inline-flex;
  position: relative;
}

.char-piece {
  display: inline-block;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.emphasize-target {
  color: #72cf9f;
  text-shadow: 0 0 25px rgba(31, 125, 83, 0.6);
}

.hero-question {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  color: var(--color-text-secondary);
  font-weight: 400;
  max-width: 720px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.hero-visual-spectrum {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.spec-node {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.node-1 { background: linear-gradient(135deg, #18230F, #27391C); }
.node-2 { background: linear-gradient(135deg, #27391C, #255F38); transform: translateY(-8px); }
.node-3 { background: linear-gradient(135deg, #255F38, #1F7D53); border-color: var(--color-cta); box-shadow: var(--shadow-glow); }
.node-4 { background: linear-gradient(135deg, #1F7D53, #2e9666); transform: translateY(-4px); }
.node-5 { background: linear-gradient(135deg, #27391C, #3d592b); }

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  background: rgba(39, 57, 28, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.scroll-cue:hover {
  background: var(--color-interactive);
  border-color: var(--color-cta);
  transform: translateY(4px);
  box-shadow: 0 10px 25px rgba(31, 125, 83, 0.3);
}

.cue-arrow {
  animation: bounceDown 1.8s infinite ease-in-out;
  font-size: 1.2rem;
  color: #72cf9f;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ==========================================
   02 — CLASSROOM & CHARACTERS
   ========================================== */
.classroom-section {
  width: 100%;
}

.sticky-wrapper {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.blackboard-card {
  background: #0f1609;
  border: 2px solid #2f4422;
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-spatial);
  position: relative;
  text-align: center;
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.board-badge {
  background: rgba(37, 95, 56, 0.3);
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  color: #72cf9f;
}

.board-quote {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: #e5f1df;
  letter-spacing: 0.5px;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.char-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.char-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-cta);
  box-shadow: var(--shadow-spatial);
}

.char-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(24, 35, 15, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.char-icon {
  font-size: 2rem;
  z-index: 2;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed;
  animation: rotateRing 12s linear infinite;
}

.ring-green { border-color: #38bdf8; }
.ring-amber { border-color: #f59e0b; }
.ring-crimson { border-color: #ef4444; }

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.char-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.char-state {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.char-ease .char-state { color: #72cf9f; }
.char-effort .char-state { color: #fcd34d; }
.char-overload .char-state { color: #fca5a5; }

.char-wave {
  display: flex;
  justify-content: center;
  gap: 4px;
  height: 24px;
  align-items: center;
  margin-bottom: 1.25rem;
}

.char-wave span {
  width: 4px;
  background: var(--color-text-muted);
  border-radius: 2px;
}

.calm-wave span {
  height: 12px;
  background: #72cf9f;
  animation: wavePulse 2s infinite ease-in-out;
}

.effort-wave span {
  height: 18px;
  background: #fcd34d;
  animation: wavePulse 1s infinite ease-in-out;
}

.storm-wave span {
  height: 22px;
  background: #fca5a5;
  animation: wavePulse 0.4s infinite ease-in-out;
}

@keyframes wavePulse {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.char-desc {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.punchline-banner {
  background: linear-gradient(135deg, rgba(37, 95, 56, 0.4), rgba(39, 57, 28, 0.8));
  border: 1px solid var(--color-cta);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.punchline-text {
  font-size: clamp(1.2rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: #ffffff;
}

.punchline-text strong {
  color: #72cf9f;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ==========================================
   03 — SPLIT SECTION & PERSPECTIVE SHIFT
   ========================================== */
.split-section {
  width: 100%;
}

.split-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  max-width: 1100px;
  width: 100%;
  margin-bottom: 3.5rem;
  align-items: center;
}

.split-col {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-spatial);
  transition: var(--transition-smooth);
}

.col-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.badge-person {
  background: rgba(217, 83, 79, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(217, 83, 79, 0.3);
}

.badge-env {
  background: rgba(226, 179, 66, 0.2);
  color: #fde68a;
  border: 1px solid rgba(226, 179, 66, 0.3);
}

.col-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.traits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trait-item {
  background: rgba(24, 35, 15, 0.6);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--color-text-secondary);
  border-right: 3px solid var(--color-interactive);
}

.split-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.divider-line {
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--border-glass), transparent);
}

.divider-icon {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--color-accent-gold);
  background: var(--color-bg-deep);
  border: 1px solid var(--border-glass);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perspective-shift-card {
  max-width: 900px;
  width: 100%;
  background: linear-gradient(135deg, #18230F 0%, #27391C 100%);
  border: 2px solid var(--color-cta);
  border-radius: var(--radius-lg);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-glow);
  text-align: center;
}

.shift-before {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: #fca5a5;
  text-decoration: line-through;
  opacity: 0.7;
}

.shift-arrow {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  white-space: nowrap;
}

.shift-after {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 900;
  color: #72cf9f;
  text-shadow: 0 0 20px rgba(31, 125, 83, 0.4);
}

/* ==========================================
   04 — NEEDS CARDS STACK
   ========================================== */
.needs-section {
  width: 100%;
}

.needs-cards-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  width: 100%;
}

.need-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.need-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-cta);
  box-shadow: var(--shadow-spatial);
}

.need-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(31, 125, 83, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.need-icon {
  font-size: 1.8rem;
}

.need-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.need-text {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.need-metric {
  align-self: flex-start;
  font-size: 0.82rem;
  font-weight: 700;
  color: #72cf9f;
  background: rgba(37, 95, 56, 0.3);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
}

/* ==========================================
   05 — BREATHING ZONE: RIGHTS TRANSITION
   ========================================== */
.rights-transition-section {
  width: 100%;
  background: linear-gradient(180deg, #18230F 0%, #213317 25%, #2a411e 60%, #1f3316 100%);
  position: relative;
}

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

.rights-manifesto {
  text-align: center;
  margin-bottom: 4rem;
}

.tag-light {
  background: rgba(114, 207, 159, 0.2);
  color: #bbf7d0;
  border-color: rgba(114, 207, 159, 0.4);
}

.rights-heading-callout {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sub-lead {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #b9c6b1;
  font-weight: 500;
}

.core-statement {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 35px rgba(114, 207, 159, 0.35);
}

.rights-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.right-box {
  background: rgba(39, 57, 28, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.right-box:hover {
  background: rgba(39, 57, 28, 0.95);
  border-color: #72cf9f;
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.right-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.right-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #72cf9f;
  opacity: 0.6;
}

.right-icon {
  font-size: 2rem;
}

.right-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.right-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.legal-cite {
  font-size: 0.78rem;
  color: #e2b342;
  background: rgba(226, 179, 66, 0.12);
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  border-right: 2px solid var(--color-accent-gold);
}

/* ==========================================
   06 — GOVERNANCE TRIAD (SOCIETY, INST, STATE)
   ========================================== */
.governance-section {
  width: 100%;
}

.governance-wrapper {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}

.triad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.triad-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.triad-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-cta);
  box-shadow: var(--shadow-spatial);
}

.triad-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.triad-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  display: block;
  margin-bottom: 0.4rem;
}

.triad-title {
  font-size: 1.8rem;
  font-weight: 800;
}

.triad-duties {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.triad-duties li {
  position: relative;
  padding-right: 1.5rem;
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.triad-duties li::before {
  content: "✦";
  position: absolute;
  right: 0;
  color: var(--color-cta);
}

/* ==========================================
   07 — TIMELINE PIPELINE
   ========================================== */
.timeline-section {
  width: 100%;
}

.timeline-wrapper {
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
}

.interactive-pipeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: 100%;
  transition: var(--transition-smooth);
}

.step-marker {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-interactive);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

.step-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  flex-grow: 1;
  transition: var(--transition-smooth);
}

.pipeline-step:hover .step-card {
  border-color: var(--color-cta);
  transform: translateX(-6px);
}

.step-badge {
  font-size: 0.8rem;
  color: var(--color-accent-gold);
  font-weight: 700;
}

.step-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0.3rem 0;
}

.step-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.pipeline-connector {
  display: flex;
  justify-content: center;
  height: 48px;
  align-items: center;
}

.connector-arrow {
  color: var(--color-cta);
  font-size: 1.8rem;
  animation: bounceDown 1.5s infinite;
}

/* ==========================================
   08 — WHO DEFINES THE NEED
   ========================================== */
.need-definition-section {
  width: 100%;
}

.box-clarity-container {
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
}

.principle-banner {
  background: linear-gradient(135deg, rgba(39, 57, 28, 0.9), rgba(24, 35, 15, 0.9));
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-card);
}

.principle-lead {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 900;
  color: #72cf9f;
  margin-bottom: 0.75rem;
}

.principle-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 750px;
  margin: 0 auto;
}

.anti-box-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.box-side {
  background: var(--color-bg-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.box-wrong {
  border: 1px solid rgba(217, 83, 79, 0.3);
}

.box-right {
  border: 2px solid var(--color-cta);
  box-shadow: var(--shadow-glow);
}

.box-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.box-heading {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.box-wrong .box-heading { color: #fca5a5; }
.box-right .box-heading { color: #72cf9f; }

.box-desc {
  font-size: 0.98rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.box-bridge {
  font-weight: 800;
  color: var(--color-accent-gold);
  white-space: nowrap;
}

/* ==========================================
   09 — VOICES & STORIES (اسمعهم)
   ========================================== */
.voices-section {
  width: 100%;
}

.voices-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.voices-slider {
  position: relative;
  min-height: 380px;
  margin-bottom: 2rem;
}

.voice-card {
  position: absolute;
  inset: 0;
  background: var(--color-bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  box-shadow: var(--shadow-spatial);
}

.voice-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.voice-quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--color-cta);
  opacity: 0.3;
  margin-bottom: -1.5rem;
}

.voice-quote {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.75;
  color: var(--color-text-primary);
  margin-bottom: 2rem;
}

.voice-person {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.voice-avatar-thumb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-interactive);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  border: 2px solid var(--color-cta);
}

.voice-meta {
  display: flex;
  flex-direction: column;
}

.voice-name {
  font-size: 1.15rem;
  font-weight: 800;
}

.voice-role {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.voice-audio-sim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(24, 35, 15, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.25rem;
}

.voice-play-btn {
  background: transparent;
  border: none;
  color: #72cf9f;
  font-family: var(--font-family);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audio-waves {
  display: flex;
  gap: 4px;
  height: 18px;
  align-items: center;
}

.audio-waves span {
  width: 3px;
  height: 6px;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.voice-audio-sim[data-playing="true"] .audio-waves span {
  background: var(--color-cta);
  animation: audioAnim 0.8s infinite ease-in-out;
}

.voice-audio-sim[data-playing="true"] .audio-waves span:nth-child(2) { animation-delay: 0.1s; }
.voice-audio-sim[data-playing="true"] .audio-waves span:nth-child(3) { animation-delay: 0.2s; }
.voice-audio-sim[data-playing="true"] .audio-waves span:nth-child(4) { animation-delay: 0.3s; }
.voice-audio-sim[data-playing="true"] .audio-waves span:nth-child(5) { animation-delay: 0.4s; }

@keyframes audioAnim {
  0%, 100% { height: 6px; }
  50% { height: 20px; }
}

.voice-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.voice-nav-btn {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--color-text-primary);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 700;
  transition: var(--transition-smooth);
}

.voice-nav-btn:hover {
  background: var(--color-interactive);
  border-color: var(--color-cta);
}

.voice-indicators {
  display: flex;
  gap: 0.6rem;
}

.v-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.v-dot.active {
  background: var(--color-cta);
  transform: scale(1.3);
}

/* ==========================================
   10 — INTERACTIVE SCENARIO (لو كنت مكانه؟)
   ========================================== */
.interactive-sim-section {
  width: 100%;
}

.sim-wrapper {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

.scenario-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-spatial);
}

.scenario-premise {
  margin-bottom: 2.5rem;
}

.scenario-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(226, 179, 66, 0.2);
  color: var(--color-accent-gold);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.scenario-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.scenario-desc {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.scenario-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.choice-btn {
  background: rgba(24, 35, 15, 0.8);
  border: 2px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: right;
  cursor: pointer;
  color: var(--color-text-primary);
  font-family: var(--font-family);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.choice-btn:hover {
  transform: translateY(-4px);
  border-color: var(--color-cta);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.choice-btn.selected {
  border-color: #72cf9f;
  background: rgba(37, 95, 56, 0.4);
  box-shadow: var(--shadow-glow);
}

.choice-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent-gold);
}

.choice-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.choice-sub {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.sim-feedback {
  background: linear-gradient(135deg, rgba(31, 125, 83, 0.25), rgba(24, 35, 15, 0.9));
  border: 2px solid var(--color-cta);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

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

.feedback-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: #72cf9f;
  margin-bottom: 0.5rem;
}

.feedback-heading {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.feedback-body {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ==========================================
   11 — RIGHTS HUB (اعرف حقك)
   ========================================== */
.rights-hub-section {
  width: 100%;
}

.hub-wrapper {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}

.hub-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hub-tab-btn {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--color-text-secondary);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hub-tab-btn:hover,
.hub-tab-btn.active {
  background: var(--color-cta);
  color: #ffffff;
  border-color: #72cf9f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 125, 83, 0.35);
}

.hub-content-container {
  width: 100%;
}

.hub-tab-pane {
  display: none;
}

.hub-tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.pane-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.pane-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.pane-card:hover {
  border-color: var(--color-cta);
  transform: translateY(-6px);
  box-shadow: var(--shadow-spatial);
}

.pane-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #72cf9f;
  background: rgba(37, 95, 56, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-bottom: 1rem;
}

.pane-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.pane-card p {
  font-size: 1.02rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.legal-tag {
  font-size: 0.82rem;
  color: var(--color-accent-gold);
  border-right: 3px solid var(--color-accent-gold);
  padding-right: 0.6rem;
  font-weight: 600;
}

/* ==========================================
   12 — ACTION PATHWAYS (إيه اللي نقدر نغيره؟)
   ========================================== */
.action-pathways-section {
  width: 100%;
}

.pathways-wrapper {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.pathway-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.pathway-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-cta);
  box-shadow: var(--shadow-spatial);
}

.pathway-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pathway-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.pathway-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.pathway-cta {
  background: var(--color-interactive);
  border: 1px solid var(--color-cta);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pathway-cta:hover {
  background: var(--color-cta-hover);
  box-shadow: 0 6px 16px rgba(31, 125, 83, 0.4);
}

.pathway-detail-box {
  background: var(--color-bg-deep);
  border: 2px solid var(--color-cta);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-glow);
  animation: fadeIn 0.4s ease;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.detail-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #72cf9f;
}

.detail-close {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--color-text-muted);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 0.85rem;
}

.detail-close:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* ==========================================
   13 — FINALE
   ========================================== */
.finale-section {
  text-align: center;
  background: radial-gradient(circle at 50% 60%, rgba(37, 95, 56, 0.25) 0%, rgba(24, 35, 15, 0.95) 75%);
  padding: 8rem 1.5rem 4rem;
}

.finale-content {
  max-width: 860px;
  margin: 0 auto;
}

.tag-finale {
  background: rgba(31, 125, 83, 0.3);
  color: #72cf9f;
  border-color: var(--color-cta);
}

.finale-title {
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(114, 207, 159, 0.3);
}

.finale-manifesto {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 3rem;
}

.finale-action-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.action-btn-primary,
.action-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.action-btn-primary {
  background: var(--color-cta);
  color: #ffffff;
  border: 1px solid #72cf9f;
  box-shadow: 0 8px 25px rgba(31, 125, 83, 0.4);
}

.action-btn-primary:hover {
  background: var(--color-cta-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(31, 125, 83, 0.6);
}

.action-btn-secondary {
  background: rgba(39, 57, 28, 0.8);
  color: var(--color-text-primary);
  border: 1px solid var(--border-glass);
}

.action-btn-secondary:hover {
  background: var(--color-interactive);
  border-color: var(--color-cta);
  transform: translateY(-3px);
}

.finale-direct-contact {
  background: rgba(39, 57, 28, 0.5);
  border: 1px dashed var(--border-glass-hover);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 4rem;
}

.contact-prompt {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.btn-wa-direct {
  display: inline-block;
  background: #25D366;
  color: #073816;
  font-weight: 800;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.btn-wa-direct:hover {
  background: #20ba59;
  transform: scale(1.04);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.campaign-footer {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ==========================================
   GSAP PULSING MAGNETIC WHATSAPP BUTTON
   Approved standard for 01023760751
   ========================================== */
.whatsapp-magnetic-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-pulse-ring {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #25D366;
  pointer-events: none;
  opacity: 0.8;
  animation: sonarRing 2.6s infinite cubic-bezier(0, 0.2, 0.8, 1);
}

.whatsapp-pulse-ring.ring-2 {
  animation-delay: 1.3s;
}

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

.whatsapp-tooltip-badge {
  position: absolute;
  right: 76px;
  background: rgba(24, 35, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #ffffff;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  animation: badgeFloat 3s infinite ease-in-out;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-4px); }
}

.whatsapp-btn-core {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  position: relative;
}

.whatsapp-btn-core:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge-pulse {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  background: #facc15;
  border-radius: 50%;
  border: 2px solid #18230F;
}

/* Share Toast */
.share-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(31, 125, 83, 0.95);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-spatial);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================
   RESPONSIVENESS (Mobile & Tablet)
   ========================================== */
@media (max-width: 1024px) {
  .characters-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 2.5rem;
  }

  .rights-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .triad-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .pathways-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .pane-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .story-nav {
    display: none;
  }

  .split-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .split-divider {
    flex-direction: row;
    height: auto;
  }

  .divider-line {
    width: 80px;
    height: 2px;
  }

  .perspective-shift-card {
    flex-direction: column;
    padding: 1.75rem;
    gap: 1rem;
  }

  .needs-cards-stack {
    grid-template-columns: 1fr;
  }

  .rights-showcase-grid {
    grid-template-columns: 1fr;
  }

  .anti-box-visual {
    grid-template-columns: 1fr;
  }

  .scenario-choices {
    grid-template-columns: 1fr;
  }

  .whatsapp-magnetic-wrap {
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
    right: 1.5rem;
  }

  .whatsapp-tooltip-badge {
    display: none;
  }
}
