/* FAQ Styles */
:root {
    --faq-primary: #00ffff;
    --faq-secondary: #ff6b35;
    --faq-accent: #ffd700;
    --faq-success: #00ff88;
    --faq-warning: #ffb347;
    --faq-danger: #ff4757;
    --faq-dark: #0a0a0a;
    --faq-darker: #050505;
    --faq-card: rgba(255, 255, 255, 0.05);
    --faq-card-hover: rgba(255, 255, 255, 0.1);
    --faq-border: rgba(255, 255, 255, 0.1);
    --faq-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --faq-glow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.faq-main {
    background: var(--faq-darker);
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    overflow-x: hidden;
}

.faq-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.faq-main > * {
    position: relative;
    z-index: 2;
}

/* Header Section */
.faq-header {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 107, 53, 0.1));
    border-bottom: 1px solid var(--faq-border);
    text-align: center;
}

.header-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--faq-primary);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.title-icon {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
    margin-right: 15px;
}

.header-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Search Bar */
.faq-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--faq-border);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.search-input:focus {
    outline: none;
    border-color: var(--faq-primary);
    box-shadow: var(--faq-glow);
    background: rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    padding: 15px 20px;
    background: linear-gradient(45deg, var(--faq-primary), var(--faq-secondary));
    border: none;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--faq-glow);
}

/* Category Tabs */
.faq-categories {
    padding: 40px 0;
    background: var(--faq-dark);
    border-bottom: 1px solid var(--faq-border);
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.tab-btn {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid var(--faq-border);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--faq-primary);
    color: var(--faq-dark);
    border-color: var(--faq-primary);
    box-shadow: var(--faq-glow);
}

/* FAQ Content */
.faq-content {
    padding: 80px 0;
    background: var(--faq-darker);
}

.faq-section {
    margin-bottom: 60px;
    transition: all 0.3s ease;
}

.faq-section.hidden {
    display: none;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--faq-primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title i {
    font-size: 1.5rem;
    color: var(--faq-secondary);
}

/* FAQ Items */
.faq-item {
    background: var(--faq-card);
    border: 1px solid var(--faq-border);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    background: var(--faq-card-hover);
    box-shadow: var(--faq-shadow);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: var(--faq-primary);
    box-shadow: var(--faq-glow);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 255, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--faq-primary);
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
    background: var(--faq-primary);
    color: var(--faq-dark);
}

/* FAQ Answers */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    border-top-color: var(--faq-border);
}

.answer-content {
    padding: 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

.answer-content h4 {
    color: var(--faq-primary);
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.answer-content p {
    margin-bottom: 15px;
}

.answer-content ol,
.answer-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.answer-content li {
    margin-bottom: 8px;
}

.answer-content strong {
    color: var(--faq-primary);
    font-weight: 600;
}

/* Info Boxes */
.tip-box,
.warning-box,
.info-box {
    margin: 20px 0;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.tip-box {
    background: rgba(0, 255, 136, 0.1);
    border-left: 4px solid var(--faq-success);
}

.warning-box {
    background: rgba(255, 71, 87, 0.1);
    border-left: 4px solid var(--faq-danger);
}

.info-box {
    background: rgba(0, 255, 255, 0.1);
    border-left: 4px solid var(--faq-primary);
}

.tip-box i,
.warning-box i,
.info-box i {
    margin-top: 2px;
    font-size: 1.1rem;
}

.tip-box i {
    color: var(--faq-success);
}

.warning-box i {
    color: var(--faq-danger);
}

.info-box i {
    color: var(--faq-primary);
}

/* Quick Contact */
.faq-contact {
    padding: 80px 0;
    background: var(--faq-dark);
    border-top: 1px solid var(--faq-border);
}

.contact-card {
    background: var(--faq-card);
    border: 1px solid var(--faq-border);
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.contact-card h2 {
    font-size: 2rem;
    color: var(--faq-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--faq-primary), var(--faq-secondary));
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--faq-primary);
    border: 2px solid var(--faq-primary);
}

.btn-outline {
    background: transparent;
    color: var(--faq-secondary);
    border: 2px solid var(--faq-secondary);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--faq-primary);
    color: var(--faq-dark);
}

.btn-outline:hover {
    background: var(--faq-secondary);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

/* Search Highlighting */
.highlight {
    background: rgba(255, 215, 0, 0.3);
    color: var(--faq-accent);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Animations */
@keyframes titleGlow {
    0% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.5); }
    100% { text-shadow: 0 0 30px rgba(0, 255, 255, 0.8); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

.faq-item:nth-child(even) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(odd) {
    animation-delay: 0.2s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-header {
        padding: 40px 0;
    }
    
    .header-title {
        font-size: 2rem;
    }
    
    .faq-search {
        flex-direction: column;
        gap: 15px;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .tab-btn {
        white-space: nowrap;
        min-width: -webkit-fill-available;
        min-width: fit-content;
    }
    
    .faq-question {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .toggle-icon {
        align-self: flex-end;
    }
    
    .answer-content {
        padding: 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-content {
        padding: 60px 0;
    }
    
    .faq-contact {
        padding: 60px 0;
    }
}
