/* 招商加盟页面样式 */
.page-banner {
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/franchise-banner.png') no-repeat center center; */
	background: url('../images/franchise-banner.png') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    color: var(--light-text);
    text-align: center;
	height:540px;
}
/* 通用部分 */
section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 16px;
    color: #666;
}

/* 加盟优势 */
.franchise-advantages {
    background-color: var(--accent-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.advantage-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 加盟模式 */
.models-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.model-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.model-tab {
    flex: 1;
    text-align: center;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
}

.model-tab.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
}

.model-tab:hover {
    background-color: var(--accent-color);
}

.model-content {
    padding: 30px;
}

.model-pane {
    display: none;
}

.model-pane.active {
    display: block;
}

.model-info {
    display: flex;
    gap: 30px;
}

.model-image {
    flex: 0 0 40%;
    border-radius: 8px;
    overflow: hidden;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.model-image:hover img {
    transform: scale(1.05);
}

.model-details {
    flex: 1;
}

.model-details h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.model-details > p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.model-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.feature-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.feature-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.model-requirements h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.model-requirements ul {
    list-style: none;
    padding: 0;
}

.model-requirements li {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.model-requirements li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* 加盟流程 */
.franchise-process {
    background-color: var(--accent-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 36px;
    font-weight: 800;
    color: rgba(var(--primary-color-rgb), 0.1);
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 成功案例 */
.cases-slider {
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
    overflow: hidden;
}

.cases-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.case-card {
    flex: 0 0 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .case-card {
        flex-direction: row;
    }
}

.case-image {
    flex: 0 0 40%;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    flex: 1;
    padding: 30px;
}

.case-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.case-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.case-meta span {
    display: flex;
    align-items: center;
}

.case-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.case-description {
    margin-bottom: 20px;
}

.case-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.case-stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stat-item {
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-value span {
    font-size: 14px;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-prev:hover,
.slider-next:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.slider-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* 常见问题 */
.franchise-faq {
    background-color: var(--accent-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 加盟申请 */
.franchise-apply {
    background-color: #fff;
}

.apply-container {
    display: flex;
    gap: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.apply-info {
    flex: 0 0 30%;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 40px;
}

.apply-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 20px;
    margin-right: 15px;
}

.contact-item span {
    font-size: 16px;
}

.contact-qrcode {
    margin-top: 40px;
    text-align: center;
}

.contact-qrcode img {
    width: 150px;
    height: 150px;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.contact-qrcode p {
    font-size: 14px;
}

.apply-form {
    flex: 1;
    padding: 40px;
}

.apply-form .form-group {
    margin-bottom: 20px;
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

.apply-form .form-group.full-width {
    width: 100%;
}

.apply-form .form-group:nth-child(odd) {
    margin-right: 4%;
}

.apply-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.apply-form .required {
    color: var(--secondary-color);
}

.apply-form .form-group input,
.apply-form .form-group select,
.apply-form .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-color);
    transition: var(--transition);
}

.apply-form .form-group input:focus,
.apply-form .form-group select:focus,
.apply-form .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.apply-form .verification-container {
    display: flex;
    align-items: center;
}

.apply-form .verification-code {
    width: 80px;
    height: 40px;
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
    margin: 0 10px;
    user-select: none;
	padding:0 10px;
}

#refreshCode {
    width: 40px;
    height: 40px;
    border: none;
    background-color: #f2f2f2;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#refreshCode:hover {
    background-color: #e6e6e6;
}

.apply-form .form-agreement {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
	font-size:14px;
}

.apply-form .form-agreement input {
    margin-right: 10px;
}

.apply-form .agreement-link {
    color: var(--primary-color);
    text-decoration: none;
}

.apply-form .agreement-link:hover {
    text-decoration: underline;
}

.apply-form .btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.apply-form .btn-submit:hover {
    background-color: #a51930;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .model-info {
        flex-direction: column;
    }
    
    .apply-container {
        flex-direction: column;
    }
    
    .apply-info {
        flex: auto;
    }
    
    .contact-qrcode {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    
    .contact-qrcode img {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .form-group {
        width: 100%;
        margin-right: 0 !important;
    }
    
    .case-card {
        flex-direction: column;
    }
    
    .case-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .apply-form {
        padding: 20px;
    }
}