/* ========================================
   漫影工作室 - 摄影场景租赁网站样式
   克莱因蓝主题设计 + 金色点缀 + 毛玻璃效果
======================================== */

/* CSS 变量定义 */
:root {
    /* 主色调 - 克莱因蓝 (International Klein Blue) */
    --primary: #002FA7;
    --primary-light: #1E4FCC;
    --primary-dark: #001F70;
    
    /* 背景色 - 象牙白/浅灰蓝 */
    --bg-white: #F8F9FC;
    --bg-cream: #F0F4FA;
    --bg-light: #E5EBF5;
    
    /* 文字色 - 深蓝灰 */
    --text-dark: #1A1F36;
    --text-medium: #4A5568;
    --text-light: #718096;
    
    /* 装饰色 - 金色/琥珀色作为和谐对比 */
    --accent-gold: #D4A574;
    --accent-amber: #C9A66B;
    --accent-silver: #A8B8D8;
    
    /* 边框和阴影 */
    --border: #D0D9E8;
    --shadow-sm: 0 2px 8px rgba(0, 47, 167, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 47, 167, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 47, 167, 0.12);
    --shadow-glow: 0 0 40px rgba(0, 47, 167, 0.2);
    
    /* 毛玻璃效果 */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-bg-light: rgba(255, 255, 255, 0.25);
    --glass-bg-dark: rgba(26, 31, 54, 0.8);
    --glass-blur: blur(20px);
    --glass-blur-lg: blur(30px);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* 字体 */
    --font-display: 'ZCOOL XiaoWei', 'Noto Serif SC', serif;
    --font-body: 'Noto Serif SC', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* 间距 */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* 过渡动画 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   Loading 加载框样式
======================================== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-cream) 50%, var(--bg-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
}

.loading-content {
    text-align: center;
    animation: loadingPulse 2s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.loading-logo {
    margin-bottom: 40px;
}

.loading-logo img {
    height: 160px;
    width: auto;
    filter: brightness(0);
    animation: logoBreath 2s ease-in-out infinite;
}

@keyframes logoBreath {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* 加载动画 - 三环旋转 */
.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
}

.spinner-ring {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: 50%;
}

.spinner-ring:nth-child(1) {
    border-top-color: var(--primary);
    animation: spinRing 1.2s linear infinite;
}

.spinner-ring:nth-child(2) {
    inset: 8px;
    border-right-color: var(--primary-light);
    animation: spinRing 1.5s linear infinite reverse;
}

.spinner-ring:nth-child(3) {
    inset: 16px;
    border-bottom-color: var(--accent-gold);
    animation: spinRing 1s linear infinite;
}

@keyframes spinRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 加载文字 */
.loading-text {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-medium);
    letter-spacing: 0.1em;
}

.loading-dots::after {
    content: '';
    animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .loading-logo img {
        height: 120px;
    }
    
    .loading-spinner {
        width: 60px;
        height: 60px;
        margin-bottom: 24px;
    }
    
    .spinner-ring:nth-child(2) {
        inset: 6px;
    }
    
    .spinner-ring:nth-child(3) {
        inset: 12px;
    }
    
    .loading-text {
        font-size: 0.9rem;
    }
}

/* 重置样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   导航栏 - 毛玻璃效果
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-lg);
    -webkit-backdrop-filter: var(--glass-blur-lg);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-slow);
}

.navbar.scrolled {
    background: rgba(248, 249, 252, 0.95);
    box-shadow: 0 8px 32px rgba(0, 47, 167, 0.1);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-logo .logo-img {
    height: 80px;
    width: auto;
    filter: brightness(0);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 0.95rem;
    color: var(--text-medium);
    position: relative;
    padding: 8px 0;
    transition: var(--transition-spring);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: var(--transition-spring);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ========================================
   首页横幅 - 增强动画与毛玻璃
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-cream) 50%, var(--bg-light) 100%);
}

/* 轮播图背景样式 */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slideshow-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slideshow-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: slideZoom 8s ease-in-out infinite;
}

.slideshow-slide.active {
    opacity: 1;
}

@keyframes slideZoom {
    0%, 100% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(1.1);
    }
}

