/* Build Uflash & FAQ Sections - Premium Glassmorphism */

/* ---- Global Section Styles ---- */
.build-uflash-section {
    padding: 24px 24px 24px 24px;
    position: relative;
    z-index: 5;
}

.faq-section {
    padding: 24px 24px 80px 24px;
    position: relative;
    z-index: 5;
}

/* ---- Build Uflash Banner ---- */
.build-uflash-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.bu-left h2 {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #ffffff, #a0aec0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.build-uflash-subtitle {
    font-size: 18px;
    color: #e2e8f0;
    line-height: 1.6;
}

.bu-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Support Button */
.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #ffffff;
    color: #000000;
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* ---- FAQ Section ---- */
.faq-title {
    text-align: center;
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 56px;
    letter-spacing: -1px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* FAQ Item Glassmorphism */
.faq-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    gap: 16px;
}

.faq-question span {
    flex: 1;
}

.faq-question i {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

/* Active State Rotation */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #ffffff;
}

/* FAQ Answer Transitions */
.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Arbitrary large number to allow full expansion */
    opacity: 1;
}

.faq-answer p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0 32px 32px 32px;
}

/* ---- Responsive Breakpoints ---- */
@media (max-width: 992px) {
    .build-uflash-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .bu-right {
        align-items: center;
    }
}

@media (max-width: 768px) {

    .build-uflash-section {
        padding: 24px 16px 24px 16px;
    }

    .faq-section {
        padding: 24px 16px 56px 16px;
    }

    .build-uflash-container {
        padding: 32px 24px;
    }

    .faq-question {
        padding: 20px 24px;
        font-size: 18px;
    }

    .faq-answer p {
        padding: 0 24px 24px 24px;
    }
}