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

:root {
    /* 主色调 - 更鲜明的渐变 */
    --primary-gradient: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%);
    --secondary-gradient: linear-gradient(135deg, #FF8008 0%, #FFC837 100%);
    --accent-gradient: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    --success-gradient: linear-gradient(135deg, #2af598 0%, #009efd 100%);

    /* 颜色变量 - 更现代的配色 */
    --primary-color: #6366f1;
    --secondary-color: #f97316;
    --accent-color: #0ea5e9;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    
    /* 阴影效果增强 */
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.08);
    
    /* 圆角变量 */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* 动画变量 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-light);
}

/* 移动端优化 */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* 触摸友好的按钮和链接 */
.btn,
.nav-link,
.contact-item,
.service-card,
.back-to-top {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
}

/* 防止移动端缩放 */
input,
textarea,
select {
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

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

/* 导航栏 - 更现代的导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.nav-logo h2 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    transition: transform var(--transition-fast);
}

.nav-logo h2:hover {
    transform: scale(1.05);
}

.nav-logo h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--secondary-gradient);
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

.nav-logo h2:hover::after {
    width: 100%;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition-normal);
    position: relative;
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

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

.nav-link:hover::after {
    width: 30px;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: var(--radius-full);
}

/* 英雄区域 - 更强的视觉效果 */
.hero {
    padding: 140px 0 80px;
    background: var(--primary-gradient);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 75% 65%, rgba(255, 255, 255, 0.15) 0%, transparent 40%);
    opacity: 0.6;
    animation: gradientShift 15s ease infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-light), transparent);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: slideInLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* 悬浮粒子动画增强 */
.particles::before,
.particles::after,
.particles span {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

.particles::before {
    top: 20%;
    left: 10%;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    animation-delay: 0s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.particles::after {
    top: 70%;
    left: 70%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.7);
    animation-delay: 2s;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    transform: translateY(0);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.25);
}

.highlight {
    position: relative;
    display: inline-block;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    padding: 0 10px;
    z-index: 1;
}

.highlight::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: var(--secondary-gradient);
    border-radius: var(--radius-sm);
    z-index: -1;
    opacity: 0.8;
    transform: skewX(-3deg) rotate(-1deg);
    transition: all var(--transition-normal);
}

.highlight:hover::before {
    height: 55%;
    transform: skewX(-5deg) rotate(-2deg);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-description {
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 90%;
    opacity: 0.85;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 1s;
    opacity: 0;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

/* 按钮样式增强 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn i {
    font-size: 1.1em;
    transition: transform var(--transition-normal);
    margin-right: 6px;
}

.btn:hover i {
    transform: translateX(2px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.hero-image {
    position: relative;
    animation: slideInRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    right: -20px;
    background: var(--secondary-gradient);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.8;
    transform: rotate(3deg);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-heavy);
}

.hero-image:hover .image-decoration {
    transform: rotate(5deg) translateX(-5px);
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 20%;
    bottom: -10px;
    left: -10%;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: var(--radius-full);
    z-index: -1;
    transform: translateY(20px) scale(0.7);
    filter: blur(10px);
    opacity: 0.5;
    transition: all var(--transition-normal);
}

.hero-image:hover::before {
    transform: translateY(15px) scale(0.75);
    opacity: 0.6;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    transform: translateZ(0) rotate(0);
    transition: all var(--transition-slow);
    object-fit: cover;
    aspect-ratio: 3/4;
}

.hero-image:hover img {
    transform: translateZ(30px) rotate(-1deg);
    box-shadow: var(--shadow-heavy), 0 0 30px rgba(0, 0, 0, 0.15);
}

/* 服务卡片增强 */
.services {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.services::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200px;
    top: -100px;
    left: -50%;
    background: var(--bg-light);
    transform: rotate(-3deg);
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
    margin-top: 60px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(244, 114, 182, 0.03) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

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

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.1);
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: -1;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: white;
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
    transition: all var(--transition-normal);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.8;
}

.service-card ul {
    list-style: none;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.service-card li {
    margin-bottom: 8px;
    color: var(--text-dark);
    position: relative;
    padding-left: 20px;
    transition: all var(--transition-normal);
    font-size: 0.95rem;
}

.service-card li::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    top: 8px;
    left: 0;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.7;
    transition: all var(--transition-normal);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.service-card:hover li {
    transform: translateX(5px);
    color: var(--primary-color);
}

/* 动画定义 */
@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

/* 通用区域样式 */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: var(--secondary-gradient);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 1;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* 服务项目 */
.services {
    padding: 120px 0;
    background: var(--bg-light);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(102, 126, 234, 0.05), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    justify-items: center;
}

.service-card {
    background: var(--bg-white);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 380px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

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

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 2.2rem;
    position: relative;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--accent-gradient);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    animation: pulse 2s infinite;
}

.service-card:hover .service-icon::before {
    opacity: 0.3;
}

.service-card h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

.service-card ul {
    list-style: none;
    text-align: left;
    position: relative;
    z-index: 2;
}

.service-card li {
    padding: 10px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 30px;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    background: var(--success-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.service-card:hover li {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* 关于我们 */
.about {
    padding: 120px 0;
    background: var(--bg-white);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--bg-light), var(--bg-white));
}

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

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

.about-text .section-header h2::after {
    left: 0;
    transform: none;
}

.about-description p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    gap: 25px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all var(--transition-normal);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
    background: var(--bg-white);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: transform var(--transition-normal);
}

.feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-content h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.about-cta {
    margin-top: 40px;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: #333;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
}



/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #3498db;
}

