@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #C9184B;
    --primary-glow: rgba(201, 24, 75, 0.4);
    --bg-dark: #0a0b10;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-main: #ffffff;
    --text-muted: #8b949e;
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-glow: radial-gradient(circle at 50% 0%, rgba(201, 24, 75, 0.15) 0%, transparent 75%);
}

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

body {
    font-family: 'Noto Sans SC', 'Montserrat', -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-image: var(--accent-glow);
    background-attachment: fixed;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem; /* 增加顶部 padding 以适配 fixed navbar */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.glass-effect {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(10, 11, 16, 0.7);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    height: 26px;
    object-fit: contain;
}

.text-logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color, #F0F0F0);
    letter-spacing: 0.05em;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    margin-bottom: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--secondary-color, #F0F0F0);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Header Section */
header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeUp 1s ease-out;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(201, 24, 75, 0.1);
    border: 1px solid rgba(201, 24, 75, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #8b949e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Category Section */
.category-section {
    margin-bottom: 6rem;
    animation: fadeUp 1s ease-out backwards;
}

.category-header {
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.category-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* FAQ Grid/Items */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 24, 75, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.faq-item:hover::before {
    height: 100%;
}

.faq-item h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.faq-item p.answer {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Decorative Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.orb-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary-color);
}

.orb-2 {
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: #4d79ff;
}

/* Animations */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .container { padding: 3rem 1.5rem; }
    .faq-item { padding: 1.5rem; }
    .category-title { font-size: 1.5rem; }
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.copyright {
    margin-bottom: 0.5rem;
}
