.site-index { padding: 3rem 1.5rem; background-color: #f4f7fb; }
.dark-mode .site-index { background-color: #121417; color: #e4e6eb; }

.hero-split { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3rem; max-width: 1200px; margin: 0 auto; }

.hero-animation { flex: 1 1 480px; max-width: 480px; aspect-ratio: 1/1; display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden; }
.hero-animation lottie-player { position: absolute; width: 100%; height: 100%; transition: opacity 0.8s ease-in-out; will-change: opacity; }
.hero-animation lottie-player.fade { opacity: 0; }

.hero-content { flex: 1 1 520px; text-align: center; }
.gtpro-title { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 1rem; }
.text-wrapper { font-weight: 800; background: linear-gradient(90deg, #005fcc, #00cfe6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.logo-wrapper { width: 5.5rem; height: auto; }

.hero-content h2 { font-size: 1.6rem; font-weight: 600; margin-bottom: 0.75rem; color: #1f2937; }
.hero-content .intro { max-width: 520px; margin: 0 auto; font-size: 1.05rem; color: #4b5563; }

.features-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2.5rem 0; padding: 0; list-style: none; }
.feature-panel { background: #f9fafe; border-radius: 12px; padding: 1.8rem 2rem; display: flex; align-items: flex-start; gap: 1.2rem; position: relative; border: 1px solid rgba(0,95,204,0.08); transition: all 0.25s ease; }
.feature-panel:hover { border-color: rgba(0,95,204,0.25); }
.feature-accent { position: absolute; left: 0; top: 1.2rem; bottom: 1.2rem; width: 3px; background: linear-gradient(to bottom, #005fcc, #00cfe6); border-radius: 2px; }

.feature-body { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon { font-size: 1.6rem; margin-top: 0.2rem; flex-shrink: 0; }
.feature-text { text-align: left; }
.feature-text strong { display: block; margin-bottom: 0.4rem; color: #1f2937; font-weight: 600; }
.feature-text p { font-size: 0.95rem; color: #4b5563; line-height: 1.5; }

.dark-mode .feature-panel { background: #1c1f24; border-color: rgba(144, 202, 249, 0.15); }
.dark-mode .feature-text strong { color: #e5e7eb; }
.dark-mode .feature-text p { color: #b0b3b8; }

.hero-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero-buttons .btn { padding: 0.75rem 1.6rem; font-weight: 600; border-radius: 8px; }
.btn-primary { background-color: #005fcc; border-color: #005fcc; }
.btn-primary:hover { background-color: #004bb0; border-color: #004bb0; }

@media (max-width: 350px) {
    .gtpro-title { font-size: 2.4rem; }
    .logo-wrapper { width: 4.5rem; }
    .hero-content h2 { font-size: 1.35rem; }
    .hero-content { flex: 1 1 100%; text-align: center; }
    .hero-split {
        align-items: flex-start; /* ↓ Pegado arriba */
        gap: 2rem;
    }
    .hero-animation {
        max-width: 100%;
        flex: 1 1 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-animation {
        aspect-ratio: auto; /* Permite que crezca solo según el contenido */
        height: auto; /* Evita altura fija */
        position: relative;
    }

    .hero-animation lottie-player {
        position: relative; /* ya no absoluto */
        width: 100%;
        height: auto;
    }
}


.ai-presence {
    background: linear-gradient(90deg, #005fcc10, #00cfe610);
    border-radius: 12px;
    padding: 3rem 1.5rem;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ai-container { max-width: 900px; margin: 0 auto; }
.ai-indicator { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.2rem; }
.ai-indicator .pulse { width: 12px; height: 12px; background-color: #00cfe6; border-radius: 50%; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { transform: scale(0.9); opacity: 0.6; } 50% { transform: scale(1.3); opacity: 1; } 100% { transform: scale(0.9); opacity: 0.6; } }
.ai-indicator .label { font-weight: 600; color: #005fcc; font-size: 0.95rem; }
.ai-presence h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; color: #1f2937; }
.ai-presence p { font-size: 1rem; color: #4b5563; margin-bottom: 1.5rem; }
.ai-domains { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.ai-domains span { display: inline-flex; align-items: center; justify-content: center; background-color: #005fcc10; color: #005fcc; padding: 0.6rem 1.2rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem; min-width: 120px; text-align: center; }

.dark-mode .ai-presence { background: linear-gradient(90deg, #005fcc15, #00cfe615); }
.dark-mode .ai-indicator .label, .dark-mode .ai-domains span { color: #00cfe6; }
.dark-mode .ai-presence h3 { color: #e5e7eb; }
.dark-mode .ai-presence p { color: #b0b3b8; }


.feature-hidden { display: none; }
.feature-toggle { cursor: pointer; text-align: center; justify-content: center; }
.feature-toggle .feature-icon { font-size: 1.5rem; }

/* Tablets grandes / laptops pequeñas */
@media (min-width: 380px) and (max-width: 960px) {
    .hero-split {
        flex-direction: row; /
        align-items: flex-start; 
        gap: 0rem;
    }

    .hero-animation {
        max-width: 250px; /* disminuye el tamaño para esta resolución */
        aspect-ratio: auto; /* permite que crezca según el contenido */
    }

    .hero-animation lottie-player {
        width: 100%;
        height: auto; /* no forzar altura 100% */
        position: relative;
    }
}

@media (min-width: 910px) and (max-width: 1200px) {
    .hero-split {
        flex-direction: row; /
        align-items: flex-start; 
        gap: 0rem;
    }

    .hero-animation {
        max-width: 320px; /* disminuye el tamaño para esta resolución */
        aspect-ratio: auto; /* permite que crezca según el contenido */
    }

    .hero-animation lottie-player {
        width: 100%;
        height: auto; /* no forzar altura 100% */
        position: relative;
    }
}
