/* 首页特有样式 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(135, 206, 250, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(173, 216, 230, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(176, 224, 230, 0.05) 0%, transparent 50%);
    z-index: -2;
    animation: backgroundShift 25s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 1;
    }
    25% {
        transform: translateX(-15px) translateY(-8px) scale(1.02);
        opacity: 0.8;
    }
    50% {
        transform: translateX(15px) translateY(8px) scale(0.98);
        opacity: 0.9;
    }
    75% {
        transform: translateX(-8px) translateY(15px) scale(1.01);
        opacity: 0.85;
    }
}

/* 主视觉区域 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(135, 206, 250, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(173, 216, 230, 0.1) 0%, transparent 40%);
    z-index: 1;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

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

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease-out, textGlow 3s ease-in-out infinite;
    position: relative;
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6));
    }
}

@keyframes titleBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.typewriter-text {
    position: relative;
    display: inline-block;
}

.typewriter-text.typing::after {
    content: '|';
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero .description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #888;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes textShimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes textPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.9s both;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.btn-secondary:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.5);
}

@keyframes buttonGlow {
    from {
        box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    }
    to {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
    }
}

@keyframes buttonPulse {
    0% {
        transform: translateY(-3px) scale(1.05);
    }
    50% {
        transform: translateY(-5px) scale(1.1);
    }
    100% {
        transform: translateY(-3px) scale(1.05);
    }
}

/* 软件开发专区 */
.software-development {
    padding: 100px 0;
    background: radial-gradient(circle at 40% 30%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 60% 70%, rgba(247, 147, 30, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #e3f2fd 100%);
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.software-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.1);
}

.software-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.software-card:hover::before {
    left: 100%;
}

.software-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #ff6b35;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.software-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.software-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ff6b35;
    position: relative;
}

.software-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.software-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.software-card li {
    color: #666;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

/* 服务展示区域 */
.services {
    padding: 100px 0;
    background: radial-gradient(circle at 30% 70%, rgba(135, 206, 250, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(173, 216, 230, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #e3f2fd 100%);
    position: relative;
}

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

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

@keyframes titleShimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

@keyframes lineGlow {
    from {
        box-shadow: 0 0 5px rgba(255, 107, 53, 0.5);
    }
    to {
        box-shadow: 0 0 15px rgba(255, 107, 53, 0.8);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(135, 206, 250, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(135, 206, 250, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(135, 206, 250, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #ff6b35;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: float 3s ease-in-out infinite, iconPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon::before {
    width: 120px;
    height: 120px;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.3));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.6));
    }
}

.service-card:nth-child(2) .service-icon {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) .service-icon {
    animation-delay: 0.4s;
}

.service-card:nth-child(4) .service-icon {
    animation-delay: 0.6s;
}

.service-card:nth-child(5) .service-icon {
    animation-delay: 0.8s;
}

.service-card:nth-child(6) .service-icon {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    animation: textSlideIn 0.8s ease-out;
    position: relative;
}

.service-card h3::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    transition: height 0.3s ease;
}

.service-card:hover h3::before {
    height: 100%;
}

@keyframes textSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-card p {
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 平台优势区域 */
.platform-advantages {
    padding: 100px 0;
    background: radial-gradient(circle at 60% 40%, rgba(135, 206, 250, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(173, 216, 230, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #e3f2fd 0%, #f8f9fa 50%, #ffffff 100%);
}

.platform-title {
    text-align: center;
    margin-bottom: 2rem;
}

.platform-title h2 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.platform-title .subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
}

.platform-title .english {
    font-size: 1rem;
    color: #999;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(135, 206, 250, 0.2);
    box-shadow: 0 4px 16px rgba(135, 206, 250, 0.1);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.15);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff6b35;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(135, 206, 250, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(135, 206, 250, 0.1);
}

.advantage-item:hover {
    transform: translateY(-5px);
    border-color: #2196f3;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.1);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff6b35;
}

.advantage-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* 合作伙伴区域 */
.partners {
    padding: 80px 0;
    background: radial-gradient(circle at 50% 50%, rgba(135, 206, 250, 0.02) 0%, transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #e3f2fd 100%);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(135, 206, 250, 0.1);
}

.partner-item:hover {
    transform: scale(1.05);
    background: rgba(255, 107, 53, 0.1);
}

.partner-logo {
    font-size: 2rem;
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.partner-name {
    color: #666;
    font-weight: 500;
}

/* 数字化转型区域 */
.digital-transformation {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(135, 206, 250, 0.05) 0%, transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #e3f2fd 100%);
}

.transformation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.transformation-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.transformation-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.transformation-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    color: #ff6b35;
}

.feature-text {
    color: #666;
    font-size: 0.95rem;
}

.transformation-visual {
    text-align: center;
}

.transformation-visual .icon {
    font-size: 8rem;
    color: #ff6b35;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* 动画效果 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 确保所有fade-in元素可见 */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .transformation-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .transformation-features {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .platform-title h2 {
        font-size: 2rem;
    }

    .transformation-text h2 {
        font-size: 2rem;
    }
}
