* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

/* 允许textarea和输入框选择文本 */
textarea, input {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
    padding-top: 80px;
    padding-bottom: 100px;
}

.navbar {
    background: #2d3748;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #4299e1;
}

.footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 1.5rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.footer a {
    color: #4299e1;
    text-decoration: none;
}

.page-header {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

.content-section {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.about-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #4299e1;
}

.about-text {
    font-size: 1.15rem;
    line-height: 2;
    color: #444;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.contact-section {
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 1rem;
}

.contact-icon {
    font-size: 2rem;
}

.contact-label {
    font-weight: 700;
    color: #4299e1;
    font-size: 1.1rem;
}

.contact-email {
    font-size: 1.15rem;
    color: #333;
    font-family: 'JetBrains Mono', monospace;
}

.privacy-wrapper,
.terms-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.privacy-title,
.terms-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

.privacy-content,
.terms-content {
    line-height: 1.8;
    color: #333;
    font-size: 1.1rem;
}

.privacy-content h2,
.terms-content h2 {
    color: #4299e1;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.75rem;
}

.privacy-content p,
.terms-content p {
    margin-bottom: 1rem;
}

.privacy-content ul,
.terms-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.privacy-content li,
.terms-content li {
    margin-bottom: 0.75rem;
}

/* 弹出框样式 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-header {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 1.5rem 2rem;
    color: white;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: opacity 0.3s;
    line-height: 1;
}

.close-btn:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 2rem;
}

.nav-links a.modal-link {
    cursor: pointer;
}

@media (max-width: 768px) {
    body {
        padding-top: 140px;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .about-card,
    .privacy-wrapper,
    .terms-wrapper {
        padding: 2rem;
    }

    .modal-content {
        margin: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
}
