/* ===== 全局颜色变量 ===== */
:root {
    --primary-color: #4f6df5;     /* 主品牌色：蓝紫色 */
    --bg-color: #f5f7ff;          /* 页面背景色：浅蓝灰色 */
    --card-bg: #ffffff;           /* 卡片背景色：纯白色 */
    --text-primary: #111827;      /* 主要文本色：深灰色 */
    --text-secondary: #4b5563;    /* 次要文本色：中灰色 */
    --text-muted: #6b7280;        /* 弱化文本色：浅灰色 */
}

/* ===== 加载动画 ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(79, 109, 245, 0.05) 0%, transparent 20%), 
        radial-gradient(circle at 90% 80%, rgba(108, 99, 255, 0.05) 0%, transparent 20%), 
        radial-gradient(circle at 50% 50%, rgba(79, 109, 245, 0.03) 0%, transparent 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(79, 109, 245, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== 页面基础样式 ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 内容淡入效果 */
.main-content {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    flex: 1;
}

.main-content.loaded {
    opacity: 1;
}

/* ===== 页面装饰性背景图案 ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(79, 109, 245, 0.05) 0%, transparent 20%),  /* 左上角光晕 */
        radial-gradient(circle at 90% 80%, rgba(108, 99, 255, 0.05) 0%, transparent 20%),  /* 右下角光晕 */
        radial-gradient(circle at 50% 50%, rgba(79, 109, 245, 0.03) 0%, transparent 100%); /* 中心渐变 */
    z-index: -1;
}

