/* ============================================
   TechVision 科技公司官网 - 主样式表
   版本：1.0
   描述：包含所有自定义样式、动画效果、响应式设计

   目录：
   1. CSS变量定义
   2. 全局样式重置
   3. 导航栏样式
   4. Hero区域样式
   5. 通用区块样式
   6. 关于我们样式
   7. 服务项目样式
   8. 产品展示样式
   9. 数字成就样式
   10. 客户Logo墙样式
   11. 新闻动态样式
   12. 联系我们样式
   13. 底部Footer样式
   14. 回到顶部按钮
   15. 响应式媒体查询
   16. 动画关键帧
============================================ */

/* ============================================
   1. CSS变量定义
   修改指南：可在此处统一修改网站配色方案
============================================ */
:root {
    /* 主色调 - 科技蓝 */
    --primary-color: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #60A5FA;

    /* 辅助颜色 */
    --secondary-color: #64748B;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;

    /* 背景颜色 */
    --bg-dark: #0F172A;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;

    /* 文字颜色 */
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* 圆角 */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;

    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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);

    /* 过渡时间 */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   3. 导航栏样式
   功能：固定顶部、滚动变色、毛玻璃效果
============================================ */
.navbar {
    padding: 1rem 0;
    transition: all var(--transition-normal);
    background-color: transparent;
}

/* 滚动后的导航栏样式 */
.navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

/* Logo样式 */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--bg-white) !important;
    transition: color var(--transition-fast);
}

.navbar-brand:hover {
    color: var(--primary-light) !important;
}

/* 导航链接样式 */
.navbar .nav-link {
    color: var(--bg-white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    position: relative;
    transition: color var(--transition-fast);
}

/* 导航链接下划线动画 */
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-light) !important;
}

/* 汉堡菜单按钮 */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   4. Hero区域样式
   功能：全屏高度、粒子背景、SVG动画
============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a365d 50%, var(--primary-dark) 100%);
    overflow: hidden;
}

/* 粒子背景容器 */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* 粒子样式 */
.particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 15s infinite ease-in-out;
}

/* 粒子位置分布 */
.particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.particles span:nth-child(2) { left: 20%; animation-delay: 1s; }
.particles span:nth-child(3) { left: 30%; animation-delay: 2s; }
.particles span:nth-child(4) { left: 40%; animation-delay: 3s; }
.particles span:nth-child(5) { left: 50%; animation-delay: 4s; }
.particles span:nth-child(6) { left: 60%; animation-delay: 5s; }
.particles span:nth-child(7) { left: 70%; animation-delay: 6s; }
.particles span:nth-child(8) { left: 80%; animation-delay: 7s; }
.particles span:nth-child(9) { left: 90%; animation-delay: 8s; }
.particles span:nth-child(10) { left: 15%; animation-delay: 9s; }
.particles span:nth-child(11) { left: 25%; animation-delay: 10s; }
.particles span:nth-child(12) { left: 35%; animation-delay: 11s; }
.particles span:nth-child(13) { left: 45%; animation-delay: 12s; }
.particles span:nth-child(14) { left: 55%; animation-delay: 13s; }
.particles span:nth-child(15) { left: 65%; animation-delay: 14s; }
.particles span:nth-child(16) { left: 75%; animation-delay: 15s; }
.particles span:nth-child(17) { left: 85%; animation-delay: 16s; }
.particles span:nth-child(18) { left: 95%; animation-delay: 17s; }
.particles span:nth-child(19) { left: 5%; animation-delay: 18s; }
.particles span:nth-child(20) { left: 50%; animation-delay: 19s; }

/* 粒子上浮动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Hero标题样式 */
.hero-title {
    color: var(--bg-white);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.125rem;
    max-width: 500px;
}

/* Hero按钮样式 */
.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

.hero-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.hero-buttons .btn-outline-primary {
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.hero-buttons .btn-outline-primary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
}

/* Hero区域SVG动画容器 */
.hero-svg-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* SVG元素动画 */
.svg-ring {
    transform-origin: center;
    animation: rotate 20s linear infinite;
}

.svg-ring-1 { animation-duration: 30s; }
.svg-ring-2 { animation-duration: 25s; animation-direction: reverse; }
.svg-ring-3 { animation-duration: 20s; }

.svg-hexagon {
    animation: pulse 3s ease-in-out infinite;
}

.svg-core {
    animation: pulse 2s ease-in-out infinite;
}

.svg-core-inner {
    animation: blink 1.5s ease-in-out infinite;
}

.svg-node {
    animation: pulse 2s ease-in-out infinite;
}

.svg-line {
    opacity: 0.6;
}

/* SVG旋转动画 */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* SVG脉冲动画 */
@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* SVG闪烁动画 */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 滚动向下箭头 */
.scroll-down-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--bg-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 1;
}

.scroll-down-arrow:hover {
    color: var(--primary-light);
}

/* 箭头弹跳动画 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

.section-header {
    margin-bottom: 3rem;
}

.section-header span {
    display: inline-block;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-header h2 {
    color: var(--text-dark);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-dark {
    background-color: var(--bg-dark) !important;
}

/* ============================================
   6. 关于我们样式
   功能：公司介绍、数据统计卡片
============================================ */
.about-content p {
    line-height: 1.8;
    text-align: justify;
}

/* 统计卡片样式 */
.stat-card {
    background-color: var(--bg-white);
    transition: all var(--transition-normal);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--primary-light);
}

.stat-card .display-4 {
    font-size: 2.5rem;
}

