/* 加盟政策页面样式 */

/* 页面横幅 */
.page-banner {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/banner1.jpg') center/cover;
    opacity: 0.2;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
}

.page-banner .container {
    position: relative;
    z-index: 10;
}

.banner-text {
    text-align: center;
    color: #fff;
}

.banner-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 4px;
}

.banner-text p {
    font-size: 20px;
    opacity: 0.9;
    letter-spacing: 2px;
}

/* 加盟优势 */
.join-advantages {
    padding: 80px 0;
    background: #fff;
}

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

.advantage-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
}

.advantage-icon i {
    font-size: 32px;
    color: #fff;
}

.advantage-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 15px;
}

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

/* 加盟套餐 */
.join-packages {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.section-header.light h2,
.section-header.light .subtitle {
    color: #fff;
}

.section-underline.light {
    background: linear-gradient(90deg, #FFB800, #FF6B35);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.package-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.package-card.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4);
}

.package-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: #fff;
    padding: 8px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
}

.package-header {
    padding: 40px 30px 30px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.package-card.featured .package-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.package-card.featured .package-header h3,
.package-card.featured .package-header .package-price {
    color: #fff;
}

.package-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.package-price {
    color: #667eea;
}

.package-price .currency {
    font-size: 20px;
    vertical-align: top;
}

.package-price .amount {
    font-size: 36px;
    font-weight: 700;
}

.package-body {
    padding: 30px;
}

.package-features {
    list-style: none;
    margin-bottom: 30px;
}

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    margin-right: 10px;
    width: 20px;
}

.package-features li .fa-check {
    color: #4CAF50;
}

.package-features li .fa-times {
    color: #ccc;
}

.package-features li.disabled {
    color: #ccc;
}

.btn-outline {
    display: block;
    text-align: center;
    padding: 14px 30px;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #667eea;
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* 扶持政策 */
.support-policy {
    padding: 80px 0;
    background: #f8f9fa;
}

.support-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.support-step {
    background: #fff;
    padding: 35px 30px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.support-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.step-content {
    padding-top: 20px;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* 加盟流程 */
.join-process {
    padding: 80px 0;
    background: #fff;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.process-item {
    text-align: center;
    padding: 30px;
    flex: 0 0 200px;
}

.process-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(17, 153, 142, 0.3);
    transition: all 0.3s ease;
}

.process-item:hover .process-icon {
    transform: scale(1.1);
}

.process-icon i {
    font-size: 36px;
    color: #fff;
}

.process-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

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

.process-arrow {
    color: #ddd;
    font-size: 24px;
}

/* 联系咨询 */
.join-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.contact-info-box {
    padding: 50px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.contact-info-box h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-info-box > p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-info-box .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-box .contact-item i {
    font-size: 18px;
    color: #667eea;
    width: 25px;
}

.contact-info-box .contact-item span {
    color: rgba(255, 255, 255, 0.9);
}

.qrcode-box {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.qrcode-box img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.qrcode-box p {
    font-size: 13px;
    opacity: 0.8;
}

.contact-form-box {
    padding: 50px;
}

.join-form .form-group {
    margin-bottom: 20px;
}

.join-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.join-form input,
.join-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.join-form input:focus,
.join-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.join-form textarea {
    resize: vertical;
    min-height: 100px;
}

.join-form .btn-primary {
    padding: 16px 30px;
    font-size: 16px;
    margin-top: 10px;
}

/* 响应式 */
@media screen and (max-width: 992px) {
    .page-banner {
        height: 280px;
    }
    
    .banner-text h1 {
        font-size: 36px;
    }
    
    .advantages-grid,
    .packages-grid,
    .support-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .package-card.featured {
        transform: none;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .page-banner {
        height: 240px;
        margin-top: 60px;
    }
    
    .banner-text h1 {
        font-size: 28px;
    }
    
    .banner-text p {
        font-size: 16px;
    }
    
    .advantages-grid,
    .packages-grid,
    .support-timeline {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .process-item {
        flex: none;
        width: 100%;
        max-width: 300px;
    }
    
    .contact-info-box,
    .contact-form-box {
        padding: 30px;
    }
}
