/* 企业化配色方案 */
:root {
    /* 主色调 - 深蓝色系 */
    --primary-color: #1a365d;
    --primary-dark: #153e75;
    --primary-light: #2d3748;
    --primary-lighter: #edf2f7;
    
    /* 辅助色 */
    --secondary-color: #4a5568;
    --accent-color: #2b6cb0;
    --success-color: #38a169;
    --warning-color: #d69e2e;
    --error-color: #e53e3e;
    
    /* 灰度色阶 */
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --gray-900: #171923;
    
    /* 背景色 */
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --bg-dark: #1a202c;
    
    /* 文字色 */
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;
    --text-light: #a0aec0;
    --text-white: #ffffff;
    --text-muted: #9ca3af;
    
    /* 边框色 */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e0;
    --border-dark: #a0aec0;
    
    /* 企业化渐变 */
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    --gradient-secondary: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    --gradient-accent: linear-gradient(135deg, #2b6cb0 0%, #1a365d 100%);
    
    /* 阴影 */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* 圆角 */
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
}

/* 基础重置 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* 修复：确保滚动容器正确 */
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', '微软雅黑', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    /* 修复：移除 overflow-x: hidden，避免滚动问题 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* 修复：确保body高度正确 */
    min-height: 100vh;
    position: relative;
}

/* 无障碍辅助类 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 修复：背景几何图案 - 改为absolute定位 */
.geometric-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--bg-primary);
    overflow: hidden;
    /* 修复：确保不会影响滚动 */
    pointer-events: none;
}

.geometric-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image: 
        linear-gradient(90deg, var(--primary-color) 1px, transparent 1px),
        linear-gradient(180deg, var(--primary-color) 1px, transparent 1px);
    background-size: 60px 60px;
    /* 修复：减少动画强度 */
    animation: gridMove 120s linear infinite;
    will-change: transform;
}

@keyframes gridMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(60px, 60px, 0); }
}

.geometric-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.015;
    animation: dotsMove 100s linear infinite;
    will-change: transform;
}

@keyframes dotsMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(40px, 40px, 0); }
}

.geometric-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 49%, var(--primary-color) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, var(--primary-color) 50%, transparent 51%);
    background-size: 200px 200px;
    opacity: 0.008;
    animation: linesMove 150s linear infinite;
    will-change: transform;
}

@keyframes linesMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(200px, 200px, 0); }
}

/* 几何形状元素 */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.03;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    will-change: transform;
}

/* 圆形 */
.shape-circle {
    border-radius: 50%;
    background: var(--primary-color);
}

/* 正方形 */
.shape-square {
    background: var(--secondary-color);
    border-radius: 8px;
}

/* 三角形 */
.shape-triangle {
    width: 0;
    height: 0;
    background: transparent;
}

/* 六边形 */
.shape-hexagon {
    background: var(--accent-color);
    position: relative;
    border-radius: 8px;
}

.shape-hexagon::before,
.shape-hexagon::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
}

.shape-hexagon::before {
    bottom: 100%;
    border-bottom: 15px solid var(--accent-color);
}

.shape-hexagon::after {
    top: 100%;
    border-top: 15px solid var(--accent-color);
}

/* 矩形 */
.shape-rectangle {
    background: var(--primary-light);
    border-radius: 6px;
}

/* 菱形 */
.shape-diamond {
    background: var(--secondary-color);
    transform: rotate(45deg);
    border-radius: 4px;
}

/* 具体形状定位和大小 */
.shape-1 {
    top: 10%;
    left: 5%;
    width: 80px;
    height: 80px;
    animation-name: float1;
}

.shape-2 {
    top: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    animation-name: float2;
}

.shape-3 {
    bottom: 30%;
    left: 15%;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid var(--primary-color);
    animation-name: float3;
}

.shape-4 {
    top: 60%;
    right: 20%;
    width: 50px;
    height: 30px;
    animation-name: float4;
}

.shape-5 {
    bottom: 15%;
    right: 5%;
    width: 70px;
    height: 70px;
    animation-name: float5;
}

