/* ====================
   全局重置与变量
   ==================== */
:root {
    --primary-blue: #1a4fa0;
    --dark-blue: #1e3a8a;
    --light-bg: #f8fafc;
    --text-main: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --max-width: 1240px;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background: #fbfaff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 核心容器：最大宽度1200px 居中 */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用按钮 */
.btn {
    padding: 7px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    position: relative;
    width: 10rem;
    height: 2.6875rem;
    font-size: 1rem;
    padding: 0;
    cursor: pointer;
    line-height: 2.6875rem;
    text-align: center;
    border-radius: 1.375rem;
    position: relative;
    overflow: hidden;
    background: transparent;
    color: #fff;
    border: none;
    z-index: 1;
    transition: background .5s ease,color .5s ease,border-color .5s ease,line-height .5s ease;
}
.cta-group div{
    position: relative;
}
.cta-group img {
    width: 1.125rem;
    height: 1.125rem;
    display: block;
    cursor: pointer;
    position: absolute;
    right: -26px;
    top: 12px;
}
.btn-primary:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,#2585d8,#69baff);
    transform: translateX(0);
    transition: transform .5s ease;
    z-index: -1;
}
.btn-primary:hover:before {
    transform: translateX(50%);
}
.btn-primary:hover {
    color: #305386;
    border: 0.0625rem solid #305386;
    background: #fff;
}

.btn-secondary {
    width: 10rem;
    height: 2.6875rem;
    font-size: 1rem;
    padding: 0;
    cursor: pointer;
    margin-top: 1.875rem;
    line-height: 2.5625rem;
    text-align: center;
    border-radius: 1.375rem;
    color: #305386;
    border: 0.0625rem solid #305386;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: background .5s ease,color .5s ease,border-color .5s ease,line-height .5s ease;
}
.btn-secondary:hover {
    line-height: 2.6875rem;
    background: #2585d8;
    border: none;
    color: #fff;
}
.btn-secondary:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    width: 200%;
    height: 100%;
    background-color: #fff;
    transform: translateX(0);
    transition: transform .5s ease;
}
.btn-secondary:hover:before {
    transform: translateX(50%);
}
.btn-white {
    background: var(--white);
    color: var(--primary-blue);
}

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

/* 通用标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title img {
    margin-top: 0.625rem;
    width: 3.25rem;
    height: 0.75rem;
    display: block;
    margin: 0 auto;
}
.section-title h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #305386;
    text-align: center;
}

.section-title h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2b2651;
    text-align: center;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
    margin: 15px auto 0;
}

.white-text h2,
.white-text h3 {
    color: var(--white);
}

.white-divider {
    background: var(--white);
}

/* ====================
   Hero 首屏
   ==================== */
.hero-section {
    padding: 80px 0 0 0;
    background: rgb(251, 250, 255);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 42px;
    line-height: 1.3;
    color: #202e26;
    margin-bottom: 25px;
}

.highlight {
    color: #202e26;
    font-weight: 400;
}

.feature-list {
    margin: 20px 0;
}

.feature-list li {
    margin-bottom: 12px;
    color: #999;
    font-size: 1rem;
    line-height: 1.8;
    position: relative;
    padding-left: 1.25rem;
}
.feature-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 0.5rem;
    background-color: #1e90ff;
    border-radius: 50%;
}
.cta-group {
    margin-top: 35px;
    display: flex;
    gap: 3.625rem;
}

.cta-group-secondary {
    display: flex;
    gap: 3.625rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
}

/* ====================
   核心优势 & 完整性
   ==================== */
.features-section {
    padding: 80px 0;
    background: #f8f9ff;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    transition: 0.3s;
}

.feature-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-card-header h4 {
    font-size: 22px;
    color: var(--dark-blue);
    font-weight: 700;
    margin: 0;
}

