/* 成功案例页面样式 */

:root {
    --primary-color: #a17345;
    --secondary-color: #D2B48C;
    --bg-light: #F5F5F5;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #E5E5E5;
    --success-color: #28A745;
    --danger-color: #DC3545;
    --community-color: #C62828;
    --flagship-color: #8B4513;
}

/* 双店型投资模型 */
.investment-model {
    padding: 80px 0;
    background: #fff;
}

.model-header {
    text-align: center;
    margin-bottom: 60px;
}

.model-header .badge {
    display: inline-block;
    padding: 8px 20px;
    background: #F5F5F5;
    color: var(--primary-color);
    font-size: 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.model-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.model-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.model-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.model-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.model-card.community {
    border-top: 5px solid var(--community-color);
}

.model-card.flagship {
    border-top: 5px solid var(--flagship-color);
}

.card-header {
    padding: 30px;
    text-align: center;
}

.model-card.community .card-header {
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.1) 0%, rgba(198, 40, 40, 0.05) 100%);
}

.model-card.flagship .card-header {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(139, 69, 19, 0.05) 100%);
}

.card-header .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.model-card.community .card-header .icon {
    background: var(--community-color);
}

.model-card.flagship .card-header .icon {
    background: var(--flagship-color);
}

.card-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card-header .subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.card-stats {
    display: flex;
    justify-content: space-around;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
}

.model-card.community .stat-value {
    color: var(--community-color);
}

