/* CSS 设计系统变量 */
:root {
    /* 主色系 */
    --primary-50: #f0f4ff;
    --primary-100: #e0e7ff;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-900: #312e81;

    /* 次要色系 */
    --secondary-500: #8b5cf6;
    --secondary-600: #7c3aed;

    /* 灰色系 */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* 功能色系 */
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #06b6d4;

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    --gradient-soft: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #0a0e27 0%, #1e293b 50%, #0f172a 100%);

    /* 间距系统 */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 0.75rem;   /* 12px */
    --space-lg: 1rem;      /* 16px */
    --space-xl: 1.25rem;   /* 20px */
    --space-2xl: 1.5rem;   /* 24px */
    --space-3xl: 2rem;     /* 32px */
    --space-4xl: 2.5rem;   /* 40px */
    --space-5xl: 3rem;     /* 48px */
    --space-6xl: 4rem;     /* 64px */
    --space-7xl: 5rem;     /* 80px */
    --space-8xl: 6rem;     /* 96px */

    /* 字体系统 */
    --font-xs: 0.75rem;    /* 12px */
    --font-sm: 0.875rem;   /* 14px */
    --font-base: 1rem;     /* 16px */
    --font-lg: 1.125rem;   /* 18px */
    --font-xl: 1.25rem;    /* 20px */
    --font-2xl: 1.5rem;    /* 24px */
    --font-3xl: 1.875rem;  /* 30px */
    --font-4xl: 2.25rem;   /* 36px */
    --font-5xl: 3rem;      /* 48px */
    --font-6xl: 3.75rem;   /* 60px */

    /* 行高系统 */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* 圆角系统 */
    --radius-xs: 0.125rem; /* 2px */
    --radius-sm: 0.25rem;  /* 4px */
    --radius-md: 0.375rem; /* 6px */
    --radius-lg: 0.5rem;   /* 8px */
    --radius-xl: 0.75rem;  /* 12px */
    --radius-2xl: 1rem;    /* 16px */
    --radius-3xl: 1.5rem;  /* 24px */
    --radius-4xl: 2rem;    /* 32px */
    --radius-full: 9999px;

    /* 阴影系统 */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* 过渡和缓动 */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index 系统 */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

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

/* 基础样式 */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: var(--leading-normal);
    color: var(--gray-800);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 实用工具类 */
.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;
}

/* 容器系统 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: var(--space-xl);
}

@media (min-width: 640px) {
    .container {
        padding-inline: var(--space-2xl);
    }
}

@media (min-width: 1024px) {
    .container {
        padding-inline: var(--space-3xl);
    }
}

/* 响应式容器变体 */
.container-sm {
    max-width: 640px;
    margin: 0 auto;
    padding-inline: var(--space-xl);
}

.container-lg {
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: var(--space-xl);
}

/* 栅格系统 */
.grid {
    display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gap-4 { gap: var(--space-lg); }
.gap-6 { gap: var(--space-2xl); }
.gap-8 { gap: var(--space-3xl); }

/* 响应式栅格 */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
    will-change: transform, background-color;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem; /* 72px */
}

.nav-logo h2 {
    color: var(--info);
    font-weight: 700;
    font-size: var(--font-2xl);
    letter-spacing: -0.025em;
}

.nav-logo a:focus {
    outline: 2px solid var(--info);
    outline-offset: 4px;
    border-radius: var(--radius-md);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-3xl);
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-base);
    letter-spacing: 0.025em;
    transition: color var(--transition-base);
    position: relative;
    padding: var(--space-sm) 0;
    display: block;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--info);
    outline: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-base);
    border-radius: var(--radius-full);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.8em;
    margin-left: 0.5rem;
    transition: transform var(--transition-base);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-md);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1000;
    list-style: none;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    font-size: var(--font-sm);
    position: relative;
}

.dropdown-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--info);
    transform: translateX(4px);
}

.dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: height var(--transition-base);
    transform: translateY(-50%);
}

.dropdown-link:hover::before {
    height: 60%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e27 0%, #1e293b 50%, #0f172a 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: #00d4ff;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #00d4ff 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 400;
    position: relative;
    overflow: hidden;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    animation: 
        typing 4s steps(40, end) 1s both,
        blink-caret 0.75s step-end infinite 1s;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: rgba(255, 255, 255, 0.7); }
}

/* 移动端适配打字机效果 - Moved to consolidated media query */

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮组件系统 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-4xl);
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-weight: 600;
    font-size: var(--font-lg);
    line-height: var(--leading-tight);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.btn:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 按钮尺寸 */