.feature-icon {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.integrity-section {
    padding: 80px 0;
    background: #1e5aa8;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.integrity-item {
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 10rem;
}

.integrity-icon img {
    width: 10rem;
    height: 10rem;
    display: block;
    margin-top: 0.625rem;
}

.integrity-item span {
    margin-top: 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.integrity-item p {
    margin-top: 0.9375rem;
    font-size: .875rem;
    color: #d3e5ff;
}

/* ====================
   数据统计 & 重复检查
   ==================== */
.stats-section { 
    padding: 80px 0; 
    background: var(--light-bg); 
}

.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-content {
    flex: 1;
}

.stat-number { 
    font-size: 3.125rem;
    font-weight: 800; 
    color: #2c3e6b;
    line-height: 1; 
    margin-bottom: 15px;
}

.stat-percent { 
    font-size: 1.5rem;
    color: #8b9dc3;
    vertical-align: super;
}

.stat-desc { 
    width: 62.5%;
    margin-top: 1.5rem;
    font-size: .875rem;
    color: #666;
    line-height: 1.6;
}

.stat-icon { 
    margin-left: 30px;
}

.stat-icon-img {
    width: 107px;
    height: 107px;
    object-fit: contain;
}

.data-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 70px;
}

.data-card {
    position: relative;
    overflow: hidden;
    width: calc(33.33333% - 1.25rem);
    background: #fff;
    padding: 1.875rem 3.125rem 1.875rem 1.875rem;
}
.data-card img{
    width: 20.625rem;
    height: 20.625rem;
    position: absolute;
    top: -4.8125rem;
    right: -5.75rem;
}
.data-card h4 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.data-card .unit {
    font-size: 24px;
}

.data-card p {
    font-size: 14px;
}

.card-blue {
    background: linear-gradient(90deg,#e1f0f6,#fff);
}

.card-white {
    background: linear-gradient(90deg,#e2e1f6,#fff);
}

.card-pink {
    background: linear-gradient(90deg,#f6e7e1,#fff);
}

/* ====================
   Logo墙 & 推荐
   ==================== */
.partners-section,
.recommend-section {
    padding: 60px 0;
}
.partners-section {
    background-color: #fff;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-top: 10px;
}

.logo-grid,
.recommend-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.partner-logo-img,
.recommend-logo-img {
    object-fit: contain;
    width: auto;
}
.recommend-logo-img {
    height: 6.5rem;
}
.recommend-text {
    margin-top: 3.75rem;
    font-size: 1.3125rem;
    line-height: 2.5rem;
    text-align: center;
    color: #666;
}

/* ====================
   详细功能展示 (左右交替)
   ==================== */
.detail-section {
    padding: 80px 0;
    background-color: #fff;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.detail-row.reverse {
    flex-direction: row-reverse;
}

.detail-text {
    flex: 1;
}

.detail-text h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #2b2651;
}

.detail-text p {
    margin-top: 1.875rem;
    font-size: 1.125rem;
    line-height: 2.5rem;
    color: #666;
    max-width: 90%;
}

.detail-img-placeholder {
    flex: 1;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.detail-img {
    max-height: 100%;
    width: 40rem;
}

/* ====================
   用户群体
   ==================== */
.users-section {
    padding: 80px 0 0 0;
    background: var(--light-bg);
}

.user-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.user-card {
    background: var(--white);
    border-radius: var(--radius);
    transition: 0.3s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.user-card-header {
    padding: 0 20px 25px;
    text-align: center;
    position: relative;
    border-radius: .625rem .625rem 0 0;
    background: url('../image/ithenticate35.png') no-repeat center center;
    background-size: contain;
    background-size: 100% 100%;
}
.user-card-header2 {
    background-image: url('../image/ithenticate36.png');
}
.user-card-header3 {
    background-image: url('../image/ithenticate37.png');
}
.user-card-header4 {
    background-image: url('../image/ithenticate38.png');
}

.user-icon-circle {
    position: relative;
    top: -34px;
}

.user-icon-img {
    position: relative;
    text-align: center;
    font-size: .75rem;
    color: #fff;
    margin: auto;
}

.user-card-header h4 {
    font-size: .75rem;
    color: var(--white);
    margin: 0 0 5px 0;
    margin-top: -10px;
}

.user-type {
    position: relative;
    margin-top: 0.5625rem;
    text-align: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.user-card-body {
    padding: 25px 20px;
}

.user-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 2;
    margin: 0;
}

/* ====================
   资讯信息
   ==================== */
.news-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header-flex h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2b2651;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}

.more-link {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    text-decoration: none;
}

.news-layout {
    display: flex;
    gap: 30px;
}

.news-main {
    flex: 1;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.news-card {
    background: var(--white);
    height: 13.75rem;
    padding: 2.5rem 1.25rem;
    background: #fff;
    border-radius: 0.25rem;
    cursor: pointer;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.news-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2b2651;
    line-height: 1.5;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.news-excerpt {
    font-size: .875rem;
    color: #999;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-all;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    align-items: center;
}

.view-count {
    width: max-content;
    padding: 0.5rem 0.75rem;
    font-size: .875rem;
    color: #999;
    background: #d9f5ff;
    border-radius: 0.25rem;
}

.news-sidebar {
    width: 300px;
}

.sidebar-card {
    background: var(--white);
    padding: 1.25rem 1.0625rem 0 1.0625rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-card h5 {
    font-size: .875rem;
    font-weight: 500;
    color: #305386;
    padding-left: 0.3125rem;
    position: relative;
}
.sidebar-card h5:after {
    content: "";
    position: absolute;
    left: -0.3125rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.125rem;
    height: 0.625rem;
    background-color: #1e90ff;
    border-radius: 50%;
}

.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    padding: 0.9375rem 0 0.9375rem 0.625rem;
    position: relative;
    font-size: 12px;
    color: #999;
    border-bottom: 0.0625rem dashed #f1f1f1;
    cursor: pointer;
    line-height: 1.5;
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.5rem;
    width: 0.25rem;
    height: 0.25rem;
    background-color: #1e90ff;
    border-radius: 50%;
}

.recent-posts a {
    color: #999;
    font-size: 12px;
    line-height: 1.7;
    text-decoration: none;
    transition: 0.3s;
}

.recent-posts a:hover {
    color: #1a4fa0;
    text-decoration: underline;
}

/* ====================
   底部CTA & 页脚
   ==================== */
.bottom-cta {
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    background: url('../image/ithenticate39.png') no-repeat center center;
    background-size: 100% 100%;
}

.bottom-cta h2 {
    font-size: 2.375rem;
    font-weight: 900;
    line-height: 2.37rem;
}

.bottom-cta p {
    margin-bottom: 30px;
    font-size: 2.375rem;
    font-weight: 900;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ====================
   响应式适配
   ==================== */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 30px;
    }

    .grid-3,
    .data-cards,
    .news-grid,
    .user-grid {
        grid-template-columns: 1fr;
    }

    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .section-title h3 {
        font-size: 24px;
    }
}

/* ====================
   弹窗样式
   ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    position: relative;
    animation: slideDown 0.3s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

    width: 37.5rem;
    height: 25.25rem;
    border-radius: 1.25rem;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    transition: 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: transparent;
}

.modal-close:hover {
    background-color: #f5f5f5;
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-close:hover svg path {
    fill: #333;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2b2651;
    text-align: center;
    padding: 1.25rem 1.25rem 0.625rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2b2651;
    line-height: normal;
}

.modal-body {
    text-align: center;
    overflow: auto;
    width: 100%;
    height: 20rem;
    overflow-y: auto;
    padding: 1.5625rem 1.5625rem 1.875rem;
}

/* 隐藏滚动条但保留滚动功能 */
.modal-body::-webkit-scrollbar {
    display: none;
}

.modal-body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}