body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.main-wrapper {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.slogan {
    text-align: center;
    margin: 0 0 60px 0;
    animation: fadeInUp 0.8s ease-out;
}

.slogan h1 {
    font-size: clamp(28px, 4vw, 42px);
    color: #1a1a1a;
    margin: 0;
    font-weight: 700;
    text-shadow: none;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.templates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.template {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.template:nth-child(2) {
    animation-delay: 0.2s;
}

.template::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.template:hover::before {
    left: 100%;
}

.template:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 5px 20px rgba(0, 0, 0, 0.1);
}

.template-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
}

.template:hover .template-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(33, 150, 243, 0.4);
}

.template h2 {
    color: #1a1a1a;
    margin: 0 0 16px 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.template p {
    color: #666;
    margin: 0 0 30px 0;
    font-size: 16px;
    line-height: 1.6;
}

.template a {
    display: inline-block;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: #fff;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    position: relative;
    overflow: hidden;
}

.template a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.template a:hover::before {
    left: 100%;
}

.template a:hover {
    background: linear-gradient(135deg, #1976D2, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.template a:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .main-wrapper {
        padding: 20px 0;
        min-height: calc(100vh - 100px);
    }
    
    .container {
        width: 95%;
        padding: 0 15px;
    }
    
    .slogan {
        margin-bottom: 40px;
    }
    
    .templates {
        gap: 30px;
        grid-template-columns: 1fr;
    }
    
    .template {
        padding: 30px 20px;
    }
    
    .template-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .template h2 {
        font-size: 22px;
    }
    
    .template a {
        padding: 12px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .template {
        padding: 25px 15px;
    }
    
    .template-icon {
        width: 60px;
        height: 60px;
    }
    
    .template h2 {
        font-size: 20px;
    }
    
    .template p {
        font-size: 15px;
    }
}