/* 全局样式 */
:root {
    --primary-color: #1890ff; /* 飞致云风格科技蓝 */
    --secondary-color: #f0f2f5; /* 浅灰背景 */
    --text-color: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --header-height: 64px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

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

/* 导航栏 */
header {
    background: linear-gradient(90deg, #17324e 0%, #213f5a 55%, #2a4b66 100%);
    box-shadow: 0 4px 14px rgba(5, 20, 39, 0.16);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

header.scrolled {
    background: linear-gradient(90deg, #1a3754 0%, #23425f 55%, #2d506d 100%);
    box-shadow: 0 6px 16px rgba(5, 20, 39, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.14);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo h1 {
    color: #ffffff; /* 白色 Logo */
    font-size: 26px;
    font-weight: 900; /* 极粗字重 */
    letter-spacing: 3px; /* 宽间距 */
    /* 优先使用系统自带的现代无衬线字体 */
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2); /* 轻微文字阴影 */
}

nav ul {
    display: flex;
    gap: 34px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 10px;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.42);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
    transition: transform 0.28s ease, opacity 0.28s ease;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.85); /* 浅色文字 */
    position: relative;
    padding: 8px 0;
}

nav a:hover, nav a.active {
    color: #ffffff; /* 悬停高亮为纯白 */
    text-shadow: 0 2px 12px rgba(143, 202, 255, 0.35);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background: linear-gradient(90deg, #4db2ff, #7bd8ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

nav a:hover::after,
nav a.active::after {
    transform: scaleX(1);
}

/* Hero 区域 */
.hero {
    /* 模仿图片的浅蓝渐变背景 */
    background: linear-gradient(180deg, #f0f7ff 0%, #e6f4ff 100%);
    color: #333; /* 文字改为深色 */
    text-align: center;
    padding: 120px 0 160px; /* 增加底部留白 */
    position: relative;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* 提升层级，确保在背景纹理之上 */
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2; /* 确保文字在最上层 */
}

.hero-slider {
    position: relative;
    min-height: 360px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(24px) scale(0.99);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.65s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.slider-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 88px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(0, 21, 41, 0.25);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background: #0f5ea8;
}

.slider-progress {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 62px;
    width: min(360px, 64vw);
    height: 3px;
    border-radius: 999px;
    background: rgba(0, 52, 97, 0.2);
    overflow: hidden;
    z-index: 3;
}

.slider-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0f5ea8, #00a0c6);
}

.scroll-cue {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    color: #204d79;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 3;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.scroll-cue span {
    width: 1px;
    height: 26px;
    background: linear-gradient(to bottom, rgba(16, 76, 133, 0.1), rgba(16, 76, 133, 0.9));
    animation: cueMove 1.4s ease-in-out infinite;
}

@keyframes cueMove {
    0% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(0.5); opacity: 0.5; }
}

/* 模拟背景中的柔和曲线/光影 */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle, rgba(24, 144, 255, 0.1) 0%, rgba(255,255,255,0) 60%);
    opacity: 0.8;
    pointer-events: none;
    animation: pulse 8s infinite ease-in-out;
    z-index: 0;
}

/* 添加科技感网格背景 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(24, 144, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 144, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    z-index: 0;
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.6; }
}

.hero h2 {
    font-size: 64px;
    margin-bottom: 30px;
    font-weight: 600;
    color: #001529;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 60px;
    color: #555;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.page-hero {
    padding: clamp(72px, 8vw, 96px) 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f4ff 100%);
}

.page-hero-inner {
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-size: clamp(34px, 5vw, 48px);
    margin-bottom: 18px;
    color: #001529;
    line-height: 1.28;
}

.page-hero-subtitle {
    font-size: clamp(17px, 2.2vw, 20px);
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background: #1890ff; /* 亮蓝色按钮 */
    color: var(--white);
    padding: 16px 48px;
    border-radius: 30px; /* 更圆润的按钮 */
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(24, 144, 255, 0.3); /* 按钮投影 */
}

.btn:hover {
    background: #40a9ff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(24, 144, 255, 0.4);
}

.btn:focus-visible,
.dot:focus-visible,
.scroll-cue:focus-visible {
    outline: 2px solid #0f5ea8;
    outline-offset: 2px;
}

/* 统计数据 Section */
.stats-section {
    background: #fff;
    padding: 60px 0;
    margin-top: -60px; /* 上移重叠 */
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
}

