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

/* SplitText分割后的通用字符样式 - 确保继承所有样式 */
.char,
.word {
    display: inline-block;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    font-family: inherit !important;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --dark-bg: var(--bg-primary);
    --dark-secondary: var(--bg-secondary);
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

html {
    scroll-behavior: smooth;
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.container {
    width: 92%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-logo {
    flex-shrink: 0;
    z-index: 1001;
    position: relative;
}

.logo-link {
    z-index: 1001;
    position: relative;
    pointer-events: auto;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto;
    margin-right: 20px;
    z-index: 1001;
    position: relative;
}

.nav-menu li {
    position: relative;
    z-index: 1001;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    z-index: 1;
    pointer-events: auto;
    cursor: pointer;
}

/* 下划线指示器 */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

/* 悬停时的背景高亮 */
.nav-link::before {
    content: '';
    position: absolute;
    inset: -5px -10px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
    transform: translateX(0);
}

.nav-link:hover::before {
    opacity: 1;
}

/* 活动链接样式 */
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    width: 100%;
    left: 0;
    transform: translateX(0);
    background: var(--gradient-1);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.nav-link.active::before {
    opacity: 1;
    background: rgba(99, 102, 241, 0.15);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.theme-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.theme-icon-dark {
    display: block;
}

.theme-icon-light {
    display: none;
}

body[data-theme="light"] .theme-icon-dark {
    display: none;
}

body[data-theme="light"] .theme-icon-light {
    display: block;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ===== Hero区域 - 幻灯片 ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background: var(--bg-primary);
    margin: 0;
    padding: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    z-index: 0;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
}

.gradient-1 {
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.3), transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.3), transparent 50%);
}

.gradient-2 {
    background: radial-gradient(circle at 70% 30%, rgba(236, 72, 153, 0.3), transparent 50%),
                radial-gradient(circle at 30% 80%, rgba(59, 130, 246, 0.3), transparent 50%);
}

.gradient-3 {
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.3), transparent 50%),
                radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.3), transparent 50%);
}

.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
}

/* SplitText分割后的字符样式 */
.hero-title .char,
.hero-title .word {
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    /* 静态渐变文字 */
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.title-line .char,
.title-line .word {
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    background: inherit;
    -webkit-background-clip: inherit;
    -webkit-text-fill-color: inherit;
    background-clip: inherit;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* 按钮波纹效果 */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05) rotateX(5deg);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5),
                0 0 0 0 rgba(99, 102, 241, 0.7);
    animation: pulse-shadow 2s ease-in-out infinite;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02) rotateX(2deg);
}


/* 主按钮的渐变边框动画 */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899, #6366f1);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    animation: gradient-rotate 3s linear infinite;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}


.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn-secondary:hover {
    color: var(--dark-bg);
    transform: translateY(-3px);
    border-color: var(--text-primary);
}

.btn-secondary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* 导航按钮 */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.hero-nav:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--primary-color);
}

.hero-nav-prev {
    left: 30px;
}

.hero-nav-next {
    right: 30px;
}

/* 指示器 */
.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
    align-items: center;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.hero-indicator::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.hero-indicator.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

.hero-indicator.active::before {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-primary);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}


/* ===== 通用区块样式 ===== */
section {
    min-height: 100vh;
    padding: 100px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

section > .container {
    width: 100%;
}

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

.section-header.section-header--center {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header.section-header--center .section-tag {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
}

.section-header.section-header--center .section-title {
    text-align: center;
}

.section-header.section-header--center .section-description {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.15) 0%, 
        rgba(139, 92, 246, 0.12) 100%);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 
        0 4px 16px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.section-tag:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(99, 102, 241, 0.6);
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        rgba(203, 213, 225, 0.95) 50%,
        #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
    animation: gradient-rotate 6s ease infinite;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.15));
}