/* 轮播图遮罩层 - 确保内容可读 */
.slideshow-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(248, 249, 252, 0.85) 0%,
        rgba(240, 244, 250, 0.75) 50%,
        rgba(229, 235, 245, 0.80) 100%
    );
    z-index: 1;
}

/* 轮播图指示器 - 隐藏 */
.slideshow-indicators {
    display: none;
}


.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 47, 167, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(30, 79, 204, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
    animation: bgFloat 20s ease-in-out infinite;
    pointer-events: none;
}

/* 添加浮动装饰圆 */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: floatBubble 15s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}

.hero::before {
    width: 400px;
    height: 400px;
    background: rgba(0, 47, 167, 0.15);
    top: 10%;
    left: -10%;
    animation-delay: -5s;
}

.hero::after {
    width: 300px;
    height: 300px;
    background: rgba(30, 79, 204, 0.15);
    bottom: 10%;
    right: -5%;
    animation-delay: -10s;
}

@keyframes floatBubble {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% { 
        transform: translate(0, -50px) scale(1);
    }
    75% {
        transform: translate(-30px, -20px) scale(0.95);
    }
}

@keyframes bgFloat {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.05) translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 40px 48px;
    animation: heroContentIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes heroContentIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-logo img {
    height: 240px;
    width: auto;
    filter: brightness(0);
    margin-bottom: 32px;
    animation: logoFloat 6s ease-in-out infinite, logoPulse 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes logoPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
    animation: titleReveal 1s ease-out 0.3s backwards;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 0.3em;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.1em;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 32px;
    animation: subtitleReveal 0.8s ease-out 0.5s backwards;
}

@keyframes subtitleReveal {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    /* 白色毛玻璃效果 */
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 16px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: tagContainerFadeIn 0.6s ease-out backwards;
}

@keyframes tagContainerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tags span {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    transition: var(--transition-spring);
    animation: tagFadeIn 0.8s ease-out backwards;
}

.hero-tags span:nth-child(1) { animation-delay: 0.3s; }
.hero-tags span:nth-child(2) { animation-delay: 0.45s; }
.hero-tags span:nth-child(3) { animation-delay: 0.6s; }

@keyframes tagFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-tags span:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 1rem;
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0, 47, 167, 0.35);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    animation: ctaPulse 2s ease-in-out infinite;
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 47, 167, 0.35);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0, 47, 167, 0.5);
    }
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 47, 167, 0.45);
}

.cta-button:active {
    transform: translateY(-2px) scale(0.98);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: floatUpDown 2s ease-in-out infinite;
    z-index: 5;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator span {
    display: block;
    width: 28px;
    height: 44px;
    border: 2px solid rgba(0, 47, 167, 0.4);
    border-radius: 14px;
    position: relative;
    background: var(--glass-bg-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.scroll-indicator:hover span {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 47, 167, 0.35);
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ========================================
   通用段落样式
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 500;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-light);
}

/* ========================================
   服务项目 - 毛玻璃卡片
======================================== */
.services {
    padding: var(--section-padding);
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* 服务区域背景装饰 */
.services::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(0, 47, 167, 0.06);
    filter: blur(80px);
    top: -200px;
    right: -200px;
    animation: floatBubble 20s ease-in-out infinite;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 48px 36px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-spring);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 47, 167, 0.04) 0%, rgba(30, 79, 204, 0.04) 100%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(0, 47, 167, 0.25);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(0, 47, 167, 0.06) 0%, rgba(30, 79, 204, 0.06) 100%);
    border-color: rgba(0, 47, 167, 0.25);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--primary);
    transition: var(--transition-spring);
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: rgba(0, 47, 167, 0.1);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-spring);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-dark);
}

.service-card:hover .service-icon::after {
    opacity: 1;
    transform: scale(1);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 24px;
    line-height: 1.8;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* ========================================
   场景展示 - 毛玻璃增强
======================================== */
.scenes {
    padding: var(--section-padding);
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
}

.scenes::before,
.scenes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.scenes::before {
    width: 400px;
    height: 400px;
    background: rgba(30, 79, 204, 0.12);
    left: -100px;
    top: 20%;
}

.scenes::after {
    width: 350px;
    height: 350px;
    background: rgba(212, 165, 116, 0.12);
    right: -100px;
    bottom: 20%;
}

.scenes-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.filter-btn {
    padding: 12px 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: var(--transition);
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 47, 167, 0.2);
    border-color: var(--primary-light);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 47, 167, 0.35);
}

