/* Plataforma Page Styles */
.plataforma-page {
    background-color: #000;
    min-height: 100vh;
}

/* Highlight colors */
.color-highlight {
    color: rgba(186, 255, 41, 1);
}

.color-highlight-orange {
    color: rgba(220, 150, 90, 1);
}

/* ===================================
    SCROLL ANIMATIONS
====================================== */

/* Animación base para todas las secciones */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Variaciones de animaciones */
.animate-fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.animate-fade-in.animate-visible {
    opacity: 1;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-left.animate-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-right.animate-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-scale.animate-visible {
    opacity: 1;
    transform: scale(1);
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-up.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays progresivos */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }
.animate-delay-7 { transition-delay: 0.7s; }
.animate-delay-8 { transition-delay: 0.8s; }
/* Hero Section - Fondo Negro */
.hero-plataforma-section {
    background-color: #000000;
    padding: 120px 0 80px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

/* Label de sección */
.section-label {
    margin-bottom: 3rem;
}

.label-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 7%;
    color: rgba(186, 255, 41, 1);
    text-transform: uppercase;
}

/* Título principal */
.hero-title-container {
    margin-bottom: 3rem;
}

.hero-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 74px;
    letter-spacing: -3%;
    color: #ffffff;
    margin: 0;
}

/* Descripción hero */
.hero-description {
    margin-top: 2rem;
}

.description-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    margin: 0;
}

.description-text p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
}

/* Segunda Sección - Fondo Verde Lima */
.platform-solution-section {
    background-color: rgba(186, 255, 41, 1);
    padding: 80px 0;
}

/* Contenido de la solución */
.solution-content {
    padding-right: 2rem;
}

.solution-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    margin: 0;
}

/* Botón de interés */
.solution-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-button {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 6%;
    text-align: center;
    text-transform: uppercase;
    color: #000000;
    border: 1px solid #000000;
    background: transparent;
    padding: 15px 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.solution-button::after {
    content: '';
    position: absolute;
    top: 3px;
    left: -3px;
    right: 4px;
    bottom: -3px;
    border: 1px solid #000000;
    pointer-events: none;
    z-index: 1;
}

.solution-button:hover {
    background-color: #000000;
    color: rgba(186, 255, 41, 1);
    text-decoration: none;
}

.solution-button:hover::after {
    border-color: #000000;
}

.solution-button:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Tercera Sección - ¿Qué es WECO? */
.weco-info-section {
    background-color: #000000;
    padding: 80px 0;
}

/* Primera columna - Contenido WECO */
.weco-content {
    padding-right: 3rem;
}

.weco-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 49px;
    letter-spacing: 0%;
    color: rgba(186, 255, 41, 1);
    margin-bottom: 2rem;
}

.weco-description {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    margin: 0;
}

/* Segunda columna - Grid de servicios */
.services-grid {
    padding-left: 2rem;
}

.service-box {
    background-color: rgba(29, 29, 29, 1);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    text-align: left;
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 50px;
}

.service-icon svg {
    width: 36px;
    height: 36px;
}

.service-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 49px;
    letter-spacing: 0%;
    color: rgba(186, 255, 41, 1);
    margin-bottom: 1rem;
}

/* Corte de palabras largas solo en euskera */
:lang(eu) .service-title {
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.service-text, .service-text p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    margin: 0;
}

/* Cuarta Sección - Modelo WIN-WIN */
.win-win-section {
    background-color: #000000;
    padding: 80px 0;
}

.win-win-intro {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    margin-bottom: 4rem;
}

/* Contenido "¿Cómo funcionará WECO?" */
.how-works-content {
    padding-right: 3rem;
}

.how-works-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 49px;
    letter-spacing: 0%;
    color: rgba(186, 255, 41, 1);
    margin-bottom: 2rem;
}

.how-works-description {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    margin-bottom: 2.5rem;
}

/* Botón Lista de Espera */
.waiting-list-button-container {
    margin-top: 2rem;
}

