/* 全局样式 */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --accent-color: #17c3b2;
    --text-color: #333;
    --text-secondary: #666;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1.000);

    /* 增加字体大小，使整体更大气 */
    --font-title: 'Helvetica Neue', Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--light-bg);
    font-family: var(--font-title);
    line-height: 1.7;
    font-size: 1.25rem; /* 从1.1rem增加到1.25rem，提高可读性 */
}

/* 导航条样式 - 移除重复定义，使用nav.html中的样式 */

/* 视频Banner容器 - 全屏高度 */
.video-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 视频背景 */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
}

/* 视频遮罩层 - 增强版 */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

/* Banner内容 - 增强版 */
.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

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

.banner-content h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

/* 按钮样式 - 增强版 */
.btn {
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::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: var(--transition);
    z-index: -1;
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    margin: 0 0.5rem;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    margin: 0 0.5rem;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

@keyframes gradientShift {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-25%, -25%);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.1);
    }
    25% {
        transform: translate(10%, 10%) scale(1.05);
        box-shadow: 0 0 30px rgba(118, 75, 162, 0.15);
    }
    50% {
        transform: translate(0, 20%) scale(1.1);
        box-shadow: 0 0 40px rgba(23, 195, 178, 0.2);
    }
    75% {
        transform: translate(-10%, 10%) scale(1.05);
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.15);
    }
}

/* 内容区域基础样式 - 增强版 */
.content-section {
    padding: 6rem 0;
    background-color: var(--white);
    position: relative;
}

.content-section:nth-child(odd) {
    background-color: var(--light-bg);
}

/* 章节标题样式 - 增强版 */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-title .lead {
    font-size: 1.5rem; /* 从1.4rem增加到1.5rem */
    color: var(--text-secondary);
    margin-top: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 卡片样式 - 增强版 */
.feature-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    padding: 2.5rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-card h3 i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 1.8rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.3rem; /* 从1.2rem增加，提高可读性 */
}

/* 图标功能块样式 */
.icon-feature {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: var(--shadow-light);
}

.icon-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2.5rem;
    box-shadow: var(--shadow-medium);
}

.icon-feature h4 {
    font-size: 1.6rem; /* 从1.5rem增加到1.6rem */
}

.icon-feature p {
    font-size: 1.25rem; /* 增加图标功能块段落文字大小 */
}

/* 图片容器样式 - 增强版 */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

/* 图片网格布局 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* 特色图片容器 */
.feature-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.feature-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-image img {
    transition: transform 0.7s ease;
}

.feature-image:hover img {
    transform: scale(1.05);
}

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

.image-container:hover .img-responsive {
    transform: scale(1.05);
}

.img-responsive {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

/* 案例展示区域 */
.case-showcase {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    padding: 2rem;
    text-align: center;
}

.case-showcase:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.case-showcase img {
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.case-showcase p {
    font-size: 1.3rem; /* 增加案例展示段落文字大小 */
}

/* 联系区域样式 */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.contact-content {
    position: relative;
    z-index: 1;
}

/* 滚动提示样式 */
.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: var(--transition);
}

.scroll-hint:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

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

/* 响应式设计 - 增强版 */
@media (max-width: 992px) {
    .banner-content h1 {
        font-size: 3rem;
    }

    .btn {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-nav > li > a {
        padding: 0.6rem 1rem;
    }

    .video-banner {
        height: 80vh;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 4rem 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
}

/* 真实按钮样式 */
.btn-custom-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #5a6fd8;
    color: white;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 0 #4a5bc7,
    0 8px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-align: center;
    min-width: 200px;
}

.btn-custom-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(2px);
    box-shadow: 0 2px 0 #4a5bc7,
    0 4px 10px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-custom-primary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #4a5bc7,
    0 2px 5px rgba(102, 126, 234, 0.3);
}

.btn-custom-primary i {
    margin: 0 8px;
    transition: all 0.3s ease;
}

.btn-custom-primary:hover i:last-child {
    transform: translateX(3px);
}

.btn-custom-primary:hover i:first-child {
    transform: scale(1.1);
}

/* 按钮按下效果 */
.btn-custom-primary:focus {
    outline: none;
    box-shadow: 0 4px 0 #4a5bc7,
    0 8px 15px rgba(102, 126, 234, 0.3),
    0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .btn-custom-primary {
        padding: 12px 25px;
        font-size: 14px;
        min-width: 180px;
    }
}