.scenes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.scene-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: var(--transition-spring);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.scene-card:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.scene-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
}

.scene-card:hover .scene-placeholder {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-cream) 100%);
}

.placeholder-content {
    text-align: center;
    transition: var(--transition-spring);
}

.scene-card:hover .placeholder-content {
    transform: scale(1.1);
}

.placeholder-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
    transition: var(--transition-spring);
}

.scene-card:hover .placeholder-icon {
    transform: scale(1.2) rotate(10deg);
}

.placeholder-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

.scene-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 16px;
    opacity: 1;
    pointer-events: none;
}

.scene-overlay h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: white;
    margin-bottom: 2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.scene-overlay p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ========================================
   服务流程 - 动画增强
======================================== */
.process {
    padding: var(--section-padding);
    background: var(--bg-white);
    position: relative;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.step {
    flex: 0 0 200px;
    text-align: center;
    position: relative;
    transition: var(--transition-spring);
}

.step:hover {
    transform: translateY(-8px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1;
    transition: var(--transition-spring);
    position: relative;
    display: inline-block;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -15px;
    background: rgba(0, 47, 167, 0.1);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition-spring);
    z-index: -1;
}

.step:hover .step-number {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.step:hover .step-number::after {
    opacity: 1;
    transform: scale(1);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: var(--transition);
}

.step:hover .step-content h3 {
    color: var(--primary-dark);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0 16px;
}

.step-line {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    margin-top: 32px;
    position: relative;
    overflow: hidden;
}

.step-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: flowLine 2s linear infinite;
}

@keyframes flowLine {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* ========================================
   关于我们 - 毛玻璃增强
======================================== */
.about {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(0, 47, 167, 0.08);
    filter: blur(100px);
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-tag {
    display: block;
    margin-bottom: 12px;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.9;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
    transition: var(--transition-spring);
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 4px;
    transition: var(--transition);
}

.stat:hover .stat-number {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.visual-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-spring);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.visual-card:hover {
    transform: translateX(12px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(0, 47, 167, 0.25);
}

.visual-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    color: var(--primary);
    transition: var(--transition-spring);
}

.visual-card:hover .visual-icon {
    transform: scale(1.15) rotate(10deg);
    color: var(--primary-dark);
}

.visual-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.visual-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   联系我们 - 毛玻璃增强
======================================== */
.contact {
    padding: var(--section-padding);
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(30, 79, 204, 0.08);
    filter: blur(80px);
    left: -150px;
    bottom: -150px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-tag {
    display: block;
    margin-bottom: 12px;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.contact-info > p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-spring);
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 47, 167, 0.25);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 47, 167, 0.12) 0%, rgba(30, 79, 204, 0.12) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-spring);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
    transition: var(--transition);
}

.contact-item:hover .contact-icon svg {
    color: white;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact-text a,
.contact-text span {
    font-size: 1rem;
    color: var(--text-dark);
}

.contact-text a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: var(--bg-cream);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.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(0, 47, 167, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A6B64' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 47, 167, 0.35);
}

/* ========================================
   页脚 - 增强效果
======================================== */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #0d1229 100%);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0, 47, 167, 0.1);
    filter: blur(100px);
    right: -100px;
    top: -100px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: white;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-spring);
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition-spring);
    transform: translateY(-50%);
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(8px);
}

