/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
    animation: gradientBG 15s ease infinite;
    background-size: 400% 400%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

/* 头部样式 */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 2.5rem;
    color: #ff4757;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    font-weight: 700;
}

.hero h2 {
    font-size: 1.8rem;
    color: #2ed573;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-contact {
    text-align: center;
}

.contact-label {
    font-size: 2rem;
    color: #ff4757;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.hero-contact p a {
    color: #ff4757;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 10px 20px;
    border: 2px solid #ff4757;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.25);
    position: relative;
    overflow: hidden;
}

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

.hero-contact p a:hover {
    background: #ff4757;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.hero-contact p a:hover::before {
    left: 100%;
}

/* 特性卡片样式 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 1.1rem;
    color: #555;
    position: relative;
    z-index: 1;
}

/* 联系方式样式 */
.contact {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff4757, #2ed573, #667eea);
}

.contact h2 {
    font-size: 1.8rem;
    color: #ff4757;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact h3 {
    font-size: 1.5rem;
    color: #667eea;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #2f3542;
    font-weight: 500;
}

.contact a {
    color: #ff4757;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 10px 20px;
    border: 2px solid #ff4757;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
    position: relative;
    z-index: 1;
    margin: 5px;
}

.contact a:hover {
    background: #ff4757;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.4);
}

.contact a:active {
    transform: translateY(-1px);
}

/* 并排联系方式样式 */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff4757, #667eea);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-item a {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #ff4757;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-item a:hover {
    color: #667eea;
    text-shadow: 0 0 8px rgba(102, 126, 234, 0.5);
}

.contact-name {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
    background: rgba(102, 126, 234, 0.1);
    padding: 3px 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.contact-item:hover .contact-name {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.contact-name {
    font-size: 0.9rem;
    color: #57606f;
    font-weight: 500;
    text-align: center;
}

/* 响应式联系方式 */
@media (max-width: 768px) {
    .contact h2 {
        font-size: 1.5rem;
    }
    
    .contact h3 {
        font-size: 1.3rem;
    }
    
    .contact p {
        font-size: 1rem;
    }
    
    .contact a {
        font-size: 1rem;
        padding: 8px 16px;
        margin: 3px;
    }
    
    .contact-container {
        gap: 10px;
    }
    
    .contact-item {
        min-width: 120px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 20px 15px;
    }
    
    .contact h2 {
        font-size: 1.3rem;
    }
    
    .contact h3 {
        font-size: 1.1rem;
        margin: 20px 0 10px 0;
    }
    
    .contact p {
        font-size: 0.9rem;
    }
    
    .contact a {
        font-size: 0.9rem;
        padding: 6px 12px;
        margin: 2px;
        border-width: 1px;
    }
    
    .contact-container {
        gap: 8px;
        margin-top: 10px;
    }
    
    .contact-item {
        min-width: 100px;
        padding: 10px;
    }
    
    .contact-name {
        font-size: 0.8rem;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .container {
        padding: 15px;
    }
    
    .hero {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .feature-card {
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .feature-card h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 1rem;
    }
    
    .contact {
        padding: 25px 20px;
    }
    
    .contact p {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .contact a {
        font-size: 1.2rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 10px;
    }
    
    .hero {
        padding: 25px 15px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .features {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .feature-card {
        padding: 20px 15px;
        border-radius: 10px;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    .contact {
        padding: 20px 15px;
    }
    
    .contact p {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .contact a {
        font-size: 1.1rem;
        padding: 6px 12px;
        border-width: 1px;
    }
}

/* 动画关键帧 */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shine {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

/* 合作方式样式 */
.cooperation {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease infinite;
}

.cooperation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: shine 5s infinite;
}

.cooperation h2 {
    text-align: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.cooperation-content {
    position: relative;
    z-index: 1;
}

.cooperation-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cooperation-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.cooperation-item h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.cooperation-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #ff4757, transparent);
}

.cooperation-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.cooperation-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-align: center;
    font-weight: 500;
    animation: pulse 2s infinite;
}

/* 响应式合作方式样式 */
@media (max-width: 768px) {
    .cooperation {
        padding: 25px 20px;
        margin: 25px 0;
        border-radius: 15px;
    }
    
    .cooperation h2 {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }
    
    .cooperation-content p {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .cooperation-content .highlight {
        padding: 12px;
        font-size: 0.95rem;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .cooperation {
        padding: 20px 15px;
        margin: 20px 0;
        border-radius: 12px;
    }
    
    .cooperation h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .cooperation-content p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .cooperation-content .highlight {
        padding: 10px;
        font-size: 0.85rem;
        margin-top: 12px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .hero h2 {
        font-size: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .contact a {
        font-size: 1rem;
    }
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px 10px 0 0;
}

.footer p {
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer:hover {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}