.btn-sm {
    padding: var(--space-sm) var(--space-xl);
    font-size: var(--font-xs);
}

.btn-lg {
    padding: var(--space-lg) var(--space-5xl);
    font-size: var(--font-base);
}

/* 按钮变体 */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: white;
    color: var(--primary-600);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover:not(:disabled) {
    background: var(--gray-50);
    border-color: var(--primary-300);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border-color: transparent;
}

.btn-ghost:hover:not(:disabled) {
    background: var(--gray-100);
    color: var(--gray-900);
}

/* 按钮加载状态 */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 50%;
    left: 50%;
    margin-left: -0.5rem;
    margin-top: -0.5rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #00d4ff);
    animation: scroll 2s ease-in-out infinite;
}

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

/* 数据展示区 */
.stats-section {
    padding: var(--space-6xl) 0;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-3xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-2xl) var(--space-lg);
    transition: transform var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-600);
    margin-bottom: var(--space-xs);
    line-height: 1;
    position: relative;
}

.stat-number::after {
    content: '+';
    font-size: 0.6em;
    opacity: 0.8;
    margin-left: 0.1em;
}

.stat-item:last-child .stat-number::after {
    content: '%';
}

.stat-label {
    font-size: var(--font-base);
    color: var(--gray-600);
    font-weight: 500;
}

/* 统计区域响应式 - Moved to consolidated media query */

/* =======================================================================
   CONSOLIDATED MOBILE RESPONSIVE STYLES (max-width: 768px)
   ======================================================================= */
@media (max-width: 768px) {
    /* Navigation Styles */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 14, 39, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
    
    /* Mobile Dropdown Menu Styles */
    .dropdown-menu {
        position: static;
        background: rgba(15, 23, 42, 0.9);
        box-shadow: none;
        border: none;
        margin-top: var(--space-sm);
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }
    
    .dropdown:hover .dropdown-menu {
        max-height: 400px;
    }
    
    .dropdown-arrow {
        display: inline-block;
    }
    
    .dropdown-link {
        padding: var(--space-md) var(--space-lg);
        border-left: 3px solid transparent;
        font-size: var(--font-xs);
    }
    
    .dropdown-link:hover {
        border-left-color: var(--primary-400);
        background: rgba(99, 102, 241, 0.1);
        transform: none;
    }
    
    .dropdown-link::before {
        display: none;
    }

    /* Hero Section Styles */
    .typewriter {
        white-space: normal;
        border-right: none;
        animation: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }

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

    /* Stats Section Styles */
    .stats-section {
        padding: var(--space-4xl) 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .stat-item {
        padding: var(--space-lg);
    }

    /* Content Grid Layouts */
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer Styles */
    .footer {
        padding: var(--space-5xl) 0 var(--space-2xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
        text-align: center;
    }
    
    .footer-section:first-child {
        max-width: none;
    }
    
    .footer-section ul li {
        padding-left: 0;
        text-align: center;
    }
    
    .footer-section ul li::before {
        display: none;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Service Pages Styles */
    .service-main {
        padding: var(--space-12) 0;
    }
    
    .service-overview,
    .service-stats,
    .service-features,
    .service-process,
    .service-advantages {
        margin-bottom: var(--space-12);
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-header {
        margin-bottom: var(--space-8);
    }
    
    .feature-card,
    .process-step,
    .advantage-item {
        padding: var(--space-6);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .stat-item {
        padding: var(--space-md);
    }
}

/* 服务展示区 */
.services-section {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.8rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-description {
    color: #64748b;
    line-height: 1.7;
}

/* 作品案例区 */
.portfolio-section {
    padding: 100px 0;
    background: #f8fafc;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-color: transparent;
}

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

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    opacity: 0.9;
}

/* 关于我们区 */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    margin-bottom: 1.5rem;
}

.feature-item h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #64748b;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* 联系我们区 */
.contact-section {
    padding: 100px 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    color: white;
}

.contact-details h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #64748b;
    margin-bottom: 0.25rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
}

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

/* 页脚 */
.footer {
    background: #0f1419;
    color: white;
    padding: var(--space-6xl) 0 var(--space-2xl);
    border-top: 1px solid #1e293b;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: var(--space-5xl);
    margin-bottom: var(--space-4xl);
}

.footer-section:first-child {
    max-width: 400px;
}

.footer-section h3 {
    font-size: var(--font-2xl);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: #ffffff;
    line-height: var(--leading-tight);
}

.footer-section h4 {
    font-size: var(--font-base);
    font-weight: 500;
    margin-bottom: var(--space-lg);
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: var(--font-sm);
}

.footer-section p {
    color: #94a3b8;
    line-height: var(--leading-relaxed);
    font-size: var(--font-sm);
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: var(--space-sm);
    color: #94a3b8;
    font-size: var(--font-sm);
    transition: color var(--transition-base);
    line-height: 1.6;
}

.footer-section ul li:hover {
    color: #e2e8f0;
}

.footer-section ul li a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-2xl);
    border-top: 1px solid #1e293b;
}

.footer-bottom p {
    color: #64748b;
    font-size: var(--font-xs);
    margin: 0;
    font-weight: 400;
}

/* 响应式页脚 */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4xl);
    }
}

