/* ==========================================================================
   REVELOP PROPOSAL - MODERN DESIGN SYSTEM & EXECUTIVE PRESENTATION HUD
   (OUTCROWD / FINTECH MINIMALIST STYLE • 720 FRAME CANVAS ENGINE)
   ========================================================================== */

:root {
  /* Color Palette matching Video (#dae2e9) and Revelop Brand Tokens */
  --bg-video: #dae2e9;
  --bg-light: #e4ebf1;
  --bg-slate-dark: #050713;
  --bg-card: rgba(255, 255, 255, 0.86);
  --bg-card-hover: rgba(255, 255, 255, 0.96);
  --border-glass: rgba(255, 255, 255, 0.85);
  --border-subtle: rgba(142, 150, 162, 0.22);

  --text-primary: #080a0d;
  --text-secondary: #4b5563;
  --text-muted: #8e96a2;

  --revelop-blue: #2546e8;
  --revelop-blue-dark: #1b38cb;
  --revelop-blue-glow: rgba(37, 70, 232, 0.35);
  --cyan-accent: #00d2fe;
  --cyan-glow: rgba(0, 210, 254, 0.35);
  --emerald-accent: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --purple-accent: #8b5cf6;
  --gold-accent: #f59e0b;

  /* Typography */
  --font-arabic: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-latin: 'Plus Jakarta Sans', sans-serif;
  --font-space: 'Space Grotesk', var(--font-latin), sans-serif;

  /* Shadows */
  --shadow-glass: 0 20px 45px -12px rgba(8, 10, 13, 0.09), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  --shadow-float: 0 30px 60px -15px rgba(37, 70, 232, 0.14);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.05);

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto; /* Handled smoothly by Lenis */
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-video);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Latin & Numeric typography */
.font-space, .balance-number, .module-num, .phase-days, .metric-value, .swatch-hex, .barcode-serial {
  font-family: var(--font-space), monospace;
}

.en-term, bdi {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  font-family: var(--font-latin);
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   1. FULLSCREEN PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-video);
  transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.8s;
}

.preloader-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 210, 254, 0.15) 0%, rgba(218, 226, 233, 0.95) 70%);
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 540px;
  width: 90%;
  padding: 40px 32px;
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  box-shadow: var(--shadow-glass);
}

.preloader-logo-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.logo-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 60px;
  background: var(--revelop-blue-glow);
  filter: blur(30px);
  border-radius: 50%;
  animation: pulse-glow 2.5s infinite ease-in-out;
}

.preloader-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.preloader-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 70, 232, 0.08);
  border: 1px solid rgba(37, 70, 232, 0.2);
  color: var(--revelop-blue);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--revelop-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--revelop-blue);
}

.preloader-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.preloader-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-latin);
  margin-bottom: 24px;
}

.preloader-bar-wrap {
  width: 100%;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(8, 10, 13, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan-accent), var(--revelop-blue));
  border-radius: 999px;
  transition: width 0.12s ease-out;
}

.progress-metrics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-label {
  color: var(--text-secondary);
}

.metrics-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.frames-counter {
  color: var(--text-muted);
}

.percent-counter {
  color: var(--revelop-blue);
  font-size: 1.05rem;
  font-weight: 800;
  min-width: 44px;
  text-align: left;
}

/* ==========================================================================
   2. PRESENTATION HUD (DISCREET EXECUTIVE WATERMARK - ZERO NAVBAR)
   ========================================================================== */
.presentation-hud {
  position: fixed;
  top: 20px;
  left: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.presentation-hud.hud-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-15px) !important;
}

.hud-brand {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 25px rgba(8, 10, 13, 0.06);
  padding: 8px 18px;
  border-radius: 999px;
}

.hud-logo {
  height: 28px;
  width: auto;
}

.hud-divider {
  width: 1px;
  height: 20px;
  background: rgba(8, 10, 13, 0.12);
}

.hud-info {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.hud-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--revelop-blue);
  font-family: var(--font-latin);
}

.hud-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-latin);
}

