/* ===== HOME ESPECÍFICO ===== */

/* Body específico del home */
body {
    overflow: hidden;
    height: 100vh;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

body.loaded {
    opacity: 1;
}

/* Contenedor específico del home */
.home-container {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-width: 420px;
    margin: 0 auto;
}

/* Logo animado específico */
.logo-container {
    position: relative;
    margin-bottom: 60px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.main-logo {
    width: 150px;
    height: 150px;
    position: relative;
}

.logo-ring {
    position: absolute;
    border: 3px solid var(--primary);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.logo-ring:nth-child(1) {
    inset: 0;
    opacity: 0.3;
}

.logo-ring:nth-child(2) {
    inset: 20%;
    opacity: 0.5;
    animation-direction: reverse;
    animation-duration: 15s;
}

.logo-ring:nth-child(3) {
    inset: 40%;
    opacity: 1;
    animation-duration: 10s;
}

.logo-center {
    position: absolute;
    inset: 30%;
    background: radial-gradient(circle at 30% 30%, var(--primary), var(--accent));
    border-radius: 50%;
    filter: blur(20px);
    animation: pulse 2s ease-in-out infinite;
}

/* Texto principal específico */
.brand-name {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.tagline {
    font-size: 16px;
    opacity: 0.7;
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* Botón CTA específico del home */
.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
    border: none;
    padding: 18px 60px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:active::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 255, 0, 0.4);
}

.cta-button.loading {
    pointer-events: none;
    background: linear-gradient(135deg, rgba(196, 255, 0, 0.5), rgba(0, 255, 204, 0.5));
}

.cta-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--dark);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Sección de pilares específica */
.pillars-section {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.pillars-title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.9;
}

/* Características específicas */
.features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: all 0.3s var(--transition);
    cursor: pointer;
}

.feature-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 24px;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.feature-item:hover .feature-icon {
    filter: grayscale(0);
}

.feature-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer específico del home */
.home-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 20px;
    z-index: 10;
    animation: fadeInUp 1s ease-out 1.3s both;
}

.footer-content {
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    opacity: 0.6;
}

/* Estados hover específicos del home */
.logo-container:hover .logo-center {
    filter: blur(15px);
    transform: scale(1.1);
}

.logo-container:hover .logo-ring {
    border-color: var(--accent);
}

/* Info modal específico */
.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.info-modal.show {
    opacity: 1;
    visibility: visible;
}

.info-content {
    background: var(--medium);
    border: 1px solid rgba(196, 255, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    margin: 20px;
    text-align: center;
}

.info-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 24px;
}

.info-content p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.close-modal {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
}

/* Responsive específico del home */
@media (max-width: 480px) {
    .brand-name {
        font-size: 36px;
    }
    
    .main-logo {
        width: 120px;
        height: 120px;
    }

    .pillars-title {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .features {
        gap: 20px;
    }
    
    .feature-text {
        font-size: 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .cta-button {
        padding: 15px 40px;
        font-size: 16px;
    }
    
    .home-container {
        padding: 15px;
    }

    .pillars-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
}