/* ========================================
   全局样式 - 2024 最新设计趋势
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 粉紫蓝梦幻配色系统 - 参考截图 */
    /* 主色调 - 粉紫蓝渐变 */
    --primary: #EC4899;           /* Pink - 主要强调色 */
    --primary-light: #F472B6;     /* 浅粉色 */
    --primary-dark: #DB2777;      /* 深粉色 */
    
    --secondary: #A855F7;         /* Purple - 次要色 */
    --secondary-light: #C084FC;   /* 浅紫色 */
    
    --tertiary: #6366F1;          /* Indigo - 第三色 */
    --tertiary-light: #818CF8;    /* 浅蓝色 */
    
    /* 辅助色 */
    --accent: #3B82F6;            /* Blue - 活力点缀 */
    --accent-light: #60A5FA;
    --success: #10B981;           /* Green - 成功状态 */
    --warning: #F59E0B;           /* Amber - 警告状态 */
    
    /* 中性色系统 */
    --bg-primary: #0A0A0F;        /* 主背景 - 深邃黑 */
    --bg-secondary: #131318;      /* 次背景 - 层次黑 */
    --bg-tertiary: #1A1A24;       /* 三级背景 - 卡片黑 */
    
    /* 文字颜色 */
    --text-primary: #F9FAFB;      /* 主文字 - 高对比白 */
    --text-secondary: #D1D5DB;    /* 次文字 - 中对比灰 */
    --text-tertiary: #9CA3AF;     /* 三级文字 - 低对比灰 */
    --text-muted: #6B7280;        /* 辅助文字 - 最弱对比 */
    --text-dark: #1F2937;         /* 深色文字 - 用于白底 */
    
    /* 边框系统 */
    --border-primary: rgba(255, 255, 255, 0.08);
    --border-secondary: rgba(255, 255, 255, 0.05);
    --border-accent: rgba(236, 72, 153, 0.3);
    
    /* 梦幻渐变 - 粉紫蓝 */
    --gradient-primary: linear-gradient(135deg, #EC4899 0%, #A855F7 50%, #6366F1 100%);
    --gradient-hero: linear-gradient(135deg, #EC4899 0%, #C084FC 50%, #60A5FA 100%);
    --gradient-accent: linear-gradient(135deg, #F472B6 0%, #A855F7 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(236, 72, 153, 0.1) 0%, transparent 100%);
    
    /* 阴影系统 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(236, 72, 153, 0.5);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-primary);
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga' 1, 'calt' 1;
}

/* 精致网格背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--border-secondary) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-secondary) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ========================================
   Glassmorphism & Neumorphism 基础
   ======================================== */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.neumorphic {
    background: #f0f0f3;
    box-shadow: 
        8px 8px 16px rgba(163, 177, 198, 0.6),
        -8px -8px 16px rgba(255, 255, 255, 0.5);
}

/* ========================================
   导航栏 - Glassmorphism 设计
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-primary);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar:hover::after {
    opacity: 0.6;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    position: relative;
    z-index: 1;
}

.logo h1 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    transition: color 0.3s ease;
}

.logo h1:hover {
    color: var(--primary-light);
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    font-weight: 500;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: -0.01em;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 2px;
}

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

.nav-menu a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 2px;
}

/* ========================================
   英雄区 - 3D 渐变网格背景
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    overflow: hidden;
}

/* 视频背景容器 */
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.hero-video-bg iframe {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

/* 优雅渐变背景 - 粉紫蓝 */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(236, 72, 153, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

/* 精致光晕 */
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    position: relative;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title::before {
    content: '';
    display: none;
}

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

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    font-weight: 600;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s backwards;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

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

.btn {
    font-family: 'Inter', sans-serif;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

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

.btn:active::before {
    width: 400px;
    height: 400px;
    transition: width 0s, height 0s;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.6);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.9;
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(-45deg);
    margin: 0 auto;
    border-radius: 2px;
}

/* ========================================
   通用区域样式
   ======================================== */
section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

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

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* ========================================
   关于我们 - 卡片3D效果
   ======================================== */
.about {
    background: var(--bg-secondary);
    position: relative;
}

/* 关于区域底部渐变过渡 */
.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(10, 10, 15, 0.5) 50%,
        var(--bg-primary) 100%);
    pointer-events: none;
    z-index: 1;
}

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

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

.about-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border-primary);
}

.feature-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: var(--gradient-primary);
    -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;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: transparent;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-image {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.image-placeholder {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.3);
    transition: transform 0.6s ease;
}

.image-placeholder:hover {
    transform: rotateY(5deg) rotateX(5deg) scale(1.05);
}

.image-placeholder svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   服务内容 - Bento Grid 设计
   ======================================== */
.services {
    background: var(--bg-primary);
    position: relative;
}

/* 服务区域底部渐变过渡 */
.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(19, 19, 24, 0.5) 50%,
        var(--bg-secondary) 100%);
    pointer-events: none;
    z-index: 1;
}

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

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.7s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -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.5s ease;
}

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

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