.hud-center-controls {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-control-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 25px rgba(8, 10, 13, 0.08);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-control-btn:hover {
  background: #ffffff;
  border-color: var(--revelop-blue);
  box-shadow: 0 12px 30px rgba(37, 70, 232, 0.16);
  transform: translateY(-1px);
}

.hud-control-btn.active {
  background: #080b18;
  color: #00d2fe;
  border-color: rgba(0, 210, 254, 0.5);
  box-shadow: 0 0 20px rgba(0, 210, 254, 0.35);
}

.ctrl-kbd {
  font-family: var(--font-latin);
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(8, 10, 13, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(8, 10, 13, 0.12);
  color: var(--text-secondary);
}

.hud-control-btn.active .ctrl-kbd {
  background: rgba(0, 210, 254, 0.15);
  color: #00d2fe;
  border-color: rgba(0, 210, 254, 0.3);
}

.btn-reset-hidden {
  display: none !important;
}

.hud-status {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 25px rgba(8, 10, 13, 0.06);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.status-pulse {
  width: 7px;
  height: 7px;
  background: var(--emerald-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-accent);
}

/* ==========================================================================
   3. PINNED CANVAS HERO & FLOATING ECOSYSTEM (1800vh)
   ========================================================================== */
.hero-pinned-section {
  position: relative;
  height: 1800vh;
  width: 100%;
}

.canvas-sticky-container {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-video);
}

.ambient-light-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(0, 210, 254, 0.12) 0%, rgba(218, 226, 233, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

#frames-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  display: block;
}

/* Scroll Directive Cue */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
  pointer-events: none;
  animation: float-cue 2.5s infinite ease-in-out;
}

.mouse-icon {
  width: 20px;
  height: 34px;
  border: 2px solid var(--text-secondary);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.mouse-wheel {
  width: 4px;
  height: 7px;
  background: var(--revelop-blue);
  border-radius: 999px;
  animation: scroll-wheel 1.8s infinite;
}

.cue-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   FLOATING CINEMA CARDS & WIDGETS ECOSYSTEM
   ========================================================================== */
.cinema-floating-ecosystem {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 25;
}

/* Master Clean Mode: Hides all cards gracefully */
.cinema-clean-mode .cinema-floating-card {
  opacity: 0 !important;
  transform: scale(0.92) !important;
  pointer-events: none !important;
  transition: opacity 0.4s ease, transform 0.4s ease !important;
}

/* Base Floating Card Styling */
.cinema-floating-card {
  position: absolute;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
  z-index: 26;
}

.cinema-floating-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Dismissed Card State */
.cinema-floating-card.is-dismissed {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(0.85) translateY(12px) !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease, transform 0.35s ease !important;
}

/* Dismiss 'X' Button on each card */
.card-dismiss-btn {
  position: absolute;
  top: 10px;
  left: 12px; /* RTL placement: top left corner of the card */
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(8, 10, 13, 0.06);
  border: 1px solid rgba(8, 10, 13, 0.1);
  color: var(--text-secondary);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.card-dismiss-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  transform: rotate(90deg) scale(1.1);
}

/* Screen Position Placements */
.pos-bottom-center {
  bottom: 4vh;
  left: 50%;
  transform: translateX(-50%) translateY(20px) scale(0.96);
  width: 92%;
  max-width: 800px;
  text-align: center;
}
.pos-bottom-center.active {
  transform: translateX(-50%) translateY(0) scale(1);
}

.pos-top-left {
  top: 95px;
  left: 36px;
  max-width: 330px;
}

.pos-top-right {
  top: 95px;
  right: 36px;
  max-width: 330px;
}

.pos-mid-left {
  top: 45%;
  transform: translateY(-50%) translateX(-15px);
  left: 36px;
  max-width: 350px;
}
.pos-mid-left.active {
  transform: translateY(-50%) translateX(0);
}

.pos-mid-right {
  top: 42%;
  transform: translateY(-50%) translateX(15px);
  right: 36px;
  max-width: 360px;
}
.pos-mid-right.active {
  transform: translateY(-50%) translateX(0);
}

.pos-bottom-left {
  bottom: 5vh;
  left: 36px;
  max-width: 350px;
}

.pos-bottom-right {
  bottom: 5vh;
  right: 36px;
  max-width: 360px;
}

/* Shape Archetype 1: Executive Deck */
.shape-deck {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--border-glass);
  border-radius: 26px;
  box-shadow: 0 30px 70px -15px rgba(8, 10, 13, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-glow-edge {
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--revelop-blue), transparent);
  border-radius: 999px;
}
.card-glow-edge.cyan {
  background: linear-gradient(90deg, transparent, var(--cyan-accent), transparent);
}
.card-glow-edge.purple {
  background: linear-gradient(90deg, transparent, var(--purple-accent), transparent);
}

.cinema-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.pill-blue {
  background: rgba(37, 70, 232, 0.08);
  color: var(--revelop-blue);
  border: 1px solid rgba(37, 70, 232, 0.2);
}
.pill-blue .pill-dot { background: var(--revelop-blue); box-shadow: 0 0 6px var(--revelop-blue); }

.pill-cyan {
  background: rgba(0, 210, 254, 0.1);
  color: #0284c7;
  border: 1px solid rgba(0, 210, 254, 0.25);
}
.pill-cyan .pill-dot { background: #0284c7; box-shadow: 0 0 6px #0284c7; }

.pill-purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--purple-accent);
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.pill-purple .pill-dot { background: var(--purple-accent); box-shadow: 0 0 6px var(--purple-accent); }

.cinema-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.text-gradient {
  background: linear-gradient(135deg, var(--revelop-blue), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-cyan {
  background: linear-gradient(135deg, #0284c7, var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-purple {
  background: linear-gradient(135deg, var(--purple-accent), var(--revelop-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cinema-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 14px;
}

.cinema-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.chip {
  background: rgba(8, 10, 13, 0.05);
  border: 1px solid rgba(8, 10, 13, 0.08);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  direction: ltr;
  unicode-bidi: isolate;
}

/* Shape Archetype 2: Floating Stat Pill */
.shape-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(37, 70, 232, 0.25);
  border-radius: 999px;
  padding: 10px 18px 10px 42px; /* extra left padding for dismiss button */
  box-shadow: 0 15px 35px rgba(8, 10, 13, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}
.pill-icon-glow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(37, 70, 232, 0.1);
  color: var(--revelop-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(37, 70, 232, 0.25);
}
.pill-icon-glow.cyan {
  background: rgba(0, 210, 254, 0.12);
  color: #0284c7;
  box-shadow: 0 0 12px rgba(0, 210, 254, 0.3);
}
.pill-content {
  display: flex;
  flex-direction: column;
}
.pill-metric {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}
.pill-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Shape Archetype 3: Developer Terminal / Data Payload */
.shape-terminal {
  background: rgba(8, 11, 24, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 210, 254, 0.25);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 210, 254, 0.1);
  padding: 16px 20px 16px 38px;
  color: #e2e8f0;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.terminal-dots {
  display: flex;
  gap: 6px;
}
.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.t-dot.red { background: #ef4444; }
.t-dot.yellow { background: #f59e0b; }
.t-dot.green { background: #10b981; }
.terminal-title {
  font-size: 0.72rem;
  font-family: var(--font-latin);
  color: #94a3b8;
  font-weight: 600;
}
.terminal-body {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.75rem;
  line-height: 1.6;
  direction: ltr;
  text-align: left;
}
.t-cmt { color: #64748b; }
.t-key { color: #38bdf8; }
.t-str { color: #a7f3d0; }
.t-val { color: #fde047; font-weight: 700; }
.terminal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
}
.terminal-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38bdf8;
  font-family: var(--font-latin);
  font-weight: 600;
}
.terminal-badge {
  background: rgba(37, 70, 232, 0.25);
  color: #93c5fd;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
}
.terminal-badge.emerald {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

/* Shape Archetype 4: Cost Comparison Chip */
.shape-comparison {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 16px 20px 16px 38px;
  box-shadow: 0 20px 40px rgba(8, 10, 13, 0.1);
}
.comp-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--revelop-blue);
  background: rgba(37, 70, 232, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 6px;
}
.comp-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.comp-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comp-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
}
.row-bad {
  background: rgba(239, 68, 68, 0.06);
  border: 1px dashed rgba(239, 68, 68, 0.2);
}
.row-good {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.row-info {
  display: flex;
  flex-direction: column;
}
.row-label {
  font-weight: 700;
  color: var(--text-primary);
}
.row-val {
  font-size: 0.72rem;
  color: var(--text-secondary);
}
.highlight-emerald {
  color: #059669;
  font-weight: 800;
}

/* Shape Archetype 5: Security Shield Badge */
.shape-security {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  padding: 16px 20px 16px 38px;
  box-shadow: 0 20px 40px rgba(8, 10, 13, 0.1);
}
.sec-badge-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.sec-shield-icon {
  font-size: 1.5rem;
}
.sec-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--emerald-accent);
}
.sec-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
}
.sec-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-secondary);
}
.check-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--emerald-accent);
  border-radius: 50%;
  margin-left: 6px;
}

/* Shape Archetype 6: Geo-Radar Widget */
.shape-radar {
  background: rgba(8, 11, 24, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 210, 254, 0.3);
  border-radius: 22px;
  padding: 16px 20px 16px 38px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 210, 254, 0.15);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radar-visual {
  position: relative;
  width: 100%;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 210, 254, 0.15) 0%, rgba(8, 11, 24, 0.4) 70%);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 210, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.radar-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 210, 254, 0.3);
}
.radar-c1 { width: 25px; height: 25px; }
.radar-c2 { width: 50px; height: 50px; }
.radar-c3 { width: 75px; height: 75px; }
.radar-sweep {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 0;
  left: 50%;
  background: linear-gradient(135deg, rgba(0, 210, 254, 0.4) 0%, transparent 60%);
  transform-origin: 0% 100%;
  animation: sweep 3s infinite linear;
}
@keyframes sweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.radar-blip {
  position: absolute;
  top: 35%;
  left: 60%;
  width: 8px;
  height: 8px;
  background: #00d2fe;
  border-radius: 50%;
  box-shadow: 0 0 10px #00d2fe;
  animation: blip 1.5s infinite;
}
@keyframes blip {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(2); opacity: 0.3; }
}
.radar-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #38bdf8;
  display: block;
}
.radar-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.sim-notif-preview {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 10px;
}
.sim-app-badge {
  font-size: 0.65rem;
  color: #94a3b8;
  font-family: var(--font-latin);
  display: block;
  margin-bottom: 2px;
}
.sim-msg {
  font-size: 0.72rem;
  color: #f1f5f9;
  line-height: 1.4;
  margin: 0;
}

