@charset "UTF-8";
/* 
 *版本: v3.0
 *说明: 
     1.适配Bootstrap 5.3.3
     2.优化套餐卡片的视觉层次感，增强用户对不同套餐的识别度。
     3.新增使用场景模块，展示产品在不同场景下的应用优势，提升用户购买意愿。
     4.调整按钮样式和交互效果，提升整体用户体验。  
 *时间: 2026-02-16 14:37
 */

/* =========================
    01. 全局与基础
    ========================= */
/* 全局变量 */
: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);
}

/* 响应式断点规范：移动端 <= 767px；桌面端 >= 768px */

/* 基础样式 */
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;
}

/* =========================
    02. 导航栏
    ========================= */
/* 导航栏 */
.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;
}

@media (min-width: 768px) {
    .nav.collapse {
        display: flex !important;
        visibility: visible;
        height: auto !important;
    }
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 0.4rem;
    border-radius: 8px;
}

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

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background-color: var(--text-color);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.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 0.75rem;
        min-height: 64px;
    }

    .logo img {
        width: 150px;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
        padding: 0.6rem 0.75rem 0.8rem;
    }

    .nav.show {
        display: block;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0.5rem 0.45rem;
        border-radius: 8px;
    }

    .nav-link:hover {
        background: rgba(24, 144, 255, 0.1);
    }
}

/* =========================
    03. 主体与Banner
    ========================= */
/* 主内容区域 */
main {
    margin-top: 72px;
}

@media (max-width: 767px) {
    main {
        margin-top: 64px;
    }
}

/* 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: 1.25rem 0 1.75rem;
}

.banner-text {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 34rem;
}

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

/* Banner/注册/定价按钮（局部作用域，避免覆盖 Bootstrap 全局 .btn） */
.banner-buttons .btn,
.home-register .btn,
.pricing .card-body .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;
}

.banner-buttons .btn.btn-primary,
.home-register .btn.btn-primary,
.pricing .card-body .btn.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
}

.banner-buttons .btn.btn-primary:hover,
.home-register .btn.btn-primary:hover,
.pricing .card-body .btn.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

.banner-buttons .btn.btn-primary:focus,
.home-register .btn.btn-primary:focus,
.pricing .card-body .btn.btn-primary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.banner-buttons .btn.btn-outline-primary,
.home-register .btn.btn-outline-primary,
.pricing .card-body .btn.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.banner-buttons .btn.btn-outline-primary:hover,
.home-register .btn.btn-outline-primary:hover,
.pricing .card-body .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;
    }
}

/* =========================
    04. 特性模块
    ========================= */
/* 特性 */
.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;
}

.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);
}

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

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

.plan-item {
    padding: 1rem;
}

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

.plan-2 .card {
    border-color: var(--primary-color);
}

.plan-item .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.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;
}

.plan-item .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-item .card-body ul {
    flex: 1;
}

.card-body li {
    font-size: 0.95rem;
    margin: 0.6rem 0;
    line-height: 1.85;
}

.pricing .card-body .btn {
    margin-top: 0.75rem;
    align-self: center;
}

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

/* =========================
    06. 使用场景模块
    ========================= */
#scenarios .row {
    row-gap: 0.5rem;
}

.scenario-item .feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.scenario-icon {
    width: 30px;
    height: 30px;
    margin: 0;
    color: var(--primary-color);
}

.scenario-item p {
    line-height: 1.8;
}

@media (max-width: 767px) {
    #scenarios .scenario-item p {
        font-size: 0.86rem;
        line-height: 1.7;
    }
}

/* 手机端定价 */
@media (max-width: 767px) {
    .pricing-list {
        row-gap: 1rem;
    }
    .plan-item {
        padding: 0.6rem;
    }
}

/* =========================
    07. Home Register 模块
    ========================= */
/* home-register */
.home-register {
    padding: 4rem 1rem;
    text-align: center;
}

/* =========================
    08. 用户评价模块
    ========================= */
/* 用户评价 */
.testimonials {
    padding: 4rem 1rem;
}

.testimonials-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.testimonials-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.testimonial-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(24, 144, 255, 0.15);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.testimonial-user h3 {
    margin: 0;
    font-size: 1rem;
}

.testimonial-user span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    background: var(--primary-color);
    flex-shrink: 0;
}

.testimonial-avatar[data-accent="blue"] { background: linear-gradient(135deg, #1890ff, #40a9ff); }
.testimonial-avatar[data-accent="green"] { background: linear-gradient(135deg, #16a085, #2ecc71); }
.testimonial-avatar[data-accent="purple"] { background: linear-gradient(135deg, #722ed1, #b37feb); }

.testimonial-quote {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* =========================
    09. 公共动画与标题线
    ========================= */
/* 标题线条 */
.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); }
}

/* =========================
    10. 页脚模块
    ========================= */
/* 页脚样式 */
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;
    flex-wrap: wrap;
    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;
}

.footer-copyright {
    flex-basis: 100%;
    text-align: center;
}

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