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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    transition: padding 0.3s ease;
}

.navbar.scrolled .container {
    padding: 10px 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.logo span {
    color: #FFC107;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    gap: 35px;
    margin-left: auto;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover {
    color: #FFC107;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFC107;
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: #FFC107;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe082 100%);
    padding: 140px 0 100px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 40%;
    height: 150%;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

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

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    animation: slideInLeft 1s ease-out;
}

.hero-image {
    flex: 1;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #666;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    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.3), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

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

.primary-btn {
    background-color: #FFC107;
    color: #333;
}

.primary-btn:hover {
    background-color: #FFB300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.secondary-btn {
    background-color: white;
    color: #FFC107;
    border: 2px solid #FFC107;
}

.secondary-btn:hover {
    background-color: #FFC107;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.hero-image {
    flex: 1;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screenshots {
    display: flex;
    gap: 40px;
    position: relative;
}

.phone-screenshot {
    position: relative;
    transition: all 0.3s ease;
}

.phone-screenshot img {
    width: 250px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.phone-1 {
    transform: rotate(-5deg) translateY(-20px);
    z-index: 1;
}

.phone-2 {
    transform: rotate(5deg) translateY(20px);
    z-index: 2;
}

.phone-screenshot:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 3;
}

.phone-screenshot:hover img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 服务介绍 */
.services {
    padding: 100px 0;
    background-color: white;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 45px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FFC107, #FFD54F);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 90px;
    height: 90px;
    background-color: #FFF8E1;
    color: #FFC107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background-color: #FFC107;
    color: #333;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 18px;
    color: #333;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #FFC107;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.service-card:hover p {
    color: #444;
}

/* 服务卡片动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 193, 7, 0.2);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }
}

.service-card:hover {
    animation: pulse 2s ease-in-out infinite;
}

/* 案例展示 */
.cases {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.cases h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
}

.case-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.15) rotate(2deg);
}

.case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-image::before {
    opacity: 1;
}

.case-content {
    padding: 35px;
    position: relative;
    z-index: 1;
}

.case-content h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 18px;
    color: #333;
    transition: color 0.3s ease;
}

.case-card:hover .case-content h3 {
    color: #FFC107;
}

.case-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.case-card:hover .case-content p {
    color: #444;
}

.case-metrics {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.case-metrics span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFC107;
    font-weight: 500;
    transition: all 0.3s ease;
}

.case-card:hover .case-metrics span {
    transform: translateX(5px);
}

.case-metrics i {
    transition: transform 0.3s ease;
}

.case-card:hover .case-metrics i {
    transform: rotate(15deg) scale(1.2);
}

/* 案例卡片标签 */
.case-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #FFC107;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.case-card:hover .case-tag {
    opacity: 1;
    transform: translateY(0);
}

/* 定价方案 */
.pricing {
    padding: 100px 0;
    background-color: white;
}

.pricing h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 45px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    background-color: #FFC107;
    color: #333;
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.3);
    border: none;
}

.pricing-card.featured:hover {
    transform: scale(1.08);
}

/* 特色标签 */
.featured-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: #333;
    color: #FFC107;
    padding: 6px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.pricing-card.featured .secondary-btn {
    background-color: #333;
    color: #FFC107;
    border: 2px solid #333;
}

.pricing-card.featured .secondary-btn:hover {
    background-color: transparent;
    color: #333;
}

.pricing-header {
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.pricing-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #FFC107;
    border-radius: 2px;
}

.pricing-card.featured .pricing-header h3::after {
    background-color: #333;
}

.price {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
}

.price-amount {
    display: block;
}

.price-currency {
    font-size: 20px;
    font-weight: normal;
    vertical-align: top;
    margin-right: 5px;
}

.price-period {
    font-size: 16px;
    font-weight: normal;
    color: #666;
    display: block;
    margin-top: 5px;
}

.pricing-card.featured .price-period {
    color: rgba(51, 51, 51, 0.8);
}

.pricing-features {
    list-style: none;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover .pricing-features li {
    padding-left: 10px;
}

.pricing-card.featured .pricing-features li {
    color: rgba(51, 51, 51, 0.8);
}

.pricing-features i.fas.fa-check {
    color: #FFC107;
    font-size: 18px;
    transition: all 0.3s ease;
}

.pricing-features i.fas.fa-times {
    color: #e0e0e0;
    font-size: 18px;
}

.pricing-card.featured .pricing-features i.fas.fa-check {
    color: #333;
}

.pricing-card.featured .pricing-features i.fas.fa-times {
    color: rgba(51, 51, 51, 0.4);
}

.pricing-card:hover .pricing-features i.fas.fa-check {
    transform: scale(1.2) rotate(15deg);
}

/* 联系表单 */
.contact {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.contact-content {
    display: flex;
    gap: 60px;
    background-color: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #FFC107, #FFD54F);
}

.contact-qrcode {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.qrcode-container {
    text-align: center;
    padding: 30px;
    background-color: #fafafa;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.qrcode-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.1);
}

.qrcode-container img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.qrcode-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px;
}

.contact-phone {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    margin: 0;
    padding: 10px;
    background-color: #fafafa;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-phone:hover {
    background-color: #FFF8E1;
    color: #333;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.1);
}

.team-intro {
    flex: 1;
    position: relative;
    z-index: 1;
}

.team-intro h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.team-intro h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #FFC107;
    border-radius: 2px;
}

.team-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.team-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.team-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: #fafafa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.team-feature-item:hover {
    background-color: #FFF8E1;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
}

.team-feature-item i {
    font-size: 24px;
    color: #FFC107;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-feature-item:hover i {
    transform: scale(1.1) rotate(5deg);
    background-color: #FFC107;
    color: #333;
}

.team-feature-item span {
    font-weight: 500;
    color: #333;
}

/* 页脚 */
.footer {
    background-color: #333;
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #FFC107, #FFD54F);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    grid-column: 1;
}

.footer-logo .logo {
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-logo .logo:hover {
    color: #FFC107;
    transform: scale(1.05);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* 页脚社交媒体链接 */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #FFC107;
    color: #333;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #FFC107;
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-links ul li:hover {
    transform: translateX(5px);
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links ul li a:hover {
    color: #FFC107;
}

.footer-links ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #FFC107;
    transition: width 0.3s ease;
}

.footer-links ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom .copyright {
    font-size: 14px;
}

/* 页脚背景装饰 */
.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 50%;
    transform: translate(50%, 50%);
    z-index: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
        gap: 20px;
        margin-left: 0;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .services h2,
    .cases h2,
    .pricing h2,
    .contact h2 {
        font-size: 28px;
    }

    .service-card,
    .case-card,
    .pricing-card {
        padding: 30px;
    }

    .contact-content {
        padding: 30px;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* 滚动效果 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 滚动效果变体 */
.scroll-reveal.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.scroll-reveal.slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.scroll-reveal.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 微交互效果 */
/* 按钮点击效果 */
.btn:active {
    transform: scale(0.98);
}

/* 链接悬停效果 */
a {
    transition: all 0.3s ease;
}

/* 图片悬停效果 */
img {
    transition: all 0.3s ease;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页面加载动画 */
body {
    animation: fadeInUp 0.8s ease-out;
}

/* 数字增长动画 */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 摇摆动画 */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

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

/* 呼吸动画 */
@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}