/* 
 * Color Hierarchy Styles - Landing Page
 * Estilos para mejorar la jerarquía visual usando color en la landing
 */

/* Separadores visuales entre secciones */
.section-divider {
    height: 6px;
    background: linear-gradient(90deg, 
        rgba(120,90,200,0.3) 0%, 
        rgba(90,50,180,0.6) 50%,
        rgba(120,90,200,0.3) 100%);
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Mejora visual del contenido en secciones de color claro */
.offer-section .section-title {
    color: #3a1c78;
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
}

.urgent-badge {
    background-color: #ff5349;
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(255, 83, 73, 0.3);
    position: relative;
    top: -5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-section .offer-description {
    color: #4a2d87;
}

.offer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><circle cx="20" cy="50" r="2" fill="%235e3d9e20"/><circle cx="40" cy="70" r="1.5" fill="%235e3d9e15"/><circle cx="60" cy="30" r="2" fill="%235e3d9e20"/><circle cx="80" cy="60" r="1" fill="%235e3d9e15"/></svg>');
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.offer-section .container {
    position: relative;
    z-index: 1;
}

.offer-section .offer-row {
    background: linear-gradient(to right, rgba(255,255,255,0.85), rgba(255,255,255,0.7));
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(80,50,160,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #5e3d9e;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.offer-section .offer-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(80,50,160,0.18);
}

.offer-section .offer-row.active {
    border-left: 4px solid #38c172;
    background-color: rgba(255,255,255,0.85);
}

.offer-counter-secondary {
    margin-top: 15px;
    padding: 10px 0;
}

.offer-remaining-text {
    font-size: 0.9rem;
    color: #5e3d9e;
    font-weight: 500;
    letter-spacing: 0.3px;
    opacity: 0.9;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: rgba(255,255,255,0.5);
    display: inline-block;
}

/* Estilos para la sección How-it-works */
.how-it-works-section .step-card {
    background-color: rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(20,10,50,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    height: 100%;
    border-bottom: 4px solid rgba(255,255,255,0.2);
}

.how-it-works-section .step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(20,10,50,0.25);
    background-color: rgba(255,255,255,0.18);
    border-bottom: 4px solid rgba(255,255,255,0.4);
}

.how-it-works-section .step-icon {
    font-size: 3rem;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.how-it-works-section .step-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}

.how-it-works-section .step-icon i {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.95);
}

.how-it-works-section .step-icon.icon-yellow {
    background: linear-gradient(135deg, #f9d423, #ff9b21);
}

.how-it-works-section .step-icon.icon-cyan {
    background: linear-gradient(135deg, #4ac8ed, #2574a9);
}

.how-it-works-section .step-icon.icon-orange {
    background: linear-gradient(135deg, #ff5e62, #ff8c42);
}

.how-it-works-section .step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Estilos para la sección de testimonios */
.testimonials-section .testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

/* Diseño responsivo para testimonios */
@media (max-width: 992px) {
    .testimonials-section .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .testimonials-section .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonials-section .testimonial-card {
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.testimonials-section .testimonial-card.light-card {
    background-color: rgba(255,255,255,0.12);
    box-shadow: 0 8px 25px rgba(15,5,40,0.15);
    border-top: 3px solid rgba(180,160,230,0.4);
}

.testimonials-section .testimonial-card.dark-card {
    background-color: rgba(20,5,50,0.4);
    box-shadow: 0 8px 25px rgba(5,0,20,0.25);
    border-top: 3px solid rgba(100,80,180,0.5);
}

.testimonials-section .testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonials-section .testimonial-card.light-card:hover {
    box-shadow: 0 15px 35px rgba(15,5,40,0.25);
    background-color: rgba(255,255,255,0.18);
}

.testimonials-section .testimonial-card.dark-card:hover {
    box-shadow: 0 15px 35px rgba(5,0,20,0.35);
    background-color: rgba(20,5,50,0.5);
}

.testimonials-section .light-card .quote-icon {
    color: rgba(180,160,230,0.7);
    font-size: 1.8rem;
}

.testimonials-section .dark-card .quote-icon {
    color: rgba(130,110,200,0.7);
    font-size: 1.8rem;
}

/* Estilos para la sección de registro */
.signup-section .signup-card {
    background-color: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 15px 35px rgba(20,10,50,0.25), 
                0 0 0 1px rgba(255,255,255,0.1),
                0 0 0 3px rgba(56,193,114,0.2);
    position: relative;
    overflow: hidden;
}

.signup-section .signup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
                rgba(56,193,114,0.3), 
                rgba(56,193,114,0.8) 50%,
                rgba(56,193,114,0.3));
}

.signup-section .signup-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
                rgba(56,193,114,0.3), 
                rgba(56,193,114,0.8) 50%,
                rgba(56,193,114,0.3));
}

/* Mejora del contraste en inputs para secciones oscuras */
.signup-section .form-control {
    background-color: rgba(255,255,255,0.9);
    border: none;
    color: #333;
    border-radius: 8px;
    padding: 12px 15px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.08);
    font-weight: 500;
}

.signup-section .form-control:focus {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.08), 0 0 0 3px rgba(56,193,114,0.3);
}

.signup-section .floating-label {
    color: #666;
}

/* Mejoras visuales para la navegación */
.navbar {
    background-color: rgba(25,10,60,0.85) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Efectos sutiles en el reproductor de audio */
.example-section .example-song-card {
    background-color: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 15px 30px rgba(20,10,50,0.2);
    border-top: 4px solid rgba(180,160,230,0.3);
}

.example-section .audio-player {
    background-color: rgba(25,10,60,0.5);
    border-radius: 50px;
    padding: 5px;
}

.example-section .audio-player::-webkit-media-controls-panel {
    background-color: rgba(25,10,60,0.5);
}

.example-section .audio-player::-webkit-media-controls-play-button,
.example-section .audio-player::-webkit-media-controls-volume-slider {
    filter: brightness(1.2);
}

/* Aplicar los mismos estilos del reproductor principal a los reproductores de more-examples */
.more-examples-section .example-audio {
    background-color: rgba(120, 30, 140, 0.5);
    border-radius: 50px;
    padding: 5px;
}

.more-examples-section .example-audio::-webkit-media-controls-panel {
    background-color: rgba(120, 30, 140, 0.5);
}

.more-examples-section .example-audio::-webkit-media-controls-play-button,
.more-examples-section .example-audio::-webkit-media-controls-volume-slider {
    filter: brightness(1.2);
}

/* Estilos específicos del botón de play para more-examples (igual que el reproductor principal) */
.more-examples-section .example-audio::-webkit-media-controls-play-button {
    background-color: #6a1fa0;
    border-radius: 50%;
    filter: brightness(1.3);
    transition: all 0.3s ease;
    transform-origin: center;
    animation: play-button-pulse 2s ease-in-out infinite;
}

.more-examples-section .example-audio::-webkit-media-controls-play-button:hover {
    background-color: #9c27b0;
    filter: brightness(1.5);
    transform: scale(1.1);
}

/* Match example-section card styles but scoped to more-examples-section */
.more-examples-section .example-card {
    background: linear-gradient(135deg, #2a1840 0%, #3a2060 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 22px;
    border: 1.5px solid rgba(168,129,238,0.10);
    box-shadow: 0 8px 32px rgba(80,40,120,0.13), 0 1.5px 0 rgba(255,255,255,0.04) inset;
    transition: transform 0.22s cubic-bezier(.4,1.4,.6,1), box-shadow 0.22s, border-color 0.22s;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1.5rem;
}

.more-examples-section .example-card:hover, .more-examples-section .example-card:focus-within {
    transform: translateY(-6px) scale(1.018);
    box-shadow: 0 16px 44px rgba(80,40,120,0.19), 0 2px 0 rgba(255,255,255,0.07) inset;
    border-color: rgba(168, 129, 238, 0.22);
}

.more-examples-section .example-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.32rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.18;
    text-shadow: 0 1px 4px rgba(60,30,80,0.13);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.more-examples-section .example-description {
    color: rgba(255,255,255,0.95) !important;
    font-size: 1.02rem;
    line-height: 1.5;
    margin-bottom: 0.9rem;
    font-style: italic;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45) !important;
    background: rgba(0,0,0,0.18);
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    display: inline-block;
}

.more-examples-section .example-audio {
    width: 100%;
    display: block;
    margin-top: auto;
    background: rgba(255,255,255,0.10);
    border-radius: 14px;
    padding: 0.5rem 0.7rem;
    border: 1.5px solid rgba(168,129,238,0.10);
    box-shadow: 0 2px 8px rgba(80,40,120,0.08);
    max-width: 100%;
}

/* Footer mejorado */
.footer-minimal {
    padding: 40px 0 30px;
    position: relative;
}

.footer-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.05) 0%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0.05) 100%);
}

