WhatsApp Logo
<! -- <!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>VIII CONVENCIÓN - Opciones</title>
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
    <style>
        :root {
            --color-background: #f8f9fa;
            --color-button-text: #ffffff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--color-background);
            line-height: 1.6;
            min-height: 100vh;
        }

        .floating-menu {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }

        .trigger-button,
        .option-button {
            width: 100%;
            background: #FF4757;
            color: var(--color-button-text);
            border: none;
            padding: 1rem 1.2rem;
            border-radius: 12px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            box-shadow: 0 6px 0 #E8394A;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .option-button {
            background: #2c3e50;
            box-shadow: 0 6px 0 #1a252f;
            white-space: nowrap;
            transition: all 0.2s ease;
        }

        .trigger-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 0 #E8394A;
        }

        .option-button:hover {
            background: #34495e;
            transform: translateY(-1px);
            box-shadow: 0 7px 0 #1a252f;
        }

        .trigger-button:active,
        .option-button:active {
            transform: translateY(6px);
            box-shadow: 0 0 0 transparent;
        }

        .trigger-button svg,
        .option-button svg {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
        }

        .trigger-button svg,
        .option-button svg {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
        }

        .options-container {
            display: none;
            flex-direction: column;
            gap: 0.5rem;
            margin-top: 0.5rem;
            width: 100%;
        }

        @media (max-width: 768px) {
            .floating-menu {
                width: 280px;
                right: 10px;
                bottom: 100px; /* Aumentado de 80px a 100px */
            }

            .trigger-button,
            .option-button {
                font-size: 0.9rem;
                padding: 0.8rem 1rem;
            }

            .trigger-button svg,
            .option-button svg {
                width: 18px;
                height: 18px;
            }
        }

        .option-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 0 #1a252f;
        }

        .option-button:active {
            transform: translateY(4px);
            box-shadow: 0 0 0 #1a252f;
        }

        .option-button svg {
            width: 20px;
            height: 20px;
        }

        @media (max-width: 768px) {
            .floating-menu {
                width: 280px;
                right: 10px;
                bottom: 80px;
            }

            .trigger-button {
                font-size: 0.9rem;
                padding: 0.8rem 1rem;
            }

            .option-button {
                font-size: 0.8rem;
                padding: 0.8rem;
            }

            .trigger-button svg,
            .option-button svg {
                width: 18px;
                height: 18px;
            }
        }
    </style>
</head>
<body>
    <div class="floating-menu">
        <button id="triggerButton" class="trigger-button">
            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                <path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h16M4 18h16"/>
            </svg>
            <span>&#x1f449; Reservar cupo o inscribirse &#x1f448;</span>
        </button>
        <div id="optionsContainer" class="options-container">
            <button class="option-button" onclick="window.open('https://forms.gle/KUCyuQfxbjArq1Cx6')">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                    <path stroke-linecap="round" stroke-linejoin="round" d="M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z"/>
                </svg>
                Reservar cupo
            </button>
            <button class="option-button" onclick="window.open('https://checkout.payulatam.com/ppp-web-gateway-payu//pr?dlink=077ae6Ma1555Rd8')">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                    <path stroke-linecap="round" stroke-linejoin="round" d="M17 9V7a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2m2 4h10a2 2 0 002-2v-6a2 2 0 00-2-2H9a2 2 0 00-2 2v6a2 2 0 002 2zm7-5a2 2 0 100-4 2 2 0 000 4z"/>
                </svg>
                Inscripción asociados
            </button>
            <button class="option-button" onclick="window.open('https://checkout.payulatam.com/ppp-web-gateway-payu//pr?dlink=0718daMa1555Rd7')">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                    <path stroke-linecap="round" stroke-linejoin="round" d="M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z"/>
                </svg>
                Inscripción general
            </button>
        </div>
    </div>

    <script>
        const triggerButton = document.getElementById('triggerButton');
        const optionsContainer = document.getElementById('optionsContainer');

        triggerButton.addEventListener('click', function() {
            optionsContainer.style.display = optionsContainer.style.display === 'flex' ? 'none' : 'flex';
        });
    </script>
