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

:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #f093fb;
    --accent-color: #4fd1c7;
    --success-color: #38a169;
    --warning-color: #ed8936;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-gradient-light: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* 容器样式 */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    z-index: 1000;
    transition: var(--transition);
}

/* 活跃导航链接样式 */
.nav-links a.active {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 80%;
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
    position: relative;
    width: 100%;
    max-width: none;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.logo::before {
    content: "🎬";
    font-size: 2rem;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    white-space: nowrap;
    display: block;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

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

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    transition: var(--transition);
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(229, 231, 235, 0.8);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

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

.dropdown-menu a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-radius: 0;
}

.dropdown-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.dropdown-menu a:first-child {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.cta-button {
    background: var(--bg-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* 移动端菜单 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    transform: scale(1.05);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
    background: rgba(102, 126, 234, 0.2);
}

/* 主要内容区域 */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* 面包屑导航 */
.breadcrumb {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    margin-top: 80px;
    position: relative;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: block;
    width: 100%;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    position: relative;
    font-weight: 500;
    white-space: nowrap;
}

.breadcrumb-nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.15);
}

.breadcrumb-nav a:hover::before {
    width: 80%;
}

.breadcrumb-separator {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 700;
    background: rgba(102, 126, 234, 0.15);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    white-space: nowrap;
}

/* 页面标题区块 */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="100" fill="%23ffffff10"/><circle cx="800" cy="300" r="150" fill="%23ffffff08"/><circle cx="300" cy="800" r="120" fill="%23ffffff12"/></svg>');
    background-size: cover;
    animation: float 20s ease-in-out infinite;
}

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

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

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.page-hero h1 .hero-emoji {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #FFD700 !important;
    background-clip: unset !important;
    color: #FFD700 !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-right: 0.5rem;
}

.hero-emoji {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #FFD700 !important;
    background-clip: unset !important;
    color: #FFD700 !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 80px;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
    z-index: 1000;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

@keyframes shimmer {
    0%, 100% { background-position: -200% 0; }
    50% { background-position: 200% 0; }
}

/* Emoji通用样式修复 */
.pain-icon,
.step-emoji,
.summary-icon,
.stat-icon,
.tech-icon,
.badge-icon,
.section-title,
.step-title {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

/* 确保所有emoji都能正确显示 */
*[class*="emoji"],
*[class*="icon"]:not(.nav-icon):not(.dropdown-icon) {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* 通用区块样式 */
.section {
    padding: 6rem 0;
}

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

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--bg-gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 按钮样式 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary.white {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary.white:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-primary.outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-primary.outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
}

/* 页脚 */
.footer {
    background: #1a202c;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--bg-gradient);
    border-radius: 2px;
}

.footer-section p,
.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    line-height: 1.8;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

/* 页脚联系信息样式 */
.footer-contact {
    margin-bottom: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-demo-link {
    display: inline-flex;
    align-items: center;
    background: var(--bg-gradient);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    margin-top: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-demo-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 页脚联系我们按钮样式 */
.footer-contact-button {
    display: inline-flex;
    align-items: center;
    background: var(--bg-gradient);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: var(--transition);
    font-size: 0.95rem;
    gap: 0.5rem;
}

.footer-contact-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white !important;
}

.footer-contact-button .button-icon {
    font-size: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
    color: #a0aec0;
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

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

/* 按钮悬浮效果 */
.btn-float {
    position: relative;
    overflow: hidden;
}

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

.btn-float:hover::before {
    left: 100%;
}

/* 卡片阴影悬浮效果 */
.card-hover {
    transition: var(--transition);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* 响应式设计 */
/* 中等屏幕优化 */
@media (max-width: 1280px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        padding: 0.5rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        padding: 0.4rem 0.4rem;
        font-size: 0.8rem;
    }
    
    .cta-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important;
    }
    
    /* 隐藏导航栏中的预约演示按钮 */
    .cta-button {
        display: none;
    }
    
    /* 在移动端调整导航容器的布局 */
    .nav-container {
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.5rem 0; /* 减少移动端的垂直内边距 */
    }
    
    /* 确保移动端的logo和菜单按钮正确对齐 */
    .logo {
        flex-shrink: 0; /* 防止logo被压缩 */
    }
    
    .mobile-menu-btn {
        flex-shrink: 0; /* 防止菜单按钮被压缩 */
        margin-left: auto; /* 确保按钮在右侧 */
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-radius: var(--border-radius);
        margin-top: 0.5rem;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links > li {
        width: 100%;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-secondary);
        margin-top: 0.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero h1 .hero-emoji {
        font-size: 2.5rem;
        margin-right: 0.3rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .breadcrumb-nav {
        font-size: 0.8rem;
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .breadcrumb {
        margin-top: 70px;
        padding: 0.75rem 0;
        display: block !important;
        position: relative;
        z-index: 999;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
    }
    
    .breadcrumb-nav a,
    .breadcrumb-current {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
        white-space: nowrap;
        display: inline-block;
    }
    
    .breadcrumb-separator {
        font-size: 0.8rem;
        margin: 0 0.2rem;
        display: inline-block;
    }
}

/* 小屏幕优化 */
@media (max-width: 480px) {
    .breadcrumb {
        margin-top: 65px; /* 小屏幕导航栏高度调整 */
        padding: 0.5rem 0;
        display: block !important;
        position: relative;
        z-index: 999;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .breadcrumb-nav {
        font-size: 0.75rem;
        gap: 0.25rem;
        flex-wrap: wrap;
        display: flex;
        align-items: center;
    }
    
    .breadcrumb-nav a,
    .breadcrumb-current {
        padding: 0.15rem 0.3rem;
        font-size: 0.75rem;
        white-space: nowrap;
        display: inline-block;
        flex-shrink: 0;
    }
    
    .breadcrumb-separator {
        font-size: 0.75rem;
        margin: 0 0.15rem;
        display: inline-block;
        flex-shrink: 0;
    }
} 