.footer-tagline {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.footer-tagline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0), 
        rgba(255,255,255,0.5),
        rgba(255,255,255,0));
}

.footer-links {
    margin: 20px 0;
}

.footer-minimal .footer-link {
    color: rgba(210,200,255,0.8);
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    padding: 0 15px;
}

.footer-minimal .footer-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255,255,255,0.4);
}

.footer-separator {
    color: rgba(210,200,255,0.4);
}

.footer-minimal .footer-text {
    color: rgba(210,200,255,0.6);
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Anulación del fondo para la navbar (asegurando contraste) */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: rgba(25,10,60,0.95);
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
    }
}

/* Estilos específicos para texto de testimonio */
.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.light-card .testimonial-text {
    color: rgba(255, 255, 255, 0.95);
}

.dark-card .testimonial-text {
    color: rgba(255, 255, 255, 0.85);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.light-card .author-avatar {
    background: linear-gradient(135deg, #a085e3, #6d4ed2);
    box-shadow: 0 5px 15px rgba(60, 30, 110, 0.3);
}

.dark-card .author-avatar {
    background: linear-gradient(135deg, #6d4ed2, #4a28b8);
    box-shadow: 0 5px 15px rgba(30, 10, 60, 0.4);
}

.avatar-initial {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.author-avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
}

.light-card .author-name {
    color: rgba(255, 255, 255, 0.95);
}

.dark-card .author-name {
    color: rgba(255, 255, 255, 0.9);
}

.author-relation {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 3px;
}

/* Responsivo para testimonios en móvil */
@media (max-width: 768px) {
    .testimonials-section .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        margin-bottom: 20px;
    }
}

/* Animación sutil de transición entre secciones */
section {
    transition: background-color 0.5s ease;
}