/* ========================================
   数驱科技官网 - CSS样式表
   ======================================== */

/* ========================================
   1. CSS变量定义
   ======================================== */
:root {
    /* 主色调 - 蓝色主题 */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #1d4ed8;
    --accent-color: #06b6d4;
    
    /* 文字颜色 */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    
    /* 背景颜色 */
    --bg-primary: #fafafa;
    --bg-secondary: #f3f4f6;
    --bg-tertiary: #ffffff;
    
    /* 边框颜色 */
    --border-color: #e5e7eb;
    
    /* 渐变效果 */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    
    /* 阴影效果 */
    --shadow-primary: 0 20px 40px rgba(59, 130, 246, 0.15);
    --shadow-secondary: 0 10px 30px rgba(29, 78, 216, 0.1);
    --shadow-glow: 0 0 50px rgba(59, 130, 246, 0.3);
}

/* ========================================
   2. 全局重置和基础样式
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.2;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 加载完成后显示滚动条 */
body.loaded {
    overflow-y: auto;
}

/* 隐藏主页内容直到加载完成 */
body:not(.loaded) .navbar,
body:not(.loaded) .hero,
body:not(.loaded) .features,
body:not(.loaded) .about,
body:not(.loaded) .contact,
body:not(.loaded) .footer {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

/* 加载完成后显示主页内容 */
body.loaded .navbar,
body.loaded .hero,
body.loaded .features,
body.loaded .about,
body.loaded .contact,
body.loaded .footer {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   3. 全局容器样式
   ======================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========================================
   4. 区域过渡效果
   ======================================== */
section {
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    opacity: 0.9;
    transform: translateY(30px);
}

section.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   5. 背景动画系统
   ======================================== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* 粒子背景 */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.05) 0%, transparent 50%);
}

/* 网格背景 */
.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

/* ========================================
   6. 加载动画
   ======================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s ease-out;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo-img {
    width: 150px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.8s ease-out;
}

/* ========================================
   7. 导航栏样式
   ======================================== */
.navbar {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    padding: 1rem 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar.scrolled {
    background: transparent;
    box-shadow: none;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 品牌Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-logo {
    width: 130px;
    background: transparent;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    position: relative;
    overflow: hidden;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* 导航菜单 */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* 主要按钮样式 */
.nav-link.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.nav-link.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* 移动端菜单切换 */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* ========================================
   8. 英雄区域样式
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    width: 100%;
    opacity: 1;
    transform: translateY(0);
}

.hero.active {
    opacity: 1;
    transform: translateY(0);
}

.hero .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 英雄区域背景装饰 */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.05;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 5%;
    background: var(--gradient-secondary);
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
    background: var(--gradient-accent);
}

.shape-4 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 30%;
}

/* 英雄区域内容 */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* 英雄区域徽章 */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    z-index: 1;
}

.badge-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50px;
    opacity: 0;
    animation: pulse 3s infinite;
}

/* 英雄区域标题 */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
}

.company-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.normal-text {
    background: linear-gradient(135deg, #1f2937 0%, #6b7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 英雄区域副标题 */
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

/* 英雄区域按钮 */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

/* 按钮基础样式 */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon,
.btn-secondary:hover .btn-icon {
    transform: translateX(5px);
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease-out 2s forwards;
    transition: opacity 0.3s ease-out, pointer-events 0.3s ease-out;
}

.scroll-arrow-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow-link:hover {
    transform: translateY(5px);
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--gradient-primary);
    position: relative;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--primary-color);
}

/* ========================================
   9. 功能区域样式
   ======================================== */
.features {
    padding: 100px 0;
    background: rgba(243, 244, 246, 0.8);
    backdrop-filter: blur(10px);
}

/* 区域标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1f2937 0%, #6b7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 功能块布局 */
.feature-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    padding: 4rem;
    min-height: 600px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-text {
    padding-left: 40px;
    flex: 1;
    min-width: 300px;
}

.feature-video {
    flex: 1;
    min-width: 750px;
    max-width: 900px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-secondary);
    background: #fff;
}

.demo-video {
    width: 100%;
    min-width: 900px;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: all 0.3s ease;
    object-fit: contain;
    background: #fff;
}

@media (max-width: 900px) {
    .feature-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
        min-height: auto;
    }
    .feature-text, .feature-video {
        max-width: 100%;
        min-width: 0;
        flex: 1 1 100%;
    }
    .demo-video {
        min-width: 0;
        max-width: 100%;
    }
}

/* 功能说明美观样式恢复 */
.feature-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-benefits li {
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
    line-height: 1.7;
}

