/* 购买页面样式 */
.buy-hero {
    position: relative;
    text-align: center;
    height: 440px;
    overflow: hidden;
}

.mt-com-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #D7E4F8;
    z-index: 1;
}

.mt-com-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mt-com-hero__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.mt-com-hero__cnt {
    max-width: 800px;
}

.mt-com-hero__tit {
    font-size: 40px;
    line-height: 1.4;
    color: #000;
    margin-bottom: 16px;
    font-weight: 600;
}

.mt-com-hero__desc {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 32px;
}

.mt-com-hero__btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn.primary {
    min-width: 120px;
    height: 40px;
    line-height: 40px;
    padding: 0 24px;
    font-size: 14px;
    border-radius: 4px;
}

/* 功能卡片网格 */
.features-grid {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #2188E8;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    padding: 12px;
    border-radius: 16px;
    background: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #2188E8;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: #2188E8;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    stroke: #fff;
}

.feature-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 16px;
    font-weight: 600;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-link {
    color: #2188E8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
}

.feature-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #2188E8;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.feature-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 授权方式部分 */
.license-section {
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.license-section h2 {
    font-size: 32px;
    color: #000;
    margin-bottom: 16px;
    font-weight: 600;
}

.license-table {
    margin-bottom: 40px;
    overflow-x: auto;
}

.license-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.license-table th,
.license-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.license-table th {
    background: #f8f9fa;
    font-weight: 500;
    color: #333;
}

.license-table td {
    color: #666;
}

/* 价值部分 */
.value-section {
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.value-section h2 {
    font-size: 32px;
    color: #000;
    margin-bottom: 16px;
    font-weight: 600;
}

.value-section .subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 60px;
}

.value-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.value-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 16px;
}

.value-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 解决方案部分 */
.solution-section {
    position: relative;
    height: 360px;
    margin: 80px 0;
    overflow: hidden;
}

.solution-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #D7E4F8;
}

.solution-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.solution-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.solution-text {
    max-width: 600px;
    margin-bottom: 32px;
}

.solution-section h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.solution-section h2 span {
    color: #2188E8;
    font-weight: 700;
}