/* 响应式页脚 - Moved to consolidated media query */

/* 响应式设计 - Moved to consolidated media query */

/* Orphaned rules - Moved to consolidated media query */

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

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

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

    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* 服务页面专用样式 */
.service-hero {
    height: 70vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #00d4ff 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    margin-top: 2rem;
    font-size: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

/* 服务页面组件系统 */
.service-details {
    padding: var(--space-8xl) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, #ffffff 100%);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6xl);
    align-items: start;
}

/* 服务概览卡片 */
.service-overview {
    background: white;
    padding: var(--space-6xl);
    border-radius: var(--radius-4xl);
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.service-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-soft);
}

.service-overview::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* 统计数据卡片 */
.service-stats {
    background: var(--gradient-soft);
    padding: var(--space-6xl);
    border-radius: var(--radius-4xl);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.service-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    pointer-events: none;
}

/* 特性区域 */
.service-features-section {
    margin: var(--space-6xl) 0;
}

.service-main {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

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

.service-description h2 {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-description h3 {
    font-size: 1.6rem;
    color: #374151;
    margin: 2.5rem 0 1.5rem 0;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
}

.service-description h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

.service-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.service-features {
    margin: 2rem 0;
}

/* 特性网格组件 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-3xl);
    margin: var(--space-5xl) 0;
}

.feature-item {
    background: white;
    padding: var(--space-4xl);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-soft);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base) var(--ease-out);
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all var(--transition-slow) var(--ease-out);
    pointer-events: none;
}

.feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-200);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover::after {
    width: 200px;
    height: 200px;
}

.feature-item h4 {
    color: var(--gray-800);
    font-weight: 600;
    font-size: var(--font-lg);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-md);
    transition: color var(--transition-base);
}

.feature-item:hover h4 {
    color: var(--primary-700);
}

.feature-item p {
    color: var(--gray-600);
    font-size: var(--font-sm);
    line-height: var(--leading-relaxed);
    margin: 0;
}

.feature-item h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-item p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.process-steps {
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.step-number {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-content h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.advantage-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.advantage-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.advantage-list li:last-child {
    border-bottom: none;
}

.advantage-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: #22c55e;
    font-weight: 700;
    font-size: 1.1rem;
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.service-highlights li {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
    color: #374151;
    position: relative;
    padding-left: 2.5rem;
    transition: all 0.3s ease;
}

.service-highlights li:hover {
    background: #e0f2fe;
    transform: translateX(5px);
}

.service-highlights li::before {
    content: '◆';
    position: absolute;
    left: 1rem;
    color: #6366f1;
    font-size: 0.8rem;
}

.related-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-services li {
    margin-bottom: 0.5rem;
}

.related-services a {
    display: block;
    padding: 0.8rem 1rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.related-services a:hover {
    background: #f1f5f9;
    color: #6366f1;
    border-left-color: #6366f1;
    transform: translateX(5px);
}

.cta-widget {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    text-align: center;
}

.cta-widget h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.portfolio-showcase {
    padding: 80px 0;
    background: white;
}

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

/* 响应式断点系统 - Mobile First */

/* Extra Small devices (phones, 576px and up) */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
    
    .service-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small devices (landscape phones, tablets 768px and up) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .navbar {
        padding: var(--space-lg) 0;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        left: auto;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        flex-direction: row;
        gap: var(--space-3xl);
        transform: none;
        opacity: 1;
        visibility: visible;
    }
    
    .service-hero-content h1 {
        font-size: 3.5rem;
    }
    
    .service-hero-content p {
        font-size: 1.25rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Medium devices (tablets, 992px and up) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .service-content {
        display: grid;
        grid-template-columns: 1fr 350px;
        gap: var(--space-6xl);
        align-items: start;
    }
    
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .service-hero-content h1 {
        font-size: 4rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .service-content {
        gap: var(--space-8xl);
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .service-hero-content h1 {
        font-size: 4.5rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra large devices (large desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .service-hero {
        height: 75vh;
    }
    
    .service-hero-content h1 {
        font-size: 5rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Mobile-specific optimizations */
@media (max-width: 767px) {
    .service-hero {
        height: 50vh;
        min-height: 400px;
        padding: var(--space-6xl) 0;
    }
    
    .service-hero-content {
        text-align: center;
        padding: 0 var(--space-lg);
    }
    
    .service-hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: var(--space-lg);
    }
    
    .service-hero-content p {
        font-size: 1.1rem;
        margin-bottom: var(--space-2xl);
    }
    
    .breadcrumb {
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .service-main {
        padding: var(--space-2xl);
        margin-bottom: var(--space-3xl);
    }
    
    .service-sidebar {
        order: -1;
        margin-bottom: var(--space-3xl);
    }
    
    .sidebar-widget {
        padding: var(--space-2xl);
        margin-bottom: var(--space-lg);
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .feature-item {
        text-align: center;
        padding: var(--space-2xl);
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
        padding: var(--space-2xl);
    }
    
    .step-number {
        margin: 0 auto var(--space-lg);
    }
    
    .service-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .stat-item {
        text-align: center;
        padding: var(--space-xl);
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: var(--space-lg) var(--space-2xl);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .feature-item:hover,
    .stat-item:hover,
    .step:hover {
        transform: none;
    }
    
    .feature-item:active,
    .stat-item:active,
    .step:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.8);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.8);
        --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.8);
    }
    
    .feature-item,
    .stat-item,
    .step,
    .sidebar-widget {
        border: 2px solid var(--gray-800);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .feature-item:hover,
    .stat-item:hover,
    .step:hover,
    .btn:hover {
        transform: none;
    }
}

/* 高级动画和交互效果 */

/* 页面加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 加载状态和骨架屏 */
.loading {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        90deg,
        var(--gray-200) 25%,
        var(--gray-100) 50%,
        var(--gray-200) 75%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* 入场动画类 */
.animate-in {
    animation: fadeInUp 0.6s var(--ease-out-back) forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s var(--ease-out-expo) forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s var(--ease-out-expo) forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s var(--ease-out-back) forwards;
}

/* 悬停和焦点增强效果 */
.feature-item {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        var(--shadow-2xl),
        0 0 0 1px var(--primary-200),
        0 0 20px rgba(99, 102, 241, 0.1);
}

.feature-item:focus-within {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
    transform: translateY(-4px);
}

/* 统计数字动画 */
.stat-number {
    position: relative;
    overflow: hidden;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 1s ease-out 0.3s;
}

.stat-item:hover .stat-number::after {
    width: 100%;
}

/* 步骤流程增强动画 */
.step {
    position: relative;
    transition: all var(--transition-base);
}

.step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 2rem;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.step:hover::after {
    transform: translateY(-50%) scaleX(1);
}

.step:last-child::after {
    display: none;
}

.step-number {
    position: relative;
    transition: all var(--transition-base);
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-base);
    z-index: -1;
}

.step:hover .step-number::before {
    opacity: 0.2;
    transform: scale(1);
}

/* 按钮增强动画 */
.btn {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
    transition: all 0.1s ease;
}

.btn-primary:hover {
    background: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* 导航栏滚动效果 */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(0);
    transition: all var(--transition-base);
}

.navbar.scrolled .nav-logo h2 {
    color: var(--gray-900);
}

.navbar.scrolled .nav-link {
    color: var(--gray-700);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-600);
}

/* 侧边栏微动画 */
.sidebar-widget {
    position: relative;
    transition: all var(--transition-base);
}

.sidebar-widget:hover {
    transform: translateX(4px);
    box-shadow: 
        var(--shadow-lg),
        -4px 0 0 var(--primary-500);
}

.related-services li {
    position: relative;
    transition: all var(--transition-fast);
}

.related-services li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transform: translateY(-50%);
    transition: width var(--transition-base);
}

.related-services li:hover::before {
    width: 20px;
}

.related-services li:hover a {
    padding-left: 30px;
    color: var(--primary-600);
}

/* 图片懒加载和优化 */
.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    transition: all var(--transition-base);
    will-change: transform;
}

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

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.service-image:hover::after {
    transform: translateX(100%);
}

/* 交互反馈增强 */
.clickable {
    cursor: pointer;
    user-select: none;
    transition: all var(--transition-fast);
}

.clickable:active {
    transform: scale(0.98);
}

/* 文字动效 */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

/* 加载指示器 */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: all var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--secondary-600));
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

::-webkit-scrollbar-corner {
    background: var(--gray-100);
}

/* 选择高亮 */
::selection {
    background: var(--primary-500);
    color: white;
}

::-moz-selection {
    background: var(--primary-500);
    color: white;
}

/* 可访问性和语义化增强 */

/* 屏幕阅读器专用类 */
.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;
}

.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: var(--space-sm) var(--space-lg);
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--primary-600);
    color: white;
    border-radius: var(--radius-sm);
    z-index: 9999;
}

