/* ===== DOWNLOAD PAGE STYLES ===== */

/* Background da página inteira */
body {
    background: url('../img/teste/bg6.png') center/cover no-repeat;
    background-attachment: position;
}

/* ===== FADE-IN ANIMATION ===== */
.page-fade-in {
    opacity: 0;
    animation: fadeInPage 1.2s ease-in-out forwards;
}

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

/* Delay escalonado para seções */
.download-buttons-section {
    animation-delay: 0.2s;
}

.requirements-section {
    animation-delay: 0.4s;
}

.download-cta-section {
    animation-delay: 0.6s;
}


/* Download Buttons Section */
.download-buttons-section {
    padding: 100px 0;
    position: relative;
}

.download-buttons-section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    top: 30px;
    margin-bottom: 50px;
}

.download-buttons-section .section-header h2 {
    font-family: var(--font-title);
    letter-spacing: .5px;
    font-size: 36px;
    margin: 35px 0 25px;
    color: #08bec8;
    text-transform: uppercase;
}

.download-buttons-section .section-header p {
    text-align: center;
    max-width: 700px;
    font-size: 13px;
    letter-spacing: .7px;
    line-height: 1.5em;
    margin: 0px;
    color: #cccccc;
}

.download-buttons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    top: 20px;
}

.download-button {
    background: #00212c;
    border: 2px solid rgba(8, 190, 200, 0.2);
    border-radius: 10px;
    padding: 20px 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/*.download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(8, 190, 200, 0.1), transparent);
    transition: left 0.6s;
}

.download-button:hover::before {
    left: 100%;
} */

.download-button:hover {
    transform: translateY(-10px);
    border-color: #08bec8;
   /* box-shadow: 0 20px 40px rgba(8, 190, 200, 0.2); */
}

.button-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #08bec8, #00a8b8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.button-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.download-button:hover .button-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(8, 190, 200, 0.3);
}

.download-button:hover .button-icon img {
    transform: scale(1.1);
}

.download-button h3 {
    font-family: var(--font-subtitle);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: #ffffff;
}

.download-button p {
    font-family: var(--font-text);
    font-size: 0.8rem;
    line-height: 1.4;
    color: #cccccc;
    margin: 0 0 12px;
}

.button-info {
    display: flex;
    justify-content: space-between;
    margin: 0 0 12px;
    padding: 0 5px;
}

.file-size {
    font-family: var(--font-text);
    font-size: 0.9rem;
    color: #08bec8;
    font-weight: 600;
}

.file-version {
    font-family: var(--font-text);
    font-size: 0.9rem;
    color: #888888;
}

.download-btn {
    width: 160px;
    height: 45px;
    display: grid;
    align-items: center;
    justify-content: center;
    font-family: var(--font-subtitle);
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: url(../img/play2.png) top no-repeat;
    background-size: contain;
    cursor: pointer;
    margin: 0 auto;
    position: relative;
    border: none;
    transition: transform 0.3s ease;
}

.download-btn:after {
    content: "";
    position: absolute;
    width: 160px;
    height: 45px;
    background: url(../img/play2.png) bottom no-repeat;
    background-size: contain;
    transition: all .2s linear;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

.download-btn:hover:after {
    opacity: 1;
    visibility: visible; 
}

.download-btn:hover {
    transform: translateY(-2px);
}







/* System Requirements Section */
.requirements-section {
    padding: 60px 0;
    position: relative;
}

.requirements-section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    top: -20px;
    margin-bottom: 30px;
}

.requirements-section .section-header h2 {
    font-family: var(--font-title);
    letter-spacing: .5px;
    font-size: 36px;
    margin: 35px 0 25px;
    color: #08bec8;
    text-transform: uppercase;
}

.requirements-section .section-header p {
    text-align: center;
    max-width: 700px;
    font-size: 13px;
    letter-spacing: .7px;
    line-height: 1.5em;
    margin: 0px;
    color: #cccccc;
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    top: -20px;
}

.requirements-container {
    display: flex;
    flex-direction: column;
    background: #00212cc2;
    border: 2px solid rgba(8, 190, 200, 0.2);
    border-radius: 15px;
    padding: 25px;
    position: relative;
}
.requirements-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 190, 200, 0.05);
    border-radius: 15px;
    z-index: 0;
}