.shape-6 {
    top: 40%;
    left: 8%;
    width: 90px;
    height: 40px;
    animation-name: float6;
}

.shape-7 {
    top: 70%;
    left: 40%;
    width: 50px;
    height: 50px;
    animation-name: float7;
}

.shape-8 {
    top: 25%;
    left: 70%;
    width: 65px;
    height: 65px;
    animation-name: float8;
}

.shape-9 {
    bottom: 60%;
    right: 30%;
    width: 45px;
    height: 45px;
    animation-name: float9;
}

.shape-10 {
    top: 80%;
    left: 25%;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--accent-color);
    animation-name: float10;
}

/* 浮动动画 - 减少动画幅度 */
@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(90deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(180deg); }
}

@keyframes float4 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-16px) scale(1.05); }
}

@keyframes float5 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-13px) rotate(360deg); }
}

@keyframes float6 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(45deg); }
}

@keyframes float7 {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-11px) rotate(135deg); }
}

@keyframes float8 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(0.95); }
}

@keyframes float9 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(270deg); }
}

@keyframes float10 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(180deg); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
    /* 修复：确保header不会被遮挡 */
    will-change: transform, background-color;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
    z-index: 1001;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(26, 54, 93, 0.2));
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    text-rendering: optimizeLegibility;
}

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

.nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    color: var(--primary-color);
    background: var(--primary-lighter);
}

.nav-cta {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: var(--border-radius-lg) !important;
    font-weight: 600 !important;
    margin-left: 16px;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    background: transparent;
    border: none;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: var(--primary-lighter);
}

.hamburger {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    /* 修复：确保移动菜单不会被遮挡 */
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    list-style: none;
    padding: 2rem;
}

.mobile-nav-item {
    margin-bottom: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--primary-lighter);
    color: var(--primary-color);
    transform: translateX(8px);
}

.mobile-nav-cta {
    background: var(--primary-color) !important;
    color: white !important;
    text-align: center;
    font-weight: 600 !important;
    margin-top: 16px;
}

.mobile-nav-cta:hover {
    transform: scale(1.02) !important;
    background: var(--primary-dark) !important;
}

/* 修复：主内容区域 */
.main-content {
    padding-top: 70px;
    position: relative;
    z-index: 1;
    /* 修复：确保内容区域有正确的层级 */
    background: var(--bg-primary);
    min-height: calc(100vh - 70px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* 修复：确保hero区域正确显示 */
    z-index: 2;
}

/* Hero 几何形状 */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    opacity: 0.04;
    animation-duration: 25s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    will-change: transform;
}

.hero-shape-1 {
    top: 15%;
    left: 10%;
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 50%;
    animation-name: heroFloat1;
}

.hero-shape-2 {
    top: 25%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 12px;
    transform: rotate(45deg);
    animation-name: heroFloat2;
}

.hero-shape-3 {
    bottom: 20%;
    left: 20%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 60px solid var(--secondary-color);
    animation-name: heroFloat3;
}

.hero-shape-4 {
    bottom: 30%;
    right: 10%;
    width: 100px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    animation-name: heroFloat4;
}

.hero-shape-5 {
    top: 60%;
    left: 50%;
    width: 90px;
    height: 90px;
    background: var(--accent-color);
    border-radius: 50%;
    animation-name: heroFloat5;
}

/* 减少hero动画幅度 */
@keyframes heroFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

@keyframes heroFloat2 {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(225deg) translateY(-12px); }
}

@keyframes heroFloat3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(180deg); }
}

@keyframes heroFloat4 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-16px) scale(1.05); }
}

@keyframes heroFloat5 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-13px) rotate(360deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-lighter);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--border-radius-lg);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    opacity: 0;
    animation: slideInUp 1s ease 0.3s forwards;
    text-rendering: optimizeLegibility;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: slideInUp 1s ease 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: slideInUp 1s ease 0.9s forwards;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Features 几何形状 */
.features-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.features-shape {
    position: absolute;
    opacity: 0.03;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    will-change: transform;
}

.features-shape-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    animation-name: featuresFloat1;
}