/* Shape Archetype 7: VIP Progression Morph */
.shape-vip {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  padding: 16px 20px 16px 38px;
  box-shadow: 0 20px 40px rgba(8, 10, 13, 0.1);
}
.vip-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.vip-crown {
  font-size: 1.3rem;
}
.vip-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
}
.vip-tiers-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}
.vip-tier-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(8, 10, 13, 0.04);
}
.vip-tier-item.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.25));
  border: 1px solid var(--gold-vip);
  transform: scale(1.04);
}
.tier-pill {
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--font-latin);
}
.tier-silver .tier-pill { color: #64748b; }
.tier-gold .tier-pill { color: #d97706; }
.tier-plat .tier-pill { color: #8b5cf6; }
.tier-points {
  font-size: 0.62rem;
  color: var(--text-secondary);
}
.vip-tier-arrow {
  color: #94a3b8;
  font-size: 0.75rem;
}
.vip-footer-note {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* Shape Archetype 8: Growth & Referral Card */
.shape-growth {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  padding: 16px 20px 16px 38px;
  box-shadow: 0 20px 40px rgba(8, 10, 13, 0.1);
}
.growth-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.stars-gold {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
}
.growth-metric {
  font-size: 0.72rem;
  font-weight: 800;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
}
.growth-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.growth-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   GLOBAL SECTION FRAMEWORK
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 30;
}

.section-badge-center {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.badge-pill {
  background: rgba(37, 70, 232, 0.08);
  border: 1px solid rgba(37, 70, 232, 0.2);
  color: var(--revelop-blue);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.subsection-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 40px 0 20px 0;
}

/* ==========================================================================
   4. MOODBOARD & TACTILE WALLET PASSES
   ========================================================================== */
.moodboard-section {
  background: linear-gradient(180deg, var(--bg-video) 0%, #eef3f8 100%);
}

.moodboard-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.mood-concept-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.mood-concept-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glass);
}

.mood-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.mood-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

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

/* Color Tokens Swatches */
.swatches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.swatch-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.swatch-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glass);
}

.swatch-preview {
  height: 75px;
  width: 100%;
}

.swatch-deep-cosmic { background: #050713; }
.swatch-revelop-indigo { background: #2546e8; }
.swatch-hyper-cyan { background: #00d2fe; }
.swatch-emerald-growth { background: #10b981; }
.swatch-vip-gold { background: #f59e0b; }
.swatch-glass-clean { background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(218,226,233,0.7)); border-bottom: 1px solid rgba(8,10,13,0.06); }

.swatch-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.swatch-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.swatch-hex {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--revelop-blue);
}

.swatch-role {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Tactile Wallet Passes */
.passes-showcase-wrap {
  margin-top: 50px;
}

.passes-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: -10px;
  margin-bottom: 30px;
}

.passes-dual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  justify-content: center;
}

.pass-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pass-tag-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--revelop-blue);
  background: rgba(37, 70, 232, 0.08);
  padding: 4px 14px;
  border-radius: 999px;
}

/* Real Apple Wallet Aspect Ratio: 1.586 : 1 */
.wallet-pass-card {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1.586 / 1;
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  box-shadow: 0 25px 50px -12px rgba(8, 10, 13, 0.35);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.wallet-pass-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 35px 70px -15px rgba(8, 10, 13, 0.45);
}

/* Merchant Pass (Dark Charcoal & Warm Amber Glow) */
.merchant-pass-theme {
  background: linear-gradient(135deg, #181920 0%, #0d0f14 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Coalition Pass (Deep Revelop Indigo with Cyan Glow) */
.coalition-pass-theme {
  background: linear-gradient(135deg, #16246f 0%, #080f33 100%);
  border: 1px solid rgba(0, 210, 254, 0.25);
}

.pass-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.pass-brand-zone {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pass-logo-badge {
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.pass-revelop-icon {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 210, 254, 0.4));
}

.pass-merchant-info {
  display: flex;
  flex-direction: column;
}

.pass-merchant-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.pass-type-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold-accent);
  letter-spacing: 0.05em;
}

.coalition-badge {
  color: var(--cyan-accent);
}

.pass-balance-zone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.balance-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

.balance-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.balance-number small {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.pass-strip {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 6px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pass-reward-box {
  display: flex;
  flex-direction: column;
}

.reward-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.reward-desc {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.stamps-row {
  display: flex;
  gap: 6px;
}

.stamp {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.stamp.active {
  background: var(--gold-accent);
  color: #080a0d;
}

.stamp.empty {
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.3);
}

.coalition-logos-strip {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-accent);
}

.pass-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding-top: 10px;
}

.pass-barcode-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mock-qr-code {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-matrix-sim {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#080a0d 40%, transparent 40%), radial-gradient(#080a0d 40%, transparent 40%);
  background-size: 8px 8px;
  background-position: 0 0, 4px 4px;
}

.barcode-serial {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
}

.pass-meta-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

.text-gold { color: var(--gold-accent); }
.text-cyan { color: var(--cyan-accent); }

/* Simulated Lockscreen Push */
.lockscreen-simulation {
  max-width: 600px;
  margin: 35px auto 0 auto;
  background: rgba(8, 10, 13, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 20px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.sim-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.sim-notification-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sim-notif-app {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
}

.notif-time {
  margin-right: auto;
  color: #94a3b8;
}

.notif-title {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 700;
}

.notif-body {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* ==========================================================================
   5. SCOPE MODULES (6 MODULES)
   ========================================================================== */
.scope-section {
  background: #eef3f8;
}

.modules-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.module-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-float);
  border-color: rgba(37, 70, 232, 0.3);
}

.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.module-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--revelop-blue);
  background: rgba(37, 70, 232, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
}

.module-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.module-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.module-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--revelop-blue);
  font-family: var(--font-latin);
  margin-bottom: 14px;
}

.module-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.module-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.module-points li {
  position: relative;
  padding-right: 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.module-points li::before {
  content: "•";
  position: absolute;
  right: 0;
  color: var(--revelop-blue);
  font-size: 1.2rem;
  line-height: 1;
}

.module-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(8, 10, 13, 0.06);
  padding-top: 14px;
}

.module-tech-chips span {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(8, 10, 13, 0.04);
  color: var(--text-secondary);
  padding: 3px 10px;
  border-radius: 6px;
  direction: ltr;
  unicode-bidi: isolate;
}

/* ==========================================================================
   6. SMART GROWTH FEATURES (6 FEATURES)
   ========================================================================== */
.growth-section {
  background: linear-gradient(180deg, #eef3f8 0%, #dae2e9 100%);
}

.features-hex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
}

.smart-feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.smart-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glass);
  background: var(--bg-card-hover);
}

