/* ==========================================================================
   BIZGEEX BRAND SHIELD™ — Cyber-Defense & Integrity Styling
   ========================================================================== */

:root {
  --shield-bg: #070913;
  --shield-card: rgba(14, 20, 40, 0.75);
  --shield-border: rgba(61, 123, 220, 0.25);
  --shield-glow: 0 0 35px rgba(61, 123, 220, 0.2);
  --shield-blue: #3d7bdc;
  --shield-cyan: #00f2fe;
  --shield-red: #ff3b5c;
  --shield-gold: #f1daa6;
  --shield-green: #00e676;
  --shield-purple: #a855f7;
}

/* Background grid & radial gradient */
.shield-page {
  background-color: var(--shield-bg);
  color: #f0f4fc;
  overflow-x: hidden;
  position: relative;
}

.shield-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 800px;
  background: radial-gradient(ellipse at 50% 10%, rgba(61, 123, 220, 0.18) 0%, rgba(7, 9, 19, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Hero Section — 3-Act Stage Architecture */
.shield-hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h, 72px) + 2.5rem) 0 4rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.shield-act-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  transition: opacity 1s ease;
  pointer-events: none;
}
.shield-act-video video,
.shield-act-video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shield-act-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 30%, rgba(7, 9, 19, 0.45) 0%, rgba(7, 9, 19, 0.88) 75%, #070913 100%);
  pointer-events: none;
}