.stat-item h3 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    color: #666;
    font-size: 16px;
}

/* 核心优势/特性 */
.features-section {
    padding: 100px 0;
    background: #f8fbff;
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    transition: all 0.4s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
    background: rgba(24, 144, 255, 0.1);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* 通用 Section */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* 业务预览 */
.services-preview {
    background: var(--secondary-color);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-top-color: var(--primary-color);
}

.card h3 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 22px;
}

.card p {
    color: var(--light-text);
    font-size: 16px;
    line-height: 1.8;
}

/* 关于我们预览 */
.about-preview {
    text-align: center;
    background: var(--white);
}

.about-preview p {
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--light-text);
    font-size: 18px;
    line-height: 1.8;
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 36px;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 页脚 */
footer {
    background: linear-gradient(180deg, #021f39 0%, #00152a 100%);
    color: rgba(255, 255, 255, 0.74);
    padding: 72px 0 26px;
    border-top: 1px solid rgba(167, 211, 255, 0.15);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 46px;
    margin-bottom: 44px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-title {
    font-size: 28px;
}

.footer-summary {
    color: #9fb2c8;
    line-height: 1.8;
    max-width: 340px;
}

.footer-links h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-links ul li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #9fb2c8;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
    color: #d6ecff;
    transform: translateX(3px);
}

.footer-contact h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-contact-list {
    display: grid;
    gap: 14px;
}

.footer-contact-list li {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 10px;
    color: #9fb2c8;
    line-height: 1.7;
}

.footer-contact-list li span:last-child {
    word-break: break-word;
}

.footer-icon {
    color: #7cc3ff;
    margin-top: 3px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #8ea3bc;
}

/* 客户 Logo 悬停效果 */
.client-logo img:hover {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-grid {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h2 {
        font-size: 36px;
    }

    .hero-slider {
        min-height: 420px;
    }

    .slider-dots {
        bottom: 75px;
    }

    .slider-progress {
        bottom: 51px;
    }
}

/* Services Grid Update */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0; /* Override default card padding */
    border-top: none; /* Override default card border */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top: none; /* Override default card hover border */
}

.card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 0 20px 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-pill-title {
    background: #0064b0; /* Darker blue from image */
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 20px;
    display: inline-block;
    margin-top: -20px; /* Pull up to overlap/sit on border */
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 100, 176, 0.3);
}

.card-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
    font-size: 14px;
    color: #555;
}