.features-shape-2 {
    bottom: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 12px;
    transform: rotate(45deg);
    animation-name: featuresFloat2;
}

.features-shape-3 {
    top: 60%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 55px solid var(--secondary-color);
    animation-name: featuresFloat3;
}

@keyframes featuresFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(180deg); }
}

@keyframes featuresFloat2 {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(225deg) translateY(-10px); }
}

@keyframes featuresFloat3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(180deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    text-align: center;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    box-shadow: var(--shadow-sm);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Services 几何形状 */
.services-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.services-shape {
    position: absolute;
    opacity: 0.025;
    animation-duration: 35s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    will-change: transform;
}

.services-shape-1 {
    top: 5%;
    left: 8%;
    width: 110px;
    height: 110px;
    background: var(--primary-color);
    border-radius: 50%;
    animation-name: servicesFloat1;
}

.services-shape-2 {
    top: 30%;
    right: 5%;
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 10px;
    transform: rotate(45deg);
    animation-name: servicesFloat2;
}

.services-shape-3 {
    bottom: 40%;
    left: 15%;
    width: 90px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation-name: servicesFloat3;
}

.services-shape-4 {
    bottom: 10%;
    right: 20%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 45px solid var(--primary-light);
    animation-name: servicesFloat4;
}

@keyframes servicesFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(180deg); }
}

@keyframes servicesFloat2 {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(225deg) translateY(-11px); }
}

@keyframes servicesFloat3 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

@keyframes servicesFloat4 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-9px) rotate(180deg); }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 3;
}

.section-badge {
    display: inline-block;
    background: var(--primary-lighter);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: var(--border-radius-lg);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-rendering: optimizeLegibility;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.03), transparent);
    transition: left 0.6s ease;
}

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.service-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 12px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* About 几何形状 */
.about-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.about-shape {
    position: absolute;
    opacity: 0.03;
    animation-duration: 28s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    will-change: transform;
}

.about-shape-1 {
    top: 15%;
    right: 10%;
    width: 95px;
    height: 95px;
    background: var(--primary-color);
    border-radius: 50%;
    animation-name: aboutFloat1;
}

.about-shape-2 {
    bottom: 25%;
    left: 8%;
    width: 75px;
    height: 75px;
    background: var(--accent-color);
    border-radius: 12px;
    transform: rotate(45deg);
    animation-name: aboutFloat2;
}

.about-shape-3 {
    top: 70%;
    right: 30%;
    width: 85px;
    height: 45px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation-name: aboutFloat3;
}

@keyframes aboutFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-13px) rotate(180deg); }
}

@keyframes aboutFloat2 {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(225deg) translateY(-10px); }
}

@keyframes aboutFloat3 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-14px) scale(1.05); }
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-rendering: optimizeLegibility;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-rendering: optimizeLegibility;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image {
    width: 100%;
    height: 400px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.about-image svg {
    width: 200px;
    height: 200px;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: white;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Portfolio 几何形状 */
.portfolio-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.portfolio-shape {
    position: absolute;
    opacity: 0.025;
    animation-duration: 32s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    will-change: transform;
}

.portfolio-shape-1 {
    top: 8%;
    left: 12%;
    width: 105px;
    height: 105px;
    background: var(--primary-color);
    border-radius: 50%;
    animation-name: portfolioFloat1;
}

.portfolio-shape-2 {
    top: 40%;
    right: 8%;
    width: 65px;
    height: 65px;
    background: var(--accent-color);
    border-radius: 8px;
    transform: rotate(45deg);
    animation-name: portfolioFloat2;
}

.portfolio-shape-3 {
    bottom: 30%;
    left: 20%;
    width: 0;
    height: 0;
    border-left: 32px solid transparent;
    border-right: 32px solid transparent;
    border-bottom: 48px solid var(--secondary-color);
    animation-name: portfolioFloat3;
}

.portfolio-shape-4 {
    bottom: 15%;
    right: 25%;
    width: 88px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 50%;
    animation-name: portfolioFloat4;
}

@keyframes portfolioFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

@keyframes portfolioFloat2 {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(225deg) translateY(-12px); }
}

@keyframes portfolioFloat3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

@keyframes portfolioFloat4 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-13px) scale(1.05); }
}

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

