* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航 */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #165DFF;
    width: 130px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #165DFF;
}

.btn {
    padding: 10px 20px;
    background: #165DFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #0F4CD0;
}

/* 首屏 */
.banner {
    margin-top: 70px;
    height: 300px;
    background: linear-gradient(to right, #0F3885, #165DFF);
    display: flex;
    align-items: center;
    color: #fff;

    /*    background-image: url("/admin/static/png/logo-nRRtPzDp.png");

     */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.banner p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 通用标题 */
.section {
    padding: 80px 0;
}

.title {
    text-align: center;
    margin-bottom: 50px;
}

.title h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: #165DFF;
    margin: 0 auto;
}

/* 服务卡片 */
.service-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #165DFF;
}

.card h3 {
    margin: 15px 0;
    font-size: 18px;
}

/* 关于我们 */
.about {
    background: #f7f9fc;
}

.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* 案例 */
.case-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.case-img {
    height: 200px;
    overflow: hidden;
    background: #eef2f7;
}
.case-img image {
    width: 100%;
}


.flex{
   display: flex;
}
.flex-wrap{
    flex-wrap: wrap;
}
.padding-xs{
    padding: 10px;
}
.text-center{
    text-align: center;
}
.erweima{
    width: 200px;
}
.display-grid{
    display: grid
}
.infodata{
    width: 280px;
}
.w700{
    width: 700px;
}



.case-info {
    padding: 20px;
}

/* 联系表单 */
.contact {
    background: #2A3546;
    color: #fff;
}

.form-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: none;
    outline: none;
}

textarea {
    height: 120px;
    resize: none;
}

/* 页脚 */
footer {
    background: #1D2636;
    color: #999;
    padding: 50px 0 20px;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}
.footer-col a{
    color: #fff;
}
/* 移动端适配 */
@media(max-width:768px){
    .nav-menu {
        display: none;
    }
    .service-box,
    .about-row,
    .form-box,
    .footer-row {
        grid-template-columns: 1fr;
    }
    .banner h1 {
        font-size: 28px;
    }

    .banner {
        height: 150px !important;
    }


    .erweima{
        width: 100%;
    }
    .flex{
        display: flex;
    }
    .flex-wrap{
        flex-wrap: wrap;
    }
    .padding-xs{
        padding: 10px;
    }
    .text-center{
        text-align: center;
    }
    .w700{
        width: 100%;
    }

}

.current{
    border-bottom: 4px solid #165dfe;
}



/* ========== 以下为 App 下载栏组件样式， ========== */
.app-download-section {
    width: 100%;
    padding: 60px 20px;
    background: #f7f8fa;
    box-sizing: border-box;
}
.app-download-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.app-download-card {
    position: relative;
    width: 360px;
    height: 420px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.app-download-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}
/* 卡片内容层：默认预览 & hover 二维码，两层叠加切换 */
.card-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.card-layer-preview {
    opacity: 1;
    visibility: visible;
}
.card-layer-qrcode {
    opacity: 0;
    visibility: hidden;
    background: #ffffff;
}
.app-download-card:hover .card-layer-preview {
    opacity: 0;
    visibility: hidden;
}
.app-download-card:hover .card-layer-qrcode {
    opacity: 1;
    visibility: visible;
}
/* 手机 mockup 样式 */
.phone-mockup {
    width: 180px;
    height: 300px;
    background: #1a1a1a;
    border-radius: 28px;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px;
    box-sizing: border-box;
}
.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 18px;
    background: #1a1a1a;
    border-radius: 0 0 12px 12px;
    z-index: 2;
}
.phone-status-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #333;
    margin-bottom: 16px;
    padding: 0 4px;
}
.phone-app-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.phone-app-slogan {
    font-size: 9px;
    color: #999;
    margin-bottom: 18px;
    text-align: center;
}
.phone-feature-item {
    width: 100%;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
    font-size: 9px;
    color: #666;
    box-sizing: border-box;
}
/* 平台标识 */
.platform-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}
.platform-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.platform-icon svg {
    width: 28px;
    height: 28px;
}
/* 二维码层 */
.qrcode-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.qrcode-image {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
}
.qrcode-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.qrcode-tip {
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.6;
}
.qrcode-tip strong {
    color: #333;
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}
/* 移动端适配：小屏幕直接显示二维码，不依赖 hover */
@media (max-width: 768px) {
    .app-download-card {
        width: 100%;
        max-width: 340px;
        height: auto;
        min-height: 380px;
    }
    .card-layer-preview {
        display: none;
    }
    .card-layer-qrcode {
        position: relative;
        opacity: 1;
        visibility: visible;
        padding: 40px 20px;
    }
}
/* ========== 组件样式结束 ========== */