.feat-badge-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feat-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feat-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.feat-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--revelop-blue);
  background: rgba(37, 70, 232, 0.06);
  border: 1px solid rgba(37, 70, 232, 0.15);
  padding: 5px 12px;
  border-radius: 8px;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: center;
}

/* ==========================================================================
   7. TECH STACK ARCHITECTURE (BENTO GRID - MATCHING REFERENCE)
   ========================================================================== */
.tech-section {
  background: #dae2e9;
}

.bento-tech-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* TOP ROW: 3 EQUAL LIGHT BENTO CARDS */
.bento-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* BOTTOM ROW: 1 MEDIUM LIGHT CARD + 1 WIDE DARK CARD */
.bento-row-bottom {
  display: grid;
  grid-template-columns: 1fr 1.75fr;
  gap: 24px;
}

/* Base Bento Card */
.bento-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.bento-card-light {
  background: #ffffff;
  border: 1px solid rgba(8, 10, 13, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02);
}

.bento-card-light:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.12);
  border-color: rgba(37, 70, 232, 0.3);
}

/* Bento Visual Top Areas */
.bento-visual-wallet,
.bento-visual-cards,
.bento-visual-phone,
.bento-visual-queue {
  height: 190px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid rgba(8, 10, 13, 0.06);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Bento 1: Wallet Passes Tactile Graphics */
.bento-pass-group {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-mini-pass {
  position: absolute;
  width: 155px;
  height: 96px;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-mini-pass.pass-dark {
  background: #090c15;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(-8deg) translateX(-22px) translateY(-5px);
  z-index: 1;
}

.bento-mini-pass.pass-white {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transform: rotate(6deg) translateX(26px) translateY(8px);
  z-index: 2;
}

.bento-card-light:hover .bento-mini-pass.pass-dark {
  transform: rotate(-12deg) translateX(-32px) translateY(-10px);
}

.bento-card-light:hover .bento-mini-pass.pass-white {
  transform: rotate(9deg) translateX(36px) translateY(12px);
}

.mini-pass-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bento-pass-logo {
  height: 18px;
  width: auto;
  object-fit: contain;
}

.mini-pass-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-latin);
}

.mini-pass-tag.dark {
  color: #2546e8;
  background: rgba(37, 70, 232, 0.08);
}

.mini-pass-points {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.mini-pass-points.dark {
  color: #0f172a;
}

/* Bento Visual Bottom (for text-top / graphic-bottom rhythm) */
.bento-visual-bottom {
  height: 195px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid rgba(8, 10, 13, 0.06);
  border-bottom: none !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: auto;
}

/* Bento 2: Horizontal Stack Cards (NestJS + Postgres - matching Reference Card 2) */
.bento-tech-card-pair {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-horizontal-card {
  position: absolute;
  width: 215px;
  height: 110px;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-horizontal-card.card-blue-h {
  background: linear-gradient(135deg, #1d4ed8 0%, #2546e8 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: rotate(-5deg) translateY(-8px) translateX(-18px);
  z-index: 1;
}

.tech-horizontal-card.card-dark-h {
  background: #090c15;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: rotate(4deg) translateY(12px) translateX(18px);
  z-index: 2;
}

.bento-card-light:hover .tech-horizontal-card.card-blue-h {
  transform: rotate(-8deg) translateY(-14px) translateX(-26px);
}

.bento-card-light:hover .tech-horizontal-card.card-dark-h {
  transform: rotate(7deg) translateY(18px) translateX(26px);
}

.h-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.h-card-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.h-card-brand {
  font-size: 0.76rem;
  font-weight: 700;
  font-family: var(--font-latin);
  color: #ffffff;
  white-space: nowrap;
}

.h-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-family: var(--font-latin);
}

.h-card-chip {
  background: rgba(255, 255, 255, 0.14);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: #ffffff;
}

.h-card-id {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.64rem;
}

/* Bento 3: POS Phone Frame Rising from Bottom Edge */
.bento-visual-bottom .bento-phone-frame {
  margin-top: auto;
  border-bottom: none;
}

.bento-phone-frame {
  width: 175px;
  height: 155px;
  background: #090c15;
  border: 4px solid #1e293b;
  border-bottom: none;
  border-radius: 22px 22px 0 0;
  position: relative;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  margin-top: 25px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card-light:hover .bento-phone-frame {
  transform: translateY(-8px);
}

.phone-dynamic-island {
  width: 40px;
  height: 8px;
  background: #000000;
  border-radius: 999px;
  margin-bottom: 8px;
  z-index: 3;
}

.phone-camera-view {
  width: 100%;
  height: 85px;
  background: #0f172a;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scan-reticle {
  width: 48px;
  height: 48px;
  border: 2px dashed rgba(41, 182, 246, 0.65);
  border-radius: 8px;
}

.scan-laser-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: scan-move 2s ease-in-out infinite alternate;
}

.phone-success-pill {
  position: absolute;
  bottom: 12px;
  background: #10b981;
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
  z-index: 4;
}

.pill-check-icon {
  font-weight: 900;
  font-size: 0.75rem;
}

.pill-text strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.1;
}

.pill-text small {
  font-size: 0.58rem;
  opacity: 0.9;
}

/* Bento 4: Queue / BullMQ Card Mockup */
.queue-mockup-card {
  width: 88%;
  background: #ffffff;
  border: 1px solid rgba(8, 10, 13, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.queue-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.queue-pulse-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-latin);
}

.q-pulse {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: q-blink 1.5s infinite;
}

.queue-metric-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-top: 6px;
}

.q-label {
  color: #64748b;
  font-weight: 600;
}

.q-val {
  font-weight: 700;
  color: #0f172a;
}

/* Bento 5: Wide Dark Feature Card (Next.js 15 & Merchant Portal) */
.bento-card-dark {
  background: #080a12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.bento-card-dark:hover {
  border-color: rgba(41, 182, 246, 0.35);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.5);
}

.bento-visual-dashboard {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(37, 70, 232, 0.12) 0%, rgba(8, 10, 18, 0) 70%);
}

