/* 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: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(15, 23, 224, 0.1);
    padding: 40px;
    max-width: 1200px;
    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: linear-gradient(90deg, #0f17e0, #764ba2);
}

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

.logo-image {
    width: 50px;
    height: 50px;
    background-color: #0f17e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 224, 0.3);
}

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

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

.wechat-approved {
    color: #28a745;
    font-weight: bold;
    margin: 10px 0;
    font-size: 14px;
    text-align: center;
    line-height: 1.6;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

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

.services-header h1 {
    color: #0f17e0;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    margin-top: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
}

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

/* 问题与解决方案对比区域 */
.comparison-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 40px 0;
}

.problem-column,
.solution-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.column-header {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.problem-header {
    background: #fee;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.solution-header {
    background: #efe;
    color: #28a745;
    border: 2px solid #28a745;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #0f17e0;
    text-align: left;
    transition: all 0.3s ease;
}

.problem-card {
    border-left-color: #e74c3c;
}

.solution-card {
    border-left-color: #28a745;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-title {
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
}

.problem-title {
    color: #e74c3c;
}

.solution-title {
    color: #28a745;
}

.feature-desc {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

/* 核心优势区域 */
.advantages-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%);
    border-radius: 15px;
    padding: 30px;
    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: linear-gradient(90deg, #0f17e0, #764ba2);
}

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

.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;
}

/* 免费开店提示 */
.benefits-info {
    text-align: center;
    font-size: 16px;
    color: #0f17e0;
    font-weight: bold;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-radius: 12px;
    border: 2px solid #0f17e0;
    line-height: 1.6;
}



.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: linear-gradient(90deg, #0f17e0, #764ba2);
    border-radius: 3px;
}

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

.hint-text {
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

/* 图片放大模态框样式 */
.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;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.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;
}


/* 平板端适配 */
@media (max-width: 1024px) {
    .container {
        padding: 35px 30px;
    }

    .comparison-section {
        gap: 20px;
    }
}

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

    .container {
        padding: 25px 20px;
        margin: 10px;
        border-radius: 15px;
    }

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

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

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

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

    .services-header h1 {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .comparison-section {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
        display: grid !important;
    }

    .problem-column,
    .solution-column {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .column-header {
        font-size: 16px;
        padding: 12px;
    }

    .feature-card {
        padding: 15px;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .feature-title {
        font-size: 15px;
    }

    .feature-desc {
        font-size: 13px;
    }

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

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

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

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

    .benefits-info {
        font-size: 14px;
        padding: 15px;
        margin: 25px 0;
    }


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

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

    .hint-text {
        font-size: 13px;
    }
}


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

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

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

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

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

    .services-header h1 {
        font-size: 1.6rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .column-header {
        font-size: 14px;
        padding: 10px;
    }

    .feature-card {
        padding: 12px;
    }

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

    .feature-desc {
        font-size: 12px;
    }

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

    .advantages-section h2 {
        font-size: 1.4rem;
        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;
    }

    .benefits-info {
        font-size: 13px;
        padding: 12px;
        margin: 20px 0;
    }


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

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

    .hint-text {
        font-size: 12px;
    }
}

/* 打印样式 */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        box-shadow: none;
        border: none;
    }

    .app-entry-hint,
    .instructions-section {
        display: none;
    }
}