/**
 * Together We Rise - Final Section Styles
 */

.final-block {
    position: relative;
    padding: 80px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, #001022 0%, #001A33 50%, #002244 100%);
}

/* Dark overlay with pattern */
.final-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 174, 239, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 76, 151, 0.1) 0%, transparent 50%);
    z-index: 1;
}

/* Gradient glow edges */
.final-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 174, 239, 0.05) 0%,
        transparent 100%
    );
    z-index: 2;
}

/* Content container */
.final-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 30px;
    animation: finalFadeIn 1.2s ease-out;
}

/* Title */
.final-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 
        0 0 20px #00AEEF,
        0 0 40px rgba(0, 174, 239, 0.5);
    line-height: 1.2;
}

/* Description */
.final-description {
    font-size: 1.1rem;
    color: #BFDFFF;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Button */
.final-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, #00AEEF, #004C97);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 20px rgba(0, 174, 239, 0.6),
        0 0 40px rgba(0, 174, 239, 0.3);
}

.final-btn:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(0, 174, 239, 0.8),
        0 0 60px rgba(0, 174, 239, 0.5);
}

.final-btn svg {
    transition: transform 0.3s ease;
}

.final-btn:hover svg {
    transform: translateX(5px);
}

/* Animation */
@keyframes finalFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .final-block {
        padding: 60px 30px;
    }
    
    .final-title {
        font-size: 2.4rem;
    }
    
    .final-description {
        font-size: 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .final-block {
        padding: 50px 20px;
    }
    
    .final-content {
        padding: 0 20px;
    }
    
    .final-title {
        font-size: 1.8rem;
        text-shadow: 
            0 0 15px #00AEEF,
            0 0 30px rgba(0, 174, 239, 0.3);
    }
    
    .final-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .final-br-desktop {
        display: none;
    }
    
    .final-btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .final-block {
        padding: 40px 20px;
    }
    
    .final-title {
        font-size: 1.5rem;
    }
    
    .final-description {
        font-size: 0.9rem;
    }
    
    .final-btn {
        padding: 0.75rem 1.6rem;
        font-size: 0.9rem;
    }
}