/* 进场动画类 */
.service-card, .feature, .about-description p, .contact-item, .section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card:nth-child(2n) {
    transform: translateY(30px) translateX(-10px);
}

.service-card:nth-child(3n) {
    transform: translateY(30px) translateX(10px);
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) !important;
}

/* 页面加载动画 */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* 页面进度条 */
.page-progress {
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* 图片加载动画 */
img {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

img.loaded {
    animation: imgLoaded 0.5s ease;
}

@keyframes imgLoaded {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 鼠标跟随动画 */
.cursor, .cursor-dot {
    pointer-events: none;
    mix-blend-mode: difference;
}

/* 移动端优化 */
body.mobile .cursor,
body.mobile .cursor-dot {
    display: none;
}

/* 3D视差动画 */
.service-card, .btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* 粒子样式 */
.particle {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

/* 响应式调整 - 移动端禁用某些复杂动画 */
@media (max-width: 768px) {
    .service-card, .btn {
        transform-style: flat !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .service-card:hover,
    .btn:hover {
        transform: translateY(-5px) !important;
    }
    
    .particles {
        opacity: 0.5;
    }
}

/* 响应式设计 */

/* 平板端 (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .about-content {
        gap: 50px;
    }
}

/* 小平板端 (480px - 768px) */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
        z-index: 999;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 10px 20px;
        display: block;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: 80vh;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .about-text .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        max-width: 100%;
        padding: 35px 25px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .container {
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* 手机端 (最大480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
        height: 60px;
    }

    .nav-logo h2 {
        font-size: 20px;
    }

    .nav-menu {
        top: 60px;
        padding: 20px 0;
    }

    .hero {
        padding: 80px 0 50px;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

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

    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
        width: 200px;
        text-align: center;
    }

    .hero-image img {
        height: 250px;
    }

    .services,
    .about,
    .contact {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .section-header p {
        font-size: 1rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .service-card li {
        font-size: 0.9rem;
        padding: 6px 0;
    }

    .about-image img {
        height: 250px;
    }

    .feature {
        margin-bottom: 20px;
    }

    .feature i {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-item {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .contact-item i {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .footer {
        padding: 40px 0 15px;
    }

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

    .footer-section h3,
    .footer-section h4 {
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

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

    .container {
        padding: 0 15px;
    }

    /* 返回顶部按钮移动端优化 */
    .back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 16px !important;
    }
}

/* 超小屏幕 (最大360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 25px 15px;
    }

    .contact-item {
        padding: 20px 15px;
    }

    .btn {
        width: 180px;
        padding: 10px 20px;
    }
}
