* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: clamp(12px, 1.2vw, 16px);
}

body {
    font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 16px;
    height: 16px;
    background: #e6ff06;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.featured-works .custom-cursor {
    background: #000;
    mix-blend-mode: normal;
}

.custom-cursor.hover {
    transform: scale(2);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease-out 4s forwards;
}

.loading-circle {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-green {
    background: #e6ff06;
    width: 20px;
    height: 20px;
    animation: expandGreen 1.5s ease-out forwards;
}

.loading-black {
    background: #000;
    width: 20px;
    height: 20px;
    animation: expandBlack 1.5s ease-out 1.5s forwards;
    opacity: 0;
}

.loading-logo {
    position: absolute;
    width: 300px;
    height: auto;
    opacity: 0;
    animation: showLogo 0.8s ease-out 3s forwards;
    z-index: 10001;
}

@keyframes expandGreen {
    0% {
        width: 20px;
        height: 20px;
    }
    100% {
        width: 200vmax;
        height: 200vmax;
    }
}

@keyframes expandBlack {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 200vmax;
        height: 200vmax;
        opacity: 1;
    }
}

@keyframes showLogo {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(80px, 8vw, 100px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(2rem, 8vw, 7.5rem);
    background-color: #000;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.logo a {
    display: block;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo img {
    height: clamp(40px, 6vw, 60px);
    width: auto;
    max-width: clamp(200px, 25vw, 300px);
    object-fit: contain;
}

.nav {
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: bold;
    transition: color 0.3s;
    animation: slideDown 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(-20px);
}

.nav a:nth-child(1) { animation-delay: 0.1s; }
.nav a:nth-child(2) { animation-delay: 0.2s; }
.nav a:nth-child(3) { animation-delay: 0.3s; }
.nav a:nth-child(4) { animation-delay: 0.4s; }
.nav a:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav a:hover {
    color: #e6ff06;
}

/* 主要内容 */
.main {
    margin-top: clamp(80px, 8vw, 100px);
}

/* 英雄区域 */
.hero {
    position: relative;
    padding: clamp(2rem, 6vw, 4rem) clamp(2rem, 8vw, 10rem) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 55%;
    z-index: 2;
}

.hero-text {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.5;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    color: #fff;
    animation: slideUp 1s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-services {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    line-height: 1.4;
    color: #e6ff06;
    white-space: nowrap;
    overflow: hidden;
    animation: typewriter 3s steps(80) 1.5s forwards, slideUp 1s ease-out 1.5s forwards;
    opacity: 0;
    transform: translateY(20px);
    width: 0;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typewriter {
    to {
        width: 100%;
    }
}

.hero-graphics {
    flex: 0 0 auto;
    width: clamp(250px, 30vw, 375px);
    height: clamp(200px, 25vw, 363px);
    position: relative;
    margin-left: clamp(2rem, 5vw, 4rem);
}

.circle-blue {
    position: absolute;
    width: 85%;
    height: 85%;
    background: linear-gradient(45deg, #0113fd, #4169e1, #0113fd);
    border-radius: 50%;
    top: 20%;
    left: 0;
    animation: morphBlue 6s ease-in-out infinite, glowBlue 3s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(1, 19, 253, 0.6), inset 0 0 30px rgba(255, 255, 255, 0.1);
    filter: blur(0px);
}

.circle-yellow {
    position: absolute;
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, #e6ff06, #ffff4d, #e6ff06);
    border-radius: 50%;
    top: 0;
    right: 0;
    animation: morphYellow 8s ease-in-out infinite, bounceFloat 4s ease-in-out infinite 1s;
    box-shadow: 0 0 50px rgba(230, 255, 6, 0.7), inset 0 0 20px rgba(0, 0, 0, 0.1);
    filter: blur(0px);
}

.circle-blue::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: shimmer 4s ease-in-out infinite;
}

.circle-yellow::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 15%;
    width: 25%;
    height: 25%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    animation: shadowMove 5s ease-in-out infinite;
}

@keyframes morphBlue {
    0%, 100% { 
        transform: translateX(0px) translateY(0px) scale(1) rotate(0deg);
        border-radius: 50%;
        filter: blur(0px);
    }
    25% { 
        transform: translateX(-20px) translateY(-30px) scale(1.15) rotate(90deg);
        border-radius: 60% 40% 60% 40%;
        filter: blur(1px);
    }
    50% { 
        transform: translateX(10px) translateY(-50px) scale(0.9) rotate(180deg);
        border-radius: 40% 60% 40% 60%;
        filter: blur(0px);
    }
    75% { 
        transform: translateX(25px) translateY(-25px) scale(1.1) rotate(270deg);
        border-radius: 55% 45% 55% 45%;
        filter: blur(2px);
    }
}

@keyframes morphYellow {
    0%, 100% { 
        transform: translateX(0px) translateY(0px) scale(1) rotate(0deg);
        border-radius: 50%;
    }
    20% { 
        transform: translateX(15px) translateY(20px) scale(1.2) rotate(72deg);
        border-radius: 30% 70% 30% 70%;
    }
    40% { 
        transform: translateX(-10px) translateY(35px) scale(0.85) rotate(144deg);
        border-radius: 70% 30% 70% 30%;
    }
    60% { 
        transform: translateX(20px) translateY(15px) scale(1.1) rotate(216deg);
        border-radius: 45% 55% 45% 55%;
    }
    80% { 
        transform: translateX(-5px) translateY(25px) scale(0.95) rotate(288deg);
        border-radius: 65% 35% 65% 35%;
    }
}

@keyframes glowBlue {
    0%, 100% { 
        box-shadow: 0 0 60px rgba(1, 19, 253, 0.6), inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 0 0 100px rgba(1, 19, 253, 0.9), inset 0 0 50px rgba(255, 255, 255, 0.2);
    }
}

@keyframes bounceFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
    }
    25% { 
        transform: translateY(-40px) scale(1.05);
    }
    50% { 
        transform: translateY(-20px) scale(0.95);
    }
    75% { 
        transform: translateY(-35px) scale(1.02);
    }
}

@keyframes shimmer {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.5) rotate(180deg);
    }
}