.card-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.card-list li::before {
    content: '•';
    color: #0064b0;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Modern About Section (Borochi Style) */
.about-preview-modern {
    padding: 80px 0;
    background: #fff;
}

.modern-card {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    min-height: 500px;
}

.modern-text-side {
    flex: 1;
    background: #0064b0; /* Deep Blue */
    padding: 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modern-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.modern-desc {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 50px;
    opacity: 0.9;
}

.modern-desc p {
    margin-bottom: 15px;
}

.modern-stats-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    text-align: center;
}

.m-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m-stat-icon {
    margin-bottom: 10px;
    opacity: 0.9;
    color: #fff;
}

.m-stat-val {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.m-stat-label {
    font-size: 12px;
    opacity: 0.8;
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #0064b0;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    width: fit-content;
    transition: all 0.3s ease;
    text-decoration: none;
}

.modern-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #0064b0;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 12px;
    line-height: 1;
}

.modern-image-side {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.modern-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-card:hover .modern-image-side img {
    transform: scale(1.05);
}

.image-overlay-text {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(255,255,255,0.2);
    letter-spacing: 2px;
    pointer-events: none;
}

@media (max-width: 900px) {
    .modern-card {
        flex-direction: column;
    }
    .modern-image-side {
        height: 300px;
    }
}

/* Client Logo Grid Updates */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}

.client-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 10px;
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* About Page Specific Styles */

/* About Intro */
.about-intro {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px 0;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

.section-title-left {
    text-align: left;
    margin-bottom: 30px;
}

.section-title-left::after {
    margin-left: 0;
    margin-right: 0;
}

.about-cta-wrap {
    margin-top: 30px;
}

.culture-section {
    background-color: #f8fbff;
}

.about-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Culture Cards */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.culture-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: rgba(24, 144, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.culture-card:hover .culture-icon {
    background: var(--primary-color);
    color: #fff;
}

.culture-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.culture-card p {
    color: #666;
    font-size: 15px;
}

/* Timeline */
.timeline-section {
    padding: 80px 0;
    background: #fff;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #f0f2f5;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #fff;
    border: 4px solid var(--primary-color);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
    text-align: left;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #fff;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.timeline-year {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
}

@media screen and (max-width: 768px) {
    .about-intro {
        flex-direction: column;
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
    }

    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .left {
        text-align: left;
    }
}

/* Services Page Specific Styles */

.service-detail-section {
    padding: 80px 0;
    border-bottom: 1px solid #f0f2f5;
}

.service-detail-section:last-child {
    border-bottom: none;
}

.service-detail-section:nth-child(even) {
    background-color: #f8fbff;
}

.service-detail-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service-detail-container.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #001529;
    position: relative;
    padding-bottom: 15px;
}

.service-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.service-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.s-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.s-feature-icon {
    color: var(--primary-color);
    margin-top: 2px;
}

.s-feature-text {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.service-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .service-detail-container,
    .service-detail-container.reverse {
        flex-direction: column;
    }
    
    .service-image {
        width: 100%;
        height: 300px;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: rgba(24, 144, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.contact-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.map-container {
    margin-top: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Home Refresh: AI Delivery Focus */
body {
    font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    background: radial-gradient(circle at 8% -10%, #f2f9ff 0%, #ffffff 38%) no-repeat;
}

html {
    scroll-behavior: smooth;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.logo-mark {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 6px 14px rgba(24, 144, 255, 0.35));
}

.logo-title {
    margin: 0;
    font-size: 24px;
    letter-spacing: 1.2px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 21, 41, 0.15);
    background: rgba(255, 255, 255, 0.6);
    color: #003a70;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.stats-section-home {
    padding-top: 0;
}

.section-intro {
    max-width: 760px;
    margin: -30px auto 44px;
    text-align: center;
    color: #5b6678;
    font-size: 17px;
}

.delivery-section {
    background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.delivery-card {
    background: #ffffff;
    border: 1px solid #e8edf6;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(0, 39, 84, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.delivery-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, #0f5ea8, #10b2cb);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.delivery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 34px rgba(0, 39, 84, 0.14);
}

.delivery-card:hover::after {
    opacity: 1;
}

.delivery-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #0052a8, #00a6c7);
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 95, 170, 0.3);
}

.delivery-icon svg {
    width: 26px;
    height: 26px;
}

.delivery-card h3 {
    font-size: 23px;
    margin-bottom: 12px;
    color: #0f1d32;
}

.delivery-card p {
    color: #5a6577;
    margin-bottom: 14px;
}

.delivery-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.delivery-card li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    color: #2f3e55;
    font-size: 14px;
}

.delivery-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0078d4;
}

.process-section {
    background: #ffffff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-item {
    background: #f7f9fd;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #ebf1f8;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 26px rgba(12, 44, 78, 0.1);
}

.process-item span {
    font-size: 34px;
    font-weight: 800;
    color: #0070cf;
    line-height: 1;
}

.process-item h3 {
    margin: 14px 0 10px;
    font-size: 20px;
    color: #0f1d32;
}

.process-item p {
    color: #59667a;
    font-size: 14px;
}

.scenario-section {
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.scenario-card {
    background: #0f2a4d;
    color: #e8f1ff;
    border-radius: 16px;
    padding: 26px;
    min-height: 180px;
    box-shadow: 0 14px 26px rgba(5, 21, 44, 0.25);
    border: 1px solid rgba(173, 207, 255, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.scenario-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 32px rgba(5, 21, 44, 0.34);
}

.scenario-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(203, 224, 255, 0.4);
    background: rgba(192, 221, 255, 0.12);
    margin-bottom: 14px;
}

.scenario-icon svg {
    width: 22px;
    height: 22px;
}

.scenario-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffffff;
}

.scenario-card p {
    color: rgba(232, 241, 255, 0.84);
}

.cta-section {
    background: #ffffff;
    padding-top: 20px;
}

.cases-preview {
    background: #ffffff;
}

/* Cases Page Refinement */
.cases-page .page-hero {
    background: linear-gradient(145deg, #edf7ff 0%, #dfeeff 52%, #edf2ff 100%);
}

.cases-main-section {
    padding: 68px 0 52px;
    background:
        radial-gradient(circle at 0% 0%, rgba(22, 113, 207, 0.08) 0%, rgba(22, 113, 207, 0) 34%),
        #f6f9ff;
}

.case-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e5edf8;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(10, 46, 92, 0.08);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #d7e6f8;
    background: #f7fbff;
    color: #35506e;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.24s ease;
}

.filter-btn:hover {
    background: #edf6ff;
    border-color: #bddcff;
    color: #104f86;
}

.filter-btn.active {
    background: linear-gradient(135deg, #0b5ea8, #007ec7);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 101, 177, 0.32);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.case-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #ffffff;
    border: 1px solid #e6eef9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(11, 41, 84, 0.09);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    width: 100%;
}

.case-item.is-collapsed {
    min-height: 560px;
}

.case-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(11, 41, 84, 0.14);
}

.case-item.is-hidden {
    display: none;
}

.case-image {
    background: linear-gradient(180deg, #f2f8ff 0%, #eaf2ff 100%);
    border-bottom: 1px solid #e6eef9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 0;
}

.case-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(15, 62, 119, 0.14);
}

.case-icon svg {
    width: 28px;
    height: 28px;
}

.case-content {
    padding: 24px 26px 26px;
}

.case-item.is-collapsed .case-content {
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.case-tag {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #0e5ea2;
    background: #eaf4ff;
    border: 1px solid #d3e9ff;
    margin-bottom: 12px;
}

.case-content h3 {
    font-size: 22px;
    line-height: 1.35;
    color: #10233d;
    margin-bottom: 14px;
}

.case-item.is-collapsed .case-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 52px;
}

.case-section {
    margin-top: 14px;
    border-left: 3px solid #d9e9fb;
    padding-left: 14px;
}

.case-item.is-collapsed .case-section:first-of-type p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 118px;
}

.case-item.is-collapsed .case-detail-extra {
    display: none;
}

.case-item.is-expanded .case-detail-extra {
    display: block;
}

.case-section h4 {
    font-size: 19px;
    line-height: 1.45;
    color: #0f2d50;
    margin-bottom: 6px;
}

.case-section p {
    font-size: 15px;
    line-height: 1.85;
    color: #314861;
}

.case-section ul {
    margin: 0;
    padding: 0;
}

.case-section li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 7px;
    font-size: 15px;
    line-height: 1.8;
    color: #314861;
}

.case-section li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0d76cb;
    position: absolute;
    left: 0;
    top: 12px;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 6px;
}