/* SplitText分割后的section-title字符样式 */
.section-title .char,
.section-title .word {
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    background: inherit;
    -webkit-background-clip: inherit;
    -webkit-text-fill-color: inherit;
    background-clip: inherit;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* ===== 关于我们 ===== */
.about {
    background: var(--dark-secondary);
    min-height: 100vh;
}

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

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* ===== 关于我们页面样式 ===== */
.about-page-wrapper {
    min-height: 100vh;
    background: var(--bg-primary);
    padding-top: 100px;
    padding-bottom: 80px;
}

.about-page-section {
    
    background: transparent;
}

.about-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* 统一关于我们页面内容块的间距和宽度 */
.about-content-item {
    margin-bottom: 60px;
    width: 92%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* 关于我们页面内容样式，与首页保持一致 */
.about-page-content {
    font-size: 18px;
    line-height: 1.8;
    text-align: left !important;
    color: var(--text-primary);
    width: 100%;
    display: block !important; /* 强制单列显示，覆盖任何grid布局 */
}

.about-page-content p {
    margin-bottom: 40px;
    line-height: 1.8;
    color: var(--text-primary);
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
}

.about-page-content h1,
.about-page-content h2,
.about-page-content h3,
.about-page-content h4,
.about-page-content h5,
.about-page-content h6 {
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--text-primary);
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
}

.about-page-content div {
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important; /* 确保div不是grid或flex */
}

.about-page-content ul,
.about-page-content ol {
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
}

.about-page-content li {
    text-align: left !important;
}

/* 强制移除所有可能的列布局和对齐问题 */
.about-page-content * {
    text-align: left !important;
    max-width: 100% !important;
    display: block !important; /* 强制所有元素为块级 */
}

/* 但保留内联元素的正常显示 */
.about-page-content span,
.about-page-content strong,
.about-page-content em,
.about-page-content b,
.about-page-content i,
.about-page-content a {
    display: inline !important;
}

/* 确保列表项正常显示 */
.about-page-content li {
    display: list-item !important;
}

/* 确保表格正常显示（如果有） */
.about-page-content table {
    display: table !important;
    width: 100% !important;
}

.about-page-content tr {
    display: table-row !important;
}

.about-page-content td,
.about-page-content th {
    display: table-cell !important;
    text-align: left !important;
}

/* 统计数据区域 */
.about-page-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    width: 100%;
}

/* 服务领域标题 */
.about-page-services-header {
    margin-bottom: 40px;
    text-align: left;
    width: 100%;
}

.about-page-services-header .section-title {
    text-align: left;
}

/* 服务领域网格 */
.about-page-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
}

/* 服务标签 */
.about-page-service-tag {
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.about-page-service-tag:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
}

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

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* 统计项悬停效果 */
.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3),
                0 0 0 1px rgba(99, 102, 241, 0.1);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.about-image {
    position: relative;
    height: 500px;
    margin-top: -60px;;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: z-index 0s, transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
    z-index: 999 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* 卡片在整个空间均匀分布，不分组 - 使用彩虹色系依次应用，渐变过渡非常平滑 */
.floating-card.card-1 {
    top: 8%;
    left: 5%;
    width: 40%;
    height: 20%;
    background: linear-gradient(135deg, #e91e63 0%, #ec407a 100%);
    z-index: 1;
    transform: rotate(5deg);
}

.floating-card.card-2 {
    top: 15%;
    right: 8%;
    width: 20%;
    height: 20%;
    background: linear-gradient(135deg, #f06292 0%, #f48fb1 100%);
    z-index: 2;
    transform: rotate(-4deg);
}

.floating-card.card-3 {
    top: 55%;
    left: 36%;
    width: 20%;
    height: 20%;
    background: linear-gradient(15deg, #ff6f00 0%, #ff8f00 100%);
    z-index: 3;
    transform: rotate(-30deg);
}

.floating-card.card-4 {
    top: 45%;
    right: 15%;
    width: 20%;
    height: 20%;
    background: linear-gradient(135deg, #ffb300 0%, #ffc107 100%);
    z-index: 4;
    transform: rotate(4deg);
}

.floating-card.card-5 {
    top: 5%;
    right:40%;
    width: 210px;
    height: 250px;
    background: linear-gradient(135deg, #ffd54f 0%, #ffeb3b 100%);
    z-index: 1;
    transform: rotate(2deg);
}

.floating-card.card-6 {
    top: 45%;
    left: 8%;
    width: 185px;
    height: 225px;
    background: linear-gradient(135deg, #cddc39 0%, #9ccc65 100%);
    z-index: 5;
    transform: rotate(-5deg);
}

.floating-card.card-7 {
    top: 70%;
    left: 15%;
    width: 195px;
    height: 235px;
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    z-index: 2;
    transform: rotate(-2deg);
}

.floating-card.card-8 {
    top: 75%;
    right: 12%;
    width: 175px;
    height: 215px;
    background: linear-gradient(135deg, #26a69a 0%, #00acc1 100%);
    z-index: 3;
    transform: rotate(3deg);
}

/* ===== 服务 ===== */
.services {
    background: var(--dark-bg);
    padding: 40px 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
}

/* 统一所有卡片的基础样式 - 与 stat-item 保持一致 */
.service-card {
    padding: 30px;
    background: rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 200px;
}

/* 统计项悬停效果 */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3),
                0 0 0 1px rgba(99, 102, 241, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 确保图标颜色与标题颜色完全一致 */
.service-card .service-icon {
    color: var(--text-primary);
}

.service-icon svg,
.service-icon img,
.service-icon > div {
    width: 100%;
    height: 100%;
    object-fit: contain;
    color: inherit;
}

.service-icon svg {
    stroke: currentColor;
    fill: currentColor;
}

.service-icon svg path,
.service-icon svg line,
.service-icon svg circle,
.service-icon svg rect,
.service-icon svg polyline {
    stroke: currentColor;
    fill: currentColor;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
    text-align: center;
    width: 100%;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
    text-align: center;
    width: 100%;
}

/* ===== 作品集 ===== */
.portfolio {
    background: var(--dark-secondary);
    min-height: 100vh;
}

/* ===== 精选运用 MyApps ===== */
.myapps {
    background: var(--dark-bg) !important;
    padding: 80px 0;
    min-height: 80vh;
}

.myapps-loading,
.myapps-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 16px;
}

.myapps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
}

.myapp-card {
    background: rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

/* 悬停光效 */
.myapp-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.myapp-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3),
                0 0 0 1px rgba(99, 102, 241, 0.1);
}

.myapp-card:hover::before {
    opacity: 1;
}

.myapp-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    width: 100%;
}

.myapp-number {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    min-width: 50px;
}

.myapp-card-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
    flex: 1;
}

.myapp-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    width: 100%;
}

.myapp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    width: 100%;
    justify-content: flex-start;
}

.myapp-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary-color);
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.myapp-tag:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.myapp-tag:hover::before {
    left: 100%;
}