/* Bento 5: High-Tech Suite Tiles (Next.js 15, Tailwind CSS, Radix UI) */
.bento-tech-icons-suite {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.tech-suite-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-suite-tile:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 210, 254, 0.35);
  transform: translateX(-4px);
}

.suite-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.next-circle {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tailwind-circle {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.radix-circle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.suite-svg {
  width: 26px;
  height: 26px;
  display: block;
}

.suite-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.suite-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.suite-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
}

.suite-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

.suite-badge.text-cyan {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.1);
}

.suite-badge.text-purple {
  color: #c084fc;
  border-color: rgba(192, 132, 252, 0.3);
  background: rgba(192, 132, 252, 0.1);
}

.suite-sub {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* Bento Card Typography & Tags */
.bento-content {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bento-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.bento-en-sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--revelop-blue);
  font-family: var(--font-latin);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  direction: ltr;
  text-align: right;
  display: block;
}

.bento-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(8, 10, 13, 0.06);
}

.btag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-latin);
  direction: ltr;
}

.btag.highlight-green {
  color: #047857;
  background: #d1fae5;
  font-weight: 800;
}

/* Content inside Wide Dark Card */
.bento-content-dark {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dark-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #00d2fe;
  background: rgba(0, 210, 254, 0.12);
  border: 1px solid rgba(0, 210, 254, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  width: fit-content;
  font-family: var(--font-latin);
  direction: ltr;
}

.bento-title-dark {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 12px;
}

.bento-desc-dark {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 22px;
}

.bento-tags-dark {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btag-dark {
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 8px;
  font-family: var(--font-latin);
  direction: ltr;
}

/* ==========================================================================
   8. TIMELINE & DELIVERY PHASES (EXECUTIVE STEPPED ROADMAP)
   ========================================================================== */
.timeline-section {
  background: #edf2f7;
}

/* Milestone Progress Ribbon */
.roadmap-milestone-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid rgba(8, 10, 13, 0.08);
  border-radius: 20px;
  padding: 16px 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ribbon-step {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.ribbon-step.active .step-num {
  background: var(--revelop-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 70, 232, 0.35);
}

.ribbon-step.final .step-num {
  background: var(--emerald-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

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

.step-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
}

.step-days {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.step-pay {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--emerald-accent);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-right: 8px;
}

.ribbon-connector {
  flex-grow: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 16px;
  min-width: 20px;
}

/* Stepped Phase Cards Grid (2x2 Matrix) */
.roadmap-phases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.roadmap-card {
  background: #ffffff;
  border: 1px solid rgba(8, 10, 13, 0.08);
  border-radius: 24px;
  padding: 30px 28px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.roadmap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  border-color: rgba(37, 70, 232, 0.3);
}

.roadmap-card.highlight-final {
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.roadmap-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.rc-phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--revelop-blue);
  background: rgba(37, 70, 232, 0.08);
  padding: 5px 14px;
  border-radius: 999px;
}

.rc-phase-badge.badge-final {
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
}

.rc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.rc-meta-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rc-pill-days {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 999px;
}

.rc-pill-payment {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--emerald-accent);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

.rc-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.rc-sub {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--revelop-blue);
  font-family: var(--font-latin);
  margin-bottom: 12px;
  display: block;
  direction: ltr;
  text-align: right;
}

.rc-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.rc-deliverables {
  margin-bottom: 20px;
  flex-grow: 1;
}

.rc-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #334155;
  margin-bottom: 8px;
}

.rc-tags-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rtag {
  font-size: 0.8rem;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 12px;
  line-height: 1.4;
}

/* Executive Acceptance Gate Box */
.rc-gate-box {
  background: rgba(37, 70, 232, 0.04);
  border: 1.5px dashed rgba(37, 70, 232, 0.25);
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: auto;
}

.rc-gate-box.gate-final {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.35);
}

