/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}
.logo-link {
    text-decoration: none;
    color: inherit;
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #e53e3e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c53030;
}

/* 全局动画增强 */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* 滚动动画基础样式 */
.fade-in,
.slide-in-left,
.slide-in-right,
.slide-in-up,
.scale-in {
    opacity: 0;
    transform: translateZ(0);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 淡入动画 */
.fade-in {
    opacity: 0;
}

.fade-in.animate {
    opacity: 1;
}

/* 从左侧滑入动画 */
.slide-in-left {
    transform: translateX(-50px);
    opacity: 0;
}

.slide-in-left.animate {
    transform: translateX(0);
    opacity: 1;
}

/* 从右侧滑入动画 */
.slide-in-right {
    transform: translateX(50px);
    opacity: 0;
}

.slide-in-right.animate {
    transform: translateX(0);
    opacity: 1;
}

/* 从底部滑入动画 */
.slide-in-up {
    transform: translateY(50px);
    opacity: 0;
}

.slide-in-up.animate {
    transform: translateY(0);
    opacity: 1;
}

/* 缩放进入动画 */
.scale-in {
    transform: scale(0.8);
    opacity: 0;
}

.scale-in.animate {
    transform: scale(1);
    opacity: 1;
}

/* 视差滚动效果 */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
    will-change: transform;
}

/* 增强的平滑滚动相关样式 */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* 为固定导航栏留出空间 */
}

/* 为了更好的性能，使用硬件加速 */
* {
    will-change: auto;
}

/* 元素进入视口时的延迟动画效果 - 用于网格布局 */
.delay-100 {
    transition-delay: 100ms !important;
}

.delay-200 {
    transition-delay: 200ms !important;
}

.delay-300 {
    transition-delay: 300ms !important;
}

.delay-400 {
    transition-delay: 400ms !important;
}

.delay-500 {
    transition-delay: 500ms !important;
}
/* 焦点样式 */
*:focus {
    outline: 2px solid #e53e3e;
    outline-offset: 2px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
}

.nav-logo i {
    margin-right: 10px;
    color: #e53e3e;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #e53e3e;
}

.nav-menu a.active {
    color: #e53e3e;
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e53e3e;
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #4a5568;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主横幅 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Banner 标题大小 */
.hero-content h1 {
    font-size: 2.5rem;
}

/* 轮播文本容器 */
.hero-text-carousel {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 20px 0;
}

.carousel-item.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 10;
}

.carousel-item h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInScale 0.8s ease-out;
}

.carousel-item p {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 30px;
    animation: fadeInScale 0.8s ease-out 0.2s both;
}

/* 动画关键帧 */
@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #e53e3e;
    color: white;
}

.btn-primary:hover {
    background: #c53030;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.btn-outline {
    background: transparent;
    color: #e53e3e;
    border: 2px solid #e53e3e;
}

.btn-outline:hover {
    background: #e53e3e;
    color: white;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-illustration {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #e53e3e, #f56565);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(229, 62, 62, 0.3);
}

.server-illustration i {
    font-size: 80px;
    color: white;
}

/* 特色服务 */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    background: #f7fafc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 48px;
    color: #e53e3e;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.feature-card p {
    color: #718096;
    line-height: 1.6;
}

/* 产品部分 */
.products {
    padding: 80px 0;
    background: #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #718096;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
    border: 2px solid #e53e3e;
    transform: scale(1.02);
    position: relative;
}

.product-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #e53e3e, #f56565);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.1;
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #e53e3e;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-icon {
    margin-bottom: 20px;
}

.product-icon i {
    font-size: 48px;
    color: #e53e3e;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
}

.product-price {
    margin-bottom: 30px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e53e3e;
}

.period {
    font-size: 1rem;
    color: #718096;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.product-features li {
    padding: 8px 0;
    color: #4a5568;
    display: flex;
    align-items: center;
}

.product-features i {
    color: #38a169;
    margin-right: 10px;
    font-size: 14px;
}