.portfolio-card {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 100% 100%;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.8), rgba(139, 92, 246, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-image::before {
    opacity: 1;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-primary);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-content {
    transform: translateY(-5px);
}

.portfolio-content h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.portfolio-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.portfolio-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.portfolio-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.portfolio-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.portfolio-link:hover::after {
    transform: translateX(5px);
}



.loading-skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: 8px;
}

/* 骨架屏组件 */
.skeleton {
    display: inline-block;
    height: 1em;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    animation: shimmer 2s infinite;
}

.skeleton-text {
    width: 100%;
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    width: 60%;
    height: 24px;
    margin-bottom: 16px;
}

.skeleton-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
}

/* 加载动画 */
.loader {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(99, 102, 241, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-lg {
    width: 60px;
    height: 60px;
    border-width: 6px;
}



/* Swiper样式覆盖 */
.swiper-button-next,
.swiper-button-prev {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: var(--text-primary);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* ===== 精选案例 Showcase ===== */
.showcase {
    min-height: auto;
    background: var(--dark-secondary) !important;
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
    display: block; /* 覆盖通用 section 的横向 flex，保证上下排列 */
}

.showcase-wrapper {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 40px 0 0;
    min-height: 200px;
    overflow: hidden;
}

.showcase-track {
    display: flex;
    gap: 40px;
    will-change: transform;
    padding-left: 4%;
}

.showcase-item {
    display: block;
    min-height: 600px;
    position: relative;
    width: clamp(320px, 80vw, 800px);
    flex: 0 0 auto;
}

/* 背景层铺满，内容覆盖其上 */
.showcase-image {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    overflow: hidden;
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-item .showcase-image { order: 1; }
.showcase-item .showcase-content { order: 2; }
.showcase-item.is-reverse .showcase-image { order: 2 !important; }
.showcase-item.is-reverse .showcase-content { order: 1 !important; }

.showcase-image {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    perspective: 1000px;
}

.showcase-image-inner {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-size: 110%;
    background-position: center;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    opacity: 1;
    animation: showcase-kenburns 20s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.showcase-image-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 600px at var(--mx,60%) var(--my,40%), rgba(255,255,255,0.12), transparent 55%),
                linear-gradient(115deg, rgba(255,255,255,0.08), transparent 60%);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.6;
    animation: showcase-sweep 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 背景暗角，提升可读性 */
.showcase-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.6) 100%);
}


.showcase-img-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.showcase-img-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    background-image: 
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.showcase-img-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    background-image: 
        radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.showcase-img-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.showcase-content {
    position: absolute;
    left: 50px;
    right: 50px;
    top: 40%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 55%;
    padding: 0;
    opacity: 1;
}

.showcase-content .showcase-number,
.showcase-content .showcase-title,
.showcase-content .showcase-description,
.showcase-content .showcase-tags .tag,
.showcase-content .showcase-link {
    will-change: opacity, transform;
}

.showcase-number {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    margin-bottom: -40px;
    position: relative;
    z-index: 0;
}

.showcase-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.showcase-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.showcase-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.showcase-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.showcase-tags .tag {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 不同tag的样式变体 */
.showcase-tags .tag:nth-child(1) {
    background: rgba(99, 102, 241, 0.15);
    border: 1.5px solid rgba(99, 102, 241, 0.4);
    color: #818cf8;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.showcase-tags .tag:nth-child(2) {
    background: rgba(139, 92, 246, 0.15);
    border: 1.5px solid rgba(139, 92, 246, 0.4);
    color: #a78bfa;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.showcase-tags .tag:nth-child(3) {
    background: rgba(236, 72, 153, 0.15);
    border: 1.5px solid rgba(236, 72, 153, 0.4);
    color: #f472b6;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.showcase-tags .tag:nth-child(4) {
    background: rgba(59, 130, 246, 0.15);
    border: 1.5px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 通用悬停效果 */
.showcase-tags .tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.showcase-tags .tag:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.showcase-tags .tag:hover::before {
    left: 100%;
}

/* 第一个tag悬停 */
.showcase-tags .tag:nth-child(1):hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 第二个tag悬停 */
.showcase-tags .tag:nth-child(2):hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 第三个tag悬停 */
.showcase-tags .tag:nth-child(3):hover {
    background: rgba(236, 72, 153, 0.25);
    border-color: rgba(236, 72, 153, 0.6);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 第四个tag悬停 */
.showcase-tags .tag:nth-child(4):hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}


.showcase-tags .tag:nth-child(1) {
    animation: tag-pulse-1 3s ease-in-out infinite;
    animation-delay: 0s;
}

.showcase-tags .tag:nth-child(2) {
    animation: tag-pulse-2 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.showcase-tags .tag:nth-child(3) {
    animation: tag-pulse-3 3s ease-in-out infinite;
    animation-delay: 1s;
}

.showcase-tags .tag:nth-child(4) {
    animation: tag-pulse-4 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

.showcase-link {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-1);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font: inherit;
}

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

.showcase-link:hover::before {
    left: 100%;
}

.showcase-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.showcase-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.showcase-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.showcase-modal__content {
    position: relative;
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: clamp(24px, 5vw, 48px);
    width: min(960px, 90vw);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.showcase-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-modal__close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.showcase-modal__header h3 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 10px;
}

.showcase-modal__header p {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0;
}

.showcase-modal__body {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.showcase-modal__description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.showcase-modal__content-html {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.showcase-modal__fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.showcase-modal-field {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-modal-field-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.showcase-modal-field-value {
    margin: 8px 0 0;
    font-size: 15px;
    color: var(--text-primary);
    word-break: break-word;
}

/* 响应式设计 */


/* ===== 最新资讯 ===== */
.news {
    background: var(--dark-secondary);
    min-height: 100vh;
}

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

/* 响应式：大屏幕时保持4列 */
@media (max-width: 1400px) {
    .news-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

/* 响应式：中等屏幕时显示3列 */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* 响应式：小屏幕时显示2列 */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* 响应式：超小屏幕时显示1列 */
@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* 资讯列表和详情页的左右分栏在小屏幕时堆叠 */
    main[style*="width: 66%"] {
        width: 100% !important;
        padding-right: 0 !important;
        margin-bottom: 32px;
    }

    aside[style*="width: 34%"] {
        width: 100% !important;
        padding-left: 0 !important;
        position: static !important;
    }
}

.news-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    min-width: 0; /* 防止内容溢出 */
}

/* 卡片悬停时的光效 */
.news-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.5), rgba(236, 72, 153, 0.5));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    animation: gradient-rotate 3s linear infinite;
}

.news-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.4),
                0 0 0 1px rgba(99, 102, 241, 0.1);
}

.news-card:hover::before {
    opacity: 1;
}

.news-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--dark-bg);
}