.portfolio-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    height: 200px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.portfolio-image svg {
    width: 120px;
    height: 120px;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-lighter);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: var(--border-radius-lg);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border-light);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Contact 几何形状 */
.contact-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.contact-shape {
    position: absolute;
    opacity: 0.03;
    animation-duration: 26s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    will-change: transform;
}

.contact-shape-1 {
    top: 12%;
    left: 6%;
    width: 98px;
    height: 98px;
    background: var(--primary-color);
    border-radius: 50%;
    animation-name: contactFloat1;
}

.contact-shape-2 {
    top: 35%;
    right: 12%;
    width: 68px;
    height: 68px;
    background: var(--accent-color);
    border-radius: 10px;
    transform: rotate(45deg);
    animation-name: contactFloat2;
}

.contact-shape-3 {
    bottom: 35%;
    left: 18%;
    width: 0;
    height: 0;
    border-left: 28px solid transparent;
    border-right: 28px solid transparent;
    border-bottom: 42px solid var(--secondary-color);
    animation-name: contactFloat3;
}

.contact-shape-4 {
    bottom: 18%;
    right: 15%;
    width: 82px;
    height: 46px;
    background: var(--primary-light);
    border-radius: 50%;
    animation-name: contactFloat4;
}

@keyframes contactFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-11px) rotate(180deg); }
}

@keyframes contactFloat2 {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(225deg) translateY(-9px); }
}

@keyframes contactFloat3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(180deg); }
}

@keyframes contactFloat4 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-14px) scale(1.05); }
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 3;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.contact-item-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-item-content a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item-content a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    background: var(--bg-primary);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 错误和成功状态 */
.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.success-message {
    background: rgba(56, 161, 105, 0.1);
    color: var(--success-color);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    margin-top: 1rem;
    border: 1px solid rgba(56, 161, 105, 0.2);
    display: none;
}

.success-message.show {
    display: block;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 1px solid var(--border-light);
    overflow: hidden;
    z-index: 2;
}

/* Footer 几何形状 */
.footer-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.footer-shape {
    position: absolute;
    opacity: 0.02;
    animation-duration: 40s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    will-change: transform;
}

.footer-shape-1 {
    top: 15%;
    left: 8%;
    width: 85px;
    height: 85px;
    background: var(--primary-color);
    border-radius: 50%;
    animation-name: footerFloat1;
}

.footer-shape-2 {
    top: 25%;
    right: 12%;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 8px;
    transform: rotate(45deg);
    animation-name: footerFloat2;
}

.footer-shape-3 {
    bottom: 40%;
    left: 15%;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 38px solid var(--secondary-color);
    animation-name: footerFloat3;
}

.footer-shape-4 {
    bottom: 25%;
    right: 20%;
    width: 75px;
    height: 42px;
    background: var(--primary-light);
    border-radius: 50%;
    animation-name: footerFloat4;
}

.footer-shape-5 {
    top: 60%;
    left: 45%;
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    animation-name: footerFloat5;
}

.footer-shape-6 {
    top: 35%;
    left: 25%;
    width: 55px;
    height: 55px;
    background: var(--secondary-color);
    border-radius: 6px;
    animation-name: footerFloat6;
}

@keyframes footerFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-9px) rotate(180deg); }
}

@keyframes footerFloat2 {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(225deg) translateY(-6px); }
}

@keyframes footerFloat3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(180deg); }
}

@keyframes footerFloat4 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-11px) scale(1.05); }
}

@keyframes footerFloat5 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(360deg); }
}

@keyframes footerFloat6 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-9px) rotate(90deg); }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 3;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.footer-logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(26, 54, 93, 0.2));
}

.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    text-rendering: optimizeLegibility;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 15px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    padding: 6px 0;
    transition: var(--transition);
    font-size: 14px;
    border-radius: var(--border-radius-sm);
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
    background: var(--primary-lighter);
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 2rem;
}