.rc-gate-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.rc-gate-icon {
  font-size: 1.1rem;
}

.rc-gate-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--revelop-blue);
}

.rc-gate-box.gate-final .rc-gate-title {
  color: #047857;
}

.rc-gate-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   9. FINANCIAL PROPOSAL & GUARANTEES
   ========================================================================== */
.finance-section {
  background: linear-gradient(180deg, #edf2f7 0%, #e2e8f0 100%);
}

.finance-metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 35px;
}

.fin-metric-box {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 22px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-value small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.metric-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.text-emerald { color: var(--emerald-accent); }
.text-cyan { color: #0284c7; }
.text-indigo { color: var(--revelop-blue); }

.finance-dual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.fin-card-box {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: 26px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.fin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.fin-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.fin-fixed-badge, .fin-infra-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-latin);
}

.fin-fixed-badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-accent);
}

.fin-infra-badge {
  background: rgba(37, 70, 232, 0.08);
  color: var(--revelop-blue);
}

.fin-card-intro {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Milestones Rows */
.milestones-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.m-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 10, 13, 0.03);
  border: 1px solid rgba(8, 10, 13, 0.06);
  border-radius: 16px;
  padding: 12px 18px;
}

.m-row.highlight-row {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.25);
}

.m-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.m-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 70, 232, 0.1);
  color: var(--revelop-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.m-badge.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-accent);
}

.m-title {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.m-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.m-amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.m-amount small {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.capital-safety-banner {
  background: rgba(37, 70, 232, 0.06);
  border: 1px solid rgba(37, 70, 232, 0.2);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-primary);
}

.banner-icon { font-size: 1.3rem; }

/* Subtitles for modules, features, and phases */
.mood-en-sub, .module-subtitle, .feat-subtitle, .phase-subtitle {
  display: block;
  font-family: var(--font-latin);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--revelop-blue);
  direction: ltr;
  text-align: right;
  margin-top: 2px;
  margin-bottom: 12px;
}

/* Prerequisites List */
.prereq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.prereq-item {
  background: rgba(8, 10, 13, 0.03);
  border: 1px solid rgba(8, 10, 13, 0.06);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prereq-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prereq-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

.prereq-cost {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0284c7;
  white-space: nowrap;
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

.prereq-cost small {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.prereq-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.revelop-free-val {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--emerald-accent);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.direct-pay-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* Warranty & Contract Cards */
.warranty-contract-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 28px;
}

.contract-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-glass);
  border-radius: 26px;
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
}