.news-image-inner {
    width: 100%;
    height: 100%;
    background-size: 110%;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: news-kenburns 15s ease-in-out infinite alternate;
}

.news-card:hover .news-image-inner {
    transform: scale(1.15);
    animation-play-state: paused;
}



.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.news-card:hover .news-overlay {
    opacity: 0.8;
}

/* 资讯图片渐变背景 */
.news-img-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.news-img-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    background-image: 
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.news-img-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    background-image: 
        radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.news-img-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.news-date {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1;
    transform: translateX(0);
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
    opacity: 1;
    transform: translateY(0);
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* SplitText分割后的资讯标题字符样式 */
.news-title .char {
    display: inline-block;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

.news-card:hover .news-title {
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    opacity: 1;
    transform: translateY(0);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.news-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.news-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.news-link:hover::after {
    transform: translateX(5px);
}

/* ===== 团队 ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.member-image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="40" r="20" fill="rgba(255,255,255,0.2)"/><path d="M30 70 Q50 60 70 70" stroke="rgba(255,255,255,0.2)" stroke-width="2" fill="none"/></svg>') center/60% no-repeat;
    opacity: 0.5;
}

.member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-image:hover::before {
    opacity: 1;
}

.member-social {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.member-image:hover .member-social {
    opacity: 1;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.member-social svg {
    width: 20px;
    height: 20px;
}

.member-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.member-info p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* ===== 联系我们 ===== */
.contact {
    background: var(--dark-bg);
    min-height: 100vh;
    position: relative;
    margin-top: 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

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

.info-text h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.info-text p {
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px 20px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

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

/* 浮动标签 */
.form-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 2;
    background: transparent;
}

.form-group textarea + label {
    top: 25px;
    transform: translateY(0);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 8px;
    left: 15px;
    font-size: 12px;
    color: var(--primary-color);
    transform: translateY(0);
    background: var(--dark-bg);
    padding: 0 8px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1),
                0 0 20px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
    padding-top: 20px;
    padding-bottom: 10px;
}

/* 输入框聚焦时的边框动画 */
.form-group::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899, #6366f1);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    animation: gradient-rotate 3s linear infinite;
}

.form-group:focus-within::before {
    opacity: 1;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.form-group:focus-within input::placeholder,
.form-group:focus-within textarea::placeholder {
    opacity: 0.5;
    transform: translateY(-5px);
}

/* ===== 页面标题 ===== */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-secondary);
    position: relative;
    padding: 150px 0 100px;
    margin-bottom: 0;
    overflow: hidden;
    /* 背景图片基础设置 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 背景图片和颜色叠加层 */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    display: block;
}

/* 颜色叠加层，保留现有颜色 */
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-secondary);
    opacity: 0.7;
    z-index: 1;
    display: block;
}

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

