:root {
    --primary-color: #0066FF;
    --primary-light: #4D94FF;
    --secondary-color: #1A1A1A;
    --background-color: #FAFAFA;
    --text-color: #333333;
    --section-bg: #FFFFFF;
    --border-radius: 20px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: linear-gradient(135deg, #f6f9fc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

/* 导航栏美化 */
header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 3rem;
    margin: 0;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
    background: transparent;
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 8px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
}

nav a:hover {
    color: white;
}

nav a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* 主要内容区域调整 */
main {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

section {
    margin-bottom: 4rem;
    padding: 3rem;
    background-color: var(--section-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

/* 响应式优化 */
@media (max-width: 768px) {
    /* 导航栏优化 */
    header {
        padding: 0.8rem 0;
        top: 0;
    }
    
    nav {
        padding: 0 1rem;
    }
    
    nav ul {
        gap: 0.8rem;
    }
    
    nav a {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    /* 主要内容区域优化 */
    main {
        padding: 0 1rem;
        margin: 1.5rem auto;
    }
    
    section {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 16px;
    }

    /* 标题优化 */
    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section-desc {
        font-size: 0.95rem;
        margin: -0.8rem 0 1.5rem 0;
    }

    /* 步骤列表优化 */
    #new-user .steps li {
        padding-left: 2.5rem;
        font-size: 0.95rem;
    }

    #new-user .steps li::before {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.8rem;
    }

    /* 已有用户部分优化 */
    .numbered-steps {
        padding: 1.5rem;
    }

    .numbered-steps li {
        padding-left: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .numbered-steps li::before {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.8rem;
    }

    .numbered-steps li p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    /* 图片优化 */
    .guide-image {
        margin: 1rem 0;
    }

    /* 重要提示优化 */
    .important-notes {
        padding: 1.2rem;
        margin-top: 1.5rem;
    }

    .important-notes h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .important-notes li {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    /* 微信群信息优化 */
    .wechat-info {
        padding: 1.5rem;
    }

    .qr-code {
        max-width: 180px;
        margin: 1.5rem auto;
        border-width: 6px;
    }

    .support-info {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .support-info h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .support-info li {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    /* 页脚优化 */
    footer {
        padding: 2rem 0;
        margin-top: 3rem;
    }

    .links {
        gap: 1rem;
        padding: 0 1rem;
    }

    .links a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        width: calc(50% - 1rem);  /* 两列布局 */
        text-align: center;
    }

    [id] {
        scroll-margin-top: 5rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 375px) {
    nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    section {
        padding: 1.2rem;
    }

    .qr-code {
        max-width: 160px;
    }
}

/* 添加一些微妙的动画效果 */
section:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* 修改新用户部分的图片样式 */
#new-user .guide-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

#new-user .guide-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* 统一所有图片的基础样式 */
.guide-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin: 1.5rem 0;
}

.guide-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.8rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

/* 步骤列表美化 */
#new-user .steps ol {
    counter-reset: steps;
    list-style: none;
    padding-left: 0;
}

#new-user .steps li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 1rem;
}

#new-user .steps li::before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    left: 0;
    top: -0.2rem;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* 已有用户部分美化 */
.content .step-item {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.content .step-item:last-child {
    margin-bottom: 0;
}

.step-item p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.05rem;
    color: var(--text-color);
}

/* 重要提示美化 */
.important-notes {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.important-notes h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.important-notes ul {
    list-style-type: none;
    padding-left: 0;
}

.important-notes li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #555;
}

.important-notes li strong {
    color: #000;
}

.important-notes ul ul {
    margin-top: 0.5rem;
    padding-left: 20px;
    list-style-type: disc;
}

/* 微信群信息美化 */
.wechat-info {
    text-align: center;
    padding: 2.5rem;
}

.qr-code {
    max-width: 220px;
    margin: 2rem auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 8px solid white;
    transition: var(--transition);
}

.qr-code:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.support-info {
    margin-top: 3rem;
    text-align: left;
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.support-info h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.support-info ul {
    list-style: none;
    padding-left: 1.8rem;
}

.support-info li {
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.5;
}

.support-info li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1.8rem;
    font-weight: bold;
    font-size: 1.5rem;
}

/* 页脚美化 */
footer {
    background-color: var(--secondary-color);
    padding: 3rem 0;
    margin-top: 5rem;
    background-image: linear-gradient(to bottom, #1e293b, #0f172a);
}

.links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.links a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.05);
}

.links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

[id] {
    scroll-margin-top: 5rem;
}

/* 已有用户部分的数字列表样式 */
.numbered-steps {
    counter-reset: steps;
    list-style: none;
    padding-left: 0;
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.numbered-steps li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.numbered-steps li::before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.numbered-steps li p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.05rem;
    color: var(--text-color);
}

.numbered-steps li:last-child {
    margin-bottom: 0;
}

.numbered-steps .guide-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.numbered-steps .guide-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.section-desc {
    color: #64748b;
    font-size: 1.1rem;
    margin: -1rem 0 2rem 0;
    line-height: 1.5;
    font-weight: 500;
} 