/* 联系我们页面样式 */
.youquanyi-contactus-class {
    margin: 0;
    width: 100%;
    overflow: hidden;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* ==================== 服务介绍区域 ==================== */
.service-section {
    /* background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%); */
    /* padding: 20px 0; */
    position: relative;
    overflow: hidden;
}

.service-container {
    max-width: 1367px;
    margin: 0 auto;
    padding: 20px 20px;
    position: relative;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 31px;
    position: relative;
}

.service-image {
    flex: 1;
    position: relative;
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image img {
    width: 599px;
    height: auto;
    border-radius: 20px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-intro {
    flex: 1;
    position: relative;
}

.intro-content {
    padding: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.05); */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 672px;
}

.intro-title {
    font-size: 27px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
    background: linear-gradient(135deg, #878787 0%, #c8e1ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.intro-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 111px;
    height: 3px;
    background: linear-gradient(90deg, #dddddd, #eaeaea);
    border-radius: 3px;
}

.intro-desc {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 35px;
    position: relative;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.contact-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #63b5f1 0%, #5c87f6 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgb(99 168 241 / 30%);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.6s;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgb(99 164 241 / 50%);
    color: #ffffff;
}

.contact-btn:hover::before {
    left: 100%;
}

/* 服务特色网格 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    position: relative;
}

.service-item {
    background: #fff;
    border-radius: 10px;
    padding: 35px 25px;
    box-shadow: 0 4px 20px rgb(54 54 54 / 8%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #efefef;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(244 92 92 / 3%) 0%, rgb(241 33 33 / 3%) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}


.service-item:hover {
    border: 1px solid #ec1286;
}
.service-item:hover::before {
    opacity: 1;
}

.item-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .item-icon {
    transform: scale(1.15) rotate(5deg);
}

.item-content {
    flex: 1;
    position: relative;
}

.item-title {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.item-title a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.item-title a:hover {
    color: #6366f1;
}

.item-title a:hover::after {
    width: 100%;
}

.item-desc {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
    margin-top: 10px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ==================== 客服中心区域 ==================== */
.contact-center {
    /* background: #f5f5f5; */
    padding: 20px 0 20px 0;
    width: 100%;
    position: relative;
}

.contact-center-container {
    padding: 40px 40px;
    max-width: 1328px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    border-radius: 10px;
}

/* 客服卡片网格 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 20px 0;
    width: 100%;
    max-width: 1385px;
    margin: 0 auto;
}

.contact-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 35px 40px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 20px rgb(113 113 113 / 8%);
    border-top: 4px solid #e5e5e5;
}

.contact-card:hover {
    /* box-shadow: 0 12px 40px rgb(66 66 66 / 20%); */
    /* border-color: rgba(99, 102, 241, 0.1); */
}

/* 左侧图标区 */
.contact-card-left-icon {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.contact-icon-wrapper-left {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.contact-icon-wrapper-left i {
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}



.contact-icon-bg-left {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(237 237 237 / 8%) 0%, rgb(91 91 91 / 8%) 100%);
    border-radius: 50%;
    z-index: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover .contact-icon-bg-left {
    transform: translate(-50%, -50%) scale(1.2);
    background: linear-gradient(135deg, rgb(217 217 217 / 15%) 0%, rgb(147 147 147 / 15%) 100%);
}

/* 右侧内容区 */
.contact-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.contact-card-header-inline {
    flex-shrink: 0;
    border-bottom: 2px solid #f8f8f8;
}

.contact-card-title {
    font-size: 22px;
    color: #1a1a1a;
    text-align: left;
    margin-bottom: 10px;
    font-weight: 700;
    flex-shrink: 0;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-card-title {
    color: #6366f1;
}

.contact-card-desc {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 20px;
    flex-shrink: 0;
    max-height: 3.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 联系方式列表 */
.contact-info-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding-right: 5px;
}

.contact-info-list::-webkit-scrollbar {
    width: 4px;
}

.contact-info-list::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 2px;
}

.contact-info-list::-webkit-scrollbar-track {
    background: rgba(99, 102, 241, 0.05);
}

.contact-info-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    border: 1px solid transparent;
}

.contact-info-item:hover {
    background: linear-gradient(135deg, #eef2ff 0%, #e0edff 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    background: linear-gradient(135deg, #63b5f1 0%, #5c68f6 100%);

}

.contact-info-icon i {
    font-size: 20px;
    color: #63adf1;
    transition: color 0.3s ease;
}

.contact-info-item:hover .contact-info-icon i {
    color: #fff;
}

.contact-info-content {
    flex: 1;
    position: relative;
    min-width: 0;
}

.contact-info-value {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #374151;
    font-size: 15px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info-item:hover .contact-info-value {
    color: #6366f1;
}

.contact-copy-tip {
    position: absolute;
    top: -20px;
    right: 0;
    background: linear-gradient(135deg, #63d7f1 0%, #5c82f6 100%);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.contact-copy-tip::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #1e9fff;
}

.contact-info-item:hover .contact-copy-tip {
    opacity: 1;
    top: -6px;
}

/* 二维码弹出层 */
.contact-qrcode-popup {
    position: absolute;
    bottom: calc(100% + 36px);
    left: 42%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

.contact-qrcode-popup::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.contact-info-item.has-qrcode:hover .contact-qrcode-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.contact-qrcode-popup img {
    width: 160px;
    height: 160px;
    display: block;
    border-radius: 10px;
    margin: 0 auto;
}

.qrcode-tip {
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    color: #5f6cb8;
    font-weight: 600;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 联系按钮 */
.contact-action-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6393f1 0%, #5c97f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.contact-action-btn:hover::before {
    width: 100%;
    height: 100%;
}

.contact-action-btn:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.contact-action-btn i {
    font-size: 20px;
    color: #fff;
    position: relative;
    z-index: 1;
}

/* 温馨提示 */
.contact-tips {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 25px 29px;
    border-left: 5px solid #f59e0b;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
    transition: all 0.3s ease;
    /* margin-left: 15px; */
    /* margin-right: 15px; */
}

.tips-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.tips-content {
    flex: 1;
    color: #78350f;
    font-size: 15px;
    line-height: 1.8;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.tips-content strong {
    color: #92400e;
    font-weight: 700;
    margin-right: 8px;
}

/* ==================== 服务详情区域 ==================== */
.contact-detail-section {
    /* background: #f5f5f5; */
    padding: 0 0 20px 0;
    position: relative;
    overflow: hidden;
}

.contact-detail-container {
    max-width: 1405px;
    margin: 0 auto;
    padding: 0 8px;
    position: relative;
}

.contact-detail-content {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #ffffff;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 8px 30px rgb(93 93 93 / 8%);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-detail-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.9;
    color: #6b7280;
    position: relative;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.contact-detail-text p {
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
}

.contact-detail-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
}

.contact-detail-decoration {
    flex: 0 0 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-decoration i {
    font-size: 80px;
    color: #6366f1;
    opacity: 0.08;
    transition: all 0.4s ease;
}

.contact-detail-content:hover .contact-detail-decoration i {
    opacity: 0.12;
    transform: scale(1.1);
}

/* ==================== 公司信息区域 ==================== */
.company-section {
    /* background-color: #f5f5f5; */
    /* padding: 10px 0; */
    position: relative;
    overflow: hidden;
}

.company-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 12px;
    position: relative;
    margin-bottom: 50px;
}

.company-content {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #ffffff;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-logo {
    flex: 0 0 220px;
    position: relative;
}

.company-logo img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-content:hover .company-logo img {
    transform: scale(1.05);
}

.company-info {
    flex: 1;
}

.company-name {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 35px;
    font-weight: 700;
    position: relative;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 1px;
}

.company-name::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.company-detail-item:hover {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(2px);
}

.company-detail-item i {
    font-size: 28px;
    color: #6366f1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.company-detail-item:hover i {
    transform: scale(1.1);
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.detail-label {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.detail-value {
    font-size: 16px;
    color: #1f2937;
    font-weight: 600;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}