/* FAQ Page Specific Styles */

.faq-header {
    background: var(--darker-bg);
    border-bottom: 1px solid var(--card-border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(5, 5, 7, 0.9);
}

.faq-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* FAQ Main */
.faq-main {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

/* FAQ Hero */
.faq-hero {
    text-align: center;
    margin-bottom: 50px;
}

.faq-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 30px;
}

/* Search Box */
.faq-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-input {
    width: 100%;
    padding: 20px 50px 20px 20px;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 50px;
    color: var(--light-text);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(58, 134, 255, 0.2);
}

.faq-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: var(--gray-text);
}

[dir="ltr"] .faq-search-icon {
    left: auto;
    right: 20px;
}

/* Category Tabs */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    color: var(--gray-text);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-tab.active {
    background: var(--gradient-1);
    color: white;
    border: none;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Cards */
.faq-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.faq-card-header {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: background 0.3s ease;
}

.faq-card-header:hover {
    background: rgba(58, 134, 255, 0.05);
}

.faq-card-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0;
    line-height: 1.5;
}

.faq-card-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    min-width: 24px;
    text-align: center;
}

.faq-card.active .faq-card-icon {
    transform: rotate(180deg);
}

.faq-card-answer {
    max-height: 0;
    padding: 0 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--gray-text);
    line-height: 1.8;
}

.faq-card.active .faq-card-answer {
    max-height: 1000px;
    padding: 0 25px 25px 25px;
}

.faq-card-answer p {
    margin-bottom: 20px;
}

/* FAQ Badges */
.faq-badges {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge.usdt {
    background: rgba(38, 161, 123, 0.2);
    color: #26a17b;
    border: 1px solid #26a17b;
}

.badge.bank {
    background: rgba(58, 134, 255, 0.2);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.badge.instant {
    background: rgba(255, 190, 11, 0.2);
    color: #ffbe0b;
    border: 1px solid #ffbe0b;
}

/* Mini Stats */
.faq-stats-mini {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.stat-mini-item {
    text-align: center;
    min-width: 80px;
}

.stat-mini-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-mini-label {
    font-size: 0.8rem;
    color: var(--gray-text);
}

/* Staking Levels */
.staking-levels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.level-item {
    background: rgba(58, 134, 255, 0.1);
    padding: 10px;
    border-radius: 12px;
    text-align: center;
}

.level-name {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 5px;
}

.level-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Info Box */
.info-box {
    background: rgba(255, 190, 11, 0.1);
    border: 1px solid rgba(255, 190, 11, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    font-size: 1.5rem;
}

/* Specs List */
.specs-list {
    list-style: none;
    margin: 20px 0;
}

.specs-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--card-border);
    color: var(--gray-text);
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list strong {
    color: var(--primary-color);
}

/* Security Features */
.security-features {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.security-feature {
    background: rgba(58, 134, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* FAQ Card Meta */
.faq-card-meta {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
    font-size: 0.85rem;
    color: var(--gray-text);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* More Questions Section */
.more-questions {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.1) 0%, rgba(131, 56, 236, 0.1) 100%);
    border-radius: 30px;
    margin: 60px 0;
}

.more-questions-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.more-questions-text {
    color: var(--gray-text);
    margin-bottom: 30px;
}

.more-questions-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* FAQ Page Footer */
.faq-page-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
}

.footer-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-stat {
    text-align: center;
}

.footer-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.footer-stat-label {
    font-size: 0.9rem;
    color: var(--gray-text);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(58, 134, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(58, 134, 255, 0.5);
}

[dir="ltr"] .back-to-top {
    right: auto;
    left: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-hero-title {
        font-size: 2rem;
    }
    
    .faq-hero-subtitle {
        font-size: 1rem;
    }
    
    .faq-search-input {
        padding: 15px 40px 15px 15px;
        font-size: 1rem;
    }
    
    .category-tab {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .faq-card-header {
        padding: 20px;
    }
    
    .faq-card-question {
        font-size: 1rem;
    }
    
    .more-questions {
        padding: 40px 20px;
    }
    
    .more-questions-title {
        font-size: 1.5rem;
    }
    
    .footer-stats {
        gap: 30px;
    }
    
    .footer-stat-value {
        font-size: 1.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    [dir="ltr"] .back-to-top {
        left: 20px;
    }
}

@media (max-width: 480px) {
    .faq-nav {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .staking-levels {
        grid-template-columns: 1fr;
    }
    
    .security-features {
        flex-direction: column;
    }
    
    .security-feature {
        text-align: center;
    }
    
    .faq-card-meta {
        flex-direction: column;
        gap: 10px;
    }
}