* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background-color: #2d81ff;
    color: #333;
}

/* 顶部导航栏 */
header {
    background: #2d81ff;
    color: #fff;
    width: 100%;
    z-index: 1000;
    top:0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #2d81ff;
}

@media (max-width: 768px) {
    .navtab {
        display: none;
    }
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.top-nav nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.top-nav nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.auth-links a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #fff;
    padding: 6px 12px;
    border-radius: 4px;
}

/* 轮播图 */
.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slides1 {
    width: 100%;
    flex-shrink: 0;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* 公共内容样式 */
.center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section {
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
}


/* 卡片组件 */
.feature, .faq, .testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 800px;
}

.features-section {
    background: #ffffff;
    width: 100%;
}

.feature-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.feature {
    background-color: #f8fbff;
    border: 1px solid #dbeaff;
    border-radius: 10px;
    padding: 20px 25px;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.feature:hover {
    transform: translateY(-4px);
}

.feature h4 {
    color: #004080;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature p {
    color: #333;
    font-size: 15px;
}

@media screen and (max-width: 768px) {
    .feature {
        padding: 16px 20px;
    }

    .feature h4 {
        font-size: 16px;
    }

    .feature p {
        font-size: 14px;
    }
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.testimonial-card {
    flex: 1 1 30%;
    min-width: 250px;
}

/* 页脚 */
footer {
    background-color: #003f7f;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}

/* 响应式 */
@media screen and (max-width: 768px) {
    .top-nav {
        align-items: flex-start;
        gap: 10px;
    }

    .top-nav nav ul {
        gap: 10px;
    }

    .testimonial-card {
        flex: 1 1 100%;
    }

    .slides1 {
        height: 200px;
    }

    table, th, td {
        font-size: 12px;
    }

    .section-title {
        font-size: 22px;
    }

    .feature, .faq {
        width: 100%;
    }
}
.cta-block {
    background-color: #2d81ff;
    color: #fff;
    text-align: center;
    padding: 60px 30px;
}
.cta-block h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.cta-block p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.cta-block button {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 12px 30px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 1rem;
}
.tabs {
    margin-bottom: 20px;
    text-align: center;
}
.tab-btn {
    padding: 10px 20px;
    margin: 0 5px;
    background-color: #eee;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}
.tab-btn.active {
    background-color: #4285f4;
    color: white;
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}
.buy-btn {
    padding: 6px 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}



.copy-container {
    position: relative;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px;
    font-size: 20px;
}

.copy-button {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    font-size: 14px;
    color: white;
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.copy-button:hover {
    background-color: #45a049;
}

.animated{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: right;
}
.copy-text{
    white-space: normal;
    text-overflow: ellipsis;
    overflow: hidden;
}
/* 基础样式 */
.slider {
    padding-top: 1rem;
}

.slides {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.slides1 {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 居中文字 + 动画 */
.slide-caption {
    z-index: 900;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    animation: fadeInUp 1.2s ease-out;
    max-width: 90%; /* 防止手机端文字溢出 */
    word-break: break-word;
}

.slide-title {
    font-size: 1.5em;
    font-weight: bold;
    padding: 6px;
}


.slide-subtitle {
    font-size: 1.2rem;
    padding: 12px;
}

/* 渐入动画 */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* ✅ 响应式优化 */
@media (max-width: 768px) {
    .slide-title {
        font-size: 1rem;
    }

    .slide-subtitle {
        font-size: 0.8rem;
        padding: 8px;
    }

    .slide-caption {
        top: 60%; /* 移动端稍微下移 */
    }
}
.slider-box {
    max-width: 100%;
    /*padding-top: 6rem;*/
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.slider-item {
    background-color: #ffffff;
    padding:6px 80px 6px 12px;
    border-left: 4px solid #4a90e2;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-size: 12px;
    line-height: 1.5;
    color: #333;

    /* 动画部分 */
    animation: fadeInBreath 4s ease-in-out infinite;
    animation-play-state: running;
}

/* 鼠标悬停时停止动画 */
.slider-item:hover {
    animation-play-state: paused;
}

/* 呼吸淡入动画 */
@keyframes fadeInBreath {
    0% {
        opacity: 1;
        transform: scale(0.98);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(0.98);
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .slider-item {
        font-size: 14px;
        padding: 10px 12px;
    }
}


.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-2, .col-md-3, .col-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
}

@media (min-width: 576px) {
    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.pt-2 {
    padding-top: 0.5rem !important;
}

.p-0 {
    padding: 0 !important;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

.border-0 {
    border: 0 !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 0.25rem !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.p-2 {
    padding: 0.5rem !important;
}
/* 客户评价区域 */
#testimonials {
    background: #f7f8f9;
    padding: 40px 20px;
}

/* 标题样式 */
.section-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

/* 客户评价卡片容器 */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* 单个客户评价卡片 */
.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 320px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 客户评价卡片悬浮效果 */
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 问答中的问题 */
.testimonial-card p strong {
    font-weight: bold;
    color: #333;
}

/* 客户名字 */
.testimonial-card p:last-child {
    font-style: italic;
    color: #555;
    margin-top: 15px;
}

/* 问答回答的文本样式 */
.testimonial-card p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 10px;
}

/* 响应式设计：在屏幕较小的设备上调整卡片布局 */
@media (max-width: 768px) {
    .testimonials {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card {
        max-width: 100%;
    }
}

/* CTA Block 样式 */
.cta-block {
    background: #2d81ff; /* 背景色 */
    color: white; /* 字体颜色 */
    text-align: center; /* 内容居中 */
    padding: 50px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.cta-block h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.cta-block a {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4CAF50; /* 按钮颜色 */
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* 按钮悬浮效果 */
.cta-block a:hover {
    background-color: #4CAF60;
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cta-block {
        padding: 40px 20px;
    }

    .cta-block h2 {
        font-size: 1.8rem;
    }

    .cta-block p {
        font-size: 1rem;
    }

    .cta-block a {
        font-size: 1.1rem;
    }
}


.info-banner {
    background-color: #f4f8ff;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-bottom: 1px solid #d1e0ff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow-x: auto;
    white-space: nowrap;
}

.info-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    line-height: 1.6; /* 设置行高 */
}

.info-item a {
    display: inline-flex;
    align-items: center;
    color: #1a3dc1;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.info-item a:hover {
    color: #0056d6;
}

.animated-icon {
    margin-right: 6px;
    width: 12px;
    height: 12px;
}

/* 分隔符美化 */
.sep {
    color: #888;
    font-weight: bold;
}

/* 动画效果 */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
[data-anim="rotate"] {
    animation: rotate 2s linear infinite;
}

@keyframes scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
[data-anim="scale"] {
    animation: scale 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
[data-anim="bounce"] {
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.85; }
}
[data-anim="pulse"] {
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}
[data-anim="shake"] {
    animation: shake 0.8s ease-in-out infinite;
}