.contract-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contract-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contract-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contract-list strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

/* Guarantee Seal Card */
.guarantee-seal-card {
  background: linear-gradient(135deg, #070a1a 0%, #050713 100%);
  border: 2px solid rgba(245, 158, 11, 0.35);
  border-radius: 26px;
  padding: 32px 28px;
  color: #fff;
  box-shadow: 0 25px 60px rgba(5, 7, 19, 0.4);
  position: relative;
  overflow: hidden;
}

.seal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.seal-badge {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold-accent);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

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

.seal-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.seal-intro {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 16px;
}

.seal-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.seal-points li {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.seal-points strong {
  color: #fff;
}

.sla-strip {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.75rem;
  color: #94a3b8;
}

.sla-item strong {
  color: var(--emerald-accent);
}

/* ==========================================================================
   10. EXECUTIVE ACTION & DIRECT CONTACT
   ========================================================================== */
.cta-section {
  background: #e2e8f0;
  padding-bottom: 80px;
}

.cta-box-card {
  position: relative;
  background: #080a0d;
  color: #fff;
  border-radius: 36px;
  padding: 80px 40px;
  overflow: hidden;
  box-shadow: 0 35px 80px -20px rgba(8, 10, 13, 0.4);
}

.cta-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  height: 320px;
  background: radial-gradient(circle, var(--revelop-blue-glow) 0%, rgba(8, 10, 13, 0) 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent !important;
  padding: 0;
  border-radius: 0;
  box-shadow: none !important;
  margin: 0 auto 22px auto;
  text-align: center;
}

.cta-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-latin);
  margin: 0 auto 20px auto;
  color: var(--cyan-accent);
}

.cta-headline {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 auto 16px auto;
  text-align: center;
}

.cta-paragraph {
  font-size: 1.05rem;
  color: #9ca3af;
  line-height: 1.7;
  margin: 0 auto 35px auto;
  text-align: center;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin: 0 auto 24px auto;
}

.btn-primary-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #25d366;
  color: #ffffff;
  padding: 16px 38px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-primary-whatsapp:hover {
  background: #22bf5b;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.btn-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* CTA Text Metadata Links (Email & Website - NOT buttons) */
.cta-direct-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: var(--font-latin);
}

.cta-text-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.cta-link-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.cta-dot-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1rem;
}

/* ==========================================================================
   CARD 0: PROTOTYPE PREVIEW NOTICE (TOP CENTER)
   ========================================================================== */
.pos-top-center {
  top: 72px;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  transform: translateY(-15px) scale(0.96);
  width: 90%;
  max-width: 660px;
  text-align: center;
  z-index: 28;
}
.pos-top-center.active {
  transform: translateY(0) scale(1);
}

.shape-preview-notice {
  position: relative;
  background: rgba(8, 10, 13, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 210, 254, 0.35);
  border-radius: 24px;
  padding: 22px 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(0, 210, 254, 0.15);
  overflow: hidden;
  color: #fff;
}

.preview-notice-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 90px;
  background: radial-gradient(circle, rgba(0, 210, 254, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.preview-notice-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 210, 254, 0.12);
  border: 1px solid rgba(0, 210, 254, 0.28);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.preview-pulse-icon {
  font-size: 0.95rem;
  animation: pulseNotice 2s infinite ease-in-out;
}

@keyframes pulseNotice {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.25); opacity: 1; }
}

.preview-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #00d2fe;
  letter-spacing: 0.5px;
  font-family: var(--font-latin);
}

.preview-notice-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.preview-notice-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 12px;
}

.preview-notice-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.preview-cue {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan-accent);
}


/* ==========================================================================
   SIMPLIFIED FINANCIAL MILESTONES TABLE
   ========================================================================== */
.finance-single-wrap {
  max-width: 760px;
  margin: 0 auto 36px auto;
}

.clean-milestones-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clean-m-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
}