.case-stat {
    background: #f3f8ff;
    border: 1px solid #dde9f8;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.case-stat .stat-num {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    color: #0d5ba1;
}

.case-stat .stat-label {
    font-size: 13px;
    line-height: 1.45;
    color: #3d546f;
}

.case-tech {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.case-item.is-collapsed .case-tech {
    min-height: 54px;
    align-content: flex-start;
}

.case-content .case-tech:last-child {
    padding-top: 4px;
}

.case-toggle {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #cfe2f8;
    background: linear-gradient(180deg, #f9fcff 0%, #edf5ff 100%);
    color: #0f5b9d;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: all 0.24s ease;
}

.case-item.is-collapsed .case-toggle {
    margin-top: auto;
}

.case-toggle:hover {
    border-color: #9fc7ef;
    background: linear-gradient(180deg, #ffffff 0%, #e8f3ff 100%);
    color: #0b4f88;
    transform: translateY(-1px);
}

.case-tech span {
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #1d4f80;
    border-radius: 999px;
    background: #eef5ff;
    border: 1px solid #dbe9fb;
}

.cases-stats-section {
    padding: 54px 0 74px;
    background: #f6f9ff;
}

.cases-summary-grid {
    border: 1px solid #e4edf9;
    box-shadow: 0 12px 26px rgba(9, 39, 80, 0.08);
}

.cases-summary-grid .stat-item h3 {
    font-size: 36px;
    color: #2563eb;
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .case-content h3 {
        font-size: 21px;
    }

    .case-item.is-collapsed {
        min-height: 520px;
    }
}

@media (max-width: 768px) {
    .cases-main-section {
        padding: 54px 0 40px;
    }

    .case-filters {
        padding: 10px;
        gap: 8px;
        margin-bottom: 20px;
    }

    .filter-btn {
        font-size: 13px;
        padding: 6px 12px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .case-image {
        border-right: none;
        border-bottom: 1px solid #e6eef9;
        padding: 12px 0;
    }

    .case-content {
        padding: 18px 16px;
    }

    .case-item.is-collapsed {
        min-height: auto;
    }

    .case-item.is-collapsed .case-content {
        min-height: auto;
    }

    .case-item.is-collapsed .case-content h3,
    .case-item.is-collapsed .case-section:first-of-type p,
    .case-item.is-collapsed .case-tech {
        min-height: auto;
    }

    .case-content h3 {
        font-size: 21px;
        margin-bottom: 10px;
    }

    .case-section h4 {
        font-size: 17px;
    }

    .case-section p,
    .case-section li {
        font-size: 14px;
    }

    .case-stats {
        grid-template-columns: 1fr;
    }

    .case-tech {
        margin-top: 14px;
        gap: 6px;
    }

    .case-tech span {
        font-size: 11px;
    }
}

.case-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #667084;
    font-size: 16px;
}

.logo-grid {
    gap: 22px;
}

.client-logo {
    border: 1px solid #edf2f8;
    box-shadow: 0 8px 18px rgba(8, 34, 64, 0.05);
}

.client-logo:hover {
    border-color: #d2e6fb;
    box-shadow: 0 12px 24px rgba(8, 34, 64, 0.12);
}

.cta-box {
    background: linear-gradient(115deg, #07376d 0%, #00539e 48%, #0078be 100%);
    color: #fff;
    border-radius: 18px;
    padding: 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: "";
    position: absolute;
    inset: auto -40px -50px auto;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.cta-box h2 {
    font-size: 33px;
    line-height: 1.35;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    max-width: 760px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.cta-box .btn {
    background: #ffffff;
    color: #0a4f96;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.cta-box .btn:hover {
    background: #e9f2ff;
}

/* Staggered reveal animation for homepage cards */
.reveal-item {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delivery-grid .reveal-item:nth-child(1),
.process-grid .reveal-item:nth-child(1),
.scenario-grid .reveal-item:nth-child(1) {
    transition-delay: 0.08s;
}

.delivery-grid .reveal-item:nth-child(2),
.process-grid .reveal-item:nth-child(2),
.scenario-grid .reveal-item:nth-child(2) {
    transition-delay: 0.16s;
}

.delivery-grid .reveal-item:nth-child(3),
.process-grid .reveal-item:nth-child(3),
.scenario-grid .reveal-item:nth-child(3) {
    transition-delay: 0.24s;
}

.delivery-grid .reveal-item:nth-child(4),
.process-grid .reveal-item:nth-child(4),
.cta-box.reveal-item {
    transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 1024px) {
    .hero h2 {
        font-size: 48px;
    }

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

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

@media (max-width: 768px) {
    header {
        height: var(--header-height);
        padding: 0;
    }

    header .container {
        height: 100%;
        flex-direction: row;
        gap: 12px;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .site-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: min(78vw, 320px);
        height: calc(100vh - var(--header-height));
        background: linear-gradient(180deg, #17324e 0%, #14314d 100%);
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.24);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        padding: 20px 18px;
        z-index: 1100;
    }

    .site-nav.open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .site-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-nav a {
        display: block;
        padding: 14px 0;
        letter-spacing: 0.6px;
    }

    .site-nav a::after {
        bottom: 8px;
        width: 54px;
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero {
        padding: 92px 0 130px;
    }

    .hero h2 {
        font-size: 33px;
        line-height: 1.35;
    }

    .hero p {
        font-size: 17px;
        margin-bottom: 44px;
    }

    .page-hero {
        padding: 68px 0;
    }

    .page-hero-title {
        margin-bottom: 14px;
    }

    .page-hero-subtitle {
        max-width: 92%;
    }

    .stats-grid {
        gap: 18px;
        padding: 26px 18px;
    }

    .delivery-grid,
    .scenario-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 34px 22px;
    }

    .cta-box h2 {
        font-size: 26px;
    }

    .modern-text-side {
        padding: 38px 26px;
    }

    .logo-title {
        font-size: 20px;
    }

    .modern-stats-row {
        flex-wrap: wrap;
        gap: 18px;
        justify-content: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand .logo-title {
        font-size: 22px;
    }

    .map-image {
        height: 300px;
    }
}