.solution-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.solution-section .btn.primary {
    background: #2188E8;
    color: #fff;
    border: none;
    padding: 0 32px;
    height: 44px;
    line-height: 44px;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.solution-section .btn.primary:hover {
    background: #1a6ebd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 136, 232, 0.3);
}

/* 企业部分 */
.enterprise-section {
    padding: 80px 0;
    background: #fff;
}

.enterprise-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.enterprise-header h2 {
    font-size: 32px;
    color: #000;
    margin-bottom: 16px;
    font-weight: 600;
}

.enterprise-header .subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.enterprise-showcase {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.enterprise-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.enterprise-showcase:hover .enterprise-image {
    transform: scale(1.02);
}

.enterprise-footer {
    text-align: center;
    margin-top: 40px;
}

.enterprise-footer .description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cases-link {
    display: inline-block;
    color: #2188E8;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 32px;
    border: 1px solid #2188E8;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cases-link:hover {
    background: #2188E8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 136, 232, 0.2);
}

/* FAQ部分 */
.faq-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.faq-section h2 {
    font-size: 32px;
    color: #000;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 16px;
    font-weight: 500;
}

.faq-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 联系部分 */
.ent-consult {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

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

.consult-header h2 {
    font-size: 36px;
    color: #000;
    margin-bottom: 20px;
    font-weight: 600;
}

.consult-header p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.consult-list {
    display: flex;
    gap: 40px;
    justify-content: center;
    padding: 20px 0;
}

.consult-tel,
.consult-wechat {
    flex: 1;
    max-width: 480px;
    background: #fff;
    border-radius: 16px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.consult-tel::before,
.consult-wechat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #2188E8, #1a6ebd);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.consult-tel:hover,
.consult-wechat:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.consult-tel:hover::before,
.consult-wechat:hover::before {
    opacity: 1;
}

.consult-info {
    flex: 1;
}

.consult-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.consult-info p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.consult-time {
    font-size: 16px;
    color: #999;
    display: block;
    margin-top: 8px;
}

.consult-icon {
    width: 64px;
    height: 64px;
    margin-left: 32px;
    padding: 12px;
    background: #f0f7ff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.consult-tel:hover .consult-icon {
    background: #2188E8;
}

.consult-icon svg {
    width: 100%;
    height: 100%;
    stroke: #2188E8;
    transition: all 0.3s ease;
}

.consult-tel:hover .consult-icon svg {
    stroke: #fff;
}

.qrcode-wrapper {
    width: 160px;
    height: 160px;
    margin-left: 32px;
    padding: 10px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.qrcode-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.qrcode-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.ent-consult .btn.primary {
    background: #2188E8;
    color: #fff;
    border: none;
    padding: 0 32px;
    height: 48px;
    line-height: 48px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.ent-consult .btn.primary:hover {
    background: #1a6ebd;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(33, 136, 232, 0.3);
}

/* 弹窗样式 */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-consult-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 440px;
    padding: 40px 20px 30px;
    border-radius: 16px;
    background-color: white;
}

.popup-consult-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.popup-consult-close img {
    width: 100%;
    height: 100%;
}

.popup-consult-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    line-height: 1.8;
    margin-bottom: 20px;
}

.popup-consult-content form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.form-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 12px;
    border: 2px solid #D6D8DB;
    border-radius: 6px;
    overflow: hidden;
}

.form-item.required::before {
    position: absolute;
    display: block;
    content: "*";
    color: #1A6CCB;
    font-size: 14px;
    left: 6px;
    top: 4px;
    transform: translateY(50%);
}

.form-item input {
    flex: 1;
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    line-height: 24px;
    border: none;
    outline: none;
}

.form-item input.error {
    border-color: #ff4d4f;
}

.form-item input::placeholder {
    color: #999;
}

.form-item.submit {
    margin-top: 24px;
    border: none;
}

.form-item.submit button {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(to right top, #2188E8 0%, #1454B0 100%);
    color: white;
    font-size: 16px;
    font-weight: 700;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
}

.popup-consult-content p.consult-tips {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    line-height: 24px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .buy-hero {
        height: 360px;
    }

    .mt-com-hero__tit {
        font-size: 32px;
    }

    .mt-com-hero__desc {
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .ent-consult {
        margin: 80px auto;
    }

    .consult-header h2 {
        font-size: 32px;
    }

    .consult-list {
        flex-direction: column;
        gap: 24px;
    }

    .consult-tel,
    .consult-wechat {
        max-width: 100%;
        padding: 32px;
    }

    .popup-consult-content {
        width: 90%;
        max-width: 440px;
        padding: 30px 15px 20px;
    }

    .solution-section {
        height: 300px;
        margin: 60px 0;
    }

    .solution-section h2 {
        font-size: 28px;
    }

    .solution-section p {
        font-size: 14px;
    }

    .solution-text {
        margin-bottom: 24px;
    }

    .enterprise-section {
        padding: 60px 0;
    }

    .enterprise-header h2 {
        font-size: 28px;
    }

    .enterprise-showcase {
        margin: 30px 0;
    }

    .enterprise-footer .description {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .buy-hero {
        height: 320px;
    }

    .mt-com-hero__tit {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .license-table {
        margin: 0 -20px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }

    .feature-card h3 {
        font-size: 18px;
    }

    .solution-section {
        height: 280px;
        margin: 40px 0;
    }

    .solution-section h2 {
        font-size: 24px;
    }

    .solution-content {
        text-align: center;
        align-items: center;
    }

    .solution-text {
        max-width: 100%;
    }

    .enterprise-section {
        padding: 40px 0;
    }

    .enterprise-header h2 {
        font-size: 24px;
    }

    .enterprise-header .subtitle {
        font-size: 14px;
    }

    .cases-link {
        padding: 10px 24px;
        font-size: 14px;
    }

    .ent-consult {
        margin: 60px auto;
    }

    .consult-header h2 {
        font-size: 28px;
    }

    .consult-header p {
        font-size: 16px;
    }

    .consult-info h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .consult-info p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .consult-icon {
        width: 48px;
        height: 48px;
        margin-left: 20px;
    }

    .qrcode-wrapper {
        width: 100px;
        height: 100px;
        margin-left: 20px;
    }

    .ent-consult .btn.primary {
        padding: 0 24px;
        height: 40px;
        line-height: 40px;
        font-size: 15px;
    }
}

@media screen and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .consult-tel,
    .consult-wechat {
        padding: 40px;
    }

    .qrcode-wrapper {
        width: 140px;
        height: 140px;
    }
} 