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

/* Font Awesome 7 图标样式修复 */
/* 重置Font Awesome 7的默认样式，直接设置font-size */
.fa, .fas, .far, .fal, .fab, .fa-brands, .fa-classic, .fa-regular, .fa-solid {
    font-family: 'Font Awesome 7 Free' !important;
    font-weight: 900 !important;
    line-height: inherit !important;
    vertical-align: middle !important;
    width: auto !important;
    font-size: inherit !important;
}

/* 移除i标签的字体大小继承，直接设置具体大小 */
i.fab,
i.fas,
i.far,
i.fa-brands,
i.fa-regular,
i.fa-solid {
    font-size: inherit !important;
}

/* 导航栏图标大小 */
.navbar-brand i {
    font-size: 2rem !important;
}

/* 英雄区域图标大小 */
.hero-icon i {
    font-size: 4rem !important;
}

/* 统计项图标大小 */
.stat-item i {
    font-size: 2.5rem !important;
}

/* 下载按钮图标大小 */
.btn i {
    font-size: inherit !important;
}

.btn-download i {
    font-size: 2.5rem !important;
}

/* 下载区域按钮图标大小 */
.download-buttons .btn-download i {
    font-size: 2.5rem !important;
}

/* 下载按钮图标样式 */
.btn-download-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* 下载按钮文本区域样式 */
.btn-download div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 联系项图标大小 */
.contact-item i {
    font-size: 1.8rem !important;
}

/* 页脚图标大小 */
.footer-logo i {
    font-size: 2rem !important;
}

/* 回到顶部按钮图标大小 */
.back-to-top i {
    font-size: 1.5rem !important;
}

/* 功能图标大小 */
.feature-icon i {
    font-size: 2.5rem !important;
}

/* 测试评价星级大小 */
.testimonial-rating i {
    font-size: 1.2rem !important;
}

/* 截图轮播控制图标大小 */
.carousel-control i {
    font-size: 18px !important;
}

/* 确保下载区域的Font Awesome图标显示正确大小 */
.download .btn-download i {
    font-size: 2.5rem !important;
    color: #ffffff !important;
    margin-right: 15px;
}

/* 基础字体和颜色设置 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #1a1e30 0%, #2d3a4b 100%);
    overflow-x: hidden;
    position: relative;
    transition: all 0.3s ease;
}

/* 全局背景图案和粒子效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(112, 100, 200, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(50, 150, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 80, 200, 0.15) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    pointer-events: none;
    z-index: -1;
    animation: backgroundFloat 20s ease-in-out infinite;
}

/* 页面加载动画 */
body {
    opacity: 0;
    transition: opacity 0.8s ease;
}

body.loaded {
    opacity: 1;
}

/* 添加粒子效果容器 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

/* 粒子浮动动画 */
@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-40px) translateX(-10px) rotate(180deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-20px) translateX(5px) rotate(270deg);
        opacity: 0.8;
    }
}