/* 跳转链接 */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-lg);
    background: var(--primary-600);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-lg);
}

/* 焦点可见性增强 */
:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* 按钮和链接焦点状态 */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.btn:focus {
    box-shadow: 
        0 0 0 4px rgba(99, 102, 241, 0.2),
        var(--shadow-md);
}

/* 表单元素无障碍性 */
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

input:invalid,
textarea:invalid,
select:invalid {
    border-color: var(--error);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

input:invalid:focus,
textarea:invalid:focus,
select:invalid:focus {
    outline-color: var(--error);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* 错误和状态消息 */
.error-message {
    color: var(--error);
    font-size: var(--text-sm);
    margin-top: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.success-message {
    color: var(--success);
    font-size: var(--text-sm);
    margin-top: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* 交互元素状态提示 */
[aria-expanded="true"] .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

[aria-expanded="true"] .nav-toggle span:nth-child(2) {
    opacity: 0;
}

[aria-expanded="true"] .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 加载状态指示 */
[aria-busy="true"] {
    position: relative;
}

[aria-busy="true"]::after {
    content: '';
    position: absolute;
    top: 50%;
    right: var(--space-lg);
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-top-color: var(--primary-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 禁用状态 */
[disabled],
[aria-disabled="true"] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* 工具提示无障碍性 */
.tooltip {
    position: relative;
}

.tooltip[aria-describedby] {
    cursor: help;
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 1000;
    pointer-events: none;
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--gray-900);
}

.tooltip:hover .tooltip-content,
.tooltip:focus .tooltip-content {
    opacity: 1;
    visibility: visible;
}

/* 高对比度模式优化 */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #333333;
        --bg-primary: #ffffff;
        --bg-secondary: #f5f5f5;
        --border-color: #000000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .btn:focus {
        outline: 4px solid var(--primary-500);
        outline-offset: 2px;
    }
    
    a:not(.btn) {
        text-decoration: underline;
    }
    
    .feature-item:hover,
    .stat-item:hover,
    .step:hover {
        border-color: var(--primary-500);
        outline: 2px solid var(--primary-500);
    }
}

/* 打印样式优化 */
@media print {
    *,
    *::before,
    *::after {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a,
    a:visited {
        text-decoration: underline;
        color: black !important;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
    
    .navbar,
    .nav-toggle,
    .btn,
    .cta-widget,
    [data-aos] {
        display: none !important;
    }
    
    .service-hero {
        height: auto !important;
        min-height: auto !important;
        padding: var(--space-2xl) 0 !important;
    }
    
    .service-content {
        grid-template-columns: 1fr !important;
    }
    
    .service-sidebar {
        margin-top: var(--space-3xl) !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        margin-top: var(--space-2xl);
    }
    
    p, li {
        orphans: 3;
        widows: 3;
    }
    
    .feature-item,
    .step,
    .stat-item {
        page-break-inside: avoid;
        margin-bottom: var(--space-lg);
    }
}

/* 性能优化和加载体验 */

/* 关键渲染路径优化 */
.above-fold {
    contain: layout style paint;
}

/* GPU加速优化 */
.feature-item,
.stat-item,
.step,
.btn,
.service-image img {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.feature-item:not(:hover),
.stat-item:not(:hover),
.step:not(:hover),
.btn:not(:hover),
.service-image:not(:hover) img {
    will-change: auto;
}

/* 图片优化和懒加载 */
.service-image img,
.hero-image img {
    loading: lazy;
    decoding: async;
    height: auto;
    max-width: 100%;
}

/* 现代图片格式支持 */
.webp .service-image img[src$=".jpg"] {
    content: url(attr(data-webp));
}

.avif .service-image img[src$=".jpg"] {
    content: url(attr(data-avif));
}

/* 骨架屏和加载状态 */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--gray-200) 25%,
        var(--gray-100) 50%,
        var(--gray-200) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1em;
    margin: 0.5em 0;
    border-radius: var(--radius-sm);
}

.skeleton-text:nth-child(odd) {
    width: 100%;
}

.skeleton-text:nth-child(even) {
    width: 85%;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
}

.skeleton-button {
    width: 120px;
    height: 40px;
    border-radius: var(--radius-sm);
}

/* 渐进增强加载 */
.js-loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo);
}

.js-loaded {
    opacity: 1;
    transform: translateY(0);
}

/* 资源预加载和预连接 */
.preload-font {
    font-display: swap;
}

/* 临界CSS内联优化 */
.critical-css-loaded + .non-critical-css {
    display: block;
}

.non-critical-css {
    display: none;
}

/* 滚动性能优化 */
.smooth-scroll {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    .smooth-scroll {
        scroll-behavior: auto;
    }
}

/* 视口交叉观察器优化 */
.lazy-load {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s var(--ease-out-expo);
}

.lazy-load.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* 内容可见性优化 */
.content-visibility-auto {
    content-visibility: auto;
    contain-intrinsic-size: 300px;
}

/* 字体加载优化 */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Inter Regular'),
         url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap') format('woff2');
}

/* 动画性能优化 */
.animate-on-scroll {
    animation-play-state: paused;
}

.animate-on-scroll.in-view {
    animation-play-state: running;
}

/* 资源优先级提示 */
.priority-high {
    importance: high;
}

.priority-low {
    importance: low;
}

/* 预加载关键资源 */
.preload-hero-image {
    content: url('images/hero-bg.webp');
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* 缓存优化指示 */
.cache-optimized {
    cache-control: max-age=31536000, immutable;
}

/* 压缩和最小化提示 */
.minified {
    /* 提示构建工具进行压缩 */
}

/* Web Workers离屏处理 */
.offscreen-canvas {
    /* 离屏Canvas处理标记 */
}

/* Service Worker缓存策略 */
.sw-cache-first {
    /* Cache First策略标记 */
}

.sw-network-first {
    /* Network First策略标记 */
}

/* 关键字体子集优化 */
.font-subset-latin {
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 内容分层和合成优化 */
.composite-layer {
    transform: translateZ(0);
    isolation: isolate;
}

/* 内存使用优化 */
.memory-efficient {
    contain: strict;
    content-visibility: auto;
}

/* 批量DOM操作优化 */
.batch-update {
    contain: layout style paint;
}

/* 渲染阻塞资源优化 */
.non-render-blocking {
    /* 非渲染阻塞资源标记 */
}

/* 关键渲染路径 */
.critical-path {
    /* 关键渲染路径资源标记 */
}

/* 预测性预取 */
.predictive-prefetch {
    /* 预测性资源预取标记 */
}

/* 精细化视觉层次和间距系统 */

/* 高级排版比例和韵律 */
.typography-scale {
    /* Perfect Fourth (1.333) 音乐比例 */
    --type-scale-ratio: 1.333;
    
    /* 基础字号 */
    --type-base: 1rem;
    
    /* 比例字号系统 */
    --type-xs: calc(var(--type-base) / var(--type-scale-ratio) / var(--type-scale-ratio));
    --type-sm: calc(var(--type-base) / var(--type-scale-ratio));
    --type-md: var(--type-base);
    --type-lg: calc(var(--type-base) * var(--type-scale-ratio));
    --type-xl: calc(var(--type-lg) * var(--type-scale-ratio));
    --type-2xl: calc(var(--type-xl) * var(--type-scale-ratio));
    --type-3xl: calc(var(--type-2xl) * var(--type-scale-ratio));
    --type-4xl: calc(var(--type-3xl) * var(--type-scale-ratio));
    --type-5xl: calc(var(--type-4xl) * var(--type-scale-ratio));
}

/* 垂直节奏和基线网格 */
.baseline-grid {
    /* 基线网格高度 */
    --baseline: 1.5rem;
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --line-height-loose: 2;
}

/* 精确的间距比例系统 */
.spacing-refined {
    /* 黄金比例间距 (1.618) */
    --spacing-phi: 1.618;
    
    /* 精细间距刻度 */
    --space-0: 0;
    --space-px: 1px;
    --space-0\.5: 0.125rem;  /* 2px */
    --space-1: 0.25rem;      /* 4px */
    --space-1\.5: 0.375rem;  /* 6px */
    --space-2: 0.5rem;       /* 8px */
    --space-2\.5: 0.625rem;  /* 10px */
    --space-3: 0.75rem;      /* 12px */
    --space-3\.5: 0.875rem;  /* 14px */
    --space-4: 1rem;         /* 16px */
    --space-5: 1.25rem;      /* 20px */
    --space-6: 1.5rem;       /* 24px */
    --space-7: 1.75rem;      /* 28px */
    --space-8: 2rem;         /* 32px */
    --space-9: 2.25rem;      /* 36px */
    --space-10: 2.5rem;      /* 40px */
    --space-11: 2.75rem;     /* 44px */
    --space-12: 3rem;        /* 48px */
    --space-14: 3.5rem;      /* 56px */
    --space-16: 4rem;        /* 64px */
    --space-18: 4.5rem;      /* 72px */
    --space-20: 5rem;        /* 80px */
    --space-24: 6rem;        /* 96px */
    --space-28: 7rem;        /* 112px */
    --space-32: 8rem;        /* 128px */
    --space-36: 9rem;        /* 144px */
    --space-40: 10rem;       /* 160px */
    --space-44: 11rem;       /* 176px */
    --space-48: 12rem;       /* 192px */
    --space-52: 13rem;       /* 208px */
    --space-56: 14rem;       /* 224px */
    --space-60: 15rem;       /* 240px */
    --space-64: 16rem;       /* 256px */
    --space-72: 18rem;       /* 288px */
    --space-80: 20rem;       /* 320px */
    --space-96: 24rem;       /* 384px */
}

/* 高级颜色层次和对比度 */
.color-hierarchy {
    /* 语义色彩层次 */
    --text-primary: var(--gray-900);     /* 主要文本 */
    --text-secondary: var(--gray-700);   /* 次要文本 */
    --text-tertiary: var(--gray-500);    /* 辅助文本 */
    --text-quaternary: var(--gray-400);  /* 占位文本 */
    --text-disabled: var(--gray-300);    /* 禁用文本 */
    
    /* 背景色层次 */
    --bg-primary: #ffffff;               /* 主背景 */
    --bg-secondary: var(--gray-50);      /* 次背景 */
    --bg-tertiary: var(--gray-100);      /* 三级背景 */
    --bg-quaternary: var(--gray-200);    /* 四级背景 */
    
    /* 边框色层次 */
    --border-light: var(--gray-200);     /* 淡边框 */
    --border-normal: var(--gray-300);    /* 普通边框 */
    --border-strong: var(--gray-400);    /* 强边框 */
    --border-emphasis: var(--gray-600);  /* 强调边框 */
}

/* 精细化组件间距 */
.service-hero-content {
    padding: var(--space-20) 0 var(--space-16);
}

.service-hero-content h1 {
    margin-bottom: var(--space-6);
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
}

.service-hero-content p {
    margin-bottom: var(--space-8);
    line-height: var(--line-height-relaxed);
    max-width: 65ch;
}

.breadcrumb {
    margin-top: var(--space-4);
    font-size: var(--type-sm);
    line-height: var(--line-height-normal);
}

.service-description h2 {
    margin-bottom: var(--space-6);
    line-height: var(--line-height-tight);
    letter-spacing: -0.01em;
}

.service-description h3 {
    margin: var(--space-12) 0 var(--space-6);
    line-height: var(--line-height-tight);
    color: var(--text-primary);
}

.service-description p {
    margin-bottom: var(--space-6);
    line-height: var(--line-height-relaxed);
    max-width: 75ch;
    color: var(--text-secondary);
}

/* 特色网格精细间距 */
.feature-grid {
    gap: var(--space-8);
    margin: var(--space-8) 0 var(--space-12);
}

.feature-item {
    padding: var(--space-8);
    border-radius: var(--space-3);
}

.feature-item h4 {
    margin-bottom: var(--space-3);
    line-height: var(--line-height-tight);
    color: var(--text-primary);
}

.feature-item p {
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    margin: 0;
}

/* 流程步骤精细间距 */
.process-steps {
    gap: var(--space-8);
    margin: var(--space-8) 0 var(--space-12);
}

.step {
    padding: var(--space-6);
    gap: var(--space-4);
}

.step-number {
    width: var(--space-12);
    height: var(--space-12);
    margin-bottom: var(--space-4);
    font-size: var(--type-lg);
    font-weight: 700;
}

.step-content h4 {
    margin-bottom: var(--space-2);
    line-height: var(--line-height-tight);
    color: var(--text-primary);
}

.step-content p {
    line-height: var(--line-height-normal);
    color: var(--text-secondary);
    margin: 0;
}

/* 侧边栏精细间距 */
.sidebar-widget {
    padding: var(--space-8);
    margin-bottom: var(--space-6);
    border-radius: var(--space-3);
}

.sidebar-widget h3 {
    margin-bottom: var(--space-5);
    line-height: var(--line-height-tight);
    color: var(--text-primary);
}

.sidebar-widget ul {
    margin: 0;
    padding: 0;
}

.sidebar-widget li {
    margin-bottom: var(--space-3);
    line-height: var(--line-height-normal);
}

.sidebar-widget li:last-child {
    margin-bottom: 0;
}

/* 统计数据精细间距 */
.service-stats {
    gap: var(--space-6);
    margin: var(--space-12) 0;
}

.stat-item {
    padding: var(--space-6) var(--space-4);
    text-align: center;
}

.stat-number {
    font-size: var(--type-3xl);
    font-weight: 700;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-2);
    color: var(--primary-600);
}

.stat-label {
    font-size: var(--type-sm);
    line-height: var(--line-height-normal);
    color: var(--text-secondary);
    margin: 0;
}

/* 按钮组件精细间距 */
.btn {
    padding: var(--space-3) var(--space-6);
    font-size: var(--type-md);
    line-height: var(--line-height-normal);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--type-lg);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--type-sm);
}

