/* ========== CSS变量定义 ========== */
:root {
    --primary-color: #333;
    --accent-color: #ff6b35;
    --secondary-color: #ff8c42;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ========== 全局样式重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========== 隐藏滚动条样式 ========== */
/* Webkit浏览器 (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/* Firefox */
html {
    scrollbar-width: none;
}

/* IE和Edge */
body {
    -ms-overflow-style: none;
}

/* ========== 顶部导航栏样式 ========== */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, 
        rgba(252, 248, 245, 0.5) 0%, 
        rgba(249, 243, 237, 0.55) 50%, 
        rgba(252, 248, 245, 0.5) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(245, 235, 225, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(249, 243, 237, 0.1) 0%, 
        rgba(245, 235, 225, 0.05) 50%, 
        rgba(249, 243, 237, 0.1) 100%);
    pointer-events: none;
    z-index: -1;
}

.navbar-container {
    max-width: min(1400px, 95vw);
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: black;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 20px;
    transition: all 0.15s ease;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
    overflow: hidden;
    height: 40px;
    line-height: 40px;
}

.nav-link .nav-text-cn,
.nav-link .nav-text-en {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.15s ease;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.nav-link .nav-text-cn {
    top: 0;
    opacity: 1;
}

.nav-link .nav-text-en {
    top: 40px;
    opacity: 0;
    color: var(--accent-color);
}

.nav-link:hover .nav-text-cn {
    top: -40px;
    opacity: 0;
}

.nav-link:hover .nav-text-en {
    top: 0;
    opacity: 1;
}

.nav-link:hover {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, 
        rgba(252, 248, 245, 0.5) 0%, 
        rgba(249, 243, 237, 0.55) 50%, 
        rgba(252, 248, 245, 0.5) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 30px;
    border: 1px solid rgba(245, 235, 225, 0.3);
    border-top: none;
    border-left: none;
    border-right: none;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin: 20px 0;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* ========== 移动端菜单动画 ========== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ========== 主容器 ========== */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 8vw 60px;
}

/* ========== 页面标题区域 ========== */
.page-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 300;
}

.title-decoration {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* ========== 服务概述部分 ========== */
.services-intro {
    background: white;
    border-radius: 15px;
    padding: 50px 40px;
    margin-bottom: 40px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.services-intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.intro-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #495057;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

.highlight-text {
    color: var(--accent-color);
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

/* ========== 卡片样式 ========== */
.glass-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

/* ========== 服务模块样式 ========== */
.service-section {
    padding: 20px 0;
}

.service-module {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    margin-bottom: 30px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.service-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.1);
}

.service-title {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 5px 0 0 0;
    font-weight: 300;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-image {
    text-align: center;
}

.service-content-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    object-fit: cover;
    max-width: 100%;
    min-height: 300px;
}

.service-content-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.2);
}

.service-text {
    padding: 0 20px;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 8px 0;
    color: #6c757d;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ========== CUT模型特殊样式 ========== */
.cut-model-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 140, 66, 0.05));
    border: 2px solid rgba(255, 107, 53, 0.2);
}

.cut-model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.cut-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.cut-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
}

.cut-letter {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.cut-name {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cut-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cut-model-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .navbar-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 120px 20px 60px;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-title {
        font-size: 1.8rem;
        line-height: 1.4;
    }

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

    .service-header {
        text-align: center;
    }

    .cut-model-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-module {
        padding: 30px 20px;
    }
    
    .service-image .service-content-image {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 120px 15px 60px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    .service-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .service-module {
        padding: 20px 15px;
    }
}

/* ========== 技术服务卡片样式 ========== */
.tech-service-card {
    background: #fff; /* 去掉橙色渐变 */
    border: none; /* 去掉外描边 */
    border-radius: 20px;
    padding: 35px;
    margin: 30px 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); /* 柔和中性阴影 */
    transition: all 0.3s ease;
    position: relative;
    min-height: 400px;
}

.tech-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.tech-card-header {
    text-align: left;
    margin-bottom: 0;
    width: 100%;
}

.tech-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.tech-card-grid {
    display: flex;
    align-items: flex-start;
    gap: 5%;
    position: relative;
}

.tech-left-content {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    width: 50%;
    padding-right: 0;
}

.tech-image-container {
    background: #fff;
    border-radius: 15px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 45%;
    min-height: 320px;
}

.tech-image-placeholder {
    width: 100%;
    height: auto;
    min-height: 260px;
    background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.02));
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content { text-align: center; color: #6c757d; }
.placeholder-icon { font-size: 42px; margin-bottom: 8px; }

.tech-features-section + .tech-process-flow { margin-top: 6px; }

.tech-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    transition: none;
}

.tech-step:hover {
    background: rgba(255, 107, 53, 0.08);
    transform: translateX(5px);
}

.tech-step-icon {
    background: var(--accent-color);
    color: white;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
    margin-right: 15px;
    min-width: 60px;
    text-align: center;
    font-size: 0.9rem;
}

.tech-step-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.tech-step-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.tech-metrics-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.tech-metrics-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.tech-score-display {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.tech-score-number {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.tech-score-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

.tech-features-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.tech-features-list li {
    padding: 8px 0;
    color: #495057;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}

.tech-features-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.tech-cta-button {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.tech-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

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

.service-module {
    animation: fadeInUp 0.6s ease-out;
}

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

/* ========== 锚点偏移修复 ========== */
#content, #users, #technology {
    scroll-margin-top: 100px; /* 导航栏高度80px + 额外间距20px */
}