/* Hero Section Styles */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #f8f9fa;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #333;
    letter-spacing: -0.02em;
    text-align: center;
    width: 100%;
}

/* Ensure line breaks are centered */
.main-title br {
    display: block;
    content: "";
    margin: 0;
}

/* Changing Text Styles */
.hero-section .changing-text {
    margin-top: 2rem;
    height: 2.5rem;
    overflow: hidden;
    position: relative;
    width: 100%;
    min-width: 200px;
    margin-bottom: 3rem;
}

.hero-section .changing-text .text-item {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ff69b4;
    text-align: center;
    line-height: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.hero-section .changing-text .text-item:nth-child(1) {
    animation: fadeInOut 9s infinite;
}

.hero-section .changing-text .text-item:nth-child(2) {
    animation: fadeInOut 9s infinite;
    animation-delay: 3s;
}

.hero-section .changing-text .text-item:nth-child(3) {
    animation: fadeInOut 9s infinite;
    animation-delay: 6s;
}

@keyframes fadeInOut {
    0%, 5% {
        opacity: 0;
        transform: translateY(20px);
    }
    10%, 30% {
        opacity: 1;
        transform: translateY(0);
    }
    35%, 100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.hero-section .fancy-button {
    display: block;
    margin: 0 auto;
    transition: all 0.5s ease;
    text-decoration: underline;
    text-underline-offset: 2px;
    position: relative;
    background-color: #e5e5e5;  /* 浅灰色背景 */
    height: 4rem;
    width: 16rem;
    border: 1px solid #d1d1d1;  /* 更浅的灰色边框 */
    text-align: left;
    padding: 0.75rem;
    color: #000000;  /* 黑色文字 */
    font-size: 1rem;
    font-weight: bold;
    border-radius: 0.5rem;
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.hero-section .fancy-button:hover {
    border-color: #a8a8a8;  /* 悬停时的边框颜色也调整为中等灰色 */
    text-underline-offset: 4px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #000000;  /* 黑色下划线 */
    color: #000000;  /* 保持黑色文字 */
    transform: scale(1.05);
}

.hero-section .fancy-button::before {
    content: '';
    position: absolute;
    width: 3rem;
    height: 3rem;
    right: 0.25rem;
    top: 0.25rem;
    z-index: 10;
    background-color: #a21caf;
    border-radius: 9999px;
    filter: blur(8px);
    transition: all 0.5s ease;
}

.hero-section .fancy-button::after {
    content: '';
    position: absolute;
    z-index: 10;
    width: 5rem;
    height: 5rem;
    background-color: #fda4af;
    right: 2rem;
    top: 0.75rem;
    border-radius: 9999px;
    filter: blur(8px);
    transition: all 0.5s ease;
}

.hero-section .fancy-button:hover::before {
    right: 3rem;
    bottom: -2rem;
    filter: blur(12px);
    box-shadow: 20px 20px 20px 30px #a21caf;
}

.hero-section .fancy-button:hover::after {
    right: -2rem;
}

.services-description {
    margin-top: 2rem;
    text-align: center;
    color: #333;
}

.services-description p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.cooperation-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.coop-link {
    color: #007AFF;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.coop-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.divider {
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    
    .changing-text {
        margin-top: 1.5rem;
        height: 2rem;
    }
    
    .text-item {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .changing-text {
        margin-top: 1rem;
        height: 1.8rem;
    }
    
    .text-item {
        font-size: 1.1rem;
    }
} 

/* 移动端适配 */
@media (max-width: 768px) {
    .services-description {
        margin-top: 1.5rem;
    }
    
    .services-description p {
        font-size: 1rem;
    }
    
    .cooperation-options {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .divider {
        display: none;
    }
} 