/* ===== 导航栏样式 ===== */
.navbar {
    padding: 12px 0;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(79, 109, 245, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(108, 99, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(79, 109, 245, 0.03) 0%, transparent 100%);
    /* 使用mask实现从上到下的渐隐效果 */
    mask: linear-gradient(to bottom, 
        black 75%,
        transparent
    );
    border: none;
    box-shadow: none;
}

/* 导航栏容器内边距 */
.navbar .container-fluid {
    padding-left: 5rem;   /* 左右内边距保持宽松的布局 */
    padding-right: 5rem;
}

/* 导航栏品牌标识 */
.navbar-brand {
    font-weight: 700;              /* 加粗字体 */
    font-size: 1.5rem;             /* 较大的字号 */
    color: var(--primary-color);   /* 使用品牌主色 */
}

/* 品牌标识的各种状态保持一致的颜色 */
.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand:active {
    color: var(--primary-color);
    text-decoration: none;         /* 移除下划线 */
}

/* ===== 导航链接样式 ===== */
.navbar-nav {
    flex-direction: row;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0 10px;
    padding: 5px 0;
    position: relative;
    transition: color 0.2s ease;
    text-decoration: none;
}

/* 导航链接的动态下划线效果 */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

/* 自定义的激活状态样式（移除Bootstrap默认效果） */
.navbar .nav-link.active {
    color: var(--text-secondary);  /* 保持默认颜色 */
    background-color: transparent; /* 移除背景色 */
}

/* 悬停状态：文本变为品牌色 + 下划线展开 */
.navbar .nav-link:hover {
    color: var(--primary-color);  /* 悬停时文本变为品牌色 */
}

.nav-link:hover::after {
    width: 100%;  /* 悬停时下划线展开至全宽 */
}

/* 链接状态的精细控制 */
.nav-link:focus {
    color: var(--text-secondary); /* 焦点状态保持默认颜色 */
    text-decoration: none;         /* 移除下划线 */
    outline: none;                 /* 移除默认焦点轮廓 */
}

.nav-link:active {
    color: var(--text-secondary); /* 点击状态保持默认颜色 */
    text-decoration: none;         /* 点击状态也移除下划线 */
}

.nav-link:visited {
    color: var(--text-secondary); /* 访问过的链接保持默认颜色 */
}

/* ===== 主要内容区域 ===== */
.hero-section {
    padding: 70px 0 50px;  /* 上下内边距营造空间感 */
    text-align: center;     /* 文本居中对齐 */
    position: relative;     /* 为子元素定位做准备 */
}

/* 主标题样式（渐变色文字效果） */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    /* 蓝紫色渐变 */
    background: linear-gradient(90deg, #4054e5, #6c63ff);
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-shadow: 0 5px 15px rgba(77, 94, 232, 0.1);
}

/* 副标题样式 */
.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* ===== 主要按钮样式 ===== */
.btn-primary {
    /* 蓝紫色渐变背景 */
    background: linear-gradient(90deg, #4054e5, #5469f7);
    border: none;                 /* 移除边框 */
    border-radius: 8px;           /* 圆角边框 */
    padding: 10px 24px;           /* 内边距 */
    font-weight: 500;             /* 中等加粗字体 */
    transition: all 0.3s;         /* 所有属性平滑过渡 */
    box-shadow: 0 4px 10px rgba(64, 84, 229, 0.15);  /* 柔和的阴影效果 */
}

/* 主要按钮悬停效果 */
.btn-primary:hover {
    /* 更亮的渐变色 */
    background: linear-gradient(90deg, #4d5fe7, #6275f8);
    transform: translateY(-2px);     /* 向上提升2px */
    box-shadow: 0 6px 15px rgba(64, 84, 229, 0.25);  /* 增强阴影效果 */
}

/* 空心按钮样式 */
.btn-outline-primary {
    color: var(--primary-color);              /* 品牌色文字 */
    background: rgba(79, 109, 245, 0.05);     /* 半透明背景 */
    border: 1px solid rgba(79, 109, 245, 0.3); /* 半透明边框 */
    border-radius: 8px;                       /* 圆角边框 */
    padding: 10px 24px;                       /* 内边距 */
    font-weight: 500;                         /* 中等加粗字体 */
    transition: all 0.3s;                     /* 所有属性平滑过渡 */
}

/* 空心按钮悬停效果 */
.btn-outline-primary:hover {
    background-color: rgba(79, 109, 245, 0.1); /* 加深背景色 */
    border-color: var(--primary-color);        /* 实体边框色 */
    color: var(--primary-color);               /* 保持文字颜色 */
    transform: translateY(-2px);               /* 向上提升效果 */
}

/* ===== 特性展示区域 ===== */
.features-section {
    padding: 40px 0;
    flex: 1;
}

/* 区域标题样式 */
.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

/* 区域描述样式 */
.section-description {
    color: var(--text-muted);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* 特性卡片容器布局 */
.features-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;                /* 卡片之间的间距 */
}

/* ===== 特性卡片样式 ===== */
.card {
    border-radius: 16px;
    background-color: var(--card-bg);
    transition: all 0.3s;
    width: 100%;
    max-width: 420px;
    position: relative;
    border: 1px solid rgba(79, 109, 245, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 卡片悬停效果 */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.07);
    border-color: rgba(79, 109, 245, 0.3);
}

/* 特性图标容器 */
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    /* 对角渐变背景 */
    background: linear-gradient(135deg, rgba(79, 109, 245, 0.1), rgba(79, 109, 245, 0.2));
    box-shadow: 0 4px 10px rgba(79, 109, 245, 0.1);
    margin: 0 auto 1.5rem;
}

/* 特性图标样式 */
.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

/* 卡片标题样式 */
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-align: center;
}

/* 卡片文本内容样式 */
.card-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

/* 卡片内容区域内边距 */
.feature-card-content {
    padding: 1.75rem;
}

/* "立即体验"突出样式 */
.cta-text {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ===== 公司价值观 ===== */
.company-values-section {
    padding: 60px 0;
    margin: 60px 0;
}

/* 分割线容器 */
.divider-wrap {
    margin-bottom: 3rem;
}

/* 分割线样式 */
.divider-inner {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(79, 109, 245, 0.3) 50%, transparent 100%);
}

/* 价值观整体布局 */
.values-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 价值观网格布局 */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* 价值观标题区域 */
.values-heading {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

/* 价值观标语 */
.values-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
    max-width: 20ch;
}

/* 价值观描述区域 */
.values-description {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    align-self: start;
    margin-top: -0.3rem;
}

.values-description p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.values-description p:last-child {
    margin-bottom: 0;
}

/* ===== 通用内容页面样式 ===== */
/* 适用于隐私政策、服务条款、新闻等内容页面 */

.content-page-section {
    padding: 60px 0;
    max-width: 750px;
    margin: 0 auto;
}

.content-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.content-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #4054e5, #6c63ff);
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
}