.clean-m-row:hover {
  transform: translateX(-4px);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.clean-m-row.highlight-row {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
}

.m-title-clean {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.m-numbers {
  display: flex;
  align-items: center;
  gap: 16px;
}

.m-pct-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(37, 70, 232, 0.08);
  border: 1px solid rgba(37, 70, 232, 0.2);
  color: var(--revelop-blue);
  font-size: 0.85rem;
  font-weight: 800;
}

.badge-green-pct {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #10b981 !important;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes float-cue {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -6px); }
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

@keyframes scan-move {
  0% { top: 8px; }
  100% { top: 72px; }
}

@keyframes q-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
  .pos-top-left { top: 80px; left: 20px; max-width: 280px; }
  .pos-top-right { top: 80px; right: 20px; max-width: 280px; }
  .pos-mid-left { left: 20px; max-width: 300px; }
  .pos-mid-right { right: 20px; max-width: 300px; }
  .pos-bottom-left { left: 20px; max-width: 300px; }
  .pos-bottom-right { right: 20px; max-width: 300px; }
  
  .bento-row-top {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .pos-bottom-center {
    width: 95%;
    bottom: 3vh;
  }
  .shape-deck {
    padding: 20px 22px;
  }
  .cinema-card-title {
    font-size: 1.2rem;
  }
  .cinema-card-desc {
    font-size: 0.84rem;
  }
  .pos-bottom-left, .pos-bottom-right {
    display: none;
  }
  .passes-dual-grid, .finance-dual-grid, .warranty-contract-grid {
    grid-template-columns: 1fr;
  }
  .cta-headline {
    font-size: 1.8rem;
  }

  /* Bento Grid Tablet Layout */
  .bento-row-top {
    grid-template-columns: 1fr;
  }
  .bento-row-bottom {
    grid-template-columns: 1fr;
  }
  .bento-card-dark {
    grid-template-columns: 1fr;
  }

  /* Roadmap Ribbon & Grid */
  .roadmap-phases-grid {
    grid-template-columns: 1fr;
  }
  .roadmap-milestone-ribbon {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .ribbon-connector {
    display: none;
  }
  .ribbon-step {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  /* HUD on Mobile */
  .presentation-hud {
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
  }
  .hud-status {
    display: none !important;
  }
  .hud-brand {
    padding: 6px 12px !important;
  }
  .hud-logo {
    height: 22px !important;
  }
  .hud-tag {
    font-size: 0.58rem !important;
  }
  .hud-title {
    font-size: 0.68rem !important;
  }
  .hud-control-btn {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
  }
  .hud-control-btn .ctrl-kbd {
    display: none !important;
  }

  /* MOBILE SPLIT ARCHITECTURE: Top 42vh Canvas + Bottom 58vh Dynamic Cards */
  .canvas-sticky-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    height: 100vh !important;
    width: 100vw !important;
    overflow: hidden !important;
    background: var(--bg-video) !important;
  }

  #frames-canvas {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 42vh !important;
    max-height: 42vh !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
    z-index: 5 !important;
  }

  .ambient-light-glow {
    top: 21vh !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    height: 42vh !important;
    width: 95vw !important;
    opacity: 0.6 !important;
    background: radial-gradient(circle, rgba(0, 210, 254, 0.12) 0%, rgba(218, 226, 233, 0) 70%) !important;
  }

  .scroll-cue {
    display: none !important;
  }

  .cinema-floating-ecosystem {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 58vh !important;
    flex: 1 !important;
    overflow: hidden !important;
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 14px 16px 14px !important;
    z-index: 20 !important;
    background: transparent !important;
  }

  /* ALL floating cinema cards are perfectly centered and contained in bottom 58vh */
  .cinema-floating-card {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    left: 12px !important;
    right: 12px !important;
    margin: 0 auto !important;
    transform: translateY(-50%) scale(0.94) !important;
    width: calc(100% - 24px) !important;
    max-width: 440px !important;
    max-height: calc(58vh - 20px) !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block !important;
    z-index: 10 !important;
  }

  /* Active Card state on Mobile */
  .cinema-floating-card.active,
  .pos-top-left.active, .pos-top-right.active, .pos-mid-left.active, .pos-mid-right.active,
  .pos-bottom-left.active, .pos-bottom-right.active, .pos-bottom-center.active, .pos-top-center.active {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1) !important;
    pointer-events: auto !important;
    display: block !important;
    z-index: 30 !important;
  }

  /* Neutralize all desktop positional offsets */
  .pos-top-left, .pos-top-right, .pos-mid-left, .pos-mid-right,
  .pos-bottom-left, .pos-bottom-right, .pos-bottom-center, .pos-top-center {
    top: 50% !important;
    bottom: auto !important;
    left: 12px !important;
    right: 12px !important;
    margin: 0 auto !important;
    transform: translateY(-50%) scale(0.94) !important;
    width: calc(100% - 24px) !important;
    max-width: 440px !important;
    display: block !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .cinema-clean-mode .cinema-floating-card {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-50%) scale(0.9) !important;
  }

  .cinema-floating-card.is-dismissed {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Mobile Card Typography & Padding Optimizations */
  .shape-deck {
    padding: 16px 18px !important;
    border-radius: 20px !important;
  }
  .cinema-card-title {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }
  .cinema-card-desc {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
  }
  .cinema-card-chips {
    gap: 6px !important;
  }
  .cinema-card-chips .chip {
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
  }

  .shape-preview-notice {
    padding: 16px 18px !important;
    border-radius: 20px !important;
  }
  .preview-notice-title {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }
  .preview-notice-desc {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
  }

  .shape-terminal {
    padding: 14px 16px !important;
    border-radius: 18px !important;
  }
  .terminal-body {
    font-size: 0.74rem !important;
    line-height: 1.4 !important;
  }

  .shape-comparison {
    padding: 14px 16px !important;
    border-radius: 18px !important;
  }
  .comp-title {
    font-size: 0.95rem !important;
  }
  .comp-row {
    padding: 8px 10px !important;
    font-size: 0.78rem !important;
  }

  .shape-tiers, .shape-growth, .shape-security {
    padding: 14px 16px !important;
    border-radius: 18px !important;
  }

  .shape-pill {
    padding: 12px 18px !important;
    border-radius: 999px !important;
  }

  /* Page Sections Mobile Optimizations */
  .section {
    padding: 50px 0 !important;
  }
  .section-title {
    font-size: 1.55rem !important;
  }
  .section-desc {
    font-size: 0.9rem !important;
  }

  /* Bento Grid Mobile */
  .bento-row-top, .bento-row-bottom, .bento-card-dark {
    grid-template-columns: 1fr !important;
  }
  .bento-visual-dashboard {
    padding: 16px !important;
  }
  .tech-suite-tile {
    padding: 10px 14px !important;
  }

  .clean-m-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 14px 18px !important;
  }
  .m-numbers {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .btn-primary-whatsapp {
    width: 100% !important;
    justify-content: center !important;
    font-size: 1.05rem !important;
    padding: 14px 24px !important;
  }
  .cta-headline {
    font-size: 1.7rem !important;
  }
  .cta-paragraph {
    font-size: 0.95rem !important;
  }
  .cta-direct-links {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .cta-dot-sep {
    display: none !important;
  }
}
