@charset "UTF-8";
/* 版本号: v2.1, 修改时间：2025-03-24 21:12 */
/* 全局变量 */
:root {
    --primary-color: #1890ff;
    --primary-hover: #40a9ff;
    --text-color: #333;
    --text-muted: #666;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-primary: rgba(24, 144, 255, 0.4);
}

/* 基础样式 */
html {
    font-size: 0.875rem; /* 14px */
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 1rem; /* 16px */
    }
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
}

/* SVG 图标样式（导航栏和定价模块通用） */
.icon, .pricing-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
    fill: currentColor;
}

/* 导航栏 */
.navbar {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo img {
    width: 180px;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

/* 手机端导航 */
@media (max-width: 767px) {
    .navbar {
        padding: 0.5rem;
        flex-direction: column;
        text-align: center;
    }
    .nav-links {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap; /* 支持换行 */
    }
    .nav-link {
        font-size: 0.8rem;
    }
}

/* 主内容区域 */
main {
    margin-top: 60px; /* 默认值，JS 会动态覆盖 */
}

/* Banner */
.banner {
    max-width: 90%;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-content {
    flex: 1;
    text-align: left;
}

.banner-image {
    flex: 1;
    text-align: right;
}

.banner-img {
    max-width: 800px;
    width: 100%;
}

.banner-title {
    font-size: 2.25rem;
    font-weight: 300;
    margin: 1rem 0;
    margin-bottom: 1.5rem;
}

.banner-text {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.banner-buttons {
    display: flex;
    gap: 1rem;
}

/* 按钮 */
.btn {
    display: inline-block;
    width: 120px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 20px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, box-shadow;
}

.btn.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
}

.btn.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

.btn.btn-primary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn.btn-outline-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

/* 手机端 Banner */
@media (max-width: 767px) {
    .banner {
        padding: 2rem 0 0; 
        text-align: center;
    }
    .banner-container {
        flex-direction: column;
        padding: 0;
    }
    .banner-content {
        text-align: center;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .banner-image {
        text-align: center;
        width: 100%;
        margin-top: 1.5rem;
    }
    .banner-img {
        max-width: 100%;
    }
    .banner-title {
        font-size: 1.75rem; 
        margin: 1rem 0 0.75rem; 
    }
    .banner-text {
        font-size: 1.25rem; 
        margin: 0.75rem 0 1.5rem; 
    }
    .banner-buttons {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
}

/* 特性 */
.features {
    padding: 4rem 1rem;
    text-align: center;
}

.feature-icon {
    will-change: transform, box-shadow;
}

.features h2,
.pricing h2,
.home-register h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.col-md-4 {
    flex: 1 1 300px;
    max-width: 33.333%;
    padding: 1rem;
}

.feature-item {
    padding: 1rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon[data-theme="red"] { box-shadow: 0 6px 12px rgba(245, 34, 45, 0.2); }
.feature-icon[data-theme="green"] { box-shadow: 0 6px 12px rgba(26, 196, 77, 0.2); }
.feature-icon[data-theme="purple"] { box-shadow: 0 6px 12px rgba(114, 46, 209, 0.2); }
.feature-icon[data-theme="orange"] { box-shadow: 0 6px 12px rgba(250, 140, 22, 0.2); }
.feature-icon[data-theme="pink"] { box-shadow: 0 6px 12px rgba(235, 45, 150, 0.2); }
.feature-icon[data-theme="blue"] { box-shadow: 0 6px 12px rgba(24, 144, 255, 0.2); }

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 定价 */
.pricing {
    padding: 4rem 1rem;
    text-align: center;
}

.pricing-list {
    margin-top: 2rem;
}

.plan-item {
    flex: 1 1 300px;
    max-width: 33.333%;
    padding: 1rem;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: transform 0.3s ease;
}

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

.card-header {
    background: linear-gradient(45deg, #096dd9, var(--primary-hover));
    color: #fff;
    padding: 1.5rem 1rem;
    border-radius: 8px 8px 0 0;
}

.card-header h3 {
    font-size: 1.75rem;
    font-weight: 300;
    margin: 0;
}

.card-header h3 span {
    font-size: 1rem;
}

.card-header p {
    font-size: 1.125rem;
    margin: 0.5rem 0 0;
}

.card-body ul {
    list-style: none;
    padding: 1rem;
    text-align: left;
}

.card-body li {
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.card-body b {
    color: var(--text-color);
}

/* 手机端定价 */
@media (max-width: 767px) {
    .col-md-4 {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .pricing-list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    .plan-item {
        width: 100%;
        max-width: 400px;
    }
    .nav-links {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }
}

/* home-register */
.home-register {
    padding: 4rem 1rem;
    text-align: center;
}

/* 标题线条 */
.title-line-wrapper {
    height: 2px;
    margin: 1rem auto;
    max-width: 300px;
    overflow: hidden;
}

.title-line {
    background: linear-gradient(90deg, rgba(24, 144, 255, 0), var(--primary-color));
    height: 100%;
    width: 60px;
    animation: slide 3s ease-in-out infinite;
}

@keyframes slide {
    0%, 25% { transform: translateX(-60px); }
    75%, 100% { transform: translateX(360px); }
}

/* 修改footer部分，20250324 */

/* 页脚 */
/*
footer {
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}
*/

/* 页脚样式 */
footer {
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem; /* PC 端间距 */
}

/* 链接容器样式 */
.footer-link {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

/* 链接默认样式 */
.footer-link a {
    color: var(--text-muted);
    text-decoration: none;
}

/* 链接悬停效果 */
.footer-link a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 移动端样式 */
@media (max-width: 767px) {
    footer {
        flex-direction: column;
        gap: 0.5rem; /* 移动端间距 */
    }
}