body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    color: #111827;
    line-height: 1.5;
}

/* 移动端优化 */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .text-xl {
        font-size: 1rem !important;
    }

    .text-5xl {
        font-size: 2rem !important;
    }

    .text-3xl {
        font-size: 1.5rem !important;
    }

    /* 移动端按钮 */
    .flex.gap-4 {
        flex-direction: column;
        gap: 0.75rem;
    }

    .flex.gap-4 a {
        width: 100%;
        text-align: center;
    }

    /* 移动端间距调整 */
    section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .px-6 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .gap-16 {
        gap: 2rem !important;
    }

    .p-8 {
        padding: 1.5rem !important;
    }
}

section {
    padding: 5rem 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: #111827;
}

p {
    color: #4b5563;
}

a {
    transition: all 0.2s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

footer {
    border-top: 1px solid #e5e7eb;
}

.public-security-record {
    margin-top: 0.5rem;
}

.public-security-record a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
}

.public-security-record a:hover {
    color: #374151;
}

.public-security-record img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Animation for message loading */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}