@keyframes shadowMove {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1);
        opacity: 0.2;
    }
    50% { 
        transform: translate(-10px, -10px) scale(1.3);
        opacity: 0.4;
    }
}

/* 轮播图区域 */
.carousel {
    margin: clamp(4rem, 8vw, 6rem) 0;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    animation: slide 40s infinite linear;
}

.carousel-item {
    width: clamp(300px, 40vw, 610px);
    height: clamp(200px, 25vw, 392px);
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-66.67% - 2rem)); }
}

/* 精选作品 */
.featured-works {
    background-color: #fff;
    color: #000;
    padding: clamp(4rem, 10vw, 8rem) clamp(2rem, 8vw, 10rem) clamp(6rem, 12vw, 12rem);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(4rem, 10vw, 8rem);
}

.featured-works h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.view-more-btn {
    display: inline-block;
    background-color: #e6ff06;
    color: #000;
    padding: clamp(0.8rem, 1.5vw, 1.2rem) clamp(1.5rem, 2.5vw, 2rem);
    border-radius: 8px;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.view-more-btn:hover {
    background-color: #000;
    color: #e6ff06;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-grid {
    display: flex;
    gap: clamp(2rem, 4vw, 3rem);
    max-width: 100%;
}

.portfolio-left,
.portfolio-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.portfolio-item {
    width: 100%;
    height: auto;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.portfolio-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.portfolio-left .portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-left .portfolio-item:nth-child(2) { animation-delay: 0.3s; }
.portfolio-left .portfolio-item:nth-child(3) { animation-delay: 0.5s; }
.portfolio-left .portfolio-item:nth-child(4) { animation-delay: 0.7s; }

.portfolio-right .portfolio-item:nth-child(1) { animation-delay: 0.2s; }
.portfolio-right .portfolio-item:nth-child(2) { animation-delay: 0.4s; }
.portfolio-right .portfolio-item:nth-child(3) { animation-delay: 0.6s; }
.portfolio-right .portfolio-item:nth-child(4) { animation-delay: 0.8s; }

/* 服务介绍 */
.services {
    padding: clamp(6rem, 15vw, 14rem) clamp(2rem, 8vw, 10rem);
    text-align: center;
}

.services h2 {
    font-size: clamp(2rem, 5vw, 3.125rem);
    line-height: 1.2;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.services-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.2;
    margin-bottom: clamp(5rem, 12vw, 10rem);
    max-width: 782px;
    margin-left: auto;
    margin-right: auto;
}

.services-circles {
    display: flex;
    justify-content: center;
    gap: clamp(3rem, 8vw, 6rem);
    max-width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.service-circle {
    width: clamp(250px, 35vw, 484px);
    height: clamp(250px, 35vw, 484px);
    border: 4px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.service-circle.animated {
    opacity: 1;
    transform: scale(1);
}

.service-circle:nth-child(2) { animation-delay: 0.2s; }
.service-circle:nth-child(3) { animation-delay: 0.4s; }

.service-content h3 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1;
    color: #e6ff06;
    margin-bottom: 0.5rem;
}

.service-content p {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1;
    color: #e6ff06;
}

/* 合作伙伴 */
.partners {
    padding: clamp(4rem, 8vw, 6rem) 0;
    overflow: hidden;
}

.partners-scroll {
    margin-bottom: clamp(4rem, 8vw, 6rem);
}

.partner-row {
    display: flex;
    gap: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    white-space: nowrap;
}

.row-1 {
    animation: scrollLeft 30s linear infinite;
}

.row-2 {
    animation: scrollRight 35s linear infinite;
}

.partner-logo {
    width: clamp(180px, 25vw, 280px);
    height: clamp(90px, 12vw, 140px);
    object-fit: contain;
    background-color: #fff;
    border-radius: 12px;
    padding: clamp(10px, 2vw, 20px);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.partners-text {
    text-align: center;
    padding: 0 clamp(2rem, 8vw, 10rem);
}

.partners-text h2 {
    font-size: clamp(2rem, 5vw, 3.125rem);
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.partners-text .highlight {
    color: #e6ff06;
}

.partners-text p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.2;
}

/* 统计数据 */
.stats {
    padding: clamp(4rem, 8vw, 6rem) clamp(2rem, 8vw, 10rem);
    text-align: center;
}

.stats h2 {
    font-size: clamp(2rem, 5vw, 3.125rem);
    line-height: 1.6;
    letter-spacing: 0;
    margin-bottom: clamp(4rem, 10vw, 8rem);
    margin-top: clamp(2rem, 6vw, 4rem);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: clamp(3rem, 8vw, 15rem);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'DIN Condensed', 'Arial Black', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 4.375rem);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-unit {
    font-size: 0.6em;
    vertical-align: top;
}

.stat-label {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1;
}

/* 客户评价 */
.testimonial {
    display: flex;
    align-items: center;
    padding: clamp(4rem, 8vw, 6rem) clamp(2rem, 8vw, 15rem);
    gap: clamp(2rem, 5vw, 4rem);
}

.testimonial-logo {
    width: clamp(150px, 20vw, 260px);
    height: clamp(150px, 20vw, 260px);
    background-color: #e6ff06;
    border-radius: clamp(20px, 3vw, 37px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: clamp(15px, 2vw, 25px);
}

.testimonial-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: clamp(10px, 2vw, 20px);
}

.testimonial-content blockquote {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.testimonial-content .highlight {
    color: #e6ff06;
}

.testimonial-en {
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.2;
}

/* 页脚 */
.footer {
    background-color: #e6ff06;
    color: #000;
    padding: clamp(6rem, 15vw, 15rem) clamp(2rem, 8vw, 15rem) clamp(3rem, 8vw, 6rem);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-text h2 {
    font-size: clamp(2rem, 5vw, 3.125rem);
    line-height: 1.2;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.contact-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: clamp(1rem, 2vw, 1.6rem) clamp(1.5rem, 3vw, 2.5rem);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1;
    cursor: pointer;
    margin-bottom: clamp(3rem, 8vw, 6rem);
    transition: all 0.3s;
    border-radius: 4px;
}

.contact-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 255, 6, 0.3);
}

.copyright {
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.4;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3rem);
}

.footer-nav a {
    color: #000;
    text-decoration: none;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: bold;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #0113fd;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-graphics {
        margin: clamp(2rem, 6vw, 4rem) auto 0;
        transform: scale(clamp(0.6, 1vw, 0.8));
    }
    
    .testimonial {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: clamp(2rem, 5vw, 4rem);
    }
}

@media (max-width: 768px) {
    .hero-services {
        white-space: normal;
        text-align: center;
        animation: slideUp 1s ease-out 1.5s forwards;
        width: auto;
    }
    
    .portfolio-grid {
        flex-direction: column;
        gap: clamp(1rem, 3vw, 2rem);
    }
    
    .portfolio-left,
    .portfolio-right {
        gap: clamp(0.8rem, 2vw, 1.2rem);
    }
    
    .services-circles {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: clamp(1.5rem, 5vw, 3rem);
    }
}

/* 滚动触发动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}