﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
body {
    background: #f0f4f8;
    color: #333;
    line-height: 1.7;
    padding-bottom: 0 !important;
    margin: 0;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #4a90e2;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}
.card.show {
    opacity: 1;
    transform: translateY(0);
}
.card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.card h2 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 24px;
    border-left: 5px solid #ff7d00;
    padding-left: 14px;
}
.card h3 {
    color: #4a90e2;
    margin: 16px 0 12px;
    font-size: 19px;
}

/* 导航 - 原版效果 */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #2563eb;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.nav-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    gap: 2px;
    -webkit-overflow-scrolling: touch;
}
.nav-item {
    padding: 10px 12px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-item:hover {
    background: #1d4ed8;
}

@media (max-width: 768px) {
    .nav-item {
        padding: 8px 6px;
        font-size: 13px;
    }
    .nav-container {
        padding: 6px 10px;
        border-bottom: 1px solid rgba(255, 255, 250.15);
    }
}

/* Banner 高清笔记本清灰维修背景图（已更换） */
.banner {
    width: 100%;
    height: auto;
    min-height: 260px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
        url("../images/banner.jpg") center center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    padding: 30px 20px;
}
.banner h1 {
    font-size: 36px;
    margin-bottom: 12px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}
.banner p {
    font-size: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 4px 0;
}

@media (max-width: 768px) {
    .banner h1 {
        font-size: 32px;
    }
    .banner p {
        font-size: 14px;
    }
}

.container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 20px 12px;
}

/* 图片 */
.img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease;
    cursor: pointer;
}
.img-responsive.loaded {
    opacity: 1;
    transform: translateY(0);
}
.img-responsive:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.img-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}
.img-col {
    flex: 1;
    min-width: 220px;
}