/* ============================================
   7. 服务项目样式
   功能：服务卡片、悬停上浮效果
============================================ */
.service-card {
    background-color: var(--bg-white);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl) !important;
}

/* 服务图标容器 */
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

/* 悬停时图标背景变化 */
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.service-card:hover .service-icon i {
    color: var(--bg-white) !important;
}

/* ============================================
   8. 产品展示样式
   功能：Tab切换、产品卡片
============================================ */
.nav-tabs {
    gap: 0.5rem;
}

.nav-tabs .nav-link {
    color: var(--text-dark);
    background-color: transparent;
    border: 2px solid transparent;
    border-radius: var(--border-radius-lg);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border-color: rgba(37, 99, 235, 0.3);
}

.nav-tabs .nav-link.active {
    color: var(--bg-white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Tab内容动画 */
.tab-content .tab-pane {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* 产品图片悬停效果 */
.tab-content img {
    transition: transform var(--transition-normal);
}

.tab-content img:hover {
    transform: scale(1.02);
}

/* ============================================
   9. 数字成就样式
   功能：深色背景、优势卡片
============================================ */
.advantage-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.advantage-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

/* 优势图标容器 */
.advantage-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(96, 165, 250, 0.2) 100%);
    border-radius: 50%;
}

/* ============================================
   10. 客户Logo墙样式
   功能：无限滚动轮播
============================================ */
.logo-carousel-wrapper {
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

/* Logo墙左右渐变遮罩 */
.logo-carousel-wrapper::before,
.logo-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logo-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}

.logo-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}

/* Logo轮播容器 */
.logo-carousel {
    display: flex;
    gap: 3rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}

/* Logo项目 */
.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    height: 60px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all var(--transition-normal);
}

/* Logo悬停效果 */
.logo-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Logo滚动动画 */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 悬停时暂停滚动 */
.logo-carousel:hover {
    animation-play-state: paused;
}

/* ============================================
   11. 新闻动态样式
   功能：新闻卡片、悬停效果
============================================ */
.news-card {
    transition: all var(--transition-normal);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl) !important;
}

/* 新闻图片容器 */
.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

/* 新闻卡片悬停时图片放大 */
.news-card:hover .news-image img {
    transform: scale(1.1);
}

/* 新闻日期标签 */
.news-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    line-height: 1.2;
}

.news-date .day {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

.news-date .month {
    display: block;
    font-size: 0.75rem;
}

/* ============================================
   12. 联系我们样式
   功能：联系信息卡片、表单样式
============================================ */
.contact-info-card {
    background-color: var(--bg-white);
    height: 100%;
}

.contact-item {
    align-items: flex-start;
}

/* 联系图标容器 */
.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-form-card {
    background-color: var(--bg-white);
}

/* 表单控件样式 */
.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: var(--danger-color);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* 主按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* 边框按钮样式 */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all var(--transition-normal);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
}

/* 地图容器 */
.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

/* ============================================
   13. 底部Footer样式
   功能：4列布局、社交媒体、版权信息
============================================ */
.footer {
    background-color: var(--bg-dark);
    color: var(--bg-white);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
}

/* 社交媒体链接 */
.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

/* Footer链接列表 */
.footer-links {
    padding: 0;
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

/* Footer联系信息 */
.footer-contact li {
    align-items: flex-start;
}

.footer-contact i {
    margin-top: 3px;
}

/* ============================================
   14. 回到顶部按钮
   功能：滚动显示、平滑滚动
============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(-3px);
}

/* ============================================
   15. 响应式媒体查询
============================================ */

/* 平板端 (768px - 1200px) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stat-card .display-4 {
        font-size: 2rem;
    }

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

/* 移动端 (< 768px) */
@media (max-width: 768px) {
    /* Hero区域移动端样式 */
    .hero-section {
        text-align: center;
    }

    .hero-section .container {
        padding-top: 80px;
    }

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

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    /* Hero按钮垂直排列 */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* 隐藏SVG动画 */
    .hero-svg-container {
        display: none;
    }

    /* 隐藏滚动箭头 */
    .scroll-down-arrow {
        display: none;
    }

    /* 区块标题样式 */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    /* 统计卡片样式 */
    .stat-card {
        padding: 1.5rem !important;
    }

    .stat-card .display-4 {
        font-size: 1.75rem;
    }

    /* 服务卡片样式 */
    .service-card {
        padding: 1.5rem !important;
    }

    /* Tab导航垂直排列 */
    .nav-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-tabs .nav-link {
        text-align: center;
    }

    /* 优势卡片样式 */
    .advantage-card {
        padding: 1.5rem !important;
    }

    /* Logo墙渐变遮罩 */
    .logo-carousel-wrapper::before,
    .logo-carousel-wrapper::after {
        width: 30px;
    }

    /* 新闻图片高度 */
    .news-image {
        height: 180px;
    }

    /* 联系信息卡片 */
    .contact-info-card {
        padding: 1.5rem !important;
    }

    /* Footer居中 */
    .footer {
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        align-items: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    /* 回到顶部按钮 */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

/* 超小屏幕 (< 576px) */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .stat-card .display-4 {
        font-size: 1.5rem;
    }

    .news-image {
        height: 150px;
    }
}

/* PC端 (1200px+) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-svg {
        max-width: 500px;
    }
}

/* ============================================
   16. 动画关键帧
============================================ */

/* AOS动画自定义设置 */
[data-aos="fade-right"] {
    transform: translateX(30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* 数字滚动动画 */
.counter {
    display: inline-block;
}

/* 加载动画 */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}
