/* ================================
   PITIUPI PRESENTATION - GENERAL STYLES
   ================================ */

/* Variables CSS - PITIUPI Brand Colors */
:root {
    --primary: #33CC00;        /* Verde principal PITIUPI */
    --neon: #39FF14;           /* Verde neón para efectos */
    --secondary: #ff0080;      /* Rosa secundario */
    --accent: #00d4ff;         /* Cyan acento */
    --dark: #03002E;           /* Fondo oscuro PITIUPI */
    --darker: #020119;         /* Fondo más oscuro */
    --text: #ffffff;
    --text-dim: #a0aec0;
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow: hidden;
    position: relative;
}

/* ================================
   FONDOS ANIMADOS
   ================================ */

.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(51, 204, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(57, 255, 20, 0.12) 0%, transparent 50%);
    animation: bgPulse 10s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(51, 204, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 204, 0, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
}

/* ================================
   CONTENEDOR DE PRESENTACIÓN
   ================================ */

.presentation-container {
    position: relative;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================
   SLIDES - CONFIGURACIÓN GENERAL
   ================================ */

.slide {
    position: absolute;
    width: 90%;
    max-width: 1400px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    padding: 4rem;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.slide.prev {
    transform: translateX(-100px);
}

/* ================================
   TIPOGRAFÍA GENERAL
   ================================ */

h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 5rem;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(51, 204, 0, 0.6));
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 15px rgba(51, 204, 0, 0.4)); }
    to { filter: drop-shadow(0 0 25px rgba(57, 255, 20, 0.8)); }
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(51, 204, 0, 0.5);
}

h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--neon);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
}

.big-question {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.3;
    color: var(--text);
}

.big-stat {
    font-size: 6.5rem;
    font-weight: 900;
    color: #ffffff;  /* Blanco puro para máximo contraste */
    text-align: center;
    animation: statPulse 1.5s ease-in-out infinite;
    line-height: 1;
    margin-bottom: 5.5rem;
    /* Sombras cyan/blanco para destacar sobre verde */
    text-shadow: 
        0 0 20px rgb(34, 255, 0),      /* Cyan brillante */
        0 0 40px rgba(0, 212, 255, 0.8),
        0 0 60px rgba(255, 255, 255, 0.6),  /* Blanco */
        0 2px 4px rgba(0, 0, 0, 0.8);       /* Sombra negra para profundidad */
    position: relative;
    z-index: 20;
}

@keyframes statPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.small-text {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);  /* Cyan para contraste con verde */
    margin-top: 0;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-shadow: 
        0 0 10px rgba(0, 212, 255, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ================================
   ÍCONOS
   ================================ */

.icon-grid {
    display: flex;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: iconFloat 3s ease-in-out infinite;
}

.icon-item:nth-child(2) {
    animation-delay: 0.3s;
}

.icon-item:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 20px currentColor);
}

.icon-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dim);
}

/* ================================
   LISTAS DE BULLETS
   ================================ */

.bullets {
    list-style: none;
    margin: 2rem 0;
    width: 100%;
    max-width: 800px;
}

.bullets li {
    font-size: 1.8rem;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    background: rgba(51, 204, 0, 0.05);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: slideInLeft 0.5s ease-out backwards;
}

.bullets li:nth-child(1) { animation-delay: 0.1s; }
.bullets li:nth-child(2) { animation-delay: 0.2s; }
.bullets li:nth-child(3) { animation-delay: 0.3s; }
.bullets li:nth-child(4) { animation-delay: 0.4s; }
.bullets li:nth-child(5) { animation-delay: 0.5s; }
.bullets li:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bullets li:hover {
    background: rgba(51, 204, 0, 0.15);
    border-left-color: var(--neon);
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

/* ================================
   TABLA COMPARATIVA
   ================================ */

.comparison-table {
    width: 100%;
    max-width: 1000px;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin: 2rem 0;
}

.comparison-table thead th {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(51, 204, 0, 0.25), rgba(57, 255, 20, 0.2));
    border: 1px solid var(--primary);
    text-align: center;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.comparison-table tbody tr {
    transition: all 0.3s ease;
}

.comparison-table tbody tr:hover {
    transform: scale(1.02);
}

.comparison-table tbody td {
    font-size: 1.3rem;
    padding: 1.2rem;
    background: rgba(3, 0, 46, 0.7);
    border: 1px solid rgba(51, 204, 0, 0.2);
    text-align: center;
    backdrop-filter: blur(10px);
}

.comparison-table tbody tr:last-child td {
    background: rgba(51, 204, 0, 0.2);
    border-color: var(--primary);
    font-weight: 700;
    box-shadow: 0 0 15px rgba(51, 204, 0, 0.3);
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
}

/* ================================
   LOGOS DE PLATAFORMAS
   ================================ */

.platform-logos {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.platform-logo {
    font-size: 1.8rem;
    font-weight: 700;
    padding: 1.5rem 3rem;
    background: rgba(3, 0, 46, 0.7);
    border: 2px solid var(--primary);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: platformFloat 3s ease-in-out infinite;
}

.platform-logo:nth-child(1) { animation-delay: 0s; }
.platform-logo:nth-child(2) { animation-delay: 0.5s; }
.platform-logo:nth-child(3) { animation-delay: 1s; }

@keyframes platformFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.platform-logo:hover {
    transform: scale(1.1) translateY(-5px);
    border-color: var(--neon);
    box-shadow: 0 15px 30px rgba(57, 255, 20, 0.4);
}

/* ================================
   LOGO PITIUPI
   ================================ */

.logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(51, 204, 0, 0.6));
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(51, 204, 0, 0.5));
    }
    to {
        filter: drop-shadow(0 0 40px rgba(57, 255, 20, 0.9));
    }
}

.tagline {
    font-size: 2rem;
    text-align: center;
    margin-top: 2rem;
    color: var(--text-dim);
    font-weight: 500;
}

.final-message {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    margin: 3rem 0;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================
   CONTROLES DE NAVEGACIÓN
   ================================ */

.nav-controls {
    /*display: none !important;*/
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    align-items: center;
    z-index: 10;
    background: rgba(3, 0, 46, 0.85);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid var(--primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(51, 204, 0, 0.3);
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary), var(--neon));
    border: none;
    color: var(--dark);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(51, 204, 0, 0.4);
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(57, 255, 20, 0.6);
}

.nav-btn:active {
    transform: scale(0.95);
}

.slide-counter {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 100px;
    text-align: center;
    text-shadow: 0 0 10px rgba(51, 204, 0, 0.5);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.5rem; }
    .big-question { font-size: 2.5rem; }
    .big-stat { font-size: 3rem; }
    .bullets li { font-size: 1.3rem; }
    .logo { max-width: 300px; }
    .final-message { font-size: 2rem; }
    .slide { padding: 2rem; }
}