/* 基础设置 - 基于1920px设计，使用rem单位实现等比缩放 */
/* 1920px基准：1rem = 16px */
/* 根字体大小由JavaScript动态计算，实现实时响应式缩放 */

:root {
    font-size: 16px; /* 默认基准字体大小，会被JavaScript动态覆盖 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    min-width: 100%;
}

.container {
    max-width: 120rem; /* 1920px */
    margin: 0 auto;
    padding: 0 4rem; /* 64px */
    width: 100%;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 1000;
    height: 5.25rem; /* 84px */
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 120rem; /* 1920px */
    height: 100%;
    margin: 0 auto;
    padding: 0 4rem; /* 64px */
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo img {
    width: 3.875rem; /* 62px */
    height: 2.9375rem; /* 47px */
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4rem; /* 64px */
    align-items: center;
    height: 70%;
    margin-left: 10rem; /* 160px */
}

.nav-menu li {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333333;
    font-size: 1.3125rem; /* 25.6px */
    font-weight: bold;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 0.5rem; /* 8px */
    display: flex;
    align-items: center;
    height: 100%;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

.nav-menu a:hover {
    color: #438FFF;
    background: transparent;
}

.nav-menu a:active {
    background: transparent;
}

.nav-menu a.active {
    color: #438FFF;
    background: transparent;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.2rem; /* 3.2px */
    background: #438FFF;
    border-radius: 0.1rem; /* 1.6px */
}


/* Hero区域 */
.hero {
    position: relative;
    height: 58.875rem;
    background-image: url('img/room.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5.25rem; /* 84px */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 0 4rem; /* 64px */
}

.hero-title {
    font-size: 4.5rem; /* 96px */
    font-weight: bold;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 4.5rem; /* 48px */
    margin-bottom: 2rem; /* 32px */
    font-weight: bold;
}

.hero-description {
    font-size: 1.75rem; /* 32px */
    max-width: 80rem; /* 1280px */
    margin: 0 auto;
    line-height: 1.8;
}

/* 通用区块标题 */
.section-title {
    font-size: 3.125rem; /* 72px */
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem; /* 32px */
    color: #003366;
}

.section-subtitle {
    font-size: 1.75rem; /* 32px */
    text-align: center;
    color: #666;
    margin-bottom: 6rem; /* 96px */
}

/* 全球网络资源 */
.global-resources {
    padding: 6.75rem 0; /* 160px */
    background: #f5f9ff;
}

.map-card {
    background: #fff;
    border-radius: 2rem; /* 32px */
    padding: 2.625rem; /* 64px */
    margin-bottom: 6rem; /* 96px */
    overflow: hidden;
}

.world-map {
    width: 100%;
    height: auto;
    display: block;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 30rem; /* 128px */
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem; /* 80px */
    font-weight: bold;
    color: #2563EB;
}

.stat-label {
    font-size: 1.5rem; /* 32px */
    color: #666;
}

/* 解决方案 */
.solutions {
    padding: 6.75rem 0; /* 160px */
    background: white;
}

.solution-carousel {
    position: relative;
}

.solution-card {
    display: flex;
    background: white;
    border-radius: 2rem; /* 32px */
    overflow: hidden;
    box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.1);
    gap: 4rem; /* 64px */
    height: 42.375rem; /* 678px */
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
}

.solution-image {
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.solution-content {
    flex: 1;
    padding: 4rem; /* 64px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.solution-indicator {
    font-size: 1.25rem; /* 22.4px */
    color: #999;
    margin-bottom: 2rem; /* 32px */
    width: 11.375rem;
    height: 3.0625rem;
    font-weight: bold;
    border-radius: 25px;
    text-align: center;
    color: #1D4ED8;
    line-height: 3.0625rem;
    background: #DBEAFE;
}

.solution-title {
    font-size: 2.625rem; /* 56px */
    font-weight: bold;
    color: #003366;
    margin-bottom: 2rem; /* 32px */
}

.solution-description {
    font-size: 1.5rem; /* 28.8px */
    color: #666;
    line-height: 1.8;
    margin-bottom: 3rem; /* 48px */
}

.solution-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem; /* 24px 32px */
}

.solution-features li {
    font-size: 1.5rem; /* 24px */
    color: #666E7A;
    display: flex;
    align-items: center;
    gap: 1rem; /* 16px */
}

.checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem; /* 24px */
    height: 1.5rem; /* 24px */
    background-color: #22C55E;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 1rem; /* 16px */
    flex-shrink: 0;
    line-height: 1;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem; /* 16px */
    margin-top: 3rem; /* 48px */
}

.dot {
    width: 1.2rem; /* 19.2px */
    height: 1.2rem; /* 19.2px */
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #438FFF;
}

/* 客户成功案例 */
.customer-cases {
    padding: 6.75rem 0; /* 160px */
    background: #f5f9ff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem; /* 64px */
}

.case-card {
    background: white;
    border-radius: 2rem; /* 32px */
    padding: 4rem; /* 64px */
    text-align: center;
    box-shadow: 0 0.3125rem 1.25rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
    transform: translateY(-1rem); /* -16px */
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.15);
}

.case-icon {
    width: 8rem; /* 128px */
    height: 8rem; /* 128px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.case-title {
    font-size: 2rem; /* 40px */
    font-weight: bold;
    color: #003366;
    text-align: left;
    margin-bottom: 1rem; /* 16px */
}

.case-industry {
    font-size: 1.3125rem; /* 25.6px */
    color: #2763EB;
    text-align: left;
    margin-bottom: 1rem; /* 32px */
    font-weight: bold;
}

.case-description {
    font-size: 1.5rem; /* 25.6px */
    color: #666E7A;
    text-align: left;
    line-height: 1.8;
}

/* 联系我们 */
.contact {
    color: white;
    position: relative;
    width: 100%;
}

.contact img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    display: flex;
    gap: 6rem; /* 96px */
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
    text-align: left;
}

.contact-details {
    margin-top: 4rem; /* 64px */
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem; /* 32px */
    margin-bottom: 3rem; /* 48px */
}

.contact-icon {
    font-size: 3rem; /* 48px */
    flex-shrink: 0;
}

.contact-label {
    font-size: 1.6rem; /* 25.6px */
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem; /* 8px */
}

.contact-value {
    font-size: 2.2rem; /* 35.2px */
    font-weight: 500;
}

.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem; /* 16px */
}

/* 页脚 */
.footer {
    background: #001a33;
    color: white;
    padding: 6rem 0 3rem; /* 96px 0 48px */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem; /* 64px */
}

.footer-column h4 {
    font-size: 2rem; /* 32px */
    margin-bottom: 2rem; /* 32px */
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 1rem; /* 16px */
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1.4rem; /* 22.4px */
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1.5rem; /* 24px */
}

.social-icon {
    width: 4rem; /* 64px */
    height: 4rem; /* 64px */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem; /* 25.6px */
    transition: background 0.3s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}
