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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
    background: linear-gradient(135deg, #FFF9F0 0%, #FDE8F5 100%);
    color: #1F1A2E;
    overflow-x: hidden;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: #F1E6FA;
}
::-webkit-scrollbar-thumb {
    background: #C084FC;
    border-radius: 20px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(255, 245, 250, 0.85);
    border-bottom: 1px solid rgba(192, 132, 252, 0.2);
    padding: 0.8rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #FF9068, #FD6F96);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 14px -6px rgba(253,111,150,0.4);
}

.nav-logo-icon i {
    font-size: 24px;
    color: white;
}

.nav-brand h2,
.nav-logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(120deg, #2D1B4E, #B83B7C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
}

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

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #4A3459;
    font-size: 0.9rem;
    transition: 0.2s;
}

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

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

/* 页脚栏样式见 site-bottom.css 的 .site-footer-bar */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(105deg, #FF8A66, #FF6382);
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:active {
    transform: scale(0.96);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(192,132,252,0.15);
    border: 1px solid rgba(192,132,252,0.3);
    padding: 10px 20px;
    border-radius: 40px;
    color: #A155B9;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 8px 20px rgba(255, 99, 130, 0.35);
}

.btn-secondary:hover {
    background: rgba(192, 132, 252, 0.22);
    color: #E25E8C;
}

@media (max-width: 640px) {
    .navbar {
        padding: 0.6rem 1rem;
    }
    .nav-brand h2,
    .nav-logo-text {
        font-size: 1.3rem;
    }
    .nav-links {
        gap: 0.8rem;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
}