/* 价格 */
.price-container {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 18px;
}
.price-item {
    flex: 1;
    min-width: 280px;
    background: linear-gradient(145deg, #f8fcff, #f1f7ff);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e1edff;
}
.price-item h3 {
    color: #ff7d00;
    margin-bottom: 10px;
    font-size: 20px;
}
.price {
    font-size: 28px;
    color: #e63946;
    font-weight: 700;
    margin: 8px 0;
}
.price-item ul {
    list-style: none;
    margin-top: 12px;
}
.price-item li {
    padding: 3px 0;
    font-size: 15px;
    color: #444;
}
.price-item li::before {
    content: "✅";
    color: #27ae60;
    margin-right: 8px;
}

/* 优势 */
.advantage-list {
    list-style: none;
    margin-top: 18px;
}
.advantage-list li {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
}
.advantage-list li:last-child {
    border-bottom: none;
}
.advantage-list li span {
    color: #ff7d00;
    font-weight: 700;
    margin-right: 12px;
    font-size: 20px;
    background: #fff4e8;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 评价 */
.review-box {
    background: linear-gradient(to right, #f8fcff, #f1f7ff);
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 14px;
    border-left: 5px solid #4a90e2;
    transition: all 0.3s ease;
}
.review-box:hover {
    background: #e3f2fd;
    border-left-color: #ff7d00;
}
.review-name {
    font-weight: bold;
    color: #2c3e50;
    font-size: 16px;
}
.review-area {
    color: #7f8c8d;
    font-size: 14px;
    margin: 4px 0;
}
.review-content {
    color: #34495e;
    margin-top: 6px;
    line-height: 1.6;
}

/* 标签 */
.tag {
    display: inline-block;
    background: linear-gradient(90deg, #e3f2fd, #d1e7ff);
    color: #1976d2;
    padding: 8px 14px;
    border-radius: 24px;
    font-size: 15px;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #c8e0ff;
}
.brand-tag {
    background: linear-gradient(90deg, #fff4e8, #ffecd2);
    color: #ff5722;
    border-color: #ffd0a8;
}
.tag:hover {
    background: #f00;
    color: #fff;
}
.brand-tag:hover {
    background: #f00;
    color: #fff;
}

/* 二维码（已调整间距，更紧凑） */
.qr-box {
    text-align: center;
    margin: 0 auto 10px;
}
.qr-box img {
    width: 150px;
    height: 150px;
    border: 5px solid white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 4px;
}
.qr-text {
    font-size: 17px;
    color: #fff;
    font-weight: bold;
}

/* 材质对比 */
.grease-row {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(to right, #f8fff9, #f1fff4);
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 14px;
    border-left: 5px solid #27ae60;
    transition: all 0.3s ease;
}
.grease-row:hover {
    background: #e3f2fd;
    border-left-color: #ff7d00;
}
.grease-left {
    flex: 3;
}
.grease-right {
    flex: 1;
    text-align: center;
}
.grease-right img {
    width: 160px;
    height: 141px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.grease-title {
    font-weight: bold;
    color: #2c3e50;
    font-size: 17px;
}
.grease-desc {
    color: #34495e;
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .grease-row {
        flex-direction: row;
        padding: 14px;
        gap: 10px;
    }
    .grease-right img {
        max-width: 80px;
        width: 100%;
        height: auto !important;
        object-fit: contain;
    }
}
/* 服务流程 - 横向卡片 */
.process-box {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}
.process-item {
    flex: 1;
    min-width: 160px;
    background: #f8f9fa;
    padding: 14px;
    border-radius: 8px;
}
.process-item strong {
    color: #d01818;
}

/* 联系我们 - 蓝绿渐变 */
.contact {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 16px;
    margin-top: 35px;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.25);
    word-break: break-word;
}
.contact h2 {
    margin-bottom: 15px;
    color: white;
    border-left: 4px solid white;
}
.contact p {
    font-size: 16px !important;
    margin: 8px 0 !important;
    color: white !important;
    line-height: 1.6 !important;
}
a.tel-link {
    color: #fff !important;
    text-decoration: none !important;
    background: #ff7d00;
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 125, 0, 0.3);
}
a.tel-link:hover {
    background: #e67000;
}
a[href^="tel:"] {
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

/* 资讯板块 - 4行2列 */
.news-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}
.news-item {
    background: #f8fcff;
    border: 1px solid #e1edff;
    border-radius: 12px;
    padding: 6px;
    transition: 0.3s;
}
.news-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.news-item:hover {
    background: #e3f2fd !important;
    transform: translateY(-2px);
    border-color: #4a90e2;
}
.news-item h3 {
    font-size: 15px;
    color: #2c3e50;
    margin-bottom: 3px;
    margin-top: 3px;
    line-height: 1.4;
}
.news-item p {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.5;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 46px;
    height: 46px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: #ff7d00;
    transform: translateY(-3px);
}
@media (max-width: 768px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 18px;
        bottom: 65px;
        right: 15px;
    }
}

/* 移动端底部固定拨号导航 - 蓝绿渐变 */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    z-index: 9999;
    text-decoration: none;
    display: none;
}
@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
    }
}
.mobile-bottom-bar:active {
    background: linear-gradient(135deg, #1d4ed8, #04a0bf);
}

/* 底部导航 */
.footer-nav {
    background: #2563eb;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
}
.footer-nav-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 6px;
}
.footer-nav a:hover {
    color: #ffd0a8;
}

footer {
    text-align: center;
    padding: 30px;
    color: #7f8c8d;
    font-size: 15px;
    border-top: 1px solid #eaeaea;
    background: white;
}
footer a {
    color: #ccc;
    font-size: 14px;
    text-decoration: none;
}

/* 全局移动端统一优化 */
@media (max-width: 768px) {
    .card {
        padding: 20px 16px;
    }
    .card h2 {
        font-size: 20px;
    }
    .container {
        padding: 20px 10px;
    }
    .img-row {
        gap: 10px;
    }
    .grease-row {
        margin-bottom: 10px;
    }
    .review-box {
        padding: 14px;
    }
    .price-item {
        min-width: 100%;
    }
}
/* 专业科普行距优化 + 虚线分隔 */
#why p {
    line-height: 1.85;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e0e0;
}
#why p:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
