:root {
    --primary-color: #FF6B35;
    --secondary-color: #004E89;
    --accent-color: #FFD166;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --white: #fff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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


/* 英雄区域 */
.hero-banner {
background: linear-gradient(135deg, var(--primary-color), #e05a2b);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.6;
}

.highlight-text {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 25px;
    display: inline-block;
}


/* 加盟代理页面专属样式 */
.franchise-section {
    padding: 30px 0;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #FF6B35;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.franchise-container {

    margin: 0 auto;
    padding: 0 20px;
}

.franchise-card {
    max-width: 1200px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
    text-align: center;
    margin: 30px auto;
    padding: 30px 30px;
}

.card-header {
    background: #FF6B35;
    color: white;
    padding: 20px;
    text-align: center;
}

.card-title {
    font-size: 1.8rem;
    margin: 0;
}

.card-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 5px 0 0;
}

.card-body {
    padding: 30px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.project-item {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

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

.project-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #FF6B35;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 15px;
}

.project-name {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 0;
}

.step {
    flex: 0 0 calc(33.333% - 20px);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #FF6B35;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.step-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 100%;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.benefit-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #FF6B35;
    margin-bottom: 15px;
}

/* 行动召唤区 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #e05a2b);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-button {
    background: var(--white);
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}



.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 咨询弹窗样式 */
.consult-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background: var(--white);
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    position: relative;
    color: var(--dark-color);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray-color);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.contact-info {
    text-align: center;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.qrcode-container {
    margin-top: 20px;
}

.qrcode-container img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: block;
    border: 1px solid var(--light-gray);
    padding: 10px;
    background: var(--white);
}

.qrcode-container p {
    margin-top: 10px;
    font-size: 1rem;
    color: var(--gray-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .step {
        flex: 0 0 100%;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
}
/* 超小屏幕进一步优化 */
@media (max-width: 480px) {
    .cta-box {
        padding: 25px 10px; /* 进一步增加边距 */
    }
    
    .cta-title {
        font-size: 1.3rem;
        padding: 0 15px;
    }
    
    .cta-box p {
        font-size: 0.9rem;
        padding: 0 20px; /* 小屏幕边距更大 */
    }
}