/* 背景浮动动画 */
@keyframes backgroundFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-10px) translateX(10px);
    }
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 段落样式 */
p {
    margin-bottom: 1.5rem;
    color: #a0aec0;
    font-size: 1.1rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* 链接样式 */
a {
    color: #409EFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #66B1FF;
    transform: translateY(-2px);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    outline: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.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: left 0.5s;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    color: #ffffff;
    background: transparent;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 30, 48, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: top 0.3s ease, all 0.3s ease;
}

/* 当横幅公告显示时，导航栏下移 */
.navbar.with-banner {
    top: 50px;
}

.navbar.scrolled {
    background: rgba(26, 30, 48, 0.98);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

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

.navbar-brand a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.navbar-brand i {
    font-size: 2rem;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu li {
    margin-left: 30px;
}

.navbar-menu a {
    color: #a0aec0;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 25px;
}

.navbar-menu a:hover {
    color: #ffffff;
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.navbar-toggle:hover {
    color: #667eea;
    transform: rotate(90deg);
}

/* 英雄区域样式 */
.hero {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1e30 0%, #2d3a4b 100%);
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    animation: glow 8s ease-in-out infinite alternate;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    background-size: 100% 100%;
    animation: patternMove 20s linear infinite;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-icon {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-icon i {
    font-size: 4rem !important;
    animation: pulse 2s infinite;
}

.hero-icon img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem !important;
    color: #667eea;
    margin-bottom: 10px;
    animation: bounce 3s infinite;
}

.stat-item span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 5px;
}

.stat-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #a0aec0;
}

.hero-downloads {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.btn-download {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 15px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-download:hover {
    transform: translateY(-5px);
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-download i {
    font-size: 2.5rem !important;
    margin-right: 15px;
    color: #667eea;
}

.btn-download img {
    width: 48px;
    height: 48px;
    margin-right: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-download div {
    display: flex;
    flex-direction: column;
}

.btn-download span {
    font-size: 0.875rem;
    opacity: 0.8;
}

.btn-download strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
}

.phone-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.app-preview {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: rotate(5deg);
    transition: all 0.3s ease;
}

.app-preview:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.4);
}

/* 区域标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header p {
    font-size: 1.2rem;
    color: #a0aec0;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

/* 功能介绍区域样式 */
.features {
    padding: 120px 0;
    background: rgba(45, 58, 75, 0.1);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.feature-item {
    background: rgba(26, 30, 48, 0.8);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

.feature-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-item p {
    color: #a0aec0;
    line-height: 1.7;
    opacity: 0.8;
}

/* 应用截图区域样式 */
.screenshots {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1e30 0%, #2d3a4b 100%);
    position: relative;
    overflow: hidden;
}

.screenshots::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.screenshot-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.screenshot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.screenshot-item:hover::before {
    left: 100%;
}

.screenshot-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.screenshot-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.1);
}

/* 客户评价区域样式 */
.testimonials {
    padding: 120px 0;
    background: rgba(45, 58, 75, 0.1);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.testimonial-item {
    background: rgba(26, 30, 48, 0.8);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(102, 126, 234, 0.1);
    font-family: serif;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.testimonial-rating {
    margin-bottom: 20px;
    color: #fbbf24;
    font-size: 1.2rem;
}

.testimonial-rating i {
    margin-right: 5px;
}

.testimonial-item p {
    margin-bottom: 25px;
    line-height: 1.7;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 3px solid rgba(102, 126, 234, 0.5);
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1.1rem;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

.testimonial-author p {
    margin: 0;
    font-size: 0.9rem;
    color: #a0aec0;
    opacity: 0.8;
}

/* 下载区域样式 */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 背景装饰效果 */
.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: float 20s infinite linear;
}

/* 动态背景波纹 */
.download::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    animation: ripple 15s infinite ease-out;
}

.download-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.download-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: textGlow 2s ease-in-out infinite alternate;
}

.download-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 下载区域的按钮样式 */
.download .btn-download {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.download .btn-download:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 下载区域的按钮图标样式 */
.download .btn-download i {
    font-size: 2.5rem !important;
    color: #ffffff !important;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.download .btn-download img {
    width: 48px;
    height: 48px;
    margin-right: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* 下载区域的按钮悬停效果 */
.download .btn-download:hover i {
    transform: scale(1.2) rotate(5deg);
}

.download .btn-download:hover img {
    transform: scale(1.2);
}

/* 下载按钮样式 */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 按钮图标样式 */
.download-btn i {
    font-size: 2.5rem !important;
    transition: transform 0.3s ease;
}

/* 下载按钮图片图标样式 */
.download-btn img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* 按钮悬停效果 */
.download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.download-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* 按钮点击效果 */
.download-btn:active {
    transform: translateY(-2px);
}

/* 按钮内部发光效果 */
.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

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

/* 新增动画效果 */
@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-10px) translateX(10px);
    }
    50% {
        transform: translateY(0) translateX(20px);
    }
    75% {
        transform: translateY(10px) translateX(10px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5;
    }
    100% {
        width: 1000px;
        height: 1000px;
        opacity: 0;
    }
}

@keyframes textGlow {
    from {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    to {
        text-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
    }
}

/* 联系我们区域样式 */
.contact {
    padding: 120px 0;
    background: rgba(26, 30, 48, 0.8);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

.contact-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.8rem;
    color: #667eea;
    margin-right: 20px;
    margin-top: 5px;
    animation: pulse 2s infinite;
}

.contact-item h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

.contact-item p {
    margin: 0;
    color: #a0aec0;
    opacity: 0.9;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.contact-form:hover {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* 页脚样式 */
.footer {
    background: rgba(17, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    color: #a0aec0;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out;
}

.footer-about p {
    margin-top: 15px;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2rem;
    color: #667eea;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

.footer-social {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #a0aec0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    border-color: transparent;
}

.footer-links h3 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.2rem;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

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

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

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

.footer-links a {
    color: #a0aec0;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #667eea;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* 回到顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    outline: none;
    z-index: 999;
    animation: pulse 2s infinite;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

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

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes glow {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    to {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    }
}

@keyframes patternMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

/* 滚动触发动画 */
section {
    transition: all 0.8s ease;
}

section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 增强的悬停效果 */
.feature-item, .screenshot-item, .testimonial-item, .contact-item {
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-item::after, .screenshot-item::after, .testimonial-item::after, .contact-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.feature-item:hover::after, .screenshot-item:hover::after, .testimonial-item:hover::after, .contact-item:hover::after {
    left: 100%;
}

/* 增强的按钮效果 */
.btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

/* 增强的导航效果 */
.navbar-menu a {
    position: relative;
    transition: all 0.3s ease;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-menu a:hover::after {
    width: 80%;
}

/* 增强的图标效果 */
.feature-icon, .stat-item i, .contact-item i {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.feature-icon::after, .stat-item i::after, .contact-item i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.feature-icon:hover::after, .stat-item i:hover::after, .contact-item i:hover::after {
    width: 120%;
    height: 120%;
}

/* 增强的卡片效果 */
.feature-item, .screenshot-item, .testimonial-item {
    background: rgba(26, 30, 48, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-item:hover, .screenshot-item:hover, .testimonial-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

/* 渐变背景动画 */
.hero, .screenshots, .download {
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

/* 手机模型增强动画 */
.phone-mockup {
    animation: float 6s ease-in-out infinite, pulseGlow 3s ease-in-out infinite;
    transform-style: preserve-3d;
}

.app-preview {
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: perspective(1000px) rotateY(0deg);
}

.phone-mockup:hover .app-preview {
    transform: perspective(1000px) rotateY(10deg) rotateX(5deg) scale(1.05);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.4);
}

/* 增强的统计数字动画 */
.stat-item {
    position: relative;
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item span {
    display: inline-block;
    transition: all 0.4s ease;
}

.stat-item:hover span {
    transform: scale(1.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 增强的联系表单效果 */
.form-group input, .form-group textarea {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.form-group input:focus, .form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    transition: all 0.3s ease;
    opacity: 0.6;
}

.form-group input:focus::placeholder, .form-group textarea:focus::placeholder {
    opacity: 0.3;
    transform: translateX(10px);
}

/* 增强的页脚效果 */
.footer-links li {
    transition: all 0.3s ease;
}

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

.footer-links a {
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '→';
    position: absolute;
    right: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::after {
    opacity: 1;
    right: -20px;
    color: #667eea;
}

/* 增强的社交图标效果 */
.social-link {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(0.8);
    z-index: -1;
}

.social-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.social-link:hover {
    transform: translateY(-5px) rotate(360deg);
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 30, 48, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        flex-direction: column;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-menu.show {
        display: flex;
    }
    
    .navbar-menu li {
        margin: 0;
        padding: 15px 20px;
    }
    
    .navbar-menu a {
        display: block;
        width: 100%;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 250px;
    }
    
    .hero-downloads {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-download {
        max-width: 300px;
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .screenshots-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item span {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .feature-item,
    .screenshot-item,
    .testimonial-item {
        padding: 30px 20px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(26, 30, 48, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