.shield-act-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(7, 9, 19, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.stage-2 .shield-act-veil,
.stage-3 .shield-act-veil,
.stage-benefits .shield-act-veil,
.stage-system .shield-act-veil {
  opacity: 1;
}

/* ACTO 1: Intro texts */
.shield-intro-texts {
  position: relative;
  z-index: 3;
  width: 100%;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.stage-2 .shield-intro-texts,
.stage-3 .shield-intro-texts,
.stage-benefits .shield-intro-texts,
.stage-system .shield-intro-texts {
  opacity: 0;
  transform: translateY(-24px);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

/* ACTO 2: Benefits Overlay Card */
.shield-benefits-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 2rem 1rem;
}
.stage-2 .shield-benefits-overlay,
.stage-benefits .shield-benefits-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  position: relative;
  visibility: visible;
}
.stage-3 .shield-benefits-overlay,
.stage-system .shield-benefits-overlay {
  opacity: 0;
  transform: translateY(-24px);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.shield-hero-benefits-centered {
  max-width: 820px;
  width: 100%;
  background: rgba(14, 23, 42, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 18px;
  padding: 2.5rem 2.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(56, 189, 248, 0.15);
  text-align: center;
}

.shield-tw-label {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;
  color: #fff;
  display: block;
  margin-bottom: 1.5rem;
}

.shield-hero-tw-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
}

.shield-hero-tw-list li {
  background: rgba(7, 10, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #38bdf8;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.96rem;
  line-height: 1.5;
  color: #cbdcf7;
}

.shield-hero-tw-list li strong {
  color: #fff;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.25rem;
}

/* ACTO 3: System Simulator Stage */
.shield-system-stage {
  position: relative;
  z-index: 5;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  display: none;
}
.stage-3 .shield-system-stage,
.stage-system .shield-system-stage {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  display: block;
}

.shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61, 123, 220, 0.12);
  border: 1px solid rgba(61, 123, 220, 0.35);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--shield-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
  opacity: 0;
  animation: heroElementReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.shield-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--shield-green);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

@keyframes heroElementReveal {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

.shield-hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-line {
  display: block;
  opacity: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.hero-line-1 {
  animation: heroElementReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

.hero-line-2 {
  animation: heroElementReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 2.2s forwards;
}

.hero-line-3 {
  animation: heroElementReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 3.2s forwards;
}

.hero-line .hero-highlight,
.shield-hero-title span.hero-highlight {
  background: linear-gradient(135deg, #ffffff 0%, var(--shield-gold) 60%, var(--shield-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-line .hero-blue-highlight,
.shield-hero-title span.hero-blue-highlight {
  background: linear-gradient(135deg, #e0f2fe 0%, #38bdf8 50%, var(--shield-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
}

.shield-hero-sub {
  font-size: 1.2rem;
  color: #9ab0d3;
  max-width: 820px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  min-height: 4.8em;
  opacity: 1;
}

.shield-hero-sub strong {
  color: #ffffff;
  font-weight: 600;
}

.shield-hero-sub .type-cursor {
  display: inline-block;
  color: var(--shield-cyan);
  font-weight: 300;
  margin-left: 2px;
  animation: blinkHeroCursor 0.8s infinite;
}

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

/* Action Buttons (Sequentially Revealed after Subtitle Typewriter) */
.shield-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.shield-actions .btn-shield-primary,
.shield-actions .btn-shield-outline {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(8px);
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.shield-actions.is-visible .btn-shield-primary,
.shield-actions .btn-shield-primary.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
  pointer-events: auto;
}

.shield-actions.is-visible .btn-shield-outline,
.shield-actions .btn-shield-outline.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
  pointer-events: auto;
}

.btn-shield-primary {
  background: linear-gradient(135deg, #1e4fbb 0%, #3d7bdc 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2.2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(30, 79, 187, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-shield-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(61, 123, 220, 0.6);
  border-color: var(--shield-cyan);
}

.btn-shield-outline {
  background: rgba(14, 20, 40, 0.6);
  color: #d0e0fc;
  border: 1px solid var(--shield-border);
  padding: 1rem 2.2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-shield-outline:hover {
  background: rgba(30, 45, 90, 0.7);
  border-color: var(--shield-cyan);
  color: #fff;
}

/* ==========================================================================
   INTERACTIVE THREAT SIMULATOR & VISUAL SVG DEFENSE CANVAS (MARKETGRAVITY STYLE)
   ========================================================================== */
.shield-sim-wrapper {
  background: linear-gradient(180deg, rgba(10, 15, 32, 0.95) 0%, rgba(4, 7, 16, 0.98) 100%);
  border: 1px solid var(--shield-border);
  border-radius: 28px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 50px rgba(61, 123, 220, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin: 4rem auto;
  max-width: 1240px;
  position: relative;
  overflow: hidden;
}

.sim-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(61, 123, 220, 0.2);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.sim-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-header-title h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  font-family: 'Michroma', sans-serif;
  letter-spacing: 0.05em;
}

.highlight-champagne,
.text-champagne {
  color: var(--shield-gold);
  text-shadow: 0 0 16px rgba(241, 218, 166, 0.45);
}

.sim-header-subtitle {
  font-size: 0.8rem;
  color: #7b94b8;
  margin-top: 4px;
}

.sim-live-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--shield-green);
  letter-spacing: 0.05em;
}

/* Telemetry HUD Bar */
.sim-telemetry-hud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  background: rgba(6, 10, 22, 0.85);
  border: 1px solid rgba(61, 123, 220, 0.25);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  margin-bottom: 2.2rem;
}

.hud-metric-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7b94b8;
  font-weight: 600;
}

.hud-metric-value {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: 'Michroma', sans-serif;
  color: #ffffff;
  transition: all 0.3s ease;
}

.hud-metric-value.highlight-cyan { color: var(--shield-cyan); text-shadow: 0 0 12px rgba(0, 242, 254, 0.4); }
.hud-metric-value.highlight-green { color: var(--shield-green); text-shadow: 0 0 12px rgba(0, 230, 118, 0.4); }
.hud-metric-value.highlight-gold { color: var(--shield-gold); text-shadow: 0 0 12px rgba(241, 218, 166, 0.4); }

/* Stage Split Grid (1:1 Symmetric Equal Height) */
.sim-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2rem;
  position: relative;
}

/* 50% Opaque Start Veil Overlay (Covers Grid Until Clicked) */
.sim-stage-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 16, 0.5); /* Velo opaco al 50% */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 20px;
  border: 1px solid rgba(0, 242, 254, 0.25);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s ease;
  pointer-events: auto;
}

.sim-stage-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Centered Pulsing / Blinking Button (Titilando) */
@keyframes simPulseButton {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7), 0 8px 24px rgba(30, 79, 187, 0.6);
    border-color: rgba(0, 242, 254, 0.6);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 32px 10px rgba(0, 242, 254, 0.55), 0 12px 36px rgba(61, 123, 220, 0.9);
    border-color: #00f2fe;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0), 0 8px 24px rgba(30, 79, 187, 0.6);
    border-color: rgba(0, 242, 254, 0.6);
  }
}

