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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header区域 */
.header {
    padding: 30px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    margin-bottom: 40px;
    color: #1f2937;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 120px;
    max-height: 200px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.logo {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.logo-img {
    max-width: 150px;
    max-height: 120px;
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.logo-img:hover {
    transform: scale(1.05);
}

.header-content {
    flex: 1;
    text-align: left;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #4A90E2, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.25rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
    color: #6b7280;
}

/* 主要内容区域 */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 通用section样式 */
section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #4A90E2;
    margin-bottom: 24px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4A90E2, #4ECDC4);
    border-radius: 2px;
}

/* 介绍内容 */
.intro-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.intro-content strong {
    color: #4A90E2;
    font-weight: 600;
}

/* 服务网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #4ECDC4;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* 参与条件 */
.eligibility-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.eligibility-content li {
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.eligibility-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

.eligibility-content li:last-child {
    border-bottom: none;
}

.note {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    padding: 20px;
    border-radius: 12px;
    font-style: italic;
    color: #00695c;
    border-left: 4px solid #4ECDC4;
}

/* CTA区域 */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #4A90E2 0%, #4ECDC4 100%);
    color: white;
}

.cta-section .section-title {
    color: white;
}

.cta-section .section-title::after {
    background: linear-gradient(90deg, #ffffff, #4ECDC4);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4ECDC4 0%, #4A90E2 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
    margin-bottom: 20px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(78, 205, 196, 0.4);
    background: linear-gradient(135deg, #4A90E2 0%, #3a7bd5 100%);
}

.cta-note {
    opacity: 0.8;
    font-style: italic;
}

/* Footer区域 */
.footer {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    margin-top: 40px;
}

.qr-section h3 {
    font-size: 1.5rem;
    color: #4A90E2;
    margin-bottom: 30px;
    font-weight: 600;
}

.qr-code {
    margin: 30px 0;
}

.qr-img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.qr-img:hover {
    transform: scale(1.05);
}

.qr-note {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.qr-tip {
    color: #6b7280;
    font-style: italic;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        padding: 30px 20px;
        margin-bottom: 30px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .header-content {
        text-align: center;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .qr-img {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 25px 15px;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .logo-img {
        max-width: 100px;
        max-height: 80px;
        width: auto;
        height: auto;
    }
    
    section {
        padding: 25px 15px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .intro-content p,
    .eligibility-content li {
        font-size: 1rem;
    }
    
    .qr-img {
        width: 140px;
        height: 140px;
    }
}

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

section {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动行为 */
html {
    scroll-behavior: smooth;
}