/* 首页特定样式 */

/* Hero 区域 */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    color: var(--primary-color);
    text-align: center;
    padding: 120px 20px;
    margin-bottom: 40px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #1d1d1f 0%, #434344 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.hero p {
    font-size: 21px;
    color: var(--text-color-secondary);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-base);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.primary-btn:hover {
    background-color: var(--primary-color-dark);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-base);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.secondary-btn:hover {
    background-color: rgba(0, 102, 204, 0.1);
}

/* 特点部分样式 */
.features {
    padding: 50px 20px;
    background-color: #f5f5f7;
    margin-top: 30px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 40px;
    text-align: center;
}

.features-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background-color: white;
    border-radius: 12px;
    padding: 30px 20px;
    width: calc(25% - 20px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 16px;
    color: #86868b;
    line-height: 1.5;
}

/* CTA 区域 */
.cta {
    background: linear-gradient(135deg, #0066cc 0%, #0051d5 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-top: 40px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta .primary-btn {
    background-color: white;
    color: var(--primary-color);
}

.cta .primary-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta .secondary-btn {
    border-color: white;
    color: white;
}

.cta .secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 托管部分 */
.hosting-section {
    padding: 60px 0 60px;
    background-color: #f5f7fa;
}

.hosting-section .container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: var(--border-radius-large);
    box-shadow: var(--apple-shadow);
    padding: 30px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .features-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .feature-item {
        width: calc(50% - 20px);
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
    }
    
    .hero h1 {
        font-size: 40px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .features {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .features-container {
        flex-wrap: wrap;
    }
    
    .feature-item {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }
    
    .cta {
        padding: 60px 20px;
    }
    
    .cta h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hosting-section {
        padding: 40px 20px;
    }
    
    .hosting-section .container {
        padding: 20px;
    }
}

/* 标题容器样式 */
.title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.title-container h1 {
    margin: 0;
}

.ios-download-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background-color: #007AFF;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ios-download-link:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.ios-download-link i {
    font-size: 24px;
}

.ios-download-link span {
    letter-spacing: -0.01em;
    font-size: 16px;
} 