/**
 * FAQ Page Styles
 * STIFF BEAST Theme
 */

/* ============ PAGE HEADER ============ */
.faq-page .page-header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-bottom: 2px solid rgba(255, 215, 0, 0.15);
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-page .page-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-page .page-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ============ CONTENT SECTION ============ */
.faq-page .content-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}

/* ============ SEARCH BOX ============ */
.faq-page .search-box {
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.faq-page .search-box input {
    background: #1a1a1a;
    border: 2px solid var(--primary-gold);
    color: var(--primary-white);
    padding: 15px 20px;
    border-radius: 0;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-page .search-box input::placeholder {
    color: #aaaaaa;
    text-align: left;
}

.faq-page .search-box input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), inset 0 0 10px rgba(255, 215, 0, 0.1);
    outline: none;
    transform: scale(1.02);
    background: #222222;
}

/* ============ CATEGORY BUTTONS ============ */
.faq-page .category-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.faq-page .category-btn {
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.08);
    color: var(--primary-white);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.faq-page .category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 215, 0, 0.2);
    transition: left 0.4s ease;
    z-index: -1;
}

.faq-page .category-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.15);
}

.faq-page .category-btn:hover::before {
    left: 100%;
}

.faq-page .category-btn.active {
    background: var(--primary-gold);
    color: var(--primary-black);
    border-color: var(--primary-gold);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    animation: buttonPulse 0.5s ease-out;
}

@keyframes buttonPulse {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ============ FAQ ACCORDION ============ */
.faq-page .faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-page .faq-item {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(212, 0, 0, 0.08) 100%);
    border: 2px solid rgba(255, 215, 0, 0.25);
    border-radius: 0;
    margin-bottom: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.faq-page .faq-item:nth-child(1) { animation-delay: 0.2s; }
.faq-page .faq-item:nth-child(2) { animation-delay: 0.25s; }
.faq-page .faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-page .faq-item:nth-child(4) { animation-delay: 0.35s; }
.faq-page .faq-item:nth-child(5) { animation-delay: 0.4s; }
.faq-page .faq-item:nth-child(6) { animation-delay: 0.45s; }
.faq-page .faq-item:nth-child(7) { animation-delay: 0.5s; }
.faq-page .faq-item:nth-child(8) { animation-delay: 0.55s; }
.faq-page .faq-item:nth-child(n+9) { animation-delay: 0.6s; }

.faq-page .faq-item:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    transform: translateX(5px);
}

.faq-page .faq-item.hidden {
    display: none;
}

.faq-page .faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    user-select: none;
    position: relative;
}

.faq-page .faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-page .faq-question:hover {
    background: rgba(255, 215, 0, 0.08);
    padding-left: 24px;
}

.faq-page .faq-question:hover::before {
    opacity: 1;
}

.faq-page .faq-toggle {
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.faq-page .faq-toggle.open {
    transform: rotate(180deg) scale(1.2);
    color: var(--primary-red);
}

.faq-page .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(0, 0, 0, 0.3);
    padding: 0 20px;
}

.faq-page .faq-answer::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.faq-page .faq-answer.open {
    max-height: 500px;
    padding: 20px;
}

.faq-page .faq-text {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 400;
    animation: fadeIn 0.5s ease-out 0.2s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============ CONTACT SECTION ============ */
.faq-page .contact-section {
    background: rgba(255, 215, 0, 0.08);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 0;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    animation: slideUp 0.8s ease-out 0.4s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-page .contact-section h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-gold);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.faq-page .contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-page .contact-btn {
    padding: 12px 30px;
    background: var(--primary-gold);
    color: var(--primary-black);
    border: none;
    border-radius: 0;
    text-decoration: none;
    cursor: pointer;
    font-weight: 900;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.faq-page .contact-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.faq-page .contact-btn:hover::after {
    width: 300px;
    height: 300px;
}

.faq-page .contact-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
    text-decoration: none;
    color: var(--primary-black);
}

/* ============ SVG ICONS ============ */
.faq-page .svg-icon-small {
    width: 1.4em;
    height: 1.4em;
    vertical-align: text-bottom;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .faq-page .page-title {
        font-size: 2rem;
    }
    
    .faq-page .category-buttons {
        gap: 8px;
    }
    
    .faq-page .category-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .faq-page .faq-question {
        font-size: 0.95rem;
        padding: 15px;
    }
    
    .faq-page .contact-section {
        padding: 30px 20px;
    }
    
    .faq-page .faq-item:hover {
        transform: translateX(3px);
    }
    
    .faq-page .contact-btn:hover {
        transform: translateY(-2px);
    }
}
