/* ==================== 基础样式重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: 56px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    padding: 0 15px;
}

/* 占位图片样式 */
.placeholder-img {
    background: linear-gradient(135deg, #e8f4f8 0%, #d1e7dd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14b8a6;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
}

.logo {
    cursor: pointer;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #f5d78e 0%, #c9a227 50%, #f5d78e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.menu-btn {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

.nav-menu.active {
    max-height: 400px;
}

.nav-menu ul {
    padding: 10px 15px 20px;
}

.nav-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.nav-menu a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: #0d9488;
}

/* ==================== 页面头部公共样式 ==================== */
.page-header {
    position: relative;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.page-header .header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.page-header .header-content {
    position: relative;
    z-index: 2;
}

.page-header .header-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 6px;
    opacity: 0.8;
}

.page-header h1 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.page-header p {
    font-size: 13px;
    opacity: 0.9;
}

.page-header .header-line {
    width: 30px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    margin: 10px auto 0;
}

/* ==================== 公共标题样式 ==================== */
.section-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 30px 0 20px;
}

.section-header {
    text-align: center;
    padding: 40px 0 25px;
}

.section-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-header .subtitle {
    font-size: 15px;
    color: #0d9488;
    font-weight: 600;
}

.section-subheader {
    text-align: center;
    margin-bottom: 25px;
}

.section-subheader h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.divider {
    width: 60px;
    height: 4px;
    background: #0d9488;
    border-radius: 2px;
    margin: 0 auto;
}

/* ==================== 按钮样式 ==================== */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #0d9488;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-primary:hover {
    background: #0f766e;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.9);
    color: #0d9488;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-secondary:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* ==================== 页脚 ==================== */
.footer {
    background: #1f2937;
    padding: 20px 0;
}

.footer-simple {
    text-align: center;
}

.copyright {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.icp {
    font-size: 11px;
    color: #6b7280;
}

/* ==================== 响应式优化 ==================== */
@media (max-width: 375px) {
    .hero-title {
        font-size: 24px;
    }

    .stats-grid {
        gap: 10px;
    }

    .stat-num {
        font-size: 20px;
    }

    .links-grid {
        gap: 10px;
    }

    .link-card {
        padding: 15px 10px;
    }
}

@media (min-width: 414px) {
    .hero-title {
        font-size: 30px;
    }

    .layer-img {
        height: 200px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.5s ease forwards;
}
