﻿/* 品牌logo展示样式 */
.col-lg-1-10 {
    flex: 0 0 10%;
    max-width: 10%;
}

@media (max-width: 991.98px) {
    .col-lg-1-10 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 767.98px) {
    .col-lg-1-10 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 575.98px) {
    .col-lg-1-10 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.brand-logo {
    background: #f6f4f5;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.brand-logo img {
    max-width: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 卡片样式 */
.card {
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

/* 特性图标样式 */
.feature {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
    width: 4rem;
    font-size: 2rem;
}

/* 关于我们页面样式 */
.about-section {
    background-color: #f8f9fa;
}

.platform-intro .mb-6 {
    margin-bottom: 6rem;
}

.platform-intro img {
    transition: transform 0.3s ease;
}

.platform-intro img:hover {
    transform: translateY(-10px);
}

.platform-intro h3 {
    color: #2c3e50;
    font-weight: 600;
}

.platform-intro .bi {
    font-size: 1.2rem;
}

@media (max-width: 991.98px) {
    .platform-intro .order-lg-2 {
        margin-top: 2rem;
    }
    .platform-intro .order-lg-1 {
        margin-bottom: 2rem;
    }
}

/* 场景案例样式 */
.cases-showcase .case-item {
    margin-bottom: 5rem;
}

.cases-showcase .card {
    background-color: #f8f9fa;
}

.cases-showcase .case-item:last-child {
    margin-bottom: 0;
}

.cases-showcase img {
    transition: transform 0.3s ease;
}

.cases-showcase img:hover {
    transform: scale(1.02);
}

@media (max-width: 991.98px) {
    .cases-showcase .case-item .order-lg-2 {
        margin-bottom: 2rem;
    }
    .cases-showcase .case-item .order-lg-1 {
        margin-top: 2rem;
    }
}

/* 免费试用弹窗样式 */
.modal-body {
    padding: 2rem;
}

.qr-code-wrapper {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

.qr-code-wrapper img {
    max-width: 200px;
    margin: 0 auto;
}

#trialForm .form-label {
    font-weight: 500;
}

#trialForm .text-danger {
    font-weight: bold;
}

#getVerifyCode {
    min-width: 120px;
}

/* 免费试用表单样式 */
#trialForm .col-form-label {
    font-size: 0.9rem;
    white-space: nowrap;
    padding-right: 0;
}

#trialForm .text-danger {
    font-weight: normal;
}

#trialForm .invalid-feedback {
    margin-left: 25%;
}

@media (max-width: 575.98px) {
    #trialForm .col-form-label {
        margin-bottom: 0.5rem;
    }
    #trialForm .invalid-feedback {
        margin-left: 0;
    }
} 

/* 侧边小组件样式 */
.side-widget {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget-item {
    text-decoration: none;
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.widget-item:hover {
    background-color: #f4623a;
    transform: translateY(-2px);
}

.widget-item:hover i {
    color: #fff;
}

.widget-item i {
    font-size: 1.2rem;
    color: #f4623a;
    transition: color 0.3s ease;
}

#backToTop {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* 咨询弹窗样式 */
#consultModal .modal-body {
    padding: 2rem 1rem;
}

#mobileCallBtn .btn {
    padding: 0.5rem 2rem;
}

#mobileCallBtn .btn i {
    font-size: 1.1rem;
}

/* 架构方案页面样式 */
.architecture-section {
    padding: 2rem 0 4rem;
}

.architecture-diagram {
    position: relative;
    background-color: #fff;
    border-radius: 1rem;
}

.architecture-diagram img {
    max-width: 100%;
    height: auto;
}


/* 分隔线样式 */
.mb-6 {
    margin-bottom: 4rem !important;
}

/* 服务集群样式 */
.service-cluster {
    padding: 2rem 0;
}

.service-item {
	display: flex;
	flex-direction:column;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, #1223f5 0%, #1d62ff 100%); */
    padding: 2rem;
    border-radius: 1rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #eee;
	background: rgba(255, 255, 255, .7);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #f4623a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.service-item h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #000;
}

.service-item p {
	font-size: 1.1rem;
    color: #333;
    margin-bottom: 0;
    line-height: 1.6;
}

/* 技术展望样式 */
.tech-vision {
    padding: 2rem 0;
}

.tech-vision .lead {
    font-size: 1.1rem;
    line-height: 1.8;
}

.vision-item {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #245afa;
	box-shadow: 0px 5px 20px rgba(77,122,255,0.1);
    text-align: center;
}

.vision-item:hover {
    transform: translateY(-10px);
    box-shadow: 5px 10px 30px rgba(77,122,255,0.3);
}

.vision-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8ea9f9 0%, #245afa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.vision-icon i {
    font-size: 2rem;
    color: #fff;
}

.vision-content h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.vision-content p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* 商户入驻表单样式 */
#merchantForm .form-text {
    font-size: 0.875rem;
    color: #6c757d;
}

#previewContainer .img-thumbnail {
    margin: 0.25rem;
}

#previewContainer .btn-close {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem;
    margin: 0.25rem;
}

#merchantForm .form-check-label a {
    text-decoration: none;
}

#merchantForm .form-check-label a:hover {
    text-decoration: underline;
}

/* 添加图片预览样式 */
.preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.preview-item {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid #e9ecef;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-item .btn-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.25rem;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.preview-item .preview-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.6);
  color: white;
  padding: 0.25rem;
  font-size: 0.875rem;
  text-align: center;
}

/* 地图容器样式 */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px;
}

.address-info {
    margin-top: 2rem;
    font-size: 14px;
}

/* 二维码样式 */
.qrcode-wrapper {
    display: inline-block;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
}

.qrcode-wrapper img {
    max-width: 200px;
    width: 100%;
    height: auto;
}

/* 入驻协议弹窗样式 */
.agreement-content {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.agreement-content h1,
.agreement-content h2,
.agreement-content h3,
.agreement-content h4,
.agreement-content h5,
.agreement-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.agreement-content p {
    margin-bottom: 1em;
}

.agreement-content ul,
.agreement-content ol {
    padding-left: 2em;
    margin-bottom: 1em;
}

.modal-dialog-scrollable .modal-content {
    max-height: 80vh;
}

/* 图片上传区域样式 */
.id-card-upload,
.license-upload {
    width: 100%;
}

.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-area:hover {
    border-color: #0d6efd;
    background: #e9ecef;
}

.upload-area i {
    font-size: 24px;
    color: #6c757d;
    margin-bottom: 8px;
}

.upload-area p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.preview-container {
    margin-top: 0;
}

.preview-container .position-relative {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    height: 160px;
    overflow: hidden;
}

.preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-container .remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 4px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1;
}

.preview-container .remove-image:hover {
    background: rgba(255, 255, 255, 1);
}