.btn-xs {
    padding: var(--space-1\.5) var(--space-3);
    font-size: var(--type-xs);
}

/* 导航精细间距 - 已移除冲突规则 */

/* 页脚精细间距 */
.footer {
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--space-4);
    line-height: var(--line-height-tight);
}

.footer-section p,
.footer-section li {
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-3);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-light);
}

/* 视觉焦点和强调 */
.emphasis-high {
    font-weight: 700;
    color: var(--text-primary);
}

.emphasis-medium {
    font-weight: 600;
    color: var(--text-primary);
}

.emphasis-low {
    font-weight: 500;
    color: var(--text-secondary);
}

/* 内容密度变体 */
.density-comfortable {
    --local-spacing-multiplier: 1.5;
}

.density-normal {
    --local-spacing-multiplier: 1;
}

.density-compact {
    --local-spacing-multiplier: 0.75;
}

/* Z-index 层次管理 - 移除重复定义 */

/* ==============================================
   全新统一的服务页面布局系统
   ============================================== */

/* 导航栏简化 */
.nav-logo a {
    color: inherit;
    text-decoration: none;
}

/* 面包屑导航重新设计 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    color: var(--text-tertiary);
}

.breadcrumb a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary-600);
}

.breadcrumb .current {
    color: var(--primary-600);
    font-weight: 500;
}

/* 英雄区重新设计 */
.service-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-4);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 主要内容区域 */
.service-main {
    padding: var(--space-20) 0;
}