/* 新的产品规格样式 */
.product-specs {
    margin-bottom: 25px;
}

.spec-row {
    display: flex;
    margin-bottom: 8px;
}

.spec-row:last-child {
    margin-bottom: 0;
}

.spec-item {
    display: flex;
    width: 50%;
    padding: 6px 0;
}

.spec-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    min-width: 60px;
    margin-right: 10px;
}

.spec-value {
    font-size: 0.9rem;
    color: #2d3748;
    font-weight: 600;
   
}

/* 当只有一个spec-item时的样式 */
.spec-row .spec-item:only-child {
    width: 100%;
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-text p {
    color: #718096;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #e53e3e;
    margin-bottom: 5px;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.datacenter-illustration {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #e53e3e, #f56565);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(229, 62, 62, 0.3);
    position: relative;
    overflow: hidden;
}

.datacenter-illustration::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.datacenter-illustration i {
    font-size: 140px;
    color: white;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.datacenter-illustration:hover i {
    transform: scale(1.1);
}

/* 新闻部分 */
.news {
    padding: 80px 0;
    background: #f7fafc;
}



.news-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-section-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f7fafc;
}

.news-section-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.news-section-header i {
    color: #e53e3e;
    font-size: 1.2rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-item:hover {
    background-color: rgba(229, 62, 62, 0.05);
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 8px;
    margin-left: -15px;
    margin-right: -15px;
}

.news-date {
    color: #718096;
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.news-item h4,
.news-item a {
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
    margin: 0;
    line-height: 1.5;
    cursor: pointer;
    transition: color 0.3s ease;
    display: block;
}

.news-item h4:hover,
.news-item a:hover {
    color: #e53e3e;
}

/* 技术优势 */
.tech-advantages {
    padding: 80px 0;
    background: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.tech-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: #f7fafc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e53e3e, #f56565);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tech-icon i {
    font-size: 32px;
    color: white;
}

.tech-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.tech-item p {
    color: #718096;
    line-height: 1.6;
}

/* 合作伙伴 */
.partners {
    padding: 80px 0;
    background: #f7fafc;
}



.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a5568, #718096);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.partner-logo i {
    font-size: 32px;
    color: white;
}

.partner-item span {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}

/* 页脚 */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

/* 左侧简介部分 - 固定宽度 */
.footer-info {
    width: 250px;
    flex: none;
}

/* 中间地区部分 - 使用flex布局平均分四份 */
.footer-regions {
    display: flex;
    flex: 1;
    margin: 0 50px;
    justify-content: space-between;
}

.region-item {
    /* flex: 1; */
    margin-right: 15px;
}

.region-item:last-child {
    margin-right: 0;
}

/* 右侧关注我们部分 - 固定宽度 */
.footer-social {

    flex: none;

}

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e53e3e;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-content {
        flex-wrap: wrap;
    }

    .footer-info,
    .footer-social {
        width: 100%;
        text-align: left;
        margin-bottom: 20px;
    }

    .footer-regions {
        width: 100%;
        margin: 0 0 20px 0;
        flex-wrap: wrap;
    }

    .region-item {
        min-width: calc(50% - 10px);
        margin-bottom: 20px;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    margin-right: 10px;
    color: #e53e3e;
}

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e53e3e;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.social-row {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #4a5568;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #e53e3e;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    text-align: center;
    color: #a0aec0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image {
        justify-content: center;
        order: -1;
    }
    
    .datacenter-illustration {
        width: 280px;
        height: 280px;
    }
    
    .datacenter-illustration i {
        font-size: 100px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    

    
    .news-sections {
        grid-template-columns: 1fr;
    }
    
    .news-section {
        padding: 25px 20px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    

    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .product-card {
        padding: 30px 20px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .datacenter-illustration {
        width: 250px;
        height: 250px;
    }
    
    .datacenter-illustration i {
        font-size: 80px;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
}