.requirements-container h3 {
    font-family: var(--font-subtitle);
    font-size: 1.2rem;
    font-weight: 600;
    color: #08bec8;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.requirements-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
 /* background: rgba(8, 190, 200, 0.05); */
    border-radius: 15px;
    z-index: 0;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-card {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(8, 190, 200, 0.2);
    position: relative;
    z-index: 1;
}

.requirement-card:last-child {
    border-bottom: none;
}

.requirement-icon {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    background: linear-gradient(135deg, #08bec8 0%, #00a8b5 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.requirement-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.requirement-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.requirement-content h4 {
    font-family: var(--font-subtitle);
    font-size: 0.9rem;
    font-weight: 600;
    color: #08bec8;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.requirement-content span {
    font-family: var(--font-text);
    font-size: 0.85rem;
    color: #cccccc;
    margin: 0;
    transition: color 0.3s ease;
}

.requirement-card:hover .requirement-content span {
    color: #ffffff;
}

/* CTA Section */
.download-cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}


.cta-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 600px;
}

.cta-text h2 {
    font-family: var(--font-title);
    letter-spacing: .5px;
    font-size: 36px;
    margin: 35px 0 25px;
    color: #08bec8;
    text-transform: uppercase;
    text-align: left;
}

.cta-text p {
    text-align: left;
    max-width: 700px;
    font-size: 13px;
    letter-spacing: .7px;
    line-height: 1.5em;
    margin: 0px;
    color: #cccccc;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 30px;
}

.cta-primary {
    background: linear-gradient(135deg, #08bec8, #00a8b8);
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    color: #ffffff;
    font-family: var(--font-subtitle);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);

}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-3px);

}

.cta-secondary {
    background: transparent;
    border: 2px solid #08bec8;
    border-radius: 50px;
    padding: 10px 25px;
    color: #08bec8;
    font-family: var(--font-subtitle);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(90deg, transparent, rgba(8, 190, 200, 0.1), transparent);*/   
    transition: left 0.6s;
}

.cta-secondary:hover::before {
    left: 100%;
}

.cta-secondary:hover {
    background: #08bec8;
    color: #ffffff;
    transform: translateY(-3px);
    /*box-shadow: 0 15px 30px rgba(8, 190, 200, 0.3);*/
}




/* Mobile Responsiveness */
@media (max-width: 1200px) {
    .download-buttons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .download-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .download-button {
        padding: 30px 20px;
    }
    
    .download-btn {
        width: 160px;
        height: 45px;
        font-size: 12px;
    }
    
    .download-btn:after {
        width: 160px;
        height: 45px;
    }
    
    .download-buttons-section .section-header h2 {
        font-size: 18px;
        margin: 10px 0 5px;
        text-align: center;
        padding: 0 20px;
    }

    .download-buttons-section .section-header p {
        font-size: 12px;
        padding: 0 20px;
    }
    
    .requirements-section .section-header h2 {
        font-size: 18px;
        margin: 10px 0 5px;
        text-align: center;
        padding: 0 20px;
    }

    .requirements-section .section-header p {
        font-size: 12px;
        padding: 0 20px;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .requirements-container {
        padding: 20px 15px;
    }
    
    .requirement-card {
        flex-direction: column;
        text-align: center;
        padding: 15px 0;
    }
    
    .requirement-icon {
        margin: 0 0 10px 0;
    }
    
    .requirement-content h4 {
        margin-bottom: 4px;
    }
    
    .requirement-card {
        padding: 15px 10px;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 18px;
        margin: 10px 0 5px;
        text-align: center;
        padding: 0 20px;
    }
    
    .cta-text p {
        font-size: 12px;
        padding: 0 20px;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
}

@media (max-width: 480px) {
    .download-buttons-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .download-button {
        padding: 25px 15px;
    }
    
    .download-btn {
        width: 140px;
        height: 40px;
        font-size: 11px;
    }
    
    .download-btn:after {
        width: 140px;
        height: 40px;
    }
    
    .button-icon {
        width: 60px;
        height: 60px;
    }
    
    .button-icon img {
        width: 36px;
        height: 36px;
    }
    
    .download-button h3 {
        font-size: 1.2rem;
    }
    
    .requirement-card {
        padding: 20px 15px;
    }
    
    .requirement-icon {
        width: 50px;
        height: 50px;
    }
    
    .requirement-card h3 {
        font-size: 1.1rem;
    }
    
    .cta-text h2 {
        font-size: 16px;
        margin: 8px 0 4px;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
}

/* Desktop Expansion */
@media (min-width: 1280px) {
    .download-buttons-section,
    .requirements-section,
    .download-cta-section {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    
    .download-buttons-grid,
    .requirements-grid,
    .cta-container {
        max-width: 1400px;
        margin: 0 auto;
    }
}
