/* 招商加盟页面专属样式 */

/* Hero区域 */
.franchise-hero {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.franchise-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.franchise-hero-bg-image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.franchise-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(16, 25, 34, 0.9), rgba(16, 25, 34, 0.4));
}

.franchise-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 16px;
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 9999px;
    background-color: rgba(249, 115, 22, 0.2);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    backdrop-filter: blur(8px);
}

.franchise-hero h1 {
    font-size: 32px;
    font-weight: bold;
    color: white;
    line-height: 1.2;
}

.franchise-hero h1 .highlight {
    color: #2b8cee;
}

.franchise-hero p {
    font-size: 18px;
    color: #e5e7eb;
    max-width: 768px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.hero-btn-primary {
    padding: 16px 32px;
    background-color: #2b8cee;
    color: white;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 16px rgba(43, 140, 238, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero-btn-primary:hover {
    background-color: #2580d3;
}

.hero-btn-secondary {
    padding: 16px 32px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 数据统计区域 */
.stats-section {
    padding: 40px 16px;
    background-color: white;
    border-bottom: 1px solid #f1f5f9;
    margin-top: -40px;
    position: relative;
    z-index: 20;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
    border-right: 1px solid #f1f5f9;
}

.stats-item:last-child {
    border-right: none;
}

.stats-number {
    font-size: 36px;
    font-weight: bold;
    color: #111418;
    margin-bottom: 4px;
}

.stats-number .unit {
    color: #2b8cee;
    font-size: 20px;
}

.stats-label {
    font-size: 14px;
    color: #64748b;
}

/* 六大优势区域 */
.advantages-section {
    padding: 64px 0;
    background-color: #f6f7f8;
}

.advantages-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

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

.section-label {
    color: #2b8cee;
    font-weight: bold;
    letter-spacing: 0.1em;
    font-size: 14px;
    text-transform: uppercase;
}

.section-header-center h2 {
    font-size: 30px;
    font-weight: bold;
    color: #111418;
    margin-top: 8px;
}

.section-header-center .divider {
    width: 64px;
    height: 6px;
    background-color: #2b8cee;
    margin: 16px auto 0;
    border-radius: 9999px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.advantage-card {
    background-color: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}

.advantage-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-icon.blue {
    background-color: rgba(59, 130, 246, 0.1);
    color: #2b8cee;
}

.advantage-icon.green {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.advantage-icon.orange {
    background-color: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.advantage-icon.purple {
    background-color: rgba(147, 51, 234, 0.1);
    color: #9333ea;
}

.advantage-icon.cyan {
    background-color: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
}

.advantage-icon.red {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.advantage-icon .material-symbols-outlined {
    font-size: 30px;
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: #111418;
    margin-bottom: 12px;
}

.advantage-card p {
    color: #64748b;
    line-height: 1.6;
}

/* 营收模型区域 */
.revenue-section {
    padding: 64px 0;
    background-color: white;
    overflow: hidden;
}

.revenue-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.revenue-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.revenue-image-wrapper {
    width: 100%;
    position: relative;
}

.revenue-image-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.revenue-image-bg {
    width: 100%;
    aspect-ratio: 4/3;
    background-position: center;
    background-size: cover;
}

.revenue-stats-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #f1f5f9;
}

.stats-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.stats-overlay-header h4 {
    font-weight: bold;
    font-size: 18px;
}

.stats-overlay-header p {
    font-size: 12px;
    color: #64748b;
}

.stats-overlay-rating {
    display: flex;
    gap: 2px;
}

.stats-overlay-rating .material-symbols-outlined {
    color: #fbbf24;
    font-size: 14px;
}

.stats-overlay-data {
    display: flex;
    justify-content: space-between;
}

.stats-data-item {
    text-align: center;
    padding: 0 8px;
    flex: 1;
    border-right: 1px solid #e5e7eb;
}

.stats-data-item:last-child {
    border-right: none;
}

.stats-data-value {
    font-size: 20px;
    font-weight: bold;
}

.stats-data-value.primary {
    color: #2b8cee;
}

.stats-data-value.green {
    color: #22c55e;
}

.stats-data-label {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.revenue-content {
    width: 100%;
}

.revenue-content .section-label {
    display: block;
    margin-bottom: 8px;
}

.revenue-content h2 {
    font-size: 30px;
    font-weight: bold;
    color: #111418;
    margin-bottom: 24px;
    line-height: 1.3;
}

.revenue-content > p {
    color: #64748b;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.revenue-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.revenue-item {
    display: flex;
    gap: 16px;
}

.revenue-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.revenue-item-icon.blue {
    background-color: rgba(59, 130, 246, 0.1);
    color: #2b8cee;
}

.revenue-item-icon.orange {
    background-color: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.revenue-item-icon.green {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.revenue-item-icon.purple {
    background-color: rgba(147, 51, 234, 0.1);
    color: #9333ea;
}

.revenue-item-content h4 {
    font-weight: bold;
    font-size: 18px;
    color: #111418;
}

.revenue-item-content p {
    font-size: 14px;
    color: #64748b;
}

/* 加盟流程区域 */
.process-section {
    padding: 64px 0;
    background-color: #f6f7f8;
}

.process-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.process-wrapper {
    position: relative;
}

.process-line {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e5e7eb;
    z-index: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
    z-index: 10;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-icon-wrapper {
    width: 96px;
    height: 96px;
    background-color: white;
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    transition: border-color 0.3s;
}

.process-step:hover .process-icon-wrapper {
    border-color: #2b8cee;
}

.process-icon-wrapper .material-symbols-outlined {
    font-size: 32px;
    color: #94a3b8;
    transition: color 0.3s;
}

.process-step:hover .process-icon-wrapper .material-symbols-outlined {
    color: #2b8cee;
}

.process-step h4 {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
    color: #111418;
}

.process-step p {
    font-size: 14px;
    color: #64748b;
}

/* 扶持政策区域 */
.support-section {
    padding: 64px 0;
    background-color: white;
}

.support-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.support-box {
    background-color: rgba(43, 140, 238, 0.05);
    border-radius: 24px;
    padding: 32px;
}

.support-layout {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.support-header {
    width: 100%;
}

.support-header h2 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #111418;
}

.support-header p {
    color: #64748b;
    margin-bottom: 24px;
}

.support-header button {
    padding: 12px 24px;
    background-color: #2b8cee;
    color: white;
    border-radius: 8px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.support-header button:hover {
    background-color: #2580d3;
}

.support-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.support-item {
    display: flex;
    gap: 16px;
}

.support-item .material-symbols-outlined {
    color: #2b8cee;
    font-size: 24px;
    margin-top: 4px;
    flex-shrink: 0;
}

.support-item-content h4 {
    font-weight: bold;
    color: #111418;
    margin-bottom: 4px;
}

.support-item-content p {
    font-size: 14px;
    color: #64748b;
}

/* 申请表单区域 */
.application-section {
    padding: 80px 0;
    background-color: #f6f7f8;
}

.application-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 16px;
}

.application-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.application-sidebar {
    background-color: #2b8cee;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.application-sidebar-content {
    position: relative;
    z-index: 10;
}

.application-sidebar h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}

.application-sidebar > p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item .material-symbols-outlined {
    flex-shrink: 0;
}

.contact-item .font-bold {
    font-weight: bold;
}

.application-decoration-1 {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.application-decoration-2 {
    position: absolute;
    top: 40px;
    left: -40px;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.application-form-wrapper {
    padding: 40px;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background-color: white;
    color: #111418;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2b8cee;
    box-shadow: 0 0 0 3px rgba(43, 140, 238, 0.1);
}

.radio-group {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-item input {
    width: auto;
    accent-color: #2b8cee;
}

.radio-item span {
    font-size: 14px;
    color: #64748b;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background-color: #2b8cee;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(43, 140, 238, 0.2);
}

.submit-button:hover {
    background-color: #2580d3;
}

/* 响应式设计 - 招商加盟页面 */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .franchise-hero {
        height: 600px;
    }

    .franchise-hero h1 {
        font-size: 48px;
    }

    .franchise-hero p {
        font-size: 20px;
    }

    .stats-section {
        padding: 40px 80px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-line {
        display: block;
    }

    .process-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .support-layout {
        flex-direction: row;
    }

    .support-header {
        width: 33.333%;
    }

    .support-grid {
        width: 66.667%;
        grid-template-columns: repeat(2, 1fr);
    }

    .application-card {
        flex-direction: row;
    }

    .application-sidebar {
        width: 41.666%;
    }

    .application-form-wrapper {
        width: 58.334%;
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .revenue-layout {
        flex-direction: row;
    }

    .revenue-image-wrapper {
        width: 50%;
    }

    .revenue-content {
        width: 50%;
    }
}
