.benefits-section {
    padding: 60px 0;
}

/* 카드 그리드 레이아웃 */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.benefits-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

/* 카드 스타일 */
.benefit-card {
    background: #fff;
    border-radius: 48px 24px 48px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 280px;
}

/* 각 카드별 색상 */
.benefit-card[data-benefit="tax-reduction"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.benefit-card[data-benefit="employment-credit"] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 48px 48px;
}

.benefit-card[data-benefit="free-support"] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 24px 48px 24px 48px;
}

.benefit-card[data-benefit="facility-loan"] {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 24px 48px 24px 48px;
}

.benefit-card[data-benefit="employment-incentive"] {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

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

.benefit-card-header {
    color: white;
    padding: 25px 40px 15px 40px;
    text-align: left;
}

.benefit-card-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.benefit-card-content {
    padding: 0 40px 25px 40px;
    position: relative;
    z-index: 2;
}

.benefit-card-description {
    color: white;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.benefit-card-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50% 0 48px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.8);
}

.benefit-card-detail-btn {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.benefit-card-detail-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 20px 20px 0 0;
}

/* 각 모달별 헤더 색상 */
.modal[data-benefit="tax-reduction"] .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.modal[data-benefit="employment-credit"] .modal-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.modal[data-benefit="free-support"] .modal-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.modal[data-benefit="facility-loan"] .modal-header {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.modal[data-benefit="employment-incentive"] .modal-header {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.modal-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.modal-body {
    padding: 30px;
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 20px;
}

.modal-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.modal-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

/* 각 모달별 하이라이트 색상 */
.modal[data-benefit="tax-reduction"] .modal-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.modal[data-benefit="employment-credit"] .modal-highlight {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.modal[data-benefit="free-support"] .modal-highlight {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.modal[data-benefit="facility-loan"] .modal-highlight {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.modal[data-benefit="employment-incentive"] .modal-highlight {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.modal-highlight h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.modal-highlight p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid-bottom {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefits-grid-bottom {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .benefit-card-header {
        padding: 20px 15px;
    }
    
    .benefit-card-title {
        font-size: 1.1rem;
    }
    
    .benefit-card-content {
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    .benefits-header h1 {
        font-size: 2rem;
    }
    
    .benefit-header {
        padding: 20px;
    }
    
    .benefit-title {
        font-size: 1.1rem;
    }
    
    .benefit-details {
        padding: 20px;
    }
}

/* CTA 섹션 */
.cta-section {
    padding-bottom: 60px;
}

.cta-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content {
    flex: 1;
    color: white;
}

.cta-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.cta-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 32px 0;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary-blue);
}

.btn-primary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.cta-illustration {
    flex-shrink: 0;
}

.illustration-icon {
    font-size: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* 반응형 디자인 */
@media (max-width: 1024px) {
    .definition-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .purpose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .cta-card {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .definition-card {
        padding: 24px;
    }
    
    .definition-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .definition-header h2 {
        font-size: 24px;
    }
    
    .definition-text {
        font-size: 16px;
        padding: 20px;
    }
    
    .definition-highlights {
        grid-template-columns: 1fr;
    }
    
    .purpose-grid {
        grid-template-columns: 1fr;
    }
    
    .purpose-card {
        padding: 24px 20px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .tab-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .tab-button {
        padding: 16px;
    }
    
    .criteria-card {
        padding: 24px;
    }
    
    .criteria-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .process-step {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
    
    .cta-card {
        padding: 32px 24px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .illustration-icon {
        font-size: 60px;
        width: 100px;
        height: 100px;
    }
    

}