/* FAQ Page Styles - 精美简洁风格 */

/* 与主页一致的深色主题 */
html.faq-page,
body.faq-page {
    background-color: var(--dark-bg) !important;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(76, 217, 100, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 50%, rgba(76, 217, 100, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 40% 80%, rgba(76, 217, 100, 0.05) 0%, transparent 20%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234cd964' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
    color: #ffffff;
    min-height: 100vh;
}

/* 头部样式 */
.faq-header {
    padding: 20px 5%;
    background-color: var(--card-bg);
    border-bottom: 1px solid rgba(76, 217, 100, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.faq-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-brand:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
}

.faq-logo-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px rgba(76, 217, 100, 0.5));
    transition: all 0.3s ease;
}

.faq-brand:hover .faq-logo-icon {
    filter: drop-shadow(0 0 12px rgba(76, 217, 100, 0.8));
    transform: scale(1.05);
}

.faq-language-switcher {
    display: flex;
    gap: 8px;
    background-color: rgba(76, 217, 100, 0.1);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(76, 217, 100, 0.2);
}

.faq-language-switcher button {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-language-switcher button.active {
    background: var(--primary-color);
    color: #1a1a2e;
    box-shadow: 0 2px 8px rgba(76, 217, 100, 0.3);
}

.faq-language-switcher button:hover:not(.active) {
    color: var(--primary-light);
    background: rgba(76, 217, 100, 0.1);
}

/* 主内容区域 */
.faq-main {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-section {
    margin-bottom: 50px;
}

.faq-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    padding-bottom: 15px;
}

.faq-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.faq-section-title::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary-color);
}

/* 联系方式卡片 */
.faq-contacts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.faq-contact-item {
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid rgba(76, 217, 100, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom right, rgba(76, 217, 100, 0.03) 1px, transparent 1px);
    background-size: 15px 15px;
    z-index: 0;
    image-rendering: pixelated;
}

.faq-contact-item:hover {
    border-color: rgba(76, 217, 100, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(76, 217, 100, 0.2);
}

.faq-contact-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.faq-contact-item div {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.faq-contact-item a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.faq-contact-item a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(76, 217, 100, 0.5);
}

/* CTA 按钮 */
.faq-cta-row {
    margin-top: 30px;
    text-align: center;
}

.faq-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 217, 100, 0.3);
    position: relative;
    overflow: hidden;
}

.faq-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.faq-cta-button:hover::before {
    left: 100%;
}

.faq-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 217, 100, 0.4);
}

/* FAQ 列表 */
.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
}

.faq-item {
    padding: 28px;
    background: var(--card-bg);
    border: 1px solid rgba(76, 217, 100, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom right, rgba(76, 217, 100, 0.03) 1px, transparent 1px);
    background-size: 15px 15px;
    z-index: 0;
    image-rendering: pixelated;
}

.faq-item:hover {
    border-color: rgba(76, 217, 100, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(76, 217, 100, 0.15);
}

.faq-item h3 {
    margin: 0 0 16px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.faq-item p {
    margin: 12px 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.faq-item a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-item a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(76, 217, 100, 0.5);
}

/* 提示框样式 */
.faq-callout {
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    position: relative;
    z-index: 1;
    border-left: 4px solid;
}

.faq-callout-warning {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.faq-callout-success {
    border-left-color: var(--primary-color);
    background: rgba(76, 217, 100, 0.1);
    border: 1px solid rgba(76, 217, 100, 0.3);
}

.faq-callout-title {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 1.1rem;
}

.faq-callout ul {
    margin: 12px 0 0 0;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.faq-callout li {
    margin-bottom: 8px;
}

/* 页脚样式 */
.faq-footer {
    padding: 40px 5%;
    background-color: var(--card-bg);
    border-top: 1px solid rgba(76, 217, 100, 0.2);
    margin-top: 60px;
}

.faq-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.faq-footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.faq-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.faq-footer-links a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(76, 217, 100, 0.2);
    background: rgba(76, 217, 100, 0.05);
}

.faq-footer-links a:hover {
    color: var(--primary-color);
    border-color: rgba(76, 217, 100, 0.5);
    background: rgba(76, 217, 100, 0.1);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .faq-header {
        padding: 15px 4%;
    }

    .faq-main {
        padding: 40px 4%;
    }

    .faq-section-title {
        font-size: 2rem;
    }

    .faq-contacts-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .faq-contact-item,
    .faq-item {
        padding: 20px;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .faq-section-title {
        font-size: 1.75rem;
    }

    .faq-contact-item,
    .faq-item {
        padding: 16px;
    }

    .faq-cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

