/* 全局样式 */
:root {
    --primary-color: #4957FF;
    --primary-dark: #3545F7;
    --primary-light: #6573FF;
    --secondary-color: #00D9A3;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --border-radius: 5px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
}

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

/* 头部导航样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 36px;
    height: 36px;
    margin-right: 10px;
}

.logo-text {
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.logo-text sup {
    font-size: 10px;
    top: -8px;
    position: relative;
    color: #888;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 8px 15px;
    position: relative;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--primary-color);
}

.register-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    padding: 6px 18px;
    font-weight: 500;
}

.login-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 20px;
    padding: 6px 18px;
    font-weight: 500;
}

/* 英雄区域样式 */
.hero-section {
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}

.hero-section p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.enter-platform {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    color: white;
}

.enter-platform:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.free-trial {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    background-color: transparent;
}

.free-trial:hover {
    background-color: var(--secondary-color);
    color: white;
}

.dashboard-preview {
    position: relative;
    margin-top: 20px;
}

.dashboard-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.dashboard-image-container img {
    width: 100%;
    border-radius: 8px;
}

.navigation-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 2;
}

.arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.arrow i {
    font-size: 20px;
    color: #555;
}

/* 功能介绍区域 */
.features-intro {
    padding: 60px 0 30px;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* 功能卡片区域 */
.features-section {
    padding: 30px 0 60px;
    background-color: #f9f9f9;
}

.feature-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-icon img {
    width: 80px;
    height: 80px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    color: #555;
}

.feature-list li i {
    color: var(--secondary-color);
    margin-right: 8px;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-btn {
    align-self: center;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    margin-top: auto;
}

/* 合作伙伴区域 */
.partners-section {
    padding: 60px 0;
    background-color: #fff;
}

.partner-logos {
    margin-top: 40px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 80px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* 页脚样式 */
footer {
    background-color: #f8f8f8;
    padding: 20px 0;
    color: #666;
    font-size: 14px;
}

.footer-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.beian-icon {
    width: 14px;
    height: 14px;
    margin-right: 5px;
}

/* 客服悬浮按钮 */
.customer-service {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

.cs-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 40px;
    background-color: rgba(100, 108, 255, 0.8);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(73, 87, 255, 0.3);
    transition: background-color 0.3s ease;
}

.cs-button:hover {
    background-color: rgba(100, 108, 255, 1);
    color: white;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .feature-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }

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

    .feature-card {
        padding: 20px 15px;
    }

    .partner-logo {
        height: 60px;
        padding: 10px;
    }
}