@keyframes pulseIconTwinkle {
  0% { transform: scale(0.92); opacity: 0.85; }
  100% { transform: scale(1.18); opacity: 1; filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.8)); }
}

.btn-sim-trigger-pulse {
  background: linear-gradient(135deg, #1e4fbb 0%, #0088ff 50%, #00f2fe 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1.25rem 2.8rem;
  border-radius: 16px;
  border: 1.5px solid rgba(0, 242, 254, 0.7);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: simPulseButton 2s infinite ease-in-out;
  transition: transform 0.25s ease, filter 0.25s ease;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 90%;
}

.btn-sim-trigger-pulse:hover {
  transform: scale(1.08) !important;
  filter: brightness(1.2);
}

.btn-pulse-icon {
  font-size: 1.3rem;
  display: inline-block;
  animation: pulseIconTwinkle 1.2s infinite ease-in-out alternate;
}

@media (max-width: 960px) {
  .sim-stage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .btn-sim-trigger-pulse {
    font-size: 0.98rem;
    padding: 1rem 1.4rem;
    gap: 8px;
  }
}

/* SVG Container & Cyber Command Console */
.sim-svg-container {
  background: radial-gradient(circle at 50% 50%, rgba(16, 26, 60, 0.65) 0%, rgba(4, 7, 16, 0.94) 80%);
  border: 1px solid rgba(61, 123, 220, 0.35);
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7), 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
}

.sim-console-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(61, 123, 220, 0.2);
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
}

.sim-console-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-console-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--shield-green);
  box-shadow: 0 0 8px var(--shield-green);
  animation: svgInnerPulse 2s infinite ease-in-out;
}

.sim-console-text {
  font-family: 'Michroma', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8fbbf5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
}

.sim-console-pill {
  font-family: 'Michroma', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 242, 254, 0.12);
  color: var(--shield-cyan);
  border: 1px solid rgba(0, 242, 254, 0.35);
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 82px;
  height: 24px;
  box-sizing: border-box;
}

.sim-svg-stage {
  width: 100%;
  height: auto;
  flex: 1;
  min-height: 400px;
  max-height: 540px;
  display: block;
  overflow: hidden;
  border-radius: 12px;
}

#svgCameraRig {
  transform-origin: 0px 0px;
  transition: transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.sim-console-ticker {
  border-top: 1px solid rgba(61, 123, 220, 0.2);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.75rem;
  color: #8da5c8;
}

.sim-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sim-ticker-dot {
  color: rgba(61, 123, 220, 0.6);
}

/* SVG Elements & Safe Isolated Transforms */
.svg-step-node {
  transition: opacity 0.5s ease, filter 0.5s ease;
}

.svg-step-node.is-dimmed {
  opacity: 0.28;
  filter: grayscale(0.6);
}

.svg-step-node.is-highlighted {
  opacity: 1;
  filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.8));
}

.svg-step-node.is-threat.is-highlighted {
  filter: drop-shadow(0 0 22px rgba(255, 59, 92, 0.9));
}

.svg-step-node.is-brain.is-highlighted {
  filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.9));
}

.svg-step-node.is-vault.is-highlighted {
  filter: drop-shadow(0 0 22px rgba(241, 218, 166, 0.9));
}