.footer-links a:hover::before {
    width: 6px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   响应式设计
======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scenes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* 导航栏优化 */
    .nav-container {
        height: 64px;
        padding: 0 16px;
    }
    
    .nav-logo .logo-img {
        height: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        /* 移动端使用更高不透明度的背景，确保内容可读 */
        background: rgba(248, 249, 252, 0.98);
        backdrop-filter: var(--glass-blur-lg);
        -webkit-backdrop-filter: var(--glass-blur-lg);
        flex-direction: column;
        padding: 16px;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
    
    /* 针对不支持 backdrop-filter 的设备提供回退样式 */
    @supports not (backdrop-filter: blur(20px)) {
        .nav-menu {
            background: rgba(248, 249, 252, 1);
        }
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu a {
        display: block;
        padding: 16px 12px;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
        /* 增大触摸区域 */
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .hamburger {
        display: flex;
        /* 增大触摸区域 */
        padding: 10px;
        margin: -10px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Hero区域优化 */
    .hero {
        min-height: 100svh; /* 使用 svh 单位解决移动端地址栏问题 */
        padding: 80px 16px 40px;
    }
    
    
    .hero-content {
        padding: 32px 24px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-logo img {
        height: 160px;
        margin-bottom: 24px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
        letter-spacing: 0.05em;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .hero-tags {
        gap: 12px;
        margin-bottom: 32px;
        padding: 14px 24px;
        border-radius: 40px;
    }

    .hero-tags span {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
    
    .cta-button {
        padding: 14px 40px;
        font-size: 0.95rem;
        /* 增大触摸区域 */
        min-height: 48px;
    }
    
    .scroll-indicator {
        bottom: 24px;
    }
    
    .scroll-indicator span {
        width: 24px;
        height: 36px;
    }
    
    /* 服务区域优化 */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    /* 场景展示优化 */
    .scenes-filter {
        gap: 8px;
        margin-bottom: 32px;
        padding: 0 8px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        /* 增大触摸区域 */
        min-height: 44px;
    }
    
    .scenes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .scene-card {
        border-radius: 16px;
    }
    
    .placeholder-icon {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }
    
    .placeholder-text {
        font-size: 0.8rem;
    }
    
    .scene-overlay {
        padding: 12px;
    }
    
    .scene-overlay h4 {
        font-size: 0.9rem;
    }
    
    .scene-overlay p {
        font-size: 0.7rem;
    }
    
    /* 服务流程优化 - 垂直时间线设计 */
    .process-steps {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        position: relative;
        padding-left: 32px;
    }
    
    /* 垂直时间线 */
    .process-steps::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 30px;
        bottom: 30px;
        width: 2px;
        background: linear-gradient(to bottom, var(--primary-light), var(--primary), var(--primary-light));
        border-radius: 2px;
    }
    
    .step {
        flex: none;
        display: flex;
        align-items: flex-start;
        gap: 0;
        text-align: left;
        padding: 0;
        margin-bottom: 32px;
        position: relative;
        flex-direction: column;
    }
    
    .step:last-of-type {
        margin-bottom: 0;
    }
    
    .step-number {
        font-size: 1.25rem;
        min-width: 32px;
        width: 32px;
        height: 32px;
        text-align: center;
        line-height: 32px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: white;
        border-radius: 50%;
        margin-bottom: 0;
        position: absolute;
        left: -32px;
        top: 0;
        box-shadow: 0 4px 12px rgba(0, 47, 167, 0.35);
        z-index: 2;
    }
    
    .step-number::after {
        display: none;
    }
    
    .step:hover .step-number {
        transform: scale(1.15);
    }
    
    .step-content {
        flex: 1;
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 20px 24px;
        border-radius: 16px;
        border: 1px solid var(--glass-border);
        margin-left: 16px;
        position: relative;
        transition: var(--transition);
    }
    
    /* 小三角指向时间线 */
    .step-content::before {
        content: '';
        position: absolute;
        left: -8px;
        top: 8px;
        width: 16px;
        height: 16px;
        background: var(--glass-bg);
        border-left: 1px solid var(--glass-border);
        border-bottom: 1px solid var(--glass-border);
        transform: rotate(45deg);
    }
    
    .step:hover .step-content {
        transform: translateX(4px);
        box-shadow: var(--shadow-md);
        border-color: rgba(0, 47, 167, 0.25);
    }
    
    .step-content h3 {
        font-size: 1.05rem;
        margin-bottom: 8px;
        color: var(--primary-dark);
    }
    
    .step-content p {
        padding: 0;
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .step-line {
        display: none;
    }
    
    /* 关于我们优化 */
    .about-text h2 {
        font-size: 1.5rem;
    }
    
    .about-intro {
        font-size: 1rem;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
        margin-top: 32px;
        padding-top: 32px;
    }
    
    .stat {
        flex: 0 0 calc(33.33% - 16px);
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .visual-card {
        padding: 24px;
        gap: 16px;
    }
    
    .visual-icon {
        width: 48px;
        height: 48px;
    }
    
    .visual-card h4 {
        font-size: 1rem;
    }
    
    .visual-card p {
        font-size: 0.85rem;
    }
    
    /* 联系我们优化 */
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .contact-info > p {
        margin-bottom: 32px;
        font-size: 0.95rem;
    }
    
    .contact-details {
        gap: 16px;
    }
    
    .contact-item {
        padding: 16px;
        gap: 16px;
    }
    
    .contact-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    
    .contact-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-label {
        font-size: 0.75rem;
    }
    
    .contact-text a,
    .contact-text span {
        font-size: 0.95rem;
    }
    
    .contact-form-wrapper {
        padding: 24px 20px;
    }
    
    /* 页脚优化 */
    .footer {
        padding: 48px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        padding-bottom: 32px;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    
    .footer-links ul {
        gap: 10px;
    }
    
    .footer-links a,
    .footer-contact p {
        font-size: 0.85rem;
    }
    
    .footer-links a:hover {
        transform: none;
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    /* 段落标题优化 */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-tag {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
}

/* 超小屏幕 (< 400px) */
@media (max-width: 400px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* Hero区域 */
    .hero {
        padding: 70px 12px 30px;
    }
    
    .hero-content {
        padding: 28px 20px;
    }
    
    .hero-logo img {
        height: 130px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 1.35rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-tags {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 28px;
        padding: 16px 20px;
        border-radius: 24px;
    }

    .hero-tags span {
        width: auto;
        max-width: none;
        text-align: center;
        padding: 6px 16px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 200px;
        padding: 14px 24px;
    }
    
    /* 场景展示 - 单列 */
    .scenes-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .scene-card {
        aspect-ratio: 4/3;
    }
    
    /* 筛选按钮滚动 */
    .scenes-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 12px;
        margin: 0 -12px 24px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .scenes-filter::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex-shrink: 0;
        padding: 10px 18px;
    }
    
    /* 服务卡片 */
    .service-card {
        padding: 28px 20px;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    /* 步骤流程 */
    /* 服务流程 - 超小屏幕调整 */
    .process-steps {
        padding-left: 28px;
    }
    
    .process-steps::before {
        left: 12px;
    }
    
    .step {
        margin-bottom: 24px;
    }
    
    .step-number {
        font-size: 1.1rem;
        min-width: 28px;
        width: 28px;
        height: 28px;
        line-height: 28px;
        left: -28px;
    }
    
    .step-content {
        padding: 16px 18px;
        margin-left: 12px;
        border-radius: 14px;
    }
    
    .step-content::before {
        left: -6px;
        top: 6px;
        width: 12px;
        height: 12px;
    }
    
    .step-content h3 {
        font-size: 0.95rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    /* 统计数据 */
    .stat {
        flex: 0 0 calc(33.33% - 12px);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* 联系信息 */
    .contact-item {
        padding: 14px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .contact-text {
        align-items: center;
    }
    
    /* 视觉卡片 */
    .visual-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .visual-card div:last-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 24px 40px;
    }
    
    .hero-content {
        padding: 24px 32px;
    }
    
    .hero-logo img {
        height: 100px;
        margin-bottom: 16px;
    }
    
    .hero-title {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    
    .hero-tags {
        margin-bottom: 20px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* 触屏设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 禁用悬停效果，改用触摸反馈 */
    .service-card:hover,
    .scene-card:hover,
    .visual-card:hover,
    .contact-item:hover {
        transform: none;
    }
    
    .service-card:active {
        transform: scale(0.98);
    }
    
    .scene-card:active {
        transform: scale(0.98);
    }
    
    .visual-card:active {
        transform: translateX(8px);
    }
    
    .contact-item:active {
        transform: translateX(4px);
        background: rgba(0, 47, 167, 0.05);
    }
    
    /* 场景卡片在触屏上的样式调整 */
    .scene-overlay {
        padding: 12px;
    }
    
    /* 按钮触摸反馈 */
    .cta-button:active,
    .filter-btn:active {
        transform: scale(0.96);
    }
    
    /* 链接触摸反馈 */
    .nav-menu a:active {
        background: rgba(0, 47, 167, 0.08);
    }
    
    .footer-links a:active {
        color: var(--primary-light);
    }
}

/* 安全区域适配 (iPhone X 等刘海屏) */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
    
    .nav-container {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    .hero {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    .container {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    .footer-bottom {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }
    
    .nav-menu {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
}

/* ========================================
   动画效果 - 增强版
======================================== */

/* 基础淡入动画 */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 从左侧滑入 */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 从右侧滑入 */
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 缩放淡入 */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* 旋转淡入 */
.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.rotate-in.visible {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* 延迟动画 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* 悬浮动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* 脉冲发光动画 */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 47, 167, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 47, 167, 0.4);
    }
}

.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* 微光扫过效果 */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* 文字逐字显示动画 */
@keyframes typeIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* 边框动画 */
@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(0, 47, 167, 0.2);
    }
    50% {
        border-color: rgba(0, 47, 167, 0.5);
    }
}

.border-glow {
    animation: borderGlow 3s ease-in-out infinite;
}

/* 平滑出现的背景圆形 */
@keyframes blobMove {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

.blob {
    animation: blobMove 8s ease-in-out infinite;
}

/* 段落标题动画 */
.section-header {
    position: relative;
}

.section-header .section-tag {
    animation: fadeInUp 0.6s ease-out backwards;
}

.section-header h2 {
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.section-header p {
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

/* ========================================
   场景卡片 - 图片样式增强
======================================== */
.scene-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.scene-image {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.scene-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.scene-card:hover .scene-image img {
    transform: scale(1.1);
}

.no-scenes {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 60px 20px;
}

/* ========================================
   场景详情页样式
======================================== */
.scene-detail-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-cream) 100%);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    margin-bottom: 32px;
    transition: var(--transition);
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.back-link:hover {
    background: var(--primary);
    color: white;
    transform: translateX(-4px);
}

.scene-detail-header {
    text-align: center;
    margin-bottom: 48px;
}

.scene-detail-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.scene-detail-header h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
    border-radius: 2px;
}

.scene-detail-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 20px;
}

/* 图片画廊 - 瀑布流布局优化 */
.scene-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-flow: dense;
    grid-auto-rows: 10px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-light);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

/* 横图样式 - 宽高比约 3:2 或 4:3，跨约15行 */
.gallery-item--landscape {
    grid-row-end: span 22;
}

/* 竖图样式 - 宽高比约 2:3，跨约30行 */
.gallery-item--portrait {
    grid-row-end: span 42;
}

/* 方图样式 - 1:1，跨约25行 */
.gallery-item--square {
    grid-row-end: span 32;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.no-images {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 60px 20px;
}

/* ========================================
   图片灯箱样式
======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    color: white;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-nav svg {
    width: 28px;
    height: 28px;
    color: white;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-4px);
}

.lightbox-next {
    right: 20px;
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(4px);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* 场景详情页响应式 */
@media (max-width: 1024px) {
    .scene-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        grid-auto-rows: 8px;
    }

    /* 平板端瀑布流布局 - 保持紧凑排列 */
    .gallery-item--landscape {
        grid-row-end: span 20;
    }

    .gallery-item--portrait {
        grid-row-end: span 38;
    }

    .gallery-item--square {
        grid-row-end: span 28;
    }
}

@media (max-width: 768px) {
    .scene-detail-section {
        padding: 100px 0 60px;
    }

    .scene-detail-header h1 {
        font-size: 2rem;
    }

    .scene-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        grid-auto-rows: 6px;
    }

    .gallery-item {
        border-radius: 12px;
    }

    /* 移动端两列瀑布流布局 - 按图片比例设置跨行数 */
    .gallery-item--landscape {
        grid-row-end: span 18;
    }

    .gallery-item--portrait {
        grid-row-end: span 34;
    }

    .gallery-item--square {
        grid-row-end: span 24;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .lightbox-nav svg {
        width: 22px;
        height: 22px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .scene-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        grid-auto-rows: 5px;
    }

    /* 小屏幕两列瀑布流布局 */
    .gallery-item--landscape {
        grid-row-end: span 16;
    }

    .gallery-item--portrait {
        grid-row-end: span 30;
    }

    .gallery-item--square {
        grid-row-end: span 22;
    }

    .scene-detail-header h1 {
        font-size: 1.6rem;
    }
}