.content-page-date {
    color: var(--text-muted);
    font-size: 1rem;
}

.content-page-body {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1rem;
}

.content-page-body h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(79, 109, 245, 0.1);
}

.content-page-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0 15px 0;
}

.content-page-body ul {
    padding-left: 20px;
    margin: 15px 0;
    list-style-type: none;
}

.content-page-body li {
    margin-bottom: 8px;
}

.content-page-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.content-page-body a {
    color: var(--primary-color);
    text-decoration: none;
}

.content-page-body a:hover {
    text-decoration: underline;
}

.content-page-back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 30px;
    transition: color 0.2s ease;
}

.content-page-back-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.content-page-back-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* ===== 底部栏样式 ===== */
.simple-footer {
    padding: 2rem 0;
    margin-top: auto;
}

/* 底部内容布局 */
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 底部链接样式 */
.footer-content a {
    color: var(--text-muted);
    text-decoration: none;
}

/* 底部链接悬停效果 */
.footer-content a:hover {
    text-decoration: underline;
}

/* ===== 响应式设计 ===== */

/* 大平板设备 (992px 到 1199px) */
@media (max-width: 1199px) {
    .navbar .container-fluid {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .features-container {
        gap: 35px;
    }
    
    /* 优化内容页面 */
    .content-page-section {
        max-width: 700px;
    }
    
    .content-page-title {
        font-size: 2.3rem;
    }
}

/* 平板设备 (768px 到 991px) */
@media (max-width: 991px) {
    .navbar .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 25px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* 特性卡片容器优化布局 */
    .features-container {
        flex-direction: column;
        gap: 25px;
        max-width: 500px;
        align-items: center;
    }
    
    .card {
        max-width: 100%;
        min-height: 200px;
    }
    
    /* 价值观区域优化 */
    .company-values-section {
        padding: 50px 0;
        margin: 50px 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 700px;
    }
    
    .values-heading {
        grid-column: 1;
        grid-row: 1;
        text-align: center;
    }
    
    .values-description {
        grid-column: 1;
        grid-row: 2;
        margin-top: 0;
        text-align: center;
    }
    
    .values-tagline {
        max-width: none;
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    /* 优化内容页面 */
    .content-page-section {
        padding: 50px 0;
        max-width: 650px;
    }
    
    .content-page-title {
        font-size: 2.1rem;
        margin-bottom: 20px;
    }
    
    .content-page-body h2 {
        font-size: 1.4rem;
        margin: 35px 0 18px 0;
    }
    
    .content-page-body h3 {
        font-size: 1.2rem;
        margin: 25px 0 12px 0;
    }
}

/* 手机设备 (576px 到 767px) */
@media (max-width: 767px) {
    /* 优化导航栏 */
    .navbar {
        padding: 8px 0;
    }
    
    .navbar .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    /* 优化Hero区域 */
    .hero-section {
        padding: 40px 0 35px;
    }
    
    .hero-title {
        font-size: 2.3rem;
        margin-bottom: 20px;
        line-height: 1.25;
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        padding: 0 1.5rem;
        line-height: 1.4;
    }
    
    /* 优化特性展示区域 */
    .features-section {
        padding: 35px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
        padding: 0 2rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-description {
        margin: 0 auto 35px;
        padding: 0 2rem;
        font-size: 1.05rem;
        line-height: 1.5;
        max-width: 480px;
    }
    
    .features-container {
        gap: 20px;
        max-width: 520px;
        padding: 0 2rem;
    }
    
    .card {
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    }
    
    .feature-card-content {
        padding: 1.75rem 1.5rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1.25rem;
    }
    
    .feature-icon i {
        font-size: 22px;
    }
    
    .card-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .card-text {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }
    
    .cta-text {
        font-size: 0.95rem;
        margin-top: 0.5rem;
    }
    
    /* 优化价值观区域 */
    .company-values-section {
        padding: 40px 0;
        margin: 35px 0;
    }
    
    .values-grid {
        gap: 2rem;
        padding: 0 2.5rem;
        max-width: 550px;
    }
    
    .values-tagline {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .values-description {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .values-description p {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    /* 优化底部区域 */
    .simple-footer {
        padding: 1.75rem 0;
    }
    
    .footer-content {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0 1.5rem;
        text-align: center;
        justify-content: center;
    }
    
    /* 优化内容页面 */
    .content-page-section {
        padding: 40px 0;
        max-width: 90%;
    }
    
    .content-page-title {
        font-size: 2rem;
    }
    
    .content-page-body h2 {
        font-size: 1.3rem;
    }
    
    .content-page-body h3 {
        font-size: 1.1rem;
    }
}

/* 小屏手机设备 (480px 以下) */
@media (max-width: 480px) {
    /* 进一步优化导航栏 */
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    /* 进一步优化Hero区域 */
    .hero-section {
        padding: 35px 0 30px;
    }
    
    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 18px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    /* 进一步优化特性展示 */
    .features-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        padding: 0 1.5rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-description {
        margin-bottom: 30px;
        font-size: 1rem;
        padding: 0 1.5rem;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .features-container {
        gap: 18px;
        padding: 0 1.5rem;
        max-width: 420px;
    }
    
    .feature-card-content {
        padding: 1.5rem 1.25rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 20px;
    }
    
    .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.7rem;
    }
    
    .card-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .cta-text {
        font-size: 0.9rem;
    }
    
    /* 进一步优化价值观区域 */
    .company-values-section {
        padding: 35px 0;
        margin: 30px 0;
    }
    
    .values-grid {
        gap: 1.75rem;
        padding: 0 2rem;
        max-width: 420px;
    }
    
    .values-tagline {
        font-size: 1.25rem;
        line-height: 1.25;
        margin-bottom: 1rem;
        max-width: 240px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .values-description {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .values-description p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    /* 进一步优化内容页面 */
    .content-page-section {
        padding: 35px 0;
        max-width: 85%;
    }
    
    .content-page-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .content-page-header {
        margin-bottom: 40px;
    }
    
    .content-page-body {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .content-page-body h2 {
        font-size: 1.2rem;
        margin: 30px 0 15px 0;
        padding-bottom: 8px;
    }
    
    .content-page-body h3 {
        font-size: 1.05rem;
        margin: 25px 0 10px 0;
    }
    
    .content-page-body ul {
        padding-left: 18px;
        margin: 12px 0;
    }
    
    .content-page-body li {
        margin-bottom: 6px;
    }
    
    .content-page-back-link {
        margin-bottom: 25px;
        font-size: 0.95rem;
    }
    
    .content-page-back-link i {
        font-size: 1rem;
    }
    
    /* 进一步优化底部 */
    .simple-footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.4rem;
        padding: 0 1rem;
    }
    
    /* 在移动端隐藏分隔符 */
    .footer-content span:not(:first-child):not(:last-child) {
        display: none;
    }
}

/* ===== 移动端触摸优化 ===== */
@media (max-width: 767px) {
    .card {
        /* 为触摸增加更大的点击区域 */
        min-height: 180px;
        transition: all 0.2s ease;
    }
    
    .card:active {
        transform: translateY(-2px) scale(0.98);
    }
}

/* ===== 超大屏幕优化 ===== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .features-container {
        gap: 50px;
    }
    
    /* 优化内容页面 */
    .content-page-section {
        max-width: 800px;
        padding: 80px 0;
    }
    
    .content-page-title {
        font-size: 2.8rem;
    }
    
    .content-page-body {
        font-size: 1.1rem;
        line-height: 1.9;
    }
    
    .content-page-body h2 {
        font-size: 1.6rem;
        margin: 45px 0 22px 0;
    }
    
    .content-page-body h3 {
        font-size: 1.35rem;
        margin: 35px 0 18px 0;
    }
}