.service-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 30px 60px -15px rgba(255, 107, 157, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.8rem 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.service-features li:hover {
    color: #FF6B9D;
    padding-left: 10px;
    background: rgba(255, 107, 157, 0.05);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1rem;
}

/* ========================================
   案例展示 - 卡片悬浮设计
   ======================================== */
.cases {
    background: var(--bg-primary);
    position: relative;
}

/* 移除案例区域底部渐变 */
.cases .container {
    position: relative;
    z-index: 2;
}

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

.case-item {
    background: var(--bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid var(--border-primary);
}

.case-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.case-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--border-accent);
}

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

.case-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.case-image::after {
    content: '查看详情';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(99, 102, 241, 0.95);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.case-item:hover .case-image::after {
    opacity: 1;
}

.case-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-item:hover .case-image svg {
    transform: scale(1.05);
}

.case-info {
    padding: 2rem;
}

.case-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
}

.case-item:hover .case-info h3 {
    color: var(--primary-light);
}

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

.case-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
}

.case-item:hover .case-tag {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ========================================
   联系我们 - 现代表单设计
   ======================================== */
.contact {
    background: linear-gradient(180deg, 
        var(--bg-primary) 0%,
        rgba(13, 13, 20, 1) 20%,
        rgba(18, 15, 30, 1) 40%,
        rgba(22, 18, 38, 1) 60%,
        rgba(15, 12, 25, 1) 80%,
        var(--bg-primary) 100%
    );
    position: relative;
}

.contact .section-title {
    color: var(--text-primary);
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(236, 72, 153, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

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

.contact-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-info > p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(26, 26, 36, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-item:hover {
    transform: translateX(8px);
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.15);
    background: rgba(26, 26, 36, 0.8);
}

.contact-icon {
    font-size: 2rem;
    transition: transform 0.2s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

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

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.contact-form {
    background: rgba(26, 26, 36, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    font-family: inherit;
    background: rgba(19, 19, 24, 0.8);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15), 0 0 20px rgba(236, 72, 153, 0.1);
    background: rgba(10, 10, 15, 0.95);
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group select option {
    background: rgba(19, 19, 24, 1);
    color: var(--text-primary);
}

/* 联系区域移除顶部渐变遮罩 */
.contact .container {
    position: relative;
    z-index: 2;
}

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

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--bg-primary);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 0.5) 50%, 
        transparent 100%);
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.footer-slogan {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-secondary);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ========================================
   关键帧动画
   ======================================== */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

@keyframes textGlow {
    from {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(255, 107, 157, 0.6),
            0 10px 30px rgba(0, 0, 0, 0.3),
            3px 3px 0px rgba(255, 107, 157, 0.5),
            6px 6px 0px rgba(195, 113, 245, 0.4);
    }
    to {
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 1),
            0 0 60px rgba(255, 107, 157, 0.8),
            0 10px 30px rgba(0, 0, 0, 0.3),
            3px 3px 0px rgba(255, 107, 157, 0.7),
            6px 6px 0px rgba(195, 113, 245, 0.6);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes grid-move {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(100px);
    }
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
        display: none;
        gap: 1.5rem;
        border-radius: 0 0 20px 20px;
        border: 1px solid rgba(255, 107, 157, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

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

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

    .hero-description {
        font-size: 1.1rem;
    }

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* ========================================
   平滑滚动
   ======================================== */
html {
    scroll-behavior: smooth;
}

/* 选择文本颜色 */
::selection {
    background: var(--primary);
    color: white;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}