.feature-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* 功能块卡片样式 */
.feature-block {
    position: relative;
    overflow: visible;
    background: rgba(255,255,255,0.96);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(59,130,246,0.08), 0 1.5px 8px rgba(0,0,0,0.04);
    margin: 0 auto 4rem auto;
    max-width: 1400px;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 3rem;
    width: 100%;
    overflow: visible;
    padding: 4rem 0;
}

.feature-text {
    flex: 0 0 420px;
    max-width: 480px;
    min-width: 320px;
    margin-right: 2rem;
}

.feature-video {
    flex: 0 0 auto;
    min-width: 700px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: all 0.3s ease;
    object-fit: contain;
    background: #fff;
}

@media (max-width: 1100px) {
    .feature-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 2rem 0;
    }
    .feature-text, .feature-video {
        margin-right: 0;
        max-width: 100%;
        min-width: 0;
    }
    .feature-video {
        justify-content: center;
    }
}

/* 功能说明美观样式恢复 */
.feature-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-benefits li {
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
    line-height: 1.7;
}

.feature-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   10. 关于我们区域样式
   ======================================== */
.about {
    padding: 100px 0;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(10px);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: center;
    margin-left: 2rem;
}

/* 关于我们文字内容 */
.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-text h3:not(:first-child) {
    margin-top: 2rem;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-text ul {
    list-style: none;
    margin: 1rem 0;
}

.about-text ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-text ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 关于我们图片 */
.about-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-solution-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-solution-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ========================================
   11. 联系区域样式
   ======================================== */
.contact {
    padding: 100px 0;
    background: rgba(243, 244, 246, 0.8);
    backdrop-filter: blur(10px);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.input-wrapper input:focus + .input-border,
.input-wrapper textarea:focus + .input-border {
    width: 100%;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: var(--text-secondary);
}

/* ========================================
   12. 页脚样式
   ======================================== */
.footer {
    background: var(--bg-primary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ========================================
   13. 返回顶部按钮
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-primary);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   14. Logo图片统一样式
   ======================================== */
.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 导航栏Logo */
.navbar-logo-img {
    width: 118px;
    /* background: var(--gradient-primary); */
    padding: 6px;
    /* box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2); */
}

/* 页脚Logo */
.footer .brand-logo {
    width: 108px;
    height: 48px;
    background: transparent;
}

/* ========================================
   15. 动画关键帧
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ========================================
   16. 响应式设计
   ======================================== */
@media (max-width: 768px) {
    /* 导航栏响应式 */
    .navbar .container {
        justify-content: space-between;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .brand-logo {
        width: 150px;
        margin-right: 0.5rem;
    }
    
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .navbar-nav.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* 英雄区域响应式 */
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    /* 表单响应式 */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* 页脚响应式 */
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    /* 关于我们响应式 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .image-container {
        max-width: 300px;
    }
    
    /* 功能块响应式 */
    .feature-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
        min-height: auto;
    }
    
    .feature-text {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .feature-video {
        min-width: 100%;
        max-width: 100%;
    }
    
    .demo-video {
        min-width: 100%;
    }
    
    .feature-text h3 {
        font-size: 2rem;
    }
    
    .feature-text p {
        font-size: 1rem;
    }
}

/* ========================================
   17. 滚动条样式
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 合作伙伴栏目样式 */
.partners {
    background: #3373eea3;
    border-radius: 13px;
    margin: 3rem auto 0 auto;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    max-width: 1400px;
    box-shadow: 0 2px 12px rgba(226, 69, 69, 0.03);
}

.partners-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-align: center;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    overflow: visible;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.partner-logo {
    object-fit: contain;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    flex-shrink: 0;
}

/* 移除轮播动画 */
/* @keyframes partnerCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-1200px);
    }
}

.partners-logos {
    animation: partnerCarousel 25s linear infinite;
} */

@media (max-width: 700px) {
    .partners-logos {
        gap: 1.2rem;
    }
    .partner-logo {
        width: 90px;
        height: 40px;
        padding: 0.5rem 0.8rem;
    }
}

/* 联系信息样式 */
.contact-item {
    text-align: left;
    background: rgba(255, 255, 255, 0.8);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-row label {
    color: #374151;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 60px;
    flex-shrink: 0;
}

.contact-item p {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.contact-item a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: #2563eb;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-item {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .contact-row label {
        font-size: 1rem;
        min-width: 50px;
    }
    
    .contact-item p {
        font-size: 1rem;
    }
    
    .contact-item a {
        font-size: 1rem;
    }
} 