@font-face {
    font-family: AlibabaPuHui;
    src: url('/static/font/AlibabaPuHuiTi-3-55-Regular.ttf')
}

@font-face {
    font-family: HarmonyOSSansSCBold;
    src: url('/static/font/HarmonyOS_Sans_SC_Bold.ttf')
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: AlibabaPuHui;
}

:root {
    --primary: rgb(254, 197, 1);
    --secondary: #7ECEFD;
    --accent: #FFC36B;
    --dark: rgba(28, 28, 28, 0.95);
    --light: #FFFFFF;
    --gray: #F5F5F5;
    --background-color: rgba(28, 28, 28, 0.7);
}

body {
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 导航栏样式 */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1.2rem 5%;
    /*background-color: var(--background-color);*/
    z-index: 1000;
    transition: all 0.3s ease;
    height: 6rem;

}

nav:hover {
    background-color: var(--background-color);
}

.nav-scrolled {
    padding: 0.8rem 5%;
    background-color: var(--background-color);

}

.logo {
    width: 7.344vw;
    height: 3.292vw;
    display: block;
    background: url(/static/image/logo.png) center;
    background-size: 100%;
    /*margin-left: -15.312vw;*/
    object-fit: cover;
    /*transition: transform 0.3s ease;*/
}


.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 1.2rem;
}

.nav-links a {
    text-decoration: none;
    color: #feedef;
    font-size: 18px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
    letter-spacing: -1px;
    line-height: 17px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    /*background-color: var(--primary);*/
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-actions i {
    font-size: 1.4rem;
    margin-left: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    transition: all 0.3s;
}

.nav-actions i:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
}

/* 页面标题 */
.page-header {
    /*margin: 80px auto;*/
    text-align: center;
    background: url('/static/image/cooperation/1-1.png') center/cover no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
    opacity: 1;
    height: 38rem;
}


.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    opacity: 1;
}

.page-header p {
    font-size: 1.3rem;
    max-width: 1500px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    opacity: 1;
    margin-bottom: 1.5rem;
}

/* 主视觉图片 */
.main-visual {
    padding: 6rem 5%;
    text-align: center;
}

.main-image {
    max-width: 1500px;
    margin: 0 auto 4rem;
    /*border-radius: 20px;*/
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.main-image.animate {
    opacity: 1;
    transform: translateY(0);
}

.main-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.main-image:hover img {
    transform: scale(1.05);
}

/* 期待文字 */
.coming-soon {
    text-align: center;
    padding: 3rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /*border-radius: 20px;*/
    max-width: 1500px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.coming-soon.animate {
    opacity: 1;
    transform: translateY(0);
}

.coming-soon-content {
    position: relative;
}

.coming-soon-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    font-family: HarmonyOSSansSCBold;
}

.coming-soon-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--dark), transparent);
    animation: underlineFlow 2s ease-in-out infinite;
}

.coming-soon-desc {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* 联系信息 */
.contact-info {
    padding: 4rem 5%;
    text-align: center;
    background-color: var(--gray);
    /*border-radius: 20px;*/
    max-width: 1500px;
    margin: 4rem auto 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-info.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.contact-item {
    background: white;
    padding: 1.5rem;
    /*border-radius: 12px;*/
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    text-decoration: none;
}

.contact-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.contact-item h4 {
    color: var(--dark);
    /*margin-bottom: 1rem;*/
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

/* 页脚 */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 5% 2rem;
    opacity: 1;
}


.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-column {
    padding: 0 2rem 0 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    padding-top: 4rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 0.8rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-5px) scale(1.1);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
    text-align: center;
    color: #999;
}

.footer-column a {
    text-decoration: none;
    outline: none;
    color: var(--light)
}

/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineFlow {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.coming-soon-text {
    animation: pulse 2s ease-in-out infinite;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .coming-soon-text {
        font-size: 2rem;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .coming-soon-text {
        font-size: 1.8rem;
    }

    .coming-soon-desc {
        font-size: 1.1rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }
}