.social-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary-lighter);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    transition: var(--transition);
    margin-bottom: 0 !important;
    padding: 0 !important;
    position: relative;
    z-index: 1;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    position: relative;
    z-index: 3;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

.footer-bottom .separator {
    color: var(--text-light);
    opacity: 0.5;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 修复：滚动性能优化 */
* {
    /* 启用硬件加速 */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* 修复：确保所有动画元素使用will-change */
.shape,
.hero-shape,
.features-shape,
.services-shape,
.about-shape,
.portfolio-shape,
.contact-shape,
.footer-shape,
.geometric-grid,
.geometric-dots,
.geometric-lines {
    will-change: transform;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    /* 隐藏部分几何形状以提升性能 */
    .shape-3, .shape-6, .shape-9, .shape-10,
    .hero-shape-3, .hero-shape-5,
    .features-shape-3,
    .services-shape-3, .services-shape-4,
    .about-shape-3,
    .portfolio-shape-3, .portfolio-shape-4,
    .contact-shape-3, .contact-shape-4,
    .footer-shape-3, .footer-shape-5, .footer-shape-6 {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

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

    .header-container {
        padding: 1rem 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .social-links {
        justify-content: center;
    }

    .services,
    .about,
    .portfolio,
    .contact {
        padding: 4rem 0;
    }

    .about-image {
        height: 300px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-links {
        justify-content: center;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1.2rem;
    }
    
    /* 进一步隐藏几何形状 */
    .shape-2, .shape-4, .shape-7, .shape-8,
    .hero-shape-2, .hero-shape-4,
    .features-shape-2,
    .services-shape-2,
    .about-shape-2,
    .portfolio-shape-2,
    .contact-shape-2,
    .footer-shape-2, .footer-shape-4 {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .service-card,
    .contact-form {
        padding: 2rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-logo-icon {
        width: 36px;
        height: 36px;
    }

    .footer-logo-text {
        font-size: 1.2rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .footer-bottom {
        font-size: 13px;
    }

    .footer-links {
        flex-direction: column;
        gap: 4px;
    }

    .footer-bottom .separator {
        display: none;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 1.1rem;
    }
    
    /* 最小屏幕只保留少量几何形状 */
    .shape-1, .shape-5,
    .hero-shape-1,
    .features-shape-1,
    .services-shape-1,
    .about-shape-1,
    .portfolio-shape-1,
    .contact-shape-1,
    .footer-shape-1 {
        opacity: 0.02;
    }
}

/* 打印样式 */
@media print {
    .header,
    .mobile-menu,
    .geometric-background,
    .geometric-shapes,
    .hero-shapes,
    .features-shapes,
    .services-shapes,
    .about-shapes,
    .portfolio-shapes,
    .contact-shapes,
    .footer-shapes {
        display: none;
    }
    
    .main-content {
        padding-top: 0;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .footer {
        background: white;
        color: black;
        border-top: 2px solid black;
    }
    
    .social-links {
        display: none;
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .geometric-grid,
    .geometric-dots,
    .geometric-lines,
    .shape,
    .hero-shape,
    .features-shape,
    .services-shape,
    .about-shape,
    .portfolio-shape,
    .contact-shape,
    .footer-shape {
        animation: none !important;
    }
}

/* 修复：iOS Safari 滚动问题 */
@supports (-webkit-overflow-scrolling: touch) {
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-menu {
        -webkit-overflow-scrolling: touch;
    }
}

/* 修复：确保内容在所有设备上正确显示 */
.main-content > * {
    position: relative;
    z-index: 2;
}

/* 修复：防止几何形状影响点击事件 */
.geometric-background,
.geometric-shapes,
.hero-shapes,
.features-shapes,
.services-shapes,
.about-shapes,
.portfolio-shapes,
.contact-shapes,
.footer-shapes {
    pointer-events: none;
}

/* 修复：确保交互元素始终可点击 */
.btn,
.nav-link,
.mobile-nav-link,
.social-link,
.contact-item,
.feature-card,
.service-card,
.portfolio-card,
.stat-card {
    position: relative;
    z-index: 10;
}
