/* shop-services.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(15, 23, 224, 0.15);
    padding: 40px;
    max-width: 1000px;
    margin: 20px auto;
    border: 1px solid #e6e6e6;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #0f17e0;
}

.logo-area {
    font-size: 24px;
    color: #0f17e0;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.logo-image {
    width: 50px;
    height: 50px;
    background-color: #0f17e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-title {
    font-size: 18px;
    color: #0f17e0;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.wechat-approved {
    color: green;
    font-weight: bold;
    margin: 10px 0;
    font-size: 14px;
    text-align: center;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0f17e0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 23, 224, 0.3);
}

h1 {
    color: #0f17e0;
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.subtitle::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #0f17e0;
    border-radius: 3px;
}

.services-content {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.service-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(15, 23, 224, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #0f17e0;
    text-align: left;
    display: flex;
    flex-direction: column;
    border: 1px solid #e6e6e6;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(15, 23, 224, 0.2);
}

.service-card h3 {
    color: #0f17e0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-icon {
    font-size: 1.5rem;
    color: #0f17e0;
}

.service-image {
    margin-top: 15px;
    text-align: center;
    cursor: pointer;
}

.service-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e6e6e6;
}

.service-icon-img:hover {
    transform: scale(1.05);
}

.instructions-section {
    background: #f8f9ff;
    border-radius: 15px;
    padding: 25px;
    margin: 40px 0;
    border: 1px solid #e6e6e6;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.instructions-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #0f17e0;
}

.instructions-button {
    width: 100%;
    padding: 18px;
    background: #0f17e0;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 23, 224, 0.2);
    margin-bottom: 15px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.instructions-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 224, 0.3);
}

.footer {
    margin-top: 40px;
    color: #718096;
    font-size: 1rem;
    padding-top: 25px;
    border-top: 1px solid #eee;
    position: relative;
    text-align: center;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #0f17e0;
    border-radius: 3px;
}

/* 图片放大模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, 0.95);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
    background: white;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 50px;
    right: 35px;
    color: #0f17e0;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #764ba2;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #0f17e0;
    padding: 10px 0;
    height: 150px;
    font-size: 1.2rem;
}


.app-entry-hint {
    text-align: center;
    margin-bottom: 20px;
}

.hint-button {
    background-color: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.hint-button:hover {
    background-color: #bbdefb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.2);
}

.hint-icon {
    font-size: 18px;
}

.hint-text {
    font-weight: 500;
}

/* 新增的优势区域样式 */
.advantages-section {
    background: #f8f9ff;
    border-radius: 15px;
    padding: 25px;
    margin: 40px 0;
    border: 1px solid #e6e6e6;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #0f17e0;
}

.advantages-section h2 {
    color: #0f17e0;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.advantages-list {
    list-style-type: none;
    padding: 0;
}

.advantage-item {
    padding: 15px 0;
    border-bottom: 1px dashed #cbd5e0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.advantage-item:last-child {
    border-bottom: none;
}

.advantage-icon {
    font-size: 1.5rem;
    color: #0f17e0;
    min-width: 30px;
}

.advantage-content {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 移动端适配样式 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .logo-area {
        font-size: 20px;
        gap: 8px;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }

    .main-title {
        font-size: 16px;
    }

    .wechat-approved {
        font-size: 12px;
    }

    .container {
        padding: 30px 20px;
        margin: 10px;
    }

    h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .service-icon-img {
        width: 70px;
        height: 70px;
    }

    .instructions-section h2 {
        font-size: 1.4rem;
    }

    .instructions-button {
        font-size: 1.1rem;
        padding: 15px;
    }

    .footer {
        margin-top: 30px;
        font-size: 0.9rem;
    }

    .modal-content {
        width: 95%;
    }

    #caption {
        width: 95%;
        font-size: 1rem;
    }

    .close {
        top: 20px;
        right: 20px;
        font-size: 30px;
    }

    .app-entry-hint {
        margin-bottom: 15px;
    }

    .hint-button {
        padding: 8px 15px;
        font-size: 13px;
        border-radius: 15px;
    }

    .hint-icon {
        font-size: 16px;
    }

    .advantages-section {
        padding: 20px 15px;
        margin: 30px 0;
    }

    .advantages-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .advantage-item {
        padding: 12px 0;
        gap: 12px;
    }

    .advantage-content {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 15px;
    }

    .logo-area {
        font-size: 18px;
        gap: 6px;
    }

    .logo-image {
        width: 35px;
        height: 35px;
    }

    .main-title {
        font-size: 14px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .services-grid {
        gap: 15px;
    }

    .service-card {
        padding: 15px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .service-icon-img {
        width: 60px;
        height: 60px;
    }

    .instructions-section h2 {
        font-size: 1.3rem;
    }

    .instructions-button {
        font-size: 1rem;
        padding: 12px;
    }

    .footer {
        margin-top: 25px;
        font-size: 0.85rem;
    }

    #caption {
        font-size: 0.9rem;
        height: 100px;
    }

    .close {
        top: 15px;
        right: 15px;
        font-size: 24px;
    }

    .app-entry-hint {
        margin-bottom: 10px;
    }

    .hint-button {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 12px;
        width: 100%;
        justify-content: center;
    }

    .hint-icon {
        font-size: 14px;
    }

    .advantages-section {
        padding: 15px 10px;
        margin: 25px 0;
    }

    .advantages-section h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .advantage-item {
        padding: 10px 0;
        gap: 10px;
    }

    .advantage-icon {
        font-size: 1.2rem;
        min-width: 25px;
    }

    .advantage-content {
        font-size: 0.95rem;
    }
}

/* 为3列布局优化 */
@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}