.model-card.flagship .stat-value {
    color: var(--flagship-color);
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.stat-bar {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.stat-progress {
    height: 100%;
    border-radius: 3px;
    transition: width 1.5s ease-out;
}

.model-card.community .stat-progress {
    background: var(--community-color);
}

.model-card.flagship .stat-progress {
    background: var(--flagship-color);
}

.card-features,
.card-suitable {
    padding: 25px 30px;
}

.card-features h4,
.card-suitable h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.card-features ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

.card-features li {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.card-features li i {
    color: var(--success-color);
    margin-right: 8px;
}

.suitable-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suitable-tags span {
    padding: 6px 12px;
    background: #F5F5F5;
    border-radius: 15px;
    font-size: 12px;
    color: var(--text-light);
    transition: all 0.3s;
}

.suitable-tags span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tag-with-icon {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-with-icon i {
    font-size: 14px;
}

.model-card.community .tag-with-icon i {
    color: var(--community-color);
}

.model-card.flagship .tag-with-icon i {
    color: var(--flagship-color);
}

.card-revenue {
    background: #F9F9F9;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
}

.revenue-item {
    text-align: center;
}

.revenue-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.revenue-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

.model-card.community .revenue-value {
    color: var(--community-color);
}

.model-card.flagship .revenue-value {
    color: var(--flagship-color);
}

.card-btn {
    width: 100%;
    padding: 15px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.model-card.community .card-btn {
    background: var(--community-color);
    color: #fff;
}

.model-card.flagship .card-btn {
    background: var(--flagship-color);
    color: #fff;
}

.card-btn:hover {
    opacity: 0.9;
}

.model-footer {
    text-align: center;
    margin-top: 40px;
}

.calculator-btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.calculator-btn:hover {
    background: #6B3410;
    transform: translateY(-2px);
}

/* 八大支持体系 */
.support-system {
    padding: 80px 0;
    background: var(--bg-light);
}

.system-header {
    text-align: center;
    margin-bottom: 60px;
}

.system-header .badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(139, 69, 19, 0.1);
    color: var(--primary-color);
    font-size: 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.system-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.system-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.support-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.support-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}

.support-icon.location {
    background: #E57373;
}

.support-icon.training {
    background: #FFB74D;
}

.support-icon.supply {
    background: #81C784;
}

.support-icon.marketing {
    background: #FF8A65;
}

.support-icon.design {
    background: #64B5F6;
}

.support-icon.operation {
    background: #9575CD;
}

.support-icon.tech {
    background: #4DB6AC;
}

.support-icon.brand {
    background: #7986CB;
}

.support-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.support-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
}

.support-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.support-tags span {
    padding: 4px 12px;
    background: #F5F5F5;
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-light);
}

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

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-header h2 {
    font-size: 36px;
    color: var(--text-dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
}

.process-step {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    line-height: 40px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .model-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .system-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .model-header h2,
    .system-header h2,
    .process-header h2 {
        font-size: 24px;
    }
    
    .card-header {
        padding: 20px;
    }
    
    .card-stats,
    .card-features,
    .card-suitable {
        padding: 20px;
    }
    
    .card-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .card-revenue {
        flex-direction: column;
        gap: 15px;
    }
    
    .suitable-tags {
        justify-content: center;
    }
    
    .tag-with-icon {
        font-size: 11px;
    }
    
    .tag-with-icon i {
        font-size: 12px;
    }
}



/* 页面头部 */
.case-header {
    padding: 80px 0 60px;
    text-align: center;
    background: #f8f5f0;
}

.case-header h1 {
    font-size: 36px;
    color: #8B4513;
    font-weight: 500;
    letter-spacing: 2px;
}

/* 成功案例列表 */
.case-section {
    padding: 60px 0 80px;
    background: #f8f5f0;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.case-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    background: #8B4513;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.case-content {
    padding: 10px 20px;
}

.case-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.case-title h3 {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.case-title .store-type {
    font-size: 12px;
    color: #8B4513;
    padding: 3px 10px;
    background: #f8f5f0;
    border-radius: 4px;
}

.case-location {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.case-location i {
    margin-right: 5px;
    color: #8B4513;
}

.case-desc {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

/* 在线加盟申请 */
.apply-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f5f0 0%, #d2d2d2a1 100%);
}

.apply-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 5px 50px rgb(0 0 0);
}

.apply-header {
    text-align: center;
    margin-bottom: 40px;
}

.apply-header h2 {
    font-size: 28px;
    color: #8B4513;
    margin-bottom: 10px;
    font-weight: 500;
}

.apply-header p {
    font-size: 14px;
    color: #666;
}

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

.apply-form .form-group {
    margin-bottom: 0;
}

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

.apply-form label .required {
    color: #e74c3c;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    transition: all 0.3s;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.apply-form input.error,
.apply-form select.error,
.apply-form textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-tip {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
    height: 18px;
    overflow: hidden;
}

.apply-form input::placeholder,
.apply-form textarea::placeholder {
    color: #999;
}

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

.apply-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.apply-form .checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
}

.apply-form .checkbox-group label {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/* 验证码和提交按钮行 */
.captcha-row {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.captcha-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.submit-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.captcha-group label,
.submit-group label {
    height: 24px;
    line-height: 24px;
    margin-bottom: 8px;
}

.captcha-input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
}

.captcha-input-wrapper input {
    flex: 0 0 120px;
    margin-right: 10px;
    height: 42px;
    box-sizing: border-box;
}

.captcha-input-wrapper img {
    border: 1px solid #ddd;
    height: 42px;
    flex-shrink: 0;
}

.submit-group .btn-submit {
    height: 42px;
    box-sizing: border-box;
    padding: 0 15px;
}

.btn-submit {
    width: 100%;
    padding: 12px 15px;
    background: #8B4513;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #D2691E;
}

.btn-submit i {
    font-size: 18px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .case-header {
        padding: 60px 0 40px;
    }
    
    .case-header h1 {
        font-size: 28px;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-image {
        height: 180px;
    }
    
    .apply-container {
        padding: 30px 20px;
    }
    
    .apply-header h2 {
        font-size: 24px;
    }
    
    .apply-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 验证码行移动端适配 */
    .captcha-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .captcha-group,
    .submit-group {
        width: 100%;
    }
    
    .captcha-input-wrapper {
        justify-content: space-between;
    }
    
    .captcha-input-wrapper input {
        flex: 1;
        max-width: 120px;
    }
    
    .btn-submit {
        padding: 15px;
    }
}