
    .demo-container {
      text-align: center;
      margin-bottom: 2rem;
    }

    .demo-btn {
      background: linear-gradient(135deg, #000000, #333333);
      color: white;
      padding: 1rem 2rem;
      border: none;
      border-radius: 50px;
      font-size: 1.1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .demo-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    /* Modal — estilo profesional B/N (como chatbot) */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--pf-overlay);
      z-index: 10000;
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(6px);
      opacity: 0;
      transition: opacity 0.25s ease;
      padding: 20px;
      box-sizing: border-box;
    }

    .modal-overlay.is-open {
      opacity: 1;
    }

    .modal-overlay.overlay-closing {
      opacity: 0;
    }

    /* Partículas de fondo del modal */
    .modal-particles {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      overflow: hidden;
    }

    .modal-particle {
      position: absolute;
      width: 2px;
      height: 2px;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      animation: particleFloat 15s linear infinite;
    }

    @keyframes particleFloat {
      0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
      }
      10% {
        opacity: 0.3;
      }
      90% {
        opacity: 0.3;
      }
      100% {
        transform: translateY(-10vh) translateX(50px) rotate(360deg);
        opacity: 0;
      }
    }

    .modal-content {
      background: var(--pf-surface);
      border-radius: 14px;
      padding: 1.8rem;
      max-width: 440px;
      width: 100%;
      text-align: center;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
      border: 1px solid var(--pf-border);
      color: var(--pf-text);
      position: relative;
      overflow: hidden;
      opacity: 0;
      transform: scale(0.94) translateY(22px);
      transition:
        opacity 0.34s cubic-bezier(0.34, 1.25, 0.64, 1),
        transform 0.34s cubic-bezier(0.34, 1.25, 0.64, 1);
    }

    body.active_dark .modal-content {
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }

    .modal-content.is-visible {
      opacity: 1;
      transform: scale(1) translateY(0);
    }

    .shield-icon-container {
      background: var(--pf-accent);
      width: 64px;
      height: 64px;
      border-radius: 50%;
      margin: 0 auto 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: none;
      border: 1px solid var(--pf-border);
      position: relative;
      transition: transform 0.2s ease;
    }

    .shield-icon-container svg {
      stroke: var(--pf-surface);
    }

    body.active_dark .shield-icon-container svg {
      stroke: #020202;
    }

    .shield-icon-container:hover {
      transform: scale(1.03);
    }

    .shield-icon-container--warn {
      background: var(--pf-surface-2);
      border: 1px solid var(--pf-border);
    }

    .shield-icon-container--warn svg {
      stroke: var(--pf-text);
    }

    .shield-icon-container--lock {
      background: var(--pf-surface-2);
      border: 1px solid var(--pf-border);
    }

    .shield-icon-container--lock svg {
      stroke: var(--pf-text);
    }

    .modal-title {
      margin: 0 0 0.35rem;
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--pf-text);
      letter-spacing: -0.02em;
    }

    .project-name {
      margin: 0 0 1.2rem;
      font-size: 1rem;
      color: var(--pf-text-muted);
      font-weight: 600;
    }

    .info-section {
      background: var(--pf-surface-2);
      border-radius: 10px;
      padding: 1rem 1.1rem;
      margin: 0.85rem 0;
      border: 1px solid var(--pf-border);
      position: relative;
      text-align: left;
      transition: border-color 0.2s ease;
    }

    .info-section:hover {
      border-color: var(--pf-text-muted);
    }

    .info-section::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 3px;
      background: var(--pf-accent);
      border-radius: 0 2px 2px 0;
    }

    .section-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 0.5rem;
    }

    .section-icon {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      color: var(--pf-text-muted);
      stroke: var(--pf-text-muted);
    }

    .section-title {
      margin: 0;
      color: var(--pf-text);
      font-weight: 600;
      font-size: 0.92rem;
    }

    .section-text {
      margin: 0;
      color: var(--pf-text-muted);
      font-size: 0.84rem;
      line-height: 1.55;
    }

    .section-text strong {
      color: var(--pf-text);
      font-weight: 600;
    }

    .buttons-container {
      display: flex;
      gap: 0.65rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 1.2rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      padding: 10px 18px;
      border-radius: 10px;
      font-weight: 600;
      font-size: 0.84rem;
      transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
      cursor: pointer;
      border: none;
    }

    .btn svg {
      flex-shrink: 0;
    }

    .btn-primary {
      background: var(--pf-accent);
      color: var(--pf-surface);
    }

    body.active_dark .btn-primary {
      color: #020202;
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      opacity: 0.92;
    }

    .btn-secondary {
      background: transparent;
      color: var(--pf-text);
      border: 1px solid var(--pf-border);
    }

    .btn-secondary:hover {
      background: var(--pf-surface-2);
      border-color: var(--pf-text-muted);
    }

    .close-btn {
      position: absolute;
      top: 14px;
      right: 14px;
      background: var(--pf-surface-2);
      border: 1px solid var(--pf-border);
      color: var(--pf-text-muted);
      font-size: 0;
      cursor: pointer;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
    }

    .close-btn:hover {
      background: var(--pf-surface);
      color: var(--pf-text);
      border-color: var(--pf-text-muted);
      transform: none;
      box-shadow: none;
    }

    .close-btn::before,
    .close-btn::after {
      content: "";
      position: absolute;
      width: 46%;
      height: 1.5px;
      background: currentColor;
      border-radius: 1px;
    }

    .close-btn::before {
      transform: rotate(45deg);
    }

    .close-btn::after {
      transform: rotate(-45deg);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .modal-content {
        padding: 1.5rem 1.2rem;
        margin: 0.8rem;
        max-width: none;
        width: calc(100% - 1.6rem);
      }

      .modal-title {
        font-size: 1.3rem;
      }

      .shield-icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
      }

      .shield-icon {
        font-size: 1.5rem;
      }

      .project-name {
        font-size: 1rem;
        margin-bottom: 1rem;
      }

      .info-section {
        padding: 1rem;
        margin: 0.8rem 0;
      }

      .buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
        margin-top: 1rem;
      }

      .btn {
        width: 100%;
        max-width: 240px;
        padding: 8px 16px;
        font-size: 0.85rem;
      }
    }

    /* Estados de animación — solo el panel */
    .modal-closing {
      opacity: 0 !important;
      transform: scale(0.96) translateY(14px) !important;
      transition-duration: 0.22s !important;
    }
