/* =====================================
   全局基础样式
   ===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #fff;
    overflow-x: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex-grow: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================
   按钮样式
   ===================================== */
.btn {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-light {
    background: #fff;
    color: #1e3a8a;
}

.btn-light:hover {
    background: #f0f9ff;
}

.full-width {
    width: 100%;
}

/* =====================================
   布局网格
   ===================================== */
.grid {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.flex-6 {
    flex: 1;
}

/* =====================================
   通用区块
   ===================================== */
.section {
    padding: 80px 0;
}

.bg-light {
    background: #f9fafb;
}

.bg-dark {
    background: #1e3a8a;
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light .section-desc {
    color: #dbeafe;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111827;
}

.bg-dark .section-title {
    color: #fff;
}

.section-desc {
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

.sub-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

/* =====================================
   卡片样式
   ===================================== */
.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: 0.3s;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px)!important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box i {
    font-size: 24px;
    color: #2563eb;
}

.icon-box.light {
    background: rgba(59, 130, 246, 0.9);
}

.icon-box.light i {
    color: #fff;
}

.icon-small {
    width: 44px;
    height: 44px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 16px;
}

.icon-small i {
    color: #2563eb;
}
.card-equal-height{height: 100%;display: flex;flex-direction: column;}
.card-equal-height .text{flex-grow: 1;}
/* =====================================
   导航栏
   ===================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: 0.3s;
    padding: 16px 0;
}

.nav-transparent {
    background: transparent;
}

nav.scrolled {
    background: #1e3a8a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #bfdbfe;
}
/* 下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #1f2937;
    font-weight: 400;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f3f4f6;
    color: #2563eb;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu a {
    display: block;
    padding: 10px 0;
    color: #1f2937;
    font-weight: 500;
}

.mobile-menu a:hover {
    color: #2563eb;
}

/* =====================================
   Hero 区域
   ===================================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.5));
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    color: #dbeafe;
    margin-bottom: 24px;
    line-height: 1.7;
}

.hero-tags{
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    color: #dbeafe;
}

.hero-tag{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* =====================================
   优势/亮点模块
   ===================================== */
.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.advantage-card p {
    color: #6b7280;
    margin-bottom: 16px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat .counter {
    font-size: 28px;
    font-weight: 700;
    color: #2563eb;
}

.stat span {
    color: #6b7280;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.feature-content p {
    color: #6b7280;
}

.img-rounded {
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.data-platform {
    margin-top: 80px;
    background: #f9fafb;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.data-platform h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.data-platform p {
    color: #6b7280;
    margin-bottom: 20px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #374151;
}

.check-list i {
    color: #10b981;
}

/* =====================================
   案例卡片
   ===================================== */
.case-card {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.card-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.case-card:hover .card-image img {
    transform: scale(1.08);
}

.case-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.tag-red { background: #ef4444; }
.tag-blue { background: #3b82f6; }
.tag-green { background: #10b981; }

.card-body {
    padding: 24px;
    flex-grow: 1;
}

.card-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.card-body p {
    color: #6b7280;
    margin-bottom: 16px;
}

.case-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-footer span {
    color: #9ca3af;
    font-size: 14px;
}

.case-details-btn {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.case-details-btn:hover {
    color: #1d4ed8;
}

/* =====================================
   企业实力
   ===================================== */
.stats-grid {
    margin-bottom: 60px;
}

.stat-card {
    background: #eff6ff;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}

.stat-card p {
    color: #4b5563;
    font-size: 18px;
}

.cert-section {
    margin-bottom: 60px;
}

.cert-card {
    text-align: center;
    border: 1px solid #e5e7eb;
}

.cert-card .icon-box {
    margin: 0 auto 20px;
}

.cert-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.cert-card p {
    color: #6b7280;
}

.review-card {
    background: #f9fafb;
    border: none;
}

.stars {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    color: #f59e0b;
}

.review-card p {
    color: #374151;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-weight: 600;
}

.review-author h5 {
    font-weight: 500;
}

.review-author p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* =====================================
   服务卡片
   ===================================== */
.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: #fff;
    text-align: left;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card p {
    color: #dbeafe;
    margin-bottom: 24px;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

.service-card .btn{width: 100%;}
/* =====================================
   表单 & 联系卡片
   ===================================== */
.form-card, .contact-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.form-card h3, .contact-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item h4 {
    font-weight: 500;
}

.contact-item p {
    color: #6b7280;
}

.time-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.time-item:last-child {
    border-bottom: none;
}

/* =====================================
   页脚
   ===================================== */
.footer {
    background: #111827;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
}

.footer-logo img {
    height: 32px;
}

.footer-col p {
    color: #9ca3af;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #9ca3af;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #9ca3af;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.social-links a:hover {
    background: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #9ca3af;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: #fff;
}

/* =====================================
   弹窗模态框
   ===================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 10;
    padding: 40px;
}
#case-modal-content>div{margin-bottom: 1rem;}
#case-modal-content>div h4{margin-bottom: 0.375rem;}
#case-modal-content>div p{color:#4b5563}
#case-modal-content ul li{margin: 0 0 0.375rem;}
.modal-content.small {
    max-width: 500px;
    padding: 0;
}

.modal-body {
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    z-index: 11;
}

.modal-close:hover {
    color: #111827;
}

/* =====================================
   响应式适配
   ===================================== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .menu-toggle { display: block; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .flex-row { flex-direction: column; }
    .section-title{font-size: 24px;}
    .hero-content h1 { font-size: 36px; }
    .hero-buttons { flex-direction: column; }
    .form-row { flex-direction: column; gap: 0; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* 动画元素初始状态 */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
    background: #9ca3af;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* 图片懒加载 */
.lazy-img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-img.loaded {
    opacity: 1;
}

/* 文章详情页样式（toB适配，rem计算） */
.single-article {
    background: #fff;
    padding: 1.875rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.08);
    border: 1px solid #E5E6EB;
    margin: 3.75rem auto;
}
.single-title {
    font-size: 2rem;
    margin-bottom: 0.9375rem;
    color: #1D2129;
}
.single-meta {
    font-size: 0.875rem;
    color: #86909C;
    margin-bottom: 1.25rem;
}
.single-thumb img {
    width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin-bottom: 1.5625rem;
}
.single-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #1D2129;
}
.single-content::after{content: '';display:table;clear: both;}
.single-content p {
    margin-bottom: 1.25rem;
}
.single-content img {
    max-width: 100%;
    height: auto;
}
.alignleft{
    float: left;
    margin-right: 1.25rem;
}
.alignright{
    float: right;
    margin-left: 1.25rem;
}
.aligncenter{
    margin: 0 auto;
}
.alignnone{margin: 0 0;}