/* PequeBank Landing Page - Custom Styles */

/* General Styles */
body {
    background-color: #f7f9fb;
}

/* Ocultar barra de desplazamiento en elementos horizontales */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Componente Acordeón para FAQ */
details>summary {
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

details[open] summary~* {
    animation: sweep .3s ease-in-out;
}

@keyframes sweep {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animaciones de Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.reveal.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Mascota Base Styles */
.piggy-skin { fill: #ffd2d9; }
.piggy-snout { fill: #ffb8c5; }
.piggy-details { fill: #191c1e; }
.piggy-accent { fill: #ff6b8b; }


/* Value Proposition Section (what-is.php) */
.vp-section {
    background: #FFFFFF;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.vp-container {
    max-width: 1200px;
    margin: 0 auto;
}

.vp-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.vp-title {
    font-size: 42px;
    font-weight: 700;
    color: #0B1220;
    line-height: 1.2;
}

.vp-title span {
    color: #3B82F6;
}

.vp-description {
    font-size: 16px;
    color: #5B6472;
    margin-top: 12px;
    line-height: 1.6;
}

.vp-main-grid {
    margin-top: 60px;
}

.vp-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.vp-card {
    background: white;
    border-radius: 24px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.vp-card:hover {
    transform: translateY(-8px);
}

.vp-card-blue {
    background: linear-gradient(180deg, #EEF4FF 0%, #F8FAFF 100%);
}

.vp-card-yellow {
    background: linear-gradient(180deg, #FFF7E6 0%, #FFFBF2 100%);
}

.vp-card-green {
    background: linear-gradient(180deg, #EAFBF3 0%, #F6FFFA 100%);
}

.vp-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vp-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vp-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 12px;
    color: #111827;
}

.vp-card p {
    font-size: 14px;
    color: #6B7280;
    margin-top: 8px;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .vp-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .vp-title {
        font-size: 32px;
    }
}

/* How It Works Section (how-it-works.php) */
.hiw-section {
    background: #F8FAFC;
    padding: 100px 20px;
}

.hiw-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hiw-grid::before {
        content: '';
        position: absolute;
        top: 56px;
        left: 50px;
        right: 50px;
        height: 2px;
        background: repeating-linear-gradient(to right, #CBD5E1, #CBD5E1 6px, transparent 6px, transparent 12px);
        z-index: -1;
    }
}

.hiw-step {
    background: white;
    padding: 32px 24px;
    border-radius: 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.01);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.hiw-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 74, 198, 0.08);
    border-color: rgba(0, 74, 198, 0.1);
}

.hiw-number {
    width: 48px;
    height: 48px;
    background: #FEDC1C;
    color: #0B1220;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    box-shadow: 0 8px 16px rgba(254, 220, 28, 0.25);
    position: relative;
    z-index: 2;
}

.hiw-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0B1220;
    margin-bottom: 12px;
    line-height: 1.4;
}

.hiw-step p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
}

@media (max-width: 1023px) {
    .hiw-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 400px;
        margin: 0 auto;
    }

    .hiw-grid::before {
        content: '';
        position: absolute;
        top: 50px;
        bottom: 50px;
        left: 44px;
        width: 2px;
        background: repeating-linear-gradient(to bottom, #CBD5E1, #CBD5E1 6px, transparent 6px, transparent 12px);
        z-index: -1;
    }

    .hiw-step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 20px;
        padding: 24px;
    }

    .hiw-number {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}
