/* =========================================
   1. AMBIENTE ZEN & FONDOS
   ========================================= */
.pardos-body {
    background-color: #FDFBF7;
    color: #3E2723;
    font-family: 'Outfit', sans-serif;
    padding-top: 80px;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Fondo de Color (Degradado) - Capa más baja */
.zen-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, #fff 0%, #EFEBE9 100%);
    z-index: -2 !important; /* Asegura que esté al fondo del todo */
}

/* Fondo Animado (Cubos Flotantes) - Capa intermedia */
#pardos-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; /* Encima del color, detrás del contenido */
    overflow: hidden;
    pointer-events: none;
}

/* Estilo de los cubos flotantes */
.floating-tile {
    position: absolute;
    background-color: rgba(141, 110, 99, 0.08); /* Mocha transparente */
    border-radius: 12px;
    color: rgba(62, 39, 35, 0.15);
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: monospace;
    animation: floatUp linear infinite;
}

/* Animación de los cubos */
@keyframes floatUp {
    0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* =========================================
   2. NAVBAR & NAVEGACIÓN
   ========================================= */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px; 
}

/* Enlaces de texto */
.nav-links a:not(.back-link) {
    text-decoration: none;
    color: #5D4037; 
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-links a:not(.back-link):hover { color: #8D6E63; }

/* Línea animada al hover */
.nav-links a:not(.back-link)::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 0; left: 0;
    background-color: #8D6E63;
    transition: width 0.3s ease;
}

.nav-links a:not(.back-link):hover::after { width: 100%; }

/* Botón "Volver" */
.back-link {
    background-color: #3E2723; 
    color: #ffffff !important; 
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(62, 39, 35, 0.2);
}

.back-link:hover {
    background-color: #5D4037;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(62, 39, 35, 0.3);
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.pardos-hero {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease;
}

.app-icon-large {
    width: 120px; height: 120px;
    margin: 0 auto 20px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(62, 39, 35, 0.15);
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-icon-large img { width: 100%; height: 100%; object-fit: cover; }

.floating-anim { animation: floatIcon 6s ease-in-out infinite; }
@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.pardos-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin: 0;
    color: #3E2723;
    letter-spacing: -2px;
    line-height: 1;
}

.pardos-subtitle {
    font-size: 1.5rem;
    color: #8D6E63;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.pardos-desc {
    font-size: 1.2rem;
    color: #5D4037;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
}

/* Botones CTA */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.store-btn {
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.store-btn:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.store-btn i { font-size: 2.2rem; }
.store-btn div { display: flex; flex-direction: column; text-align: left; }
.store-btn span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.store-btn strong { font-size: 1.2rem; }

.qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #8D6E63;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}
.qr-box i { font-size: 2rem; margin-bottom: 5px; }
.qr-box:hover { color: #3E2723; transform: scale(1.1); }

/* =========================================
   4. CARRUSEL (HORIZONTAL / LANDSCAPE)
   ========================================= */
.showcase-section {
    padding: 80px 0;
    text-align: center;
    overflow: hidden; 
}

.section-header h2 {
    font-size: 2.5rem;
    color: #3E2723;
    margin-bottom: 10px;
}
.section-header p {
    color: #8D6E63;
    margin-bottom: 50px;
}

.carousel-wrapper {
    position: relative;
    max-width: 1200px; 
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; 
}

.carousel-container {
    width: 720px;  
    height: 405px; /* 16:9 */
    perspective: 1500px; 
    position: relative;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* Pantallas */
.screenshot-item {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    border: 4px solid #3E2723;
    background: #000;
    overflow: hidden;
    
    /* Transición suave para todo */
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease, z-index 0s linear 0.3s;
    
    /* Ocultar por defecto */
    display: none; 
    opacity: 0;
    transform-origin: center center;
}

.screenshot-item.active {
    display: block;
    opacity: 1;
    box-shadow: 0 30px 60px rgba(62, 39, 35, 0.6);
    border-color: #8D6E63;
}

.screenshot-item img {
    width: 100%; height: 100%; object-fit: fill; 
}

/* Botones Nav */
.nav-btn {
    background: white;
    border: none;
    width: 60px; height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #3E2723;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 50;
    transition: 0.3s;
    position: absolute; 
    top: 50%;
    transform: translateY(-50%);
}
.nav-btn:hover { background: #3E2723; color: white; transform: translateY(-50%) scale(1.1); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Indicadores */
.carousel-indicators {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.dot {
    width: 12px; height: 12px;
    background: #D7CCC8;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.dot.active { background: #3E2723; transform: scale(1.3); }

/* =========================================
   5. FEATURES BENTO GRID
   ========================================= */
.features-section {
    padding: 100px 20px;
    background: white;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #FDFBF7;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid #EFEBE9;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(62, 39, 35, 0.1);
    border-color: #8D6E63;
}

.feature-card i { font-size: 3rem; margin-bottom: 25px; display: inline-block; }

.zen-style i { color: #8D6E63; }
.achievements-style i { color: #FFC107; }
.privacy-style i { color: #4CAF50; }
.tech-style i { color: #2196F3; }

.feature-card h3 {
    color: #3E2723;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.feature-card p {
    color: #5D4037;
    font-size: 1rem;
    line-height: 1.6;
}

/* =========================================
   6. AUDIENCE & FOOTER
   ========================================= */
.audience-section {
    padding: 100px 20px;
    text-align: center;
    background: #FDFBF7;
}

.audience-section h2 {
    font-size: 2.5rem;
    color: #3E2723;
    margin-bottom: 50px;
}

.audience-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.audience-item { max-width: 250px; }

.icon-circle {
    width: 80px; height: 80px;
    background: #3E2723;
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(62, 39, 35, 0.2);
}

.audience-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #3E2723;
}

/* Final CTA */
.final-cta {
    background: #3E2723;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.final-cta h2 { font-size: 3rem; margin-bottom: 20px; color: #FFF; }
.final-cta p { font-size: 1.3rem; margin-bottom: 40px; opacity: 0.9; }

.large-btn {
    background: white;
    color: #3E2723;
    display: inline-flex;
    padding: 18px 50px;
    font-size: 1.3rem;
    border-radius: 50px;
    font-weight: 800;
}
.large-btn:hover { background: #EFEBE9; transform: scale(1.05); }

/* Footer */
footer {
    background: #2D211E;
    color: rgba(255,255,255,0.6);
    padding: 40px 20px;
    font-size: 0.9rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}
.footer-links a:hover { color: white; }

/* =========================================
   7. RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .pardos-title { font-size: 3rem; }
    
    .nav-links a:not(.back-link) { display: none; }
    .back-link span { display: none; }
    
    .carousel-container {
        width: 90%; 
        height: auto;
        aspect-ratio: 16/9;
    }
    
    .nav-btn { display: none; }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-links { margin-top: 10px; }
    .footer-links a { margin: 0 10px; }
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}