/* faq-style.css - 常见问题页面专用样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sand-white: #F9F7F2;
    --lake-teal: #2A9D8F;
    --sun-amber: #E9C46A;
    --terracotta-red: #E76F51;
    --slate-cyan: #264653;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--sand-white);
    color: var(--slate-cyan);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background-color: var(--sand-white);
    box-shadow: 0 2px 10px rgba(38, 70, 83, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(249, 247, 242, 0.95);
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--slate-cyan);
    text-decoration: none;
}

.logo i {
    color: var(--lake-teal);
    font-size: 32px;
}

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

.nav-links a {
    color: var(--slate-cyan);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--lake-teal);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--lake-teal);
}

.nav-links a.active {
    color: var(--lake-teal);
}

.hero {
    padding: 150px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, var(--sand-white) 0%, #f0ebe3 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--slate-cyan);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 20px;
    color: var(--slate-cyan);
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s both;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--slate-cyan);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: var(--slate-cyan);
    opacity: 0.7;
}

.search-box {
    max-width: 600px;
    margin: 0 auto 60px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 20px 60px 20px 25px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 16px;
    background-color: white;
    color: var(--slate-cyan);
    box-shadow: 0 5px 20px rgba(38, 70, 83, 0.1);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--lake-teal);
    box-shadow: 0 5px 25px rgba(42, 157, 143, 0.2);
}

.search-box button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: none;
    background: linear-gradient(135deg, var(--lake-teal), var(--sun-amber));
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    transform: translateY(-50%) scale(1.1);
}

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

.faq-category {
    padding: 12px 30px;
    background-color: white;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-weight: 500;
    color: var(--slate-cyan);
}

.faq-category:hover,
.faq-category.active {
    background-color: var(--lake-teal);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 157, 143, 0.3);
}

.faq-grid {
    display: grid;
    gap: 20px;
}

.faq-item {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(38, 70, 83, 0.05);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(38, 70, 83, 0.1);
}

.faq-question {
    padding: 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--slate-cyan);
    font-size: 18px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--lake-teal);
}

.faq-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--lake-teal), var(--sun-amber));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 30px;
}

.faq-answer p {
    color: var(--slate-cyan);
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-answer ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.faq-answer li {
    color: var(--slate-cyan);
    opacity: 0.8;
    margin-bottom: 10px;
    line-height: 1.8;
}

.faq-answer strong {
    color: var(--lake-teal);
}

.contact {
    background: linear-gradient(135deg, var(--lake-teal), var(--slate-cyan));
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-btn {
    padding: 15px 40px;
    background-color: white;
    color: var(--lake-teal);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footer {
    background-color: var(--slate-cyan);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--sun-amber);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--sun-amber);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--lake-teal), var(--sun-amber));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .nav-links {
        display: none;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px;
    }
    
    .faq-categories {
        gap: 10px;
    }
    
    .faq-category {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .contact-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}