/* Step 5 Center Hero Stage: +30% Proportional Scaling & 50% Opaque Veil */
.svg-step5-veil {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.svg-step5-veil.is-active {
  opacity: 0.5;
}

.svg-center-core-scalable {
  transform-origin: 0 0;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.svg-center-core-scalable.is-hero-scale {
  transform: scale(1.30);
  filter: drop-shadow(0 0 30px rgba(0, 242, 254, 0.95)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

/* Inner transforms with transform-box: fill-box to prevent translation shifts */
.svg-inner-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: svgInnerPulse 3s infinite ease-in-out;
}

@keyframes svgInnerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.svg-orbit-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: orbitSpin 20s linear infinite;
}

.svg-orbit-ring-reverse {
  transform-box: fill-box;
  transform-origin: center;
  animation: orbitSpinRev 26s linear infinite;
}

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

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

.svg-radar-sweep {
  transform-origin: 0 0;
  animation: radarSweepSpin 3.6s linear infinite;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.svg-radar-sweep.is-active {
  opacity: 1;
}

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

.svg-laser-pulse {
  stroke-dasharray: 8, 8;
  animation: laserFlow 1.2s linear infinite;
}

@keyframes laserFlow {
  to { stroke-dashoffset: -32; }
}

.svg-deflect-sparks {
  transform-box: fill-box;
  transform-origin: center;
  animation: sparkBurst 1.8s infinite ease-out;
}

@keyframes sparkBurst {
  0% { transform: scale(0.6); opacity: 0; }
  50% { opacity: 1; transform: scale(1.2); filter: drop-shadow(0 0 15px #00f2fe); }
  100% { transform: scale(1.5); opacity: 0; }
}

/* SVG Embedded HUD Pills */
.svg-hud-pill rect {
  fill: rgba(6, 11, 26, 0.95);
  stroke: rgba(92, 155, 240, 0.45);
  stroke-width: 1.2;
}
.svg-hud-pill text {
  font-family: 'Michroma', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  fill: #8fbbf5;
}

.svg-hud-pill.threat text { fill: #ff8097; }
.svg-hud-pill.threat rect { stroke: rgba(255, 59, 92, 0.5); }
.svg-hud-pill.brain text { fill: #c084fc; }
.svg-hud-pill.brain rect { stroke: rgba(168, 85, 247, 0.5); }
.svg-hud-pill.quarantine text { fill: #00f2fe; }
.svg-hud-pill.quarantine rect { stroke: rgba(0, 242, 254, 0.5); }
.svg-hud-pill.vault text { fill: #f1daa6; }
.svg-hud-pill.vault rect { stroke: rgba(241, 218, 166, 0.5); }

/* ==========================================================================
   MARKETGRAVITY-STYLE STORY CARD CONTROLLER (RIGHT SIDE)
   ========================================================================== */
.shield-story-card {
  background: rgba(11, 20, 46, 0.9);
  border: 1px solid rgba(61, 123, 220, 0.35);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
}

.shield-story-topbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(61, 123, 220, 0.2);
  padding-bottom: 1.25rem;
}

.shield-story-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shield-story-step {
  font-family: 'Michroma', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--shield-cyan);
  margin: 0;
  text-transform: uppercase;
}

.shield-phase-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 242, 254, 0.15);
  color: var(--shield-cyan);
  border: 1px solid rgba(0, 242, 254, 0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shield-story-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.shield-story-title .step-number-prefix {
  color: var(--shield-gold);
  font-weight: 800;
  margin-right: 3px;
  text-shadow: 0 0 14px rgba(241, 218, 166, 0.45);
}

/* Controls Bar */
.shield-story-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}

.shield-ctl {
  background: rgba(14, 25, 55, 0.85);
  border: 1px solid rgba(61, 123, 220, 0.4);
  color: #d0e0fc;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shield-ctl:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--shield-cyan);
  color: #ffffff;
  transform: translateY(-1px);
}

.shield-ctl:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.shield-story-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
}

.shield-story-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(61, 123, 220, 0.35);
  border: 1px solid rgba(61, 123, 220, 0.6);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.shield-story-dot.is-active {
  background: var(--shield-cyan);
  box-shadow: 0 0 10px var(--shield-cyan);
  transform: scale(1.3);
  border-color: #ffffff;
}

/* Botón titilando / pulsante NEXT STEP (MarketGravity Style) */
.shield-btn-next-step {
  margin-left: auto;
  background: linear-gradient(135deg, #00f2fe 0%, #3d7bdc 100%);
  border: 1px solid #00f2fe;
  color: #040a1c;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.74rem;
  font-weight: 800;
  font-family: 'Michroma', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.6);
  animation: shieldNextStepPulse 1.25s ease-in-out infinite;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shield-btn-next-step:hover {
  transform: scale(1.06);
  background: #ffffff;
  color: #040a1c;
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.95);
}

@keyframes shieldNextStepPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.45);
    border-color: rgba(0, 242, 254, 0.8);
  }
  50% {
    opacity: 0.78;
    transform: scale(1.05);
    box-shadow: 0 0 26px rgba(0, 242, 254, 0.95), 0 0 40px rgba(61, 123, 220, 0.5);
    border-color: #ffffff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shield-btn-next-step { animation: none; }
}

.shield-ctl-replay {
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
}

/* Bullet Points List & Sequential Typewriter */
.shield-story-bullets {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.shield-story-bullets li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #c0d4f2;
  transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.shield-story-bullets li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.85rem;
}

.shield-story-bullets li strong {
  color: #ffffff;
}

.shield-story-bullets li.is-typing-pending {
  display: none;
  opacity: 0;
  transform: translateY(6px);
}

.shield-story-bullets li.is-typing-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: shieldBulletFadeIn 0.25s ease forwards;
}

.shield-story-bullets li.is-typed-done {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.shield-story-bullets li.is-breathing {
  color: #ffffff;
}

.shield-story-bullets li.is-breathing strong {
  color: var(--shield-cyan);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.type-cursor {
  display: inline-block;
  color: var(--shield-cyan);
  font-weight: 600;
  margin-left: 2px;
  animation: typeCursorBlink 0.5s infinite alternate;
  vertical-align: baseline;
}

@keyframes typeCursorBlink {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes shieldBulletFadeIn {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

.shield-story-cta-box {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(61, 123, 220, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.shield-sim-status-pill {
  font-size: 0.78rem;
  color: #8da5c8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shield-sim-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--shield-green);
  box-shadow: 0 0 8px var(--shield-green);
  display: inline-block;
}

.sim-terminal-body {
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  max-height: 200px;
  overflow-y: auto;
  line-height: 1.6;
  background: rgba(4, 7, 16, 0.85);
}

.log-alert { color: var(--shield-red); font-weight: bold; }
.log-success { color: var(--shield-green); font-weight: bold; }
.log-info { color: var(--shield-cyan); }
.log-hash { color: var(--shield-gold); }

/* Interactive Calculator Container */
.calculator-card {
  background: var(--shield-card);
  border: 1px solid var(--shield-border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shield-glow);
  margin: 4rem auto;
  max-width: 1050px;
  position: relative;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.input-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbdcf7;
  margin-bottom: 0.6rem;
}

.input-group label span {
  color: var(--shield-gold);
  font-family: 'Michroma', sans-serif;
  font-size: 1.1rem;
}

.range-slider {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  accent-color: var(--shield-blue);
  cursor: pointer;
}

.calc-results-box {
  background: linear-gradient(180deg, rgba(20, 28, 58, 0.9) 0%, rgba(10, 14, 30, 0.95) 100%);
  border: 1px solid rgba(255, 59, 92, 0.35);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 0 30px rgba(255, 59, 92, 0.12);
  position: relative;
}

.calc-loss-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--shield-red);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.calc-loss-number {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  font-family: 'Michroma', sans-serif;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 59, 92, 0.4);
  margin-bottom: 0.5rem;
}

.calc-loss-sub {
  font-size: 0.9rem;
  color: #8da2c4;
  margin-bottom: 1.5rem;
}

.calc-roi-badge {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--shield-green);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
}

/* 3 Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.pillar-card {
  background: var(--shield-card);
  border: 1px solid var(--shield-border);
  border-radius: 20px;
  padding: 2.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--shield-cyan);
  box-shadow: 0 10px 30px rgba(61, 123, 220, 0.25);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(61, 123, 220, 0.25) 0%, rgba(0, 242, 254, 0.15) 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: #94a7c6;
  line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.pricing-card {
  background: var(--shield-card);
  border: 1px solid var(--shield-border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--shield-cyan);
  background: linear-gradient(180deg, rgba(20, 32, 65, 0.85) 0%, rgba(10, 16, 35, 0.9) 100%);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.18);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #1e4fbb, var(--shield-cyan));
  color: #fff;
  padding: 4px 16px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price-val {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Michroma', sans-serif;
  margin: 1rem 0 0.5rem;
}

.price-val span {
  font-size: 1rem;
  color: #8fa5c8;
  font-family: 'Inter', sans-serif;
}

/* ==========================================================================
   TECHNICAL DETAILS POPUP MODAL (GLASSMORPHIC CYBER FORENSICS)
   ========================================================================== */
.shield-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 16, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.shield-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.shield-modal-window {
  background: linear-gradient(180deg, #0d1733 0%, #060b1b 100%);
  border: 1px solid var(--shield-cyan);
  border-radius: 24px;
  max-width: 880px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.2rem;
  box-shadow: 0 0 60px rgba(0, 242, 254, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.shield-modal-backdrop.is-open .shield-modal-window {
  transform: scale(1);
}

.shield-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(61, 123, 220, 0.25);
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
  gap: 1rem;
}

.shield-modal-header h3 {
  font-family: 'Michroma', sans-serif;
  font-size: 1.15rem;
  color: #ffffff;
  margin: 0 0 0.4rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.shield-modal-subtitle {
  font-size: 0.85rem;
  color: #8da5c8;
}

.shield-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.shield-modal-close:hover {
  background: rgba(255, 59, 92, 0.3);
  border-color: #ff3b5c;
  transform: scale(1.1);
}

.shield-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 768px) {
  .shield-modal-grid {
    grid-template-columns: 1fr;
  }
}

.shield-spec-card {
  background: rgba(14, 24, 52, 0.7);
  border: 1px solid rgba(61, 123, 220, 0.3);
  border-radius: 16px;
  padding: 1.25rem;
  transition: border-color 0.2s ease;
}

.shield-spec-card:hover {
  border-color: var(--shield-cyan);
}

.shield-spec-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Michroma', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.shield-spec-card p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #9ab0d3;
  margin: 0;
}

.shield-spec-card code {
  background: rgba(0, 242, 254, 0.12);
  color: var(--shield-cyan);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-family: 'Courier New', Courier, monospace;
}

.shield-modal-payload-box {
  background: #03060f;
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 14px;
  padding: 1.2rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #8da5c8;
  line-height: 1.6;
}

.shield-modal-payload-header {
  display: flex;
  justify-content: space-between;
  color: var(--shield-gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(241, 218, 166, 0.25);
  padding-bottom: 0.4rem;
}

.btn-tech-details {
  background: rgba(14, 25, 55, 0.9);
  border: 1px solid rgba(61, 123, 220, 0.4);
  color: #9ab0d3;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-tech-details:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--shield-cyan);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .shield-badge,
  .hero-line,
  .hero-line-1,
  .hero-line-2,
  .hero-line-3,
  .shield-hero-sub,
  .shield-actions,
  .shield-actions .btn-shield-primary,
  .shield-actions .btn-shield-outline,
  #svgCameraRig {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
    pointer-events: auto !important;
  }
}