/* About 页面背景图片 - 直接在元素上设置，确保浏览器会请求图片 */
.page-hero-about {
    background-image: url('/images/about.jpg');
}

/* Services 页面背景图片 */
.page-hero-services {
    background-image: url('/images/services.jpg');
}

/* Portfolio 页面背景图片 */
.page-hero-portfolio {
    background-image: url('/images/portfolio.jpg');
}

/* Contact 页面背景图片 */
.page-hero-contact {
    background-image: url('/images/contact.jpg');
}

.page-title {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    text-align: center;
}

/* ===== 关于页面 ===== */
.about-page {
    min-height: 100vh;
    padding: 100px 0;
}

/* 旧的about-page-content样式已移除，使用上面的统一样式 */

.about-text-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text-section p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.values-list {
    list-style: none;
    margin-top: 40px;
}

.values-list li {
    margin-bottom: 30px;
    padding: 30px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.values-list li h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.values-list li p {
    color: var(--text-secondary);
    margin: 0;
}

.stats-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item-large {
    text-align: center;
    padding: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.stat-item-large .stat-number {
    font-size: 64px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

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

.service-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

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

.member-desc {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.nav-link.active {
    color: var(--text-primary);
}

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

.logo-text {
    text-decoration: none;
    color: inherit;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--dark-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* 二维码样式 */
.social-qrcodes {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    justify-content: flex-start;
}

.social-qrcodes > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.social-qrcodes > div > div:first-child {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.social-qrcodes img {
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.social-qrcodes img:hover {
    transform: scale(1.05);
}

.footer-info {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.footer-other {
    margin-top: 16px;
    padding-top: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.footer-other-first {
    margin-top: 32px;
    padding-top: 32px;
    
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
   
    color: var(--text-secondary);
}

/* 页脚服务城市区域 */
.footer-cities-section {
    max-width: 280px;
}

.footer-cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    max-height: 140px;
    overflow-y: auto;
}

.footer-cities-list li {
    margin: 0;
}

.footer-cities-more {
    display: inline-block;
    margin-top: 10px;
    padding: 0;
    font-size: 14px;
    color: var(--primary-color);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s;
}

.footer-cities-more:hover {
    color: var(--secondary-color);
}

/* 城市列表弹窗 */
.footer-cities-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: footer-modal-fade-in 0.2s ease;
}

@keyframes footer-modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.footer-cities-modal {
    background: var(--bg-secondary);
    border-radius: 12px;
    max-width: 560px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: footer-modal-slide-in 0.25s ease;
}

@keyframes footer-modal-slide-in {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.footer-cities-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cities-modal-header h4 {
    margin: 0;
    font-size: 18px;
}

.footer-cities-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.footer-cities-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.footer-cities-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.footer-cities-modal-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.footer-cities-modal-item:hover {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
}

.footer-cities-modal-province {
    font-size: 12px;
    opacity: 0.8;
}

/* ===== 新闻页面样式 ===== */
.news-page-wrapper {
    min-height: 100vh;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.news-page-container {
    padding-top: 120px;
    padding-bottom: 80px;
}

.news-page-header {
    margin-bottom: 48px;
}

.news-page-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-page-back-link:hover {
    color: var(--text-primary);
}

.news-page-title {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.news-page-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
}

.news-page-empty {
    text-align: center;
    padding: 80px;
    opacity: 0.5;
}

.news-page-grid {
    margin-bottom: 48px;
}

.news-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-card-link {
    text-decoration: none;
    display: block;
}

.news-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.news-card-tag {
    font-size: 12px;
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-card-tag:hover {
    background: rgba(99, 102, 241, 0.35);
    color: var(--text-primary);
}

.news-page-clear-filter {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-page-clear-filter:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.news-page-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
}

.news-page-pagination-btn {
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-page-pagination-btn.disabled {
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.5;
    cursor: not-allowed;
}

.news-page-pagination-btn:not(.disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.news-page-pagination-info {
    color: var(--text-secondary);
    padding: 0 16px;
}

/* ===== 作品页面样式 ===== */
.portfolio-page-wrapper {
    min-height: 100vh;
    background: var(--bg-primary);
    padding-top: 100px;
    padding-bottom: 80px;
}

.portfolio-page-section {
    margin-top: 60px;
}

.portfolio-page-loading,
.portfolio-page-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.portfolio-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.portfolio-page-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-page-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
}

.portfolio-page-card-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.portfolio-page-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.portfolio-page-card-content {
    padding: 24px;
}

.portfolio-page-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.portfolio-page-card-subtitle {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.portfolio-page-card-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.portfolio-page-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.portfolio-page-card-tag {
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 6px;
    font-size: 12px;
    color: var(--primary-color);
}

.portfolio-page-card-date {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== 联系页面样式 ===== */
.contact-page-wrapper {
    min-height: 100vh;
    background: var(--bg-primary);
}

.contact-page-section {
    margin-top: 0;
    padding: 60px 0;
}

.contact-page-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* ===== 服务页面样式 ===== */
.services-page-wrapper {
    min-height: 100vh;
    background: var(--bg-primary);
    padding-top: 100px;
    padding-bottom: 80px;
}

.services-page-section {
    margin-top: 60px;
}

.services-page-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.service-content-item {
    margin-bottom: 80px;
}

.service-icon-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.services-page-myapp-header {
    margin-bottom: 40px;
}

/* ===== 作品页面分页样式 ===== */
.portfolio-page-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
}

.portfolio-page-pagination-btn {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.portfolio-page-pagination-btn.disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    opacity: 0.5;
    cursor: not-allowed;
}

.portfolio-page-pagination-btn:not(.disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.portfolio-page-pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.portfolio-page-pagination-number {
    padding: 8px 16px;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    min-width: 40px;
}

.portfolio-page-pagination-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
}

.portfolio-page-pagination-number:hover:not(.active) {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.portfolio-page-pagination-info {
    color: var(--text-secondary);
    padding: 0 16px;
    font-size: 14px;
}

/* ===== 首页关于我们组件样式 ===== */
.about-mission-title {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: clamp(12px, 3vw, 20px);
    line-height: 1.3;
}

.about-mission-text {
    font-size: clamp(14px, 3vw, 18px);
    line-height: 1.8;
    margin-bottom: clamp(20px, 5vw, 40px);
}

.about-mission-text.with-link {
    margin-bottom: 20px;
}

.about-truncated-content {
    font-size: clamp(14px, 3vw, 18px);
    line-height: 1.8;
    margin-bottom: 0;
}

.about-truncated-content.with-link {
    margin-bottom: 20px;
}

.about-more-link-wrapper {
    margin-top: 20px;
    margin-bottom: clamp(20px, 5vw, 40px);
}

.about-more-link {
    text-decoration: none;
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.about-home-stats {
    margin-top: clamp(20px, 5vw, 40px);
}

.about-home-stat-item {
    text-align: center;
    padding: clamp(12px, 3vw, 20px);
}

.about-home-stat-number {
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 700;
    margin-bottom: 8px;
}

.about-home-stat-label {
    font-size: clamp(12px, 2.5vw, 16px);
    color: var(--text-secondary);
}

.about-home-image {
    height: clamp(300px, 50vw, 500px);
    margin-top: clamp(30px, 6vw, 60px);
}

.about-home-floating-card {
    font-size: clamp(12px, 2.5vw, 16px);
    padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 20px);
    max-width: clamp(120px, 25vw, 200px);
}

/* ===== 首页新闻组件样式 ===== */
.news-home-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    opacity: 0.5;
}

.news-home-more {
    margin-top: 48px;
    text-align: center;
}

.news-home-more .btn {
    text-decoration: none;
    display: inline-block;
}

/* ===== 文章详情页面样式 ===== */
.article-page-wrapper {
    min-height: 100vh;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.article-page-container {
    padding-top: 100px;
    padding-bottom: 80px;
}

.article-page-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 48px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-page-back-link:hover {
    color: var(--text-primary);
}

.article-page-layout {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.article-page-main {
    width: 66%;
    padding-right: 32px;
}

.article-page-loading {
    text-align: center;
    padding: 80px;
    opacity: 0.6;
}

.article-page-error {
    text-align: center;
    padding: 100px;
    color: var(--text-secondary);
}

.article-page-header {
    margin-bottom: 48px;
}

.article-page-date {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 16px;
}

.article-page-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--text-primary);
}

.article-page-excerpt {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-page-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.article-keyword-tag {
    font-size: 14px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.2s ease;
}

.article-keyword-tag:hover {
    background: rgba(99, 102, 241, 0.35);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.article-page-body {
    margin-top: 32px;
}

.article-page-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 18px;
    max-width: 800px;
    overflow-wrap: break-word;
    min-width: 0;
}

.article-page-content > * {
    max-width: 100%;
}

/* 文章内容排版层级 */
.article-page-content h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.6em;
    line-height: 1.4;
    color: var(--text-primary);
}

.article-page-content h2:first-child {
    margin-top: 0;
}

.article-page-content h3 {
    font-size: 1.25em;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.45;
    color: var(--text-primary);
}

.article-page-content h4,
.article-page-content h5,
.article-page-content h6 {
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 1.25em;
    margin-bottom: 0.4em;
    line-height: 1.5;
}

.article-page-content p {
    font-size: 1em;
    margin: 0 0 1em;
}

.article-page-content p:last-child {
    margin-bottom: 0;
}

.article-page-content ul,
.article-page-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.article-page-content ul {
    list-style-type: disc;
}

.article-page-content ol {
    list-style-type: decimal;
}

.article-page-content li {
    margin: 0.4em 0;
    line-height: 1.7;
}

.article-page-content strong {
    font-weight: 600;
}

.article-page-content a,
.article-page-content .article-content-keyword-link {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(99, 102, 241, 0.4);
    transition: color 0.2s, border-color 0.2s;
}

.article-page-content a:hover,
.article-page-content .article-content-keyword-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* 文章内联代码 */
.article-page-content code {
    font-family: 'Consolas', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    padding: 3px 8px;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.35) 0%, rgba(13, 71, 161, 0.25) 100%);
    border-radius: 6px;
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: #a7f3d0;
    word-break: break-all;
}

/* 文章代码块 */
.article-page-content pre {
    margin: 24px 0;
    padding: 24px 20px 20px;
    background: linear-gradient(160deg, #0f2d24 0%, #0d1f2d 50%, #0f1729 100%);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-left: 4px solid rgba(52, 211, 153, 0.7);
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    position: relative;
}

.article-page-content pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: linear-gradient(to bottom, rgba(52, 211, 153, 0.06) 0%, transparent 100%);
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}

.article-page-content pre code {
    font-family: 'Consolas', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.65;
    padding: 0;
    background: transparent;
    border: none;
    word-break: normal;
    white-space: pre;
    color: #e2e8f0;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

/* 代码块滚动条样式 */
.article-page-content pre::-webkit-scrollbar {
    height: 10px;
}

.article-page-content pre::-webkit-scrollbar-track {
    background: rgba(15, 45, 36, 0.6);
    border-radius: 0 0 12px 12px;
}

.article-page-content pre::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(52, 211, 153, 0.5), rgba(34, 197, 94, 0.5));
    border-radius: 5px;
}

.article-page-content pre::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(52, 211, 153, 0.7), rgba(34, 197, 94, 0.7));
}

.article-page-empty {
    color: var(--text-secondary);
    font-style: italic;
    padding: 40px;
}

.article-page-footer {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.article-page-footer .btn {
    text-decoration: none;
    display: inline-block;
}

/* ===== 城市页面样式 ===== */
.cities-page-wrapper {
    min-height: 100vh;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding-top: 120px;
    padding-bottom: 80px;
}

.cities-page-header {
    margin-bottom: 48px;
    text-align: center;
}

.cities-page-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cities-page-back-link:hover {
    color: var(--text-primary);
}

.cities-page-title {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cities-page-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
}

.cities-page-empty {
    text-align: center;
    padding: 80px;
    opacity: 0.5;
}

.cities-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.cities-page-card-link {
    text-decoration: none;
    display: block;
}

.cities-page-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cities-page-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.2);
}

.cities-page-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cities-page-card-province {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.cities-page-card-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.cities-page-card-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

/* ===== 导航栏Logo样式 ===== */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-img {
    display: none;
    height: 40px;
    width: auto;
}

/* ===== 404页面样式 ===== */
.not-found-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.not-found-code {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.not-found-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
}

.not-found-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
}

.not-found-link {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.not-found-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* ===== 首页服务组件样式 ===== */
.services-home-loading,
.services-home-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* ===== 首页作品组件样式 ===== */
.portfolio-home-loading,
.portfolio-home-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* ===== 作品侧边栏样式 ===== */
.portfolio-sidebar {
    width: 34%;
    padding-left: 32px;
}

.portfolio-sidebar-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-sidebar-card-sticky {
    position: sticky;
    top: 120px;
}

.portfolio-sidebar-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.portfolio-sidebar-empty {
    color: var(--text-secondary);
    text-align: center;
    padding: 20px;
}

.portfolio-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portfolio-sidebar-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-sidebar-item:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}

.portfolio-sidebar-item-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    position: relative;
}

.portfolio-sidebar-item-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.6));
}

.portfolio-sidebar-item-content {
    padding: 16px;
}

.portfolio-sidebar-item-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-sidebar-item-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-sidebar-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.portfolio-sidebar-item-tag {
    font-size: 12px;
    padding: 4px 8px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    border-radius: 6px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.portfolio-sidebar-footer {
    margin-top: 24px;
    text-align: center;
}

.portfolio-sidebar-more-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.portfolio-sidebar-more-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* ===== Showcase组件样式 ===== */
.showcase-loading,
.showcase-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.showcase-image-bg {
    background-size: cover;
    background-position: center;
}

/* ===== Hero组件样式 ===== */
.hero-loading {
    opacity: 0.5;
}

/* ===== CombinedSections组件样式 ===== */
.combined-card-clickable {
    cursor: pointer;
}

.modal-service-icon {
    color: var(--text-primary);
}

.modal-service-icon-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-service-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-portfolio-content-no-image {
    padding: 30px;
    color: var(--text-primary);
}

/* ===== SEO 辅助标题（仅对搜索引擎可见，屏幕阅读器可访问） ===== */
.seo-headings {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.seo-headings .seo-h1,
.seo-headings .seo-h3 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  padding: 0;
}

/* ===== 响应式设计 ===== */