.waiting-list-button {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 6%;
    text-align: center;
    text-transform: uppercase;
    color: #000000;
    background-color: rgba(186, 255, 41, 1);
    padding: 15px 30px;
    text-decoration: none;
    display: inline-block;
    border: none;
    position: relative;
    transition: all 0.3s ease;
}

.waiting-list-button::after {
    content: '';
    position: absolute;
    top: 3px;
    left: -3px;
    right: 4px;
    bottom: -3px;
    border: 1px solid rgba(186, 255, 41, 1);
    pointer-events: none;
    z-index: 1;
}

.waiting-list-button:hover {
    background-color: rgba(186, 255, 41, 0.8);
    color: #000000;
    text-decoration: none;
}

.waiting-list-button:hover::after {
    border-color: rgba(186, 255, 41, 0.8);
}

.waiting-list-button:focus {
    outline: 2px solid rgba(186, 255, 41, 1);
    outline-offset: 2px;
}

/* Imagen "¿Cómo funcionará?" */
.how-works-image-container {
    padding-left: 2rem;
}

.how-works-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Banner Naranja - Contacto */
.contact-banner-section {
    background-color: rgba(220, 150, 90, 1);
    padding: 60px 0;
}

.contact-banner-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    margin: 0;
}

.contact-banner-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-banner-button {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 6%;
    text-align: center;
    text-transform: uppercase;
    color: #000000;
    background-color: rgba(186, 255, 41, 1);
    padding: 15px 30px;
    text-decoration: none;
    display: inline-block;
    border: none;
    position: relative;
    transition: all 0.3s ease;
}

.contact-banner-button::after {
    content: '';
    position: absolute;
    top: 3px;
    left: -3px;
    right: 4px;
    bottom: -3px;
    border: 1px solid rgba(186, 255, 41, 1);
    pointer-events: none;
    z-index: 1;
}

.contact-banner-button:hover {
    background-color: rgba(186, 255, 41, 0.8);
    color: #000000;
    text-decoration: none;
}

.contact-banner-button:hover::after {
    border-color: rgba(186, 255, 41, 0.8);
}

.contact-banner-button:focus {
    outline: 2px solid rgba(186, 255, 41, 1);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 48px;
        line-height: 60px;
    }
    
    .description-text,
    .solution-text {
        font-size: 28px;
    }
    
    .weco-title {
        font-size: 36px;
        line-height: 44px;
    }
    
    .weco-description {
        font-size: 22px;
    }
    
    .service-title {
        font-size: 26px;
        line-height: 40px;
    }
    
    .win-win-intro {
        font-size: 28px;
    }
    
    .how-works-title {
        font-size: 36px;
        line-height: 44px;
    }
    
    .how-works-description {
        font-size: 22px;
    }
    
    .contact-banner-text {
        font-size: 28px;
    }
}

/* Margen específico entre columnas para pantallas 1199px-999px */
@media (max-width: 1199px) and (min-width: 999px) {
    #weco-info {
        margin-bottom: 3rem;
    }
}

@media (max-width: 991px) {
    .hero-plataforma-section {
        padding: 100px 0 60px 0;
    }
    
    .platform-solution-section {
        padding: 60px 0;
    }
    
    .weco-info-section {
        padding: 60px 0;
    }
    
    .weco-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .services-grid {
        padding-left: 0;
    }
    
    .win-win-section {
        padding: 60px 0;
    }
    
    .how-works-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .how-works-image-container {
        padding-left: 0;
    }
    
    .contact-banner-section {
        padding: 40px 0;
    }
    
    .contact-banner-text {
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 42px;
        line-height: 52px;
    }
    
    .description-text,
    .solution-text {
        font-size: 24px;
    }
    
    .solution-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-plataforma-section {
        padding: 80px 0 40px 0;
    }
    
    .platform-solution-section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 44px;
    }
    
    .description-text,
    .solution-text {
        font-size: 20px;
    }
    
    .label-text {
        font-size: 18px;
    }
    
    .solution-button {
        font-size: 14px;
        padding: 12px 24px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .description-text,
    .solution-text {
        font-size: 18px;
    }
    
    .label-text {
        font-size: 16px;
    }
}