</body>
</html> -->
<! -- Conteo Regresivo -->
<! -- <!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>VIII Convención - Registro</title>
  <style>
    @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

    body {
      font-family: 'Montserrat', sans-serif;
      margin: 0;
      padding: 0;
      background: #f9f9f9;
    }

    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(5px);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .popup {
      background: linear-gradient(145deg, #2d3436, #1e272e);
      border-radius: 24px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
      text-align: center;
      padding: 40px;
      width: 90%;
      max-width: 500px;
      animation: slideIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      position: relative;
    }

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

    .popup h1 {
      color: #ffffff;
      font-size: 28px;
      margin-bottom: 30px;
      font-weight: 700;
    }

    .countdown-container {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin: 30px 0;
    }

    .countdown-box {
      background: linear-gradient(145deg, #2b2b2b, #1a1a1a);
      border-radius: 16px;
      padding: 20px 15px;
      min-width: 80px;
      position: relative;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .countdown-number {
      color: #ffffff;
      font-size: 32px;
      font-weight: 700;
      margin: 0;
      line-height: 1;
    }

    .countdown-label {
      color: #888;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-top: 8px;
    }

    .btn {
      font-size: 16px;
      padding: 16px 32px;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin: 10px;
      min-width: 200px;
    }

    .btn-inscribirse {
      background: linear-gradient(135deg, #FF6B6B, #FF8E53);
      color: white;
      box-shadow: 0 8px 15px rgba(255, 107, 107, 0.3);
    }

    .btn-inscribirse:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 20px rgba(255, 107, 107, 0.4);
    }

    .btn-pagar {
      background: linear-gradient(135deg, #4CAF50, #45a049);
      color: white;
      box-shadow: 0 8px 15px rgba(76, 175, 80, 0.3);
    }

    .btn-pagar:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 20px rgba(76, 175, 80, 0.4);
    }

    .btn-secundario {
      background: linear-gradient(135deg, #3498db, #2980b9);
      color: white;
      margin: 10px auto;
      display: block;
      width: 250px; /* Reducido el ancho */
      font-size: 18px; /* Aumentado el tamaño de la fuente */
      box-shadow: 0 8px 15px rgba(52, 152, 219, 0.3);
    }

    .btn-secundario:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 20px rgba(52, 152, 219, 0.4);
    }

    .close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0.1);
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: #fff;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .close-btn:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: rotate(90deg);
    }

    #payment-options {
      margin-top: 20px;
      display: none;
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .descripcion {
      color: #ddd;
      font-size: 16px;
      line-height: 1.6;
      margin-bottom: 30px;
    }
  </style>
</head>
<body>
  <div class="popup-overlay" id="popup">
    <div class="popup">
      <button class="close-btn" onclick="closePopup()">×</button>
      <h1>VIII Convención Internacional</h1>
      <p class="descripcion">No te pierdas la oportunidad de ser parte de la comunidad de Líderes en SST, donde la innovación y el conocimiento se convierten en acciones que transforman.¡Asegura tu lugar ahora!</p>
      
      <div class="countdown-container" id="countdown">
        <div class="countdown-box">
          <div class="countdown-number" id="days">00</div>
          <div class="countdown-label">Días</div>
        </div>
        <div class="countdown-box">
          <div class="countdown-number" id="hours">00</div>
          <div class="countdown-label">Horas</div>
        </div>
        <div class="countdown-box">
          <div class="countdown-number" id="minutes">00</div>
          <div class="countdown-label">Minutos</div>
        </div>
        <div class="countdown-box">
          <div class="countdown-number" id="seconds">00</div>
          <div class="countdown-label">Segundos</div>
        </div>
      </div>

      <button class="btn btn-inscribirse" onclick="openInNewTab('https://forms.gle/KUCyuQfxbjArq1Cx6')">Reserva tu lugar</button>
      <button class="btn btn-pagar" onclick="togglePaymentOptions()">Inscribirme</button>
      
      <div id="payment-options">
        <button class="btn btn-secundario" onclick="openInNewTab('https://checkout.payulatam.com/ppp-web-gateway-payu//pr?dlink=077ae6Ma1555Rd8')">Pago Asociado</button>
        <button class="btn btn-secundario" onclick="openInNewTab('https://checkout.payulatam.com/ppp-web-gateway-payu//pr?dlink=0718daMa1555Rd7')">Pago General</button>
      </div>
    </div>
  </div>

  <script>
    function closePopup() {
      document.getElementById('popup').style.display = 'none';
    }

    function openInNewTab(url) {
      window.open(url, '_blank');
    }

    function togglePaymentOptions() {
      const paymentOptions = document.getElementById('payment-options');
      paymentOptions.style.display = paymentOptions.style.display === 'none' ? 'block' : 'none';
    }

    function updateCountdown() {
      const eventDate = new Date('March 20, 2025 00:00:00');
      const now = new Date();
      const diff = eventDate - now;

      if (diff <= 0) {
        document.getElementById('countdown').innerHTML = '<h2>¡El evento ya comenzó!</h2>';
        return;
      }

      const days = Math.floor(diff / (1000 * 60 * 60 * 24));
      const hours = Math.floor((diff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
      const minutes = Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60));
      const seconds = Math.floor((diff % (1000 * 60)) / 1000);

      document.getElementById('days').textContent = days.toString().padStart(2, '0');
      document.getElementById('hours').textContent = hours.toString().padStart(2, '0');
      document.getElementById('minutes').textContent = minutes.toString().padStart(2, '0');
      document.getElementById('seconds').textContent = seconds.toString().padStart(2, '0');
    }

    setInterval(updateCountdown, 1000);
    updateCountdown();
  </script>
</body>
</html> -->