/* 招商加盟页面样式 */

/* 页面标题区域 */
.page-header {
    background-color: #AA1322;
    padding: 40px 0;
    text-align: center;
}

.page-title {
    margin-bottom: 20px;
}

.page-title-image {
    height: 60px;
    width: auto;
}

.breadcrumb {
    color: white;
    font-size: 14px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 招商加盟主内容区域 */
.join-main {
      background-color: #AA1322;
      margin-bottom: 0;
      padding-bottom: 0;
}

/* 通用区块样式 */
.section-title {
    text-align: center;
    font-size: 32px;
    color: white;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #AA1322;
}

/* 加盟优势区域 */
.advantages-section {
    margin-bottom: 80px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #AA1322;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.advantage-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.advantage-card h3 {
    font-size: 20px;
    color: #AA1322;
    margin-bottom: 15px;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* 加盟条件区域 */
.conditions-section {
    margin-bottom: 80px;
}

.conditions-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.conditions-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.condition-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.condition-item:hover {
    transform: translateX(5px);
}

.condition-number {
    width: 50px;
    height: 50px;
    background-color: #AA1322;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.condition-text h4 {
    font-size: 18px;
    color: #AA1322;
    margin-bottom: 8px;
}

.condition-text p {
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

.conditions-image {
    text-align: center;
}

.conditions-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 加盟流程区域 */
.process-section {
    margin-bottom: 80px;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #AA1322;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    color: #AA1322;
    margin-bottom: 8px;
}

.step-content p {
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

/* 投资预算区域 - 红色主题设计 */
.investment-section {
    margin-bottom: 30px;
}

.investment-tables {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 表格卡片样式 */
.red-theme-card {
    background: linear-gradient(to bottom right, #ffffff, #FBEAEB);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 30px;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.red-theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.red-theme-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #e0b4b8;
}

.red-theme-card .card-title {
    color: #9E111F;
    font-size: 24px;
    font-weight: 600;
}

.red-theme-card .city-badge {
    background: linear-gradient(to right, #AA1322, #9E111F);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.red-theme-card .section-title {
    color: #AA1322;
    margin: 25px 0 15px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.red-theme-card .section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #AA1322;
    margin-right: 10px;
    border-radius: 2px;
}

.red-theme-card .total-investment {
    background: linear-gradient(to right, #FBEAEB, #f8d5d8);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    border: 1px solid #e0b4b8;
    box-shadow: 0 3px 8px rgba(170, 19, 34, 0.1);
}

.red-theme-card .total-investment h3 {
    margin-bottom: 10px;
    color: #9E111F;
    font-size: 18px;
}

.red-theme-card .total-amount {
    font-size: 28px;
    font-weight: 700;
    color: #AA1322;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.red-theme-card .note {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 8px;
    text-align: center;
}

/* 卡片头部样式 */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #e0b4b8;
    animation: fadeInDown 0.6s ease-out;
    animation-fill-mode: both;
}

.city-badge {
    background: linear-gradient(to right, #AA1322, #9E111F);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 投资分区块 - 卡片式设计 */
.investment-section {
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.investment-section:hover {
    transform: translateX(5px);
}

.investment-section:last-child {
    margin-bottom: 0;
}

.section-subtitle {
    color: #AA1322;
    margin: 25px 0 15px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    letter-spacing: 0;
    gap: 10px;
}

.section-subtitle::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #AA1322;
    margin-right: 10px;
    border-radius: 2px;
}

.section-subtitle::after {
    display: none;
}

@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 动画效果 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.investment-section {
    margin: 0 40px 30px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    transition: all 0.4s ease;
    position: relative;
}



.investment-section:hover {
    transform: translateX(5px);
}

.investment-table {
    margin-bottom: 0;
    border-radius: 0;
    overflow: visible;
    border: none;
    box-shadow: none;
    animation: slideInUp 0.6s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.investment-table:nth-child(2) {
    animation-delay: 0.3s;
}

.investment-table:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 红色主题表格样式 */
.red-theme-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(170, 19, 34, 0.15);
}

.red-theme-table thead {
    background: linear-gradient(to right, #AA1322, #9E111F);
}

.red-theme-table th {
    padding: 15px;
    text-align: left;
    color: white;
    font-weight: 500;
    font-size: 16px;
}

.red-theme-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #f0d5d7;
    transition: background-color 0.2s;
    color: #333;
}

.red-theme-table tbody tr:nth-child(even) {
    background-color: #FBEAEB;
}

.red-theme-table tbody tr:hover {
    background-color: #f8d5d8;
}

.red-theme-table .amount {
    text-align: right;
    color: #AA1322;
    font-weight: 600;
    font-size: 15px;
}

.total-row {
    background: transparent;
}

.total-row td {
    font-weight: 700;
    font-size: 16px;
    color: #AA1322;
    padding: 14px 15px;
    background: linear-gradient(to right, #FBEAEB, #f8d5d8);
    border-top: 1px solid #e0b4b8;
}

.total-row td:first-child {
    font-weight: 700;
    font-size: 16px;
}

.total-row td:last-child {
    font-weight: 700;
    font-size: 16px;
}

/* 投资回本周期 */
.payback-period {
    background: linear-gradient(to right, #FBEAEB, #f8d5d8);
    border: 1px solid #e0b4b8;
    border-radius: 8px;
    padding: 25px;
    margin: 0 30px;
    text-align: center;
    position: relative;
   
}

.payback-period::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 8px 8px 0 0;
}

.payback-period h4 {
    font-size: 18px;
    font-weight: 600;
    color: #AA1322;
    margin-bottom: 15px;
}

.payback-period .payback-time {
     font-size: 28px;
    font-weight: 700;
    color: #AA1322;
    margin: 15px 0;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    display: block;
}


.payback-period .description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-style: italic;
}








/* 响应式设计 */
@media (max-width: 1024px) {
    .conditions-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .investment-tables {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .table-container {
        max-width: 100%;
        margin: 0;
        padding: 20px;
    }

    .table-title {
        font-size: 22px;
        padding: 20px 15px;
    }

    .investment-section {
        margin: 15px;
        padding: 15px;
    }

    .section-subtitle {
        font-size: 16px;
        padding: 8px 12px;
    }

    .investment-table th {
        padding: 12px 10px;
        font-size: 13px;
    }

    .investment-table td {
        padding: 10px 10px;
        font-size: 13px;
    }

    .total-row td {
        font-size: 14px;
    }

    .payback-period {
        margin: 15px;
        padding: 20px;
    }

    .payback-time {
        font-size: 28px;
        padding: 8px 25px;
    }

    .payback-description {
        font-size: 13px;
    }
    
    .total-amount {
        font-size: 24px;
    }
    
    .city-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
    
  
}

@media (max-width: 768px) {
    .join-main {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .advantage-card {
        padding: 25px 20px;
    }
    
    .conditions-content {
        gap: 30px;
    }
    
    .condition-item {
        padding: 20px;
    }
    
    .condition-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-step {
        margin-left: 60px;
    }
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .step-content {
        padding: 15px;
    }
    
    .step-content h4 {
        font-size: 18px;
    }
    
    .step-content p {
        font-size: 14px;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .support-item {
        padding: 20px;
    }
    

    
   
    
    .advantages-banner,
    .process-banner {
        border-radius: 8px;
    }
    
    .investment-tables {
        grid-template-columns: 1fr;
        gap: 30px;
    }


@media (max-width: 480px) {
    .page-title-image {
        height: 40px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .advantages-section,
    .process-section,
    .investment-section {
        padding: 40px 0;
    }
    
    .advantages-banner,
    .process-banner {
        border-radius: 4px;
    }
    
    .investment-tables {
        gap: 15px;
    }
    
    .table-container {
        padding: 15px;
    }
    
    .table-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .investment-section {
        margin-bottom: 20px;
    }
    
    .investment-table th {
        padding: 8px 6px;
        font-size: 11px;
    }
    
    .investment-table td {
        padding: 6px 6px;
        font-size: 11px;
    }
    
    .total-row td {
        font-size: 12px;
    }

    .payback-period {
        padding: 12px;
        margin-top: 12px;
    }

    .payback-time {
        font-size: 18px;
    }

    .payback-description {
        font-size: 11px;
    }
    
    .advantage-card,
    .condition-item,
    .process-step,
    .support-item {
        padding: 20px;
    }
    
    .investment-table {
        padding: 20px;
    }
    
    
    
    .investment-table th,
    .investment-table td {
        padding: 10px;
        font-size: 12px;
    }
    

}

@media (max-width: 576px) {
    .investment-section {
        padding: 0 15px;
    }
    
    .table-container {
        padding: 15px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .table-title {
        font-size: 20px;
    }
    
    .investment-table th,
    .investment-table td {
        padding: 10px;
        font-size: 13px;
    }
    
    .total-amount {
        font-size: 22px;
    }
    
    .payback-time {
        font-size: 20px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    /* 在移动端禁用一些动画以提升性能 */
    .city-badge {
        animation: none;
    }
    
    .table-container::before {
        animation: none;
    }
    
    .investment-section:hover {
        transform: none;
    }
}



/* 总计投资区块样式 */
.total-investment {
    background: linear-gradient(to right, #FBEAEB, #f8d5d8);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    border: 1px solid #e0b4b8;
    box-shadow: 0 3px 8px rgba(170, 19, 34, 0.08);
    animation: fadeIn 0.8s ease-out;
    animation-delay: 0.5s;
    animation-fill-mode: both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.total-investment:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(158, 17, 31, 0.25);
}

.total-investment h3 {
    margin-bottom: 10px;
    color: #9E111F;
    font-size: 18px;
}

.total-amount {
    font-size: 28px;
    font-weight: 700;
    color: #AA1322;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.note {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 8px;
    text-align: center;
}