/* 服务概览区域 */
.service-overview {
    margin-bottom: var(--space-20);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-12);
    align-items: center;
}

.overview-text h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.overview-description {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.overview-actions {
    display: flex;
    gap: var(--space-4);
}

.overview-image {
    position: relative;
}

.overview-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--space-4);
    box-shadow: var(--shadow-xl);
}

/* 统计数据区域 */
.service-stats {
    margin-bottom: var(--space-20);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    padding: var(--space-12) var(--space-8);
    background: var(--bg-secondary);
    border-radius: var(--space-4);
    border: 1px solid var(--border-light);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-2);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* 通用区域标题 */
.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 服务特色区域 */
.service-features {
    margin-bottom: var(--space-20);
}

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

.feature-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--space-4);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-200);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
    display: block;
}

.feature-card h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
    line-height: 1.3;
}

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

/* 流程时间线 */
.service-process {
    margin-bottom: var(--space-20);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    position: relative;
}

.process-step {
    background: white;
    padding: var(--space-6);
    border-radius: var(--space-4);
    border: 1px solid var(--border-light);
    position: relative;
    transition: all var(--transition-base);
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.step-content h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 技术优势区域 */
.service-advantages {
    margin-bottom: var(--space-20);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.advantage-item {
    background: white;
    padding: var(--space-6);
    border-radius: var(--space-3);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

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

.advantage-item h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.advantage-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* CTA 区域 */
.service-cta {
    margin-bottom: var(--space-12);
}

.cta-content {
    text-align: center;
    padding: var(--space-16) var(--space-8);
    background: var(--gradient-primary);
    border-radius: var(--space-4);
    color: white;
}

.cta-content h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.cta-content p {
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
}

.cta-actions .btn {
    min-width: 160px;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    transform: translateY(-2px);
}

/* 响应式设计优化 */
@media (max-width: 992px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
    
    .overview-image {
        order: -1;
    }
    
    .overview-image img {
        height: 250px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--space-4);
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

/* Service page responsive - Moved to consolidated media query */

