/* 全局样式 */
:root {
    --primary-color: #4776E6;
    --secondary-color: #8E54E9;
    --gradient-start: #4776E6;
    --gradient-end: #8E54E9;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    padding-top: 76px;
}

/* Hero部分 */
.hero-section {
    background: linear-gradient(135deg, 
        rgba(71, 118, 230, 0.05) 0%, 
        rgba(142, 84, 233, 0.05) 100%);
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 0% 0%, 
            rgba(71, 118, 230, 0.1) 0%, 
            transparent 50%),
        radial-gradient(circle at 100% 100%, 
            rgba(142, 84, 233, 0.1) 0%, 
            transparent 50%);
    opacity: 0.8;
}

.hero-section::after {
    display: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* 漂浮动画 */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 平台优势部分样式更新 */
.section-header {
    margin-bottom: 3rem;
}

.section-header .lead {
    color: #6c757d;
    max-width: 600px;
    margin: 1rem auto 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(var(--primary-color), 0.1);
}

.feature-card .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.feature-card .icon-wrapper i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.feature-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(71, 118, 230, 0.98), 
        rgba(142, 84, 233, 0.98));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.feature-hover ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: white;
}

.feature-hover ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-hover ul li i {
    color: #4ade80;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(71, 118, 230, 0.15);
}

.feature-card:hover .feature-hover {
    opacity: 1;
}

.feature-card:hover .icon-wrapper {
    transform: scale(0.8);
}

@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .feature-hover {
        position: static;
        opacity: 1;
        background: none;
        margin-top: 1rem;
    }
    
    .feature-hover ul {
        color: #6c757d;
    }
    
    .feature-hover ul li i {
        color: var(--primary-color);
    }
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2e59d9;
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, 
        rgba(71, 118, 230, 0.95), 
        rgba(142, 84, 233, 0.95));
    padding: 1rem 0;
}

.navbar .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--light-color) !important;
    transform: translateY(-2px);
}

/* 渐变文字效果 */
.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 渐变按钮 */
.btn-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-gradient:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-gradient:hover:before {
    opacity: 1;
}

/* 特性列表样式 */
.features-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.feature-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* 手机展示区域效果 */
.phone-wrapper {
    position: relative;
    padding: 2rem;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(71, 118, 230, 0.15) 0%,
        rgba(142, 84, 233, 0.15) 50%,
        transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

/* 客服信息样式 */
.customer-service {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* 客服信息样式 */
.customer-service-hero {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid rgba(71, 118, 230, 0.1);
    box-shadow: 0 4px 6px rgba(71, 118, 230, 0.05);
}

.customer-service-hero i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* 使用教程样式 */
.tutorial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tutorial-card:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.tutorial-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 新闻资讯样式 */
.news-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.news-meta {
    color: #6c757d;
    font-size: 0.875rem;
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .customer-service {
        display: none;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .features-list {
        max-width: 400px;
        margin: 2rem auto;
    }
}

/* 页脚样式更新 */
.footer-section {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 1rem;
}

.footer-links a,
.footer-contact li {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 1.5rem 0;
    color: rgba(255,255,255,0.8);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    display: inline-block;
}

.footer-bottom .beian {
    margin-left: 10px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .beian:hover {
    color: var(--primary-color);
}

/* 移动端底部固定栏 */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    padding: 12px 0;
    z-index: 1000;
}

.mobile-bottom-bar .system-info {
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.mobile-bottom-bar .enter-btn {
    background-color: #ff3b30;
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.mobile-bottom-bar .enter-btn:hover,
.mobile-bottom-bar .enter-btn:active {
    background-color: #e6352b;
}

/* 在移动端显示底部栏 */
@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: block;
    }
    
    /* 为底部固定栏留出空间 */
    body {
        padding-bottom: 50px;
    }
}

/* QR码模态框样式 */
#qrModal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

#qrModal .modal-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
}

#qrModal .modal-body {
    padding: 1.5rem;
}

#qrModal .btn-close {
    filter: brightness(0) invert(1);
}

#qrModal img {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
} 