/* FAQ Section - Modern Hexagon Design */
/* Using Logo Colors: Orange (#FF9A3C), Pink (#FF4D7D), Purple (#8B5CF6), Blue (#3B82F6) */

.faq-modern-section {
    padding: 6rem 0;
    background: rgba(13, 17, 23, 0.6);
    position: relative;
    overflow: hidden;
}

.faq-modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 40%, rgba(255, 154, 60, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Header */
.faq-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.faq-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FF9A3C, #FF4D7D, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.faq-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Layout */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

/* FAQ Item */
.faq-hex-item {
    transition: all 0.3s ease;
}

.faq-hex-border {
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.2), rgba(139, 92, 246, 0.2));
    padding: 2px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.faq-hex-item:hover .faq-hex-border {
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.4), rgba(255, 77, 125, 0.4));
}

.faq-hex-item.active .faq-hex-border {
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.5), rgba(255, 77, 125, 0.5));
    box-shadow: 0 10px 30px rgba(255, 154, 60, 0.3);
}

.faq-hex-content {
    background: rgba(13, 17, 23, 0.95);
    border-radius: 14px;
    overflow: hidden;
}

/* Question Wrapper */
.faq-question-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question-wrapper:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Hexagon Icon */
.faq-hex-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, #FF9A3C, #FF4D7D);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.faq-hex-item.active .faq-hex-icon {
    transform: rotate(180deg);
}

/* Question Text */
.faq-question-text {
    flex: 1;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Toggle Icon */
.faq-toggle-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 154, 60, 0.2);
    transition: all 0.3s ease;
}

.faq-toggle-icon i {
    color: #FF9A3C;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-hex-item.active .faq-toggle-icon {
    background: rgba(255, 154, 60, 0.3);
    transform: rotate(180deg);
}

/* Answer Wrapper */
.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-hex-item.active .faq-answer-wrapper {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 1rem;
    padding-left: calc(1.5rem + 50px + 1rem);
}

/* Responsive Design */
@media (max-width: 992px) {
    .faq-modern-section {
        padding: 4rem 0;
    }
    
    .faq-title {
        font-size: 2.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
    }
    
    .faq-question-wrapper {
        padding: 1.2rem;
    }
    
    .faq-hex-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }
    
    .faq-question-text {
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding-left: calc(1.2rem + 40px + 1rem);
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .faq-modern-section {
        padding: 3rem 0;
    }
    
    .faq-header {
        margin-bottom: 2.5rem;
    }
    
    .faq-question-wrapper {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .faq-hex-icon {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 0.9rem;
    }
    
    .faq-question-text {
        font-size: 0.95rem;
    }
    
    .faq-toggle-icon {
        width: 25px;
        height: 25px;
        min-width: 25px;
    }
    
    .faq-answer-content {
        padding: 0 1rem 1rem 1rem;
        padding-left: calc(1rem + 35px + 0.75rem);
        font-size: 0.9rem;
    }
}

/* Loading Animation */
@keyframes faq-item-load {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-hex-item {
    animation: faq-item-load 